Hi Max,

I have solved the problem for the gps but i am stuck with the maintaining log 
in status of user.

Please follow this link to find details of my problem.

http://stackoverflow.com/questions/12825779/saving-user-login-state


Send By Amrit Subedi


Date: Sun, 7 Oct 2012 11:28:08 -0700
From: ml-node+s1047100n5712130...@n5.nabble.com
To: carryonam...@hotmail.com
Subject: Re: System.NullReferenceException at OnStart() in Background service.



        On Sun, Oct 7, 2012 at 12:40 AM, smartamrit <[hidden email]> wrote:

I am trying to update the the user location every defined time but when ever

i implement requestLocationUpdates function to my application, it crash.



Please find the code and logcat log in the url below and help me solve this

problem.



My code and logcat

<http://stackoverflow.com/questions/12762624/application-crashed-if-requestlocationupdates-is-called-to-get-new-location-of-u>


Amrit,

I tried to troubleshoot this, but I couldn't get a repro. I commented back in 
the line that causes your crash (RequestLocationUpdates) and threw it into 
OnCreate of a Main activity, but it ran fine for me. (Note that I didn't 
include NorthStarBackgroundService because it won't compile without more code 
like the ConnectToSever class.)


I'm attaching my repro attempt. If you could modify it so that it crashes and 
send it back maybe I can help debug it. (If I were a guru maybe I wouldn't need 
a repro to spot your problem but I'm still a novice.)


-Max 
-- 
Hahahahaaaa!!! That is ME laughing at YOU, cruel world.    -Jordan Rixon

I could not love thee, dear, so much,Loved I not Honour more.



_______________________________________________

Monodroid mailing list

[hidden email]


UNSUBSCRIBE INFORMATION:

http://lists.ximian.com/mailman/listinfo/monodroid

 Northstar.zip (26K) Download Attachment

        
        
        
        

        

        
        
                If you reply to this email, your message will be added to the 
discussion below:
                
http://mono-for-android.1047100.n5.nabble.com/System-NullReferenceException-at-OnStart-in-Background-service-tp5712129p5712130.html
        
        
                
                To unsubscribe from System.NullReferenceException at OnStart() 
in Background service., click here.

                NAML
                                                  



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/System-NullReferenceException-at-OnStart-in-Background-service-tp5712129p5712152.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to