[android-developers] Re: Problem with Exceptions that are thrown deep in the System of my app
yeah, i do not get the use case. If you just want to debug it, you should print everything in the logs. -- 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] RemoteViews in HoneyComb
I have a home screen widget that uses setBoolean to enable or disable components in the widget. It works just fine in Froyo and GingerBread but it is giving me exceptions on HoneyComb Basically I have this line: views.setBoolean(R.id.s_button, setEnabled, true); When I run it on HoneyComb i get this: W/AppWidgetHostView(21613): updateAppWidget couldn't find any view, using error view W/AppWidgetHostView(21613): android.widget.RemoteViews$ActionException: view: android.widget.Button can't use method with RemoteViews: setEnabled(boolean) W/AppWidgetHostView(21613): at android.widget.RemoteViews$ReflectionAction.apply(RemoteViews.java:778) W/AppWidgetHostView(21613): at android.widget.RemoteViews.performApply(RemoteViews.java:1515) W/AppWidgetHostView(21613): at android.widget.RemoteViews.apply(RemoteViews.java:1492) W/AppWidgetHostView(21613): at android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java:225) W/AppWidgetHostView(21613): at android.appwidget.AppWidgetHost.createView(AppWidgetHost.java:234) W/AppWidgetHostView(21613): at com.android.launcher2.Launcher.completeAddAppWidget(Launcher.java:1353) W/AppWidgetHostView(21613): at com.android.launcher2.Launcher.addAppWidgetImpl(Launcher.java:1858) W/AppWidgetHostView(21613): at com.android.launcher2.Launcher.addAppWidgetFromDrop(Launcher.java:1802) W/AppWidgetHostView(21613): at com.android.launcher2.Workspace.onDropExternal(Workspace.java:2754) W/AppWidgetHostView(21613): at com.android.launcher2.Workspace.addExternalItemToScreen(Workspace.java:2726) W/AppWidgetHostView(21613): at com.android.launcher2.Launcher.addExternalItemToScreen(Launcher.java:3228) W/AppWidgetHostView(21613): at com.android.launcher2.CustomizePagedView$3.onAnimationEnd(CustomizePagedView.java:390) W/AppWidgetHostView(21613): at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:999) W/AppWidgetHostView(21613): at android.animation.ValueAnimator.access$800(ValueAnimator.java:42) W/AppWidgetHostView(21613): at android.animation.ValueAnimator$AnimationHandler.handleMessage(ValueAnimator.java:646) W/AppWidgetHostView(21613): at android.os.Handler.dispatchMessage(Handler.java:99) W/AppWidgetHostView(21613): at android.os.Looper.loop(Looper.java:126) W/AppWidgetHostView(21613): at android.app.ActivityThread.main(ActivityThread.java:4002) W/AppWidgetHostView(21613): at java.lang.reflect.Method.invokeNative(Native Method) W/AppWidgetHostView(21613): at java.lang.reflect.Method.invoke(Method.java:491) W/AppWidgetHostView(21613): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844) W/AppWidgetHostView(21613): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602) W/AppWidgetHostView(21613): at dalvik.system.NativeStart.main(Native Method) and the Widget never shows up. According to the RemoteViews documentation setBoolean is supported since API level 3 does anybody knows if it is broken or is there another way to accomplish this? I would appreciate any help on this issue :) 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: Database updates
where did you change the version? in the manifest file or in the java class? -- 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: I keep on getting 401 when sending msg to C2DM server
how did you get the auth token? -- 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: apk certificate
you can read this article to find out how to do this properly http://developer.android.com/guide/publishing/publishing.html -- 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: SMS -Sending
Did you add the permission in your manifest file What error do you see in the logcat? -- 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
Re: [android-developers] Re: SMS -Sending
you can connect to your emulator or device using adb shell and from there you can see the log file and see what is the error here you can find more documentation on this topic http://developer.android.com/guide/developing/tools/adb.html -- 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: Purchasing a phone for development
I am using the Nexus One and it works excellent even faster than using the emulator, just plug it, enable dev mode and that is all you do not need to look for drivers or things like that. -- 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 install an app on android phone by using eclipse
did you read the documentation http://developer.android.com/guide/developing/device.html -- 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: Can't add menu.xml in Eclipse
Did you try using Galileo instead?. I am using that one and it works just fine and think Google recommends it as well it has better compatibility . -- 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: Query in Android Application development
I think that the best way to work with DBs is using content providers you can read the documentation about them here: http://developer.android.com/guide/topics/providers/content-providers.html also I would read the samples in the resources sections they have everything you need in order to start developing in android, sample code, tutorials, articles, everything http://developer.android.com/resources/index.html -- 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: Refreshing ListView data within an Activity every 5-10 seconds, which approach to take?
instead of pulling why don't you push using cloud to device messaging like chrome to phones, so everytime the server has new data it pushes to the clients in this case your android device. Pulling every time could affect battery life. If you really need to pull you can use the alarm manager and set to run every time then you wull have to have a broadcast receiver which handle the call. -- 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: exception in getting data from cursor(database)
first of all are you getting any results did you try printing getCount() value? add the log and the exception that way would be easier. -- 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