Basic Concepts:building an app on phonegap builder

  • 1
  • Question
  • Updated 8 years ago
My phonegap application is having toast and it is working properly with SDK build.But when I am building it using Phonegap builder(by uploading the zipped source code of my app as input) and installing the generated .apk to my tablet ,I got some differnce in the behaviour:
1. The toast is not displaying atall.
2. The back soft key is not working
3. The app is not launchibg in the native browser.

What can be the reason?and do tell me if I m wrong anywhere.
Photo of nibedita kalo

nibedita kalo

  • 2 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of Steve Gill

Steve Gill, Employee

  • 43 Posts
  • 1 Reply Like
Hey nibedita,

It doesn't sound like a build issue but an issue with your app and working in a PhoneGap environment.

I am not 100% sure what you mean by toast. Could you elaborate.

For the soft key to work, you have to make sure to listen for that event. Check out http://docs.phonegap.com/en/2.0.0/cor...

PhoneGap apps don't launch in the native browser. They open up a webview in a native app. Your app should work in the webview.

Hope this leads you in the right direction.

This support page is generally used for PhoneGap Build support. You might be able to get more help from the PhoneGap google group at http://groups.google.com/group/phonegap or phonegap support at http://phonegap.com/support

Cheers,
-Steve
Photo of nibedita kalo

nibedita kalo

  • 2 Posts
  • 0 Reply Likes
Hi Steve,

Thanks for ur reply...
my one is a android application which i m trying to build it on phonegap and "Toast" is a user notification supported on android framework.