Included Android app not functioning, except calling 411

8 views
Skip to first unread message

Jeremiah

unread,
Nov 8, 2009, 6:04:29 PM11/8/09
to phonegap
I downloaded PhoneGap 0.8.0 from http://phonegap.com/download and
imported the /android project into a new Eclipse workspace. I run the
application on a G1 Dev Phone with Android 1.6. The demo application
launches, however, the only functionality that seems to work is "Call
411".

Beep, Vibrate, Watch Accelerometer, and (the only one I really need)
Get Location seem to do nothing when tapped.

What am I doing wrong?

Clem

unread,
Nov 8, 2009, 6:26:29 PM11/8/09
to phonegap
Same problem for me...

On 9 nov, 00:04, Jeremiah <jlcoh...@gmail.com> wrote:
> I downloaded PhoneGap 0.8.0 fromhttp://phonegap.com/downloadand
> imported the /androidproject into a new Eclipse workspace. I run the
> application on a G1 Dev Phone withAndroid1.6. The demo application

Jeremiah

unread,
Nov 9, 2009, 9:11:27 PM11/9/09
to phonegap
The solution from Nitobi:

Download the "edge" release instead.

Because it's the edge release, concatenate the JS files by going to
the PhoneGap directory and running "make". Then copy the files from
lib/android/ over to android/assets/www/. Compile and all should be
well.


Jeremiah

Kai Hendry

unread,
Nov 24, 2009, 11:59:51 AM11/24/09
to phonegap
I copied over the JS and still I don't get a location for example.

I get in my emulator:

D/dalvikvm( 116): GC freed 1266 objects / 85400 bytes in 117ms
D/LocationManager( 269): Constructor: service =
android.location.ILocationManager$Stub$Proxy@44df3598
E/LocationManagerService( 52): requestUpdates got exception:
E/LocationManagerService( 52): java.lang.IllegalArgumentException:
provider=network
E/LocationManagerService( 52): at
com.android.server.LocationManagerService.requestLocationUpdatesLocked
(LocationManagerService.java:861)
E/LocationManagerService( 52): at
com.android.server.LocationManagerService.requestLocationUpdates
(LocationManagerService.java:831)
E/LocationManagerService( 52): at android.location.ILocationManager
$Stub.onTransact(ILocationManager.java:79)
E/LocationManagerService( 52): at android.os.Binder.execTransact
(Binder.java:287)
E/LocationManagerService( 52): at dalvik.system.NativeStart.run
(Native Method)
D/dalvikvm( 234): GC freed 4499 objects / 429264 bytes in 82ms

kazoomer

unread,
Nov 24, 2009, 5:42:17 PM11/24/09
to phonegap
So officially, use 0.8.2 not edge we just made some changes to edge
and we are re-factoring things quite a bit this week. If you have any
specific problems, ping Joe Browser

Cheers
Rob Ellis

Nitobi.com
Phonegap.com
Reply all
Reply to author
Forward
0 new messages