Re: [android-developers] Android App Failing When downloaded From Google Play
TreKing - i have nerrowed down the problem and its with GPS location. Here is the code which is not working: _locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); Criteria criteria = new Criteria(); _provider = _locationManager.getBestProvider(criteria, false); _location = _locationManager.getLastKnownLocation(_provider); Variable _location is set to null when i test on other device than the one(galaxy s3) i used to developed the app. My understanding is that above code should work on any GPS enabled android device. Any insight why it is not working on device other than my development device? On Saturday, June 28, 2014 10:03:13 AM UTC-4, TreKing wrote: > > > On Fri, Jun 27, 2014 at 11:39 PM, Spica > > wrote: > >> Any idea why it is not working on all the android devices? > > > Because you didn't test and account for all android devices. > > If you want a better answer than that, you need to provide a better > question than this. For example, explaining what "not working" or "failing" > means would help the rest of us who have no idea what you're talking about. > > http://www.catb.org/esr/faqs/smart-questions.html > > > - > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Android App Failing When downloaded From Google Play
Hi, I have developed android app using Galaxy S3. When i published my app on google play, it does not perform few functions which includes GPS access or SQL lite access. Any idea why it is not working on all the android devices? Note: My app has been developed for Android 4.2. Thanks & Regards, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Get and save GPS location while i am walking
Hmm... would be expenssive on battery coz GPS would be working all that time. Any different idea? On Mar 29, 12:59 pm, lbendlin wrote: > Nothing huge about it. You only get one data row per second max. SQLite is > laughing at that. > > > > On Thursday, March 29, 2012 12:22:47 PM UTC-4, Spica wrote: > > > Guys, > > How i can save GPS locations while i am walking? I will be displaying > > my walking track which i will recording while walking. Where i would > > be saving all those huge number of locations on my phone? > > There are few apps in the market who are doing that, please share your > > ideas how and where they save this data? > > > Thanks,- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Get and save GPS location while i am walking
Guys, How i can save GPS locations while i am walking? I will be displaying my walking track which i will recording while walking. Where i would be saving all those huge number of locations on my phone? There are few apps in the market who are doing that, please share your ideas how and where they save this data? Thanks, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: java.lang.ClassCastException: android.widget.EditText
This is line 70; Button b = (Button) findViewById(R.id.btnReferesh); On Aug 20, 4:39 pm, RichardC wrote: > E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException: > android.widget > .EditText > E/AndroidRuntime( 1335): at > com.myApp.DashBoard.onCreate(DashBoard.java > :70) > > What's at line 70 in DashBoard.java? > > On Aug 20, 5:16 pm, Spica wrote: > > > > > > > > > I removed EditText from my layout and after that i started getting > > "Force close" error. My app is not starting at all. Here is the trace > > i captured with logcat; > > > = > > E/AndroidRuntime( 1335): FATAL EXCEPTION: main > > E/AndroidRuntime( 1335): java.lang.RuntimeException: Unable to start > > activity Co > > mponentInfo{com.myApp/com.myApp.DashBoard}: > > java.lang.ClassCastException: android.widget.EditText > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.performLaunchActiv > > ity(ActivityThread.java:2781) > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.handleLaunchActivi > > ty(ActivityThread.java:2797) > > E/AndroidRuntime( 1335): at android.app.ActivityThread.access > > $2300(Activi > > tyThread.java:135) > > E/AndroidRuntime( 1335): at android.app.ActivityThread > > $H.handleMessage(Ac > > tivityThread.java:2132) > > E/AndroidRuntime( 1335): at > > android.os.Handler.dispatchMessage(Handler.ja > > va:99) > > E/AndroidRuntime( 1335): at android.os.Looper.loop(Looper.java: > > 143) > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.main(ActivityThrea > > d.java:4914) > > E/AndroidRuntime( 1335): at > > java.lang.reflect.Method.invokeNative(Native > > Method) > > E/AndroidRuntime( 1335): at > > java.lang.reflect.Method.invoke(Method.java:5 > > 21) > > E/AndroidRuntime( 1335): at com.android.internal.os.ZygoteInit > > $MethodAndA > > rgsCaller.run(ZygoteInit.java:858) > > E/AndroidRuntime( 1335): at > > com.android.internal.os.ZygoteInit.main(Zygot > > eInit.java:616) > > E/AndroidRuntime( 1335): at > > dalvik.system.NativeStart.main(Native Method) > > > E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException: > > android.widget > > .EditText > > E/AndroidRuntime( 1335): at > > com.myApp.DashBoard.onCreate(DashBoard.java > > :70) > > E/AndroidRuntime( 1335): at > > android.app.Instrumentation.callActivityOnCre > > ate(Instrumentation.java:1065) > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.performLaunchActiv > > ity(ActivityThread.java:2745) > > > > > I am not using the removed EditText in the code even then it is > > throwing this error... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: java.lang.ClassCastException: android.widget.EditText
Awesome... : it worked after cleaning project... thanks Mark On Aug 20, 12:24 pm, Mark Murphy wrote: > Try cleaning your project (Project > Clean from the Eclipse main menu, > or ant clean from the command line). Typically, I find that these > ClassCastExceptions are because the widget IDs are out of sync between > the resources in the APK file and your already-compiled .class files. > Cleaning the project forces the .class files to be rebuilt. > > > > > > > > > > On Sat, Aug 20, 2011 at 12:16 PM, Spica wrote: > > I removed EditText from my layout and after that i started getting > > "Force close" error. My app is not starting at all. Here is the trace > > i captured with logcat; > > > = > > E/AndroidRuntime( 1335): FATAL EXCEPTION: main > > E/AndroidRuntime( 1335): java.lang.RuntimeException: Unable to start > > activity Co > > mponentInfo{com.myApp/com.myApp.DashBoard}: > > java.lang.ClassCastException: android.widget.EditText > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.performLaunchActiv > > ity(ActivityThread.java:2781) > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.handleLaunchActivi > > ty(ActivityThread.java:2797) > > E/AndroidRuntime( 1335): at android.app.ActivityThread.access > > $2300(Activi > > tyThread.java:135) > > E/AndroidRuntime( 1335): at android.app.ActivityThread > > $H.handleMessage(Ac > > tivityThread.java:2132) > > E/AndroidRuntime( 1335): at > > android.os.Handler.dispatchMessage(Handler.ja > > va:99) > > E/AndroidRuntime( 1335): at android.os.Looper.loop(Looper.java: > > 143) > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.main(ActivityThrea > > d.java:4914) > > E/AndroidRuntime( 1335): at > > java.lang.reflect.Method.invokeNative(Native > > Method) > > E/AndroidRuntime( 1335): at > > java.lang.reflect.Method.invoke(Method.java:5 > > 21) > > E/AndroidRuntime( 1335): at com.android.internal.os.ZygoteInit > > $MethodAndA > > rgsCaller.run(ZygoteInit.java:858) > > E/AndroidRuntime( 1335): at > > com.android.internal.os.ZygoteInit.main(Zygot > > eInit.java:616) > > E/AndroidRuntime( 1335): at > > dalvik.system.NativeStart.main(Native Method) > > > E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException: > > android.widget > > .EditText > > E/AndroidRuntime( 1335): at > > com.myApp.DashBoard.onCreate(DashBoard.java > > :70) > > E/AndroidRuntime( 1335): at > > android.app.Instrumentation.callActivityOnCre > > ate(Instrumentation.java:1065) > > E/AndroidRuntime( 1335): at > > android.app.ActivityThread.performLaunchActiv > > ity(ActivityThread.java:2745) > > > > > I am not using the removed EditText in the code even then it is > > throwing this error... > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] java.lang.ClassCastException: android.widget.EditText
I removed EditText from my layout and after that i started getting "Force close" error. My app is not starting at all. Here is the trace i captured with logcat; = E/AndroidRuntime( 1335): FATAL EXCEPTION: main E/AndroidRuntime( 1335): java.lang.RuntimeException: Unable to start activity Co mponentInfo{com.myApp/com.myApp.DashBoard}: java.lang.ClassCastException: android.widget.EditText E/AndroidRuntime( 1335):at android.app.ActivityThread.performLaunchActiv ity(ActivityThread.java:2781) E/AndroidRuntime( 1335):at android.app.ActivityThread.handleLaunchActivi ty(ActivityThread.java:2797) E/AndroidRuntime( 1335):at android.app.ActivityThread.access $2300(Activi tyThread.java:135) E/AndroidRuntime( 1335):at android.app.ActivityThread $H.handleMessage(Ac tivityThread.java:2132) E/AndroidRuntime( 1335):at android.os.Handler.dispatchMessage(Handler.ja va:99) E/AndroidRuntime( 1335):at android.os.Looper.loop(Looper.java: 143) E/AndroidRuntime( 1335):at android.app.ActivityThread.main(ActivityThrea d.java:4914) E/AndroidRuntime( 1335):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 1335):at java.lang.reflect.Method.invoke(Method.java:5 21) E/AndroidRuntime( 1335):at com.android.internal.os.ZygoteInit $MethodAndA rgsCaller.run(ZygoteInit.java:858) E/AndroidRuntime( 1335):at com.android.internal.os.ZygoteInit.main(Zygot eInit.java:616) E/AndroidRuntime( 1335):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException: android.widget .EditText E/AndroidRuntime( 1335):at com.myApp.DashBoard.onCreate(DashBoard.java :70) E/AndroidRuntime( 1335):at android.app.Instrumentation.callActivityOnCre ate(Instrumentation.java:1065) E/AndroidRuntime( 1335):at android.app.ActivityThread.performLaunchActiv ity(ActivityThread.java:2745) I am not using the removed EditText in the code even then it is throwing this error... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Force Close Issue
guys, you were correct. My phone's usb port went bad. I tested my app on my new HTC Aria today and no "Force Close" error coming up. But still i am get that error on Samsung Captivate. Looks like nothing is wrong in my code. Its the hardware or else, i'm not sure. My app is running fine on Aria so at this point i would consider it as resovled :)) Thanks for your support Cheers On Aug 13, 4:46 pm, Spica wrote: > It looks like i will have to buy another android phone... any > suggestion which one is good low cost phone for android development? > Obviously other than Samsung Captivate :)) How about HTC Aria > > On Aug 13, 1:19 pm, rich friedel wrote: > > > > > Yeah I am starting to think it's the port on the mobo... :-/- Hide quoted > > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to finish parent activity once child activity is loaded
great, it worked... now child activity is running and if i try to run app again then parent activity starts again. Parent and child activities are both running at the same time. I do not want to load app again if child is already running? On Aug 18, 8:06 pm, Mark Murphy wrote: > On Thu, Aug 18, 2011 at 8:02 PM,Spica wrote: > > It did not work, here is the code in parent activity > > startActivity(ChildActivity); > > ParentActivity.this.getParent().finish(); > > > When i hit back button parent activity come on front. > > That is not what I told you to do. > > Here is what I wrote: > > >> Immediately after the parent calls startActivity(), the parent calls > >> finish() on itself. > > I did not tell you to call finish() on getParent(). Delete the > "ParentActivity.this.getParent()." from your second statement, please. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to finish parent activity once child activity is loaded
It did not work, here is the code in parent activity startActivity(ChildActivity); ParentActivity.this.getParent().finish(); When i hit back button parent activity come on front. On Aug 18, 7:47 am, Mark Murphy wrote: > On Thu, Aug 18, 2011 at 7:31 AM, Spica wrote: > > Guys, any idea about my question? > > > On Aug 17, 11:57 pm, Spica wrote: > >> I want to load child activity from parent activity. Once child is > >> loaded i want to finish the parent activity. > > Immediately after the parent calls startActivity(), the parent calls > finish() on itself. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to finish parent activity once child activity is loaded
Guys, any idea about my question? On Aug 17, 11:57 pm, Spica wrote: > I want to load child activity from parent activity. Once child is > loaded i want to finish the parent activity. > I am trying this code, which closes whole application; > > ChildActivity.this.getParent().finish(); > > How i can finish parent only? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to finish parent activity once child activity is loaded
I want to load child activity from parent activity. Once child is loaded i want to finish the parent activity. I am trying this code, which closes whole application; ChildActivity.this.getParent().finish(); How i can finish parent only? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Force Close Issue
It looks like i will have to buy another android phone... any suggestion which one is good low cost phone for android development? Obviously other than Samsung Captivate :)) How about HTC Aria On Aug 13, 1:19 pm, rich friedel wrote: > Yeah I am starting to think it's the port on the mobo... :-/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Force Close Issue
Guys, I am still trying to get logs using logcat by connecting my device to my laptop. But, suddenly i started running into another issue. My device stopped connecting to my laptop. It was connecting fine before but now i am getting two type of errors; either a- Device driver was not successfuly installed or b- USB device not recognized I have tried almost everything available in blogs but no fate. Any idea why is it started happening suddenly and how i can make it work again? I am using Samsung Captivate On Aug 12, 7:25 pm, Indicator Veritatis wrote: > your log extract looks like the same kind of log produced by logcat. > Well and good. But there is no evidence of a "force close" in there. > When you capture the log for that, you will see a Java Exception in > the log. Exceptions produce stack traces. That is what we need to see. > > On Aug 12, 9:18 am, Spica wrote: > > > > > I grabbed this log using app "Log Report". Could you suggest how i can > > capture log so it grabs the Java stack trace? > > Or suggest better app to capture log. > > > On Aug 12, 11:31 am, Mark Murphy wrote:> None of > > that shows a crash. A "Force Close" dialog will have a Java > > > stack trace associated with it. > > > > On Fri, Aug 12, 2011 at 11:29 AM, Spica wrote: > > > > Here is the log and at this point i do not have any idea what it > > > > means; > > > > == > > > > CRASH LOG: > > > > 0.00) > > > > 08-12 10:54:08.908 D/gps_BRCM( 2479): on_location_cb() : location is > > > > missed. flags is 0! > > > > 08-12 10:54:08.908 D/GpsLocationProvider( 2479): send an intent to > > > > notify that the GPS is receiving fixes > > > > 08-12 10:54:08.943 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 > > > > used_in_fix_mask : 0x) > > > > 08-12 10:54:08.943 D/GpsLocationProvider( 2479): send an intent to > > > > notify that the GPS is no longer receiving fixes > > > > 08-12 10:54:09.900 D/gps_BRCM( 2479): on_location_cb() : > > > > lat(40.734275), lon(-73.596664), flags(0x000c), > > > > accuracy(100.00) > > > > 08-12 10:54:09.900 D/gps_BRCM( 2479): on_location_cb() : location is > > > > missed. flags is 0! > > > > 08-12 10:54:09.904 D/GpsLocationProvider( 2479): send an intent to > > > > notify that the GPS is receiving fixes > > > > 08-12 10:54:09.979 I/wpa_supplicant( 2555): CTRL-EVENT-NO-CONNECTION > > > > 08-12 10:54:09.979 I/WifiMonitor( 2479): Event [ SCAN-RESULTS ] > > > > 08-12 10:54:09.979 I/WifiMonitor( 2479): Event [CTRL-EVENT-NO- > > > > CONNECTION] > > > > 08-12 10:54:10.010 I/NetworkStatusReceiver( 3662): action: > > > > android.net.wifi.SCAN_RESULTS > > > > 08-12 10:54:10.022 I/NetworkStatusReceiver( 3662): action: > > > > android.net.wifi.SHOW_AP_LIST_DIALOG > > > > 08-12 10:54:10.022 E/WifiManager( 3662): showApDialog > > > > 08-12 10:54:10.025 I/WifiService( 2479): > > > > isShowingAccessPointListDialog():false > > > > 08-12 10:54:10.025 I/WifiService( 2479): > > > > setShowAccessPointListDialog():false > > > > 08-12 10:54:10.041 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 8 > > > > used_in_fix_mask : 0x) > > > > 08-12 10:54:10.041 D/GpsLocationProvider( 2479): send an intent to > > > > notify that the GPS is no longer receiving fixes > > > > 08-12 10:54:10.900 D/gps_BRCM( 2479): on_location_cb() : > > > > lat(40.734275), lon(-73.596664), flags(0x000c), > > > > accuracy(100.00) > > > > 08-12 10:54:10.900 D/gps_BRCM( 2479): on_location_cb() : location is > > > > missed. flags is 0! > > > > 08-12 10:54:10.900 D/GpsLocationProvider( 2479): send an intent to > > > > notify that the GPS is receiving fixes > > > > 08-12 10:54:10.939 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 8 > > > > used_in_fix_mask : 0x) > > > > 08-12 10:54:10.939 D/GpsLocationProvider( 2479): send an intent to > > > > notify that the GPS is no longer receiving fixes > > > > 08-12 10:54:11.893 D/gps_BRCM( 2479): on_location_cb() : > > > > lat(40.734275), lon(-73.596664), flags(0x000c), > > > > accuracy(1500.00) > > > > 08-12 10:54:11.893 D/gps_BRCM( 2479): on_location_cb() : location is > > > > missed. flags is 0! > > > > 08-12 10:54:11.893 D/GpsLocationProvider( 2479): sen
[android-developers] Re: Force Close Issue
I grabbed this log using app "Log Report". Could you suggest how i can capture log so it grabs the Java stack trace? Or suggest better app to capture log. On Aug 12, 11:31 am, Mark Murphy wrote: > None of that shows a crash. A "Force Close" dialog will have a Java > stack trace associated with it. > > > > On Fri, Aug 12, 2011 at 11:29 AM, Spica wrote: > > Here is the log and at this point i do not have any idea what it > > means; > > == > > CRASH LOG: > > 0.00) > > 08-12 10:54:08.908 D/gps_BRCM( 2479): on_location_cb() : location is > > missed. flags is 0! > > 08-12 10:54:08.908 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is receiving fixes > > 08-12 10:54:08.943 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 > > used_in_fix_mask : 0x) > > 08-12 10:54:08.943 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is no longer receiving fixes > > 08-12 10:54:09.900 D/gps_BRCM( 2479): on_location_cb() : > > lat(40.734275), lon(-73.596664), flags(0x000c), > > accuracy(100.00) > > 08-12 10:54:09.900 D/gps_BRCM( 2479): on_location_cb() : location is > > missed. flags is 0! > > 08-12 10:54:09.904 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is receiving fixes > > 08-12 10:54:09.979 I/wpa_supplicant( 2555): CTRL-EVENT-NO-CONNECTION > > 08-12 10:54:09.979 I/WifiMonitor( 2479): Event [ SCAN-RESULTS ] > > 08-12 10:54:09.979 I/WifiMonitor( 2479): Event [CTRL-EVENT-NO- > > CONNECTION] > > 08-12 10:54:10.010 I/NetworkStatusReceiver( 3662): action: > > android.net.wifi.SCAN_RESULTS > > 08-12 10:54:10.022 I/NetworkStatusReceiver( 3662): action: > > android.net.wifi.SHOW_AP_LIST_DIALOG > > 08-12 10:54:10.022 E/WifiManager( 3662): showApDialog > > 08-12 10:54:10.025 I/WifiService( 2479): > > isShowingAccessPointListDialog():false > > 08-12 10:54:10.025 I/WifiService( 2479): > > setShowAccessPointListDialog():false > > 08-12 10:54:10.041 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 8 > > used_in_fix_mask : 0x) > > 08-12 10:54:10.041 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is no longer receiving fixes > > 08-12 10:54:10.900 D/gps_BRCM( 2479): on_location_cb() : > > lat(40.734275), lon(-73.596664), flags(0x000c), > > accuracy(100.00) > > 08-12 10:54:10.900 D/gps_BRCM( 2479): on_location_cb() : location is > > missed. flags is 0! > > 08-12 10:54:10.900 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is receiving fixes > > 08-12 10:54:10.939 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 8 > > used_in_fix_mask : 0x) > > 08-12 10:54:10.939 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is no longer receiving fixes > > 08-12 10:54:11.893 D/gps_BRCM( 2479): on_location_cb() : > > lat(40.734275), lon(-73.596664), flags(0x000c), > > accuracy(1500.00) > > 08-12 10:54:11.893 D/gps_BRCM( 2479): on_location_cb() : location is > > missed. flags is 0! > > 08-12 10:54:11.893 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is receiving fixes > > 08-12 10:54:11.908 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 8 > > used_in_fix_mask : 0x) > > 08-12 10:54:11.908 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is no longer receiving fixes > > 08-12 10:54:12.908 D/gps_BRCM( 2479): on_location_cb() : > > lat(40.734275), lon(-73.596664), flags(0x000c), > > accuracy(1500.00) > > 08-12 10:54:12.908 D/gps_BRCM( 2479): on_location_cb() : location is > > missed. flags is 0! > > 08-12 10:54:12.908 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is receiving fixes > > 08-12 10:54:12.994 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 > > used_in_fix_mask : 0x) > > 08-12 10:54:12.994 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is no longer receiving fixes > > 08-12 10:54:13.908 D/gps_BRCM( 2479): on_location_cb() : > > lat(40.734275), lon(-73.596664), flags(0x000c), > > accuracy(1500.00) > > 08-12 10:54:13.908 D/gps_BRCM( 2479): on_location_cb() : location is > > missed. flags is 0! > > 08-12 10:54:13.912 D/GpsLocationProvider( 2479): send an intent to > > notify that the GPS is receiving fixes > > 08-12 10:54:13.951 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 > > used_in_fix_mask : 0x) > > 08-12 10:54:13.951 D/GpsLocationProvider( 2479): send
[android-developers] Re: Force Close Issue
- CONNECTION] 08-12 10:54:16.990 I/NetworkStatusReceiver( 3662): action: android.net.wifi.SCAN_RESULTS 08-12 10:54:17.006 I/NetworkStatusReceiver( 3662): action: android.net.wifi.SHOW_AP_LIST_DIALOG 08-12 10:54:17.006 E/WifiManager( 3662): showApDialog 08-12 10:54:17.010 I/WifiService( 2479): isShowingAccessPointListDialog():false 08-12 10:54:17.010 I/WifiService( 2479): setShowAccessPointListDialog():false 08-12 10:54:17.037 I/GpsLocationProvider( 2479): requestRefLocation: gsm_cell = [11940,156182206] 08-12 10:54:17.041 I/GpsLocationProvider( 2479): requestRefLocation: mcc = 310 mnc = 410 08-12 10:54:17.049 D/gps_BRCM( 2479): on_location_cb() : lat(40.733659), lon(-73.597838), flags(0x001f), accuracy(100.00) 08-12 10:54:17.053 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x50001000) 08-12 10:54:17.170 D/dalvikvm( 9942): GC_FOR_MALLOC freed 5580 objects / 659440 bytes in 56ms 08-12 10:54:17.928 I/GpsLocationProvider( 2479): requestRefLocation: gsm_cell = [11940,156182206] 08-12 10:54:17.932 I/GpsLocationProvider( 2479): requestRefLocation: mcc = 310 mnc = 410 08-12 10:54:17.940 D/gps_BRCM( 2479): on_location_cb() : lat(40.733826), lon(-73.597723), flags(0x001f), accuracy(50.00) 08-12 10:54:17.943 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x50001000) 08-12 10:54:18.936 I/GpsLocationProvider( 2479): requestRefLocation: gsm_cell = [11940,156182206] 08-12 10:54:18.939 I/GpsLocationProvider( 2479): requestRefLocation: mcc = 310 mnc = 410 08-12 10:54:18.943 D/gps_BRCM( 2479): on_location_cb() : lat(40.733826), lon(-73.597723), flags(0x001f), accuracy(50.00) 08-12 10:54:18.943 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x50001000) 08-12 10:54:19.721 W/InputManagerService( 2479): Starting input on non- focused client com.android.internal.view.IInputMethodClient$Stub $Proxy@47e8b258 (uid=10096 pid=13324) 08-12 10:54:19.900 D/gps_BRCM( 2479): on_location_cb() : lat(40.733872), lon(-73.597701), flags(0x000c), accuracy(50.00) 08-12 10:54:19.900 D/gps_BRCM( 2479): on_location_cb() : location is missed. flags is 0! 08-12 10:54:19.904 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x) 08-12 10:54:20.920 D/gps_BRCM( 2479): on_location_cb() : lat(40.733872), lon(-73.597701), flags(0x000c), accuracy(50.00) 08-12 10:54:20.920 D/gps_BRCM( 2479): on_location_cb() : location is missed. flags is 0! 08-12 10:54:20.928 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x) 08-12 10:54:21.904 D/gps_BRCM( 2479): on_location_cb() : lat(40.733872), lon(-73.597701), flags(0x000c), accuracy(50.00) 08-12 10:54:21.904 D/gps_BRCM( 2479): on_location_cb() : location is missed. flags is 0! 08-12 10:54:21.908 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x) 08-12 10:54:21.940 W/InputManagerService( 2479): Starting input on non- focused client com.android.internal.view.IInputMethodClient$Stub $Proxy@47e8b258 (uid=10096 pid=13324) 08-12 10:54:22.897 D/gps_BRCM( 2479): on_location_cb() : lat(40.733872), lon(-73.597701), flags(0x000c), accuracy(50.00) 08-12 10:54:22.897 D/gps_BRCM( 2479): on_location_cb() : location is missed. flags is 0! 08-12 10:54:22.900 D/gps_BRCM( 2479): on_satellite_cb(num_svs : 7 used_in_fix_mask : 0x) 08-12 10:54:23.850 I/wpa_supplicant( 2555): CTRL-EVENT-NO-CONNECTION 08-12 10:54:23.850 I/WifiMonitor( 2479): Event [ SCAN-RESULTS ] 08-12 10:54:23.854 I/WifiMonitor( 2479): Event [CTRL-EVENT-NO- CONNECTION] 08-12 10:54:23.885 I/NetworkStatusReceiver( 3662): action: android.net.wifi.SCAN_RESULTS 08-12 10:54:23.900 I/NetworkStatusReceiver( 3662): action: android.net.wifi.SHOW_AP_LIST_DIALOG 08-12 10:54 == On Aug 12, 10:02 am, Spica wrote: > Guys, functionality is fine but issue is that it crashes when device > moves. I will install looger app and upload the log here today. > > On Aug 12, 12:32 am, Usef Ali wrote: > > > > > You could mange that fix by having the app locate you (the user) > > first, then input destination 2nd. > > > On Aug 12, 12:15 am, Spica wrote: > > > > I am developing location based application which uses phone's gps. It > > > works fine on my android device when i am not moving but as soon as i > > > start moving my application either freezes or error out with option of > > > "Force close". This application is also consuming web service to send > > > location to the server.- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Force Close Issue
Guys, functionality is fine but issue is that it crashes when device moves. I will install looger app and upload the log here today. On Aug 12, 12:32 am, Usef Ali wrote: > You could mange that fix by having the app locate you (the user) > first, then input destination 2nd. > > On Aug 12, 12:15 am, Spica wrote: > > > > > I am developing location based application which uses phone's gps. It > > works fine on my android device when i am not moving but as soon as i > > start moving my application either freezes or error out with option of > > "Force close". This application is also consuming web service to send > > location to the server.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Force Close Issue
This my first android application so i am not sure what log i need to attach... On Aug 12, 12:21 am, Nick Risaro wrote: > That's so sad :( > > Maybe if you attach some logs we can help you and stop being sad. > > > > > > > > On Fri, Aug 12, 2011 at 1:15 AM, Spica wrote: > > I am developing location based application which uses phone's gps. It > > works fine on my android device when i am not moving but as soon as i > > start moving my application either freezes or error out with option of > > "Force close". This application is also consuming web service to send > > location to the server. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Force Close Issue
I am developing location based application which uses phone's gps. It works fine on my android device when i am not moving but as soon as i start moving my application either freezes or error out with option of "Force close". This application is also consuming web service to send location to the server. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android App Crash
Hi, I have developed very basic android app which gets location using phone's GPS. It works fine if device is not moving. When i carry my phone in car and increase speed, app either freezes or crashes with only once option as "Forece close". This app also calls a web service to send Longi/Lati. Please share your thoughts about this issue. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en