Re: [android-developers] NullPointerException when trying to write a log into the SDcard

2011-09-17 Thread androidhub trainer
Hi Pedro, Could you please check if the currentlocation is not NULL. If this is null you will see a null pointer exception when you are trying to get latitude and longitude out of it. Thanks On Sat, Sep 17, 2011 at 8:30 PM, Pedro Teixeira pedroteixeir...@gmail.comwrote: Hello there, hope you

Re: [android-developers] Re: passing objects to pushed activities

2011-09-17 Thread androidhub trainer
Hi John, You could also check out my blog at: http://androidhub.wordpress.com/2011/08/03/android-intents-for-passing-data-between-activities-part-3/ I have explained this concept there. Thanks On Sat, Sep 17, 2011 at 10:49 PM, Streets Of Boston flyingdutc...@gmail.com wrote: Some extra

Re: [android-developers] [2011-09-14 09:10:06 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting

2011-09-14 Thread androidhub trainer
If with emulator restart it doesn't work, then do the following: Go to .android folder from Users folder. Once you are in .android go to avd folder. Select the emulator, which you are using. Inside that folder you will see two folders: cache.img.lock and userdata-qemu.img.lock. Delete both these

Re: [android-developers] itemizedOverlay, onTap

2011-09-13 Thread androidhub trainer
While creating the object of your class helloItemizedOverlay you are supposed to pass the current context. Use the constructor helloItemizedOverlay(Drawable defaultMarker, Context context). When you do this your context will not be null. On Mon, Sep 12, 2011 at 1:00 PM, rochi

Re: [android-developers] itemizedOverlay, onTap

2011-09-13 Thread androidhub trainer
. Thanks On Tue, Sep 13, 2011 at 5:28 PM, androidhub trainer androidtrainin...@gmail.com wrote: While creating the object of your class helloItemizedOverlay you are supposed to pass the current context. Use the constructor helloItemizedOverlay(Drawable defaultMarker, Context context). When