Re: [android-developers] Unfortunately the activity has stopped

2012-01-27 Thread arun kumar
you create repeated the button id two times that's the problem. btnLogin=(Button)this.findViewById(R.id.btnLogin); btnLogin=(Button)this.findViewById(R.id.btnLogin); On Fri, Jan 27, 2012 at 11:39 AM, newtoandroid wrote: > i tried a simple login page which gets the gps location if

Re: [android-developers] Unfortunately the activity has stopped

2012-01-27 Thread TreKing
On Fri, Jan 27, 2012 at 12:09 AM, newtoandroid wrote: > ünfortunately,the activity has stopped "with an ok button. > If you're referring to a "force close" message, read the stack trace given in the LogCat and find the "Caused by..." line. ---

[android-developers] Unfortunately the activity has stopped

2012-01-26 Thread newtoandroid
i tried a simple login page which gets the gps location if the login condition is satisfied,while running it shows ünfortunately,the activity has stopped "with an ok button. i have created the avd with gps support supporting android 4 with google Inc and even set the gps manually in ddms perspectiv