Getting warning when trying to view saved camera picture in gridview - android

I am going to use camera/gallery in my project. FOr this i have first taken picture and saved it in my folder(Suppose pictureworld) and also saved the imageuri in the localdatabase. Then when i am trying to get the picture to show it in the gridview i am getting a warning message. In the gridview there is no picture but it can view the picture name. I have checked that it is creating the picture and also the uri in the localdatabase is correct.I want to add that when i am trying to save the pic using the gallery ..there is no problem. I have used the same adapter for viewing the saved gallery and camera picture. I am attaching the warning here:
03-10 17:48:11.367: W/System.err(522): at libcore.io.IoBridge.open(IoBridge.java:406)
03-10 17:48:11.367: W/System.err(522): at java.io.FileInputStream.<init>(FileInputStream.java:78)
03-10 17:48:11.367: W/System.err(522): at java.io.FileInputStream.<init>(FileInputStream.java:105)
03-10 17:48:11.367: W/System.err(522): at android.content.ContentResolver.openInputStream(ContentResolver.java:369)
03-10 17:48:11.367: W/System.err(522): at android.provider.MediaStore$Images$Media.getBitmap(MediaStore.java:705)
03-10 17:48:11.367: W/System.err(522): at hr.s2is.ischool.admin.adapter.CommunityUserAdapter.getView(CommunityUserAdapter.java:71)
03-10 17:48:11.367: W/System.err(522): at android.widget.AbsListView.obtainView(AbsListView.java:2033)
03-10 17:48:11.367: W/System.err(522): at android.widget.GridView.makeAndAddView(GridView.java:1323)
03-10 17:48:11.377: W/System.err(522): at android.widget.GridView.makeRow(GridView.java:328)
03-10 17:48:11.377: W/System.err(522): at android.widget.GridView.fillDown(GridView.java:281)
03-10 17:48:11.377: W/System.err(522): at android.widget.GridView.fillFromTop(GridView.java:403)
03-10 17:48:11.377: W/System.err(522): at android.widget.GridView.layoutChildren(GridView.java:1215)
03-10 17:48:11.377: W/System.err(522): at android.widget.AbsListView.onLayout(AbsListView.java:1863)
03-10 17:48:11.377: W/System.err(522): at android.view.View.layout(View.java:11278)
03-10 17:48:11.377: W/System.err(522): at android.view.ViewGroup.layout(ViewGroup.java:4224)
03-10 17:48:11.377: W/System.err(522): at android.widget.RelativeLayout.onLayout(RelativeLayout.java:925)
03-10 17:48:11.387: W/System.err(522): at android.view.View.layout(View.java:11278)
03-10 17:48:11.387: W/System.err(522): at android.view.ViewGroup.layout(ViewGroup.java:4224)
03-10 17:48:11.387: W/System.err(522): at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
03-10 17:48:11.387: W/System.err(522): at android.view.View.layout(View.java:11278)
03-10 17:48:11.387: W/System.err(522): at android.view.ViewGroup.layout(ViewGroup.java:4224)
03-10 17:48:11.387: W/System.err(522): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
03-10 17:48:11.397: W/System.err(522): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
03-10 17:48:11.397: W/System.err(522): at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
03-10 17:48:11.397: W/System.err(522): at android.view.View.layout(View.java:11278)
03-10 17:48:11.397: W/System.err(522): at android.view.ViewGroup.layout(ViewGroup.java:4224)
03-10 17:48:11.397: W/System.err(522): at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
03-10 17:48:11.397: W/System.err(522): at android.view.View.layout(View.java:11278)
03-10 17:48:11.397: W/System.err(522): at android.view.ViewGroup.layout(ViewGroup.java:4224)
03-10 17:48:11.407: W/System.err(522): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1489)
03-10 17:48:11.407: W/System.err(522): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
03-10 17:48:11.407: W/System.err(522): at android.os.Handler.dispatchMessage(Handler.java:99)
03-10 17:48:11.407: W/System.err(522): at android.os.Looper.loop(Looper.java:137)
03-10 17:48:11.407: W/System.err(522): at android.app.ActivityThread.main(ActivityThread.java:4424)
03-10 17:48:11.407: W/System.err(522): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 17:48:11.417: W/System.err(522): at java.lang.reflect.Method.invoke(Method.java:511)
03-10 17:48:11.417: W/System.err(522): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
03-10 17:48:11.417: W/System.err(522): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
03-10 17:48:11.417: W/System.err(522): at dalvik.system.NativeStart.main(Native Method)
03-10 17:48:11.417: W/System.err(522): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
03-10 17:48:11.427: W/System.err(522): at libcore.io.Posix.open(Native Method)
03-10 17:48:11.427: W/System.err(522): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
03-10 17:48:11.427: W/System.err(522): at libcore.io.IoBridge.open(IoBridge.java:390)

Have you given the permission to read the local storage? You should check if any permission is declared in Android Manifest regarding Writing and reading of Internal Storage.

did you add permissions
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
One more thing:
With sdk, you can't write to the root of internal storage. This cause your error.Try something like this
final File dir = new File(context.getFilesDir() + "/nfs/guille/groce/users/nicholsk/workspace3/SQLTest");
dir.mkdirs(); //create folders where write files
final File file = new File(dir, "BlockForTest.txt");

Related

LibGDX Android app violates API usage policies

After submitting my Android app, created with LibGDX 1.9.10, I started getting loads of crashes.
After some investigations, I found that the crashes are coming from devices with Android 9 and higher (API level 28). It works fine on lower version Androids.
Investigating further, the errors I find seem to indicate that the errors are caused by LibGDX's Android launcher violating API usage policies in place since Android 9:
https://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces
"Starting in Android 9 (API level 28), the platform restricts which
non-SDK interfaces your app can use."
The errors I see look like this:
03-10 06:25:33.602: D/StrictMode(27425): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/NIOAccess;->getBasePointer(Ljava/nio/Buffer;)J
03-10 06:25:33.602: D/StrictMode(27425): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:86)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.init(Unknown Source:30)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.initialize(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at my-libgdx-app.AndroidLauncher.onCreate(Unknown Source:97)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7327)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7318)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-10 06:25:33.602: D/StrictMode(27425): at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:187)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3250)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Looper.loop(Looper.java:214)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.main(ActivityThread.java:7032)
03-10 06:25:33.602: D/StrictMode(27425): at java.lang.reflect.Method.invoke(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
03-10 06:25:33.602: D/StrictMode(27425): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/NIOAccess;->getBaseArray(Ljava/nio/Buffer;)Ljava/lang/Object;
03-10 06:25:33.602: D/StrictMode(27425): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:86)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.init(Unknown Source:30)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.initialize(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at my-libgdx-app.AndroidLauncher.onCreate(Unknown Source:97)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7327)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7318)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-10 06:25:33.602: D/StrictMode(27425): at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:187)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3250)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Looper.loop(Looper.java:214)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.main(ActivityThread.java:7032)
03-10 06:25:33.602: D/StrictMode(27425): at java.lang.reflect.Method.invoke(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
03-10 06:25:33.602: D/StrictMode(27425): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/NIOAccess;->getBaseArrayOffset(Ljava/nio/Buffer;)I
03-10 06:25:33.602: D/StrictMode(27425): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:86)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.init(Unknown Source:30)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.initialize(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at my-libgdx-app.AndroidLauncher.onCreate(Unknown Source:97)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7327)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7318)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-10 06:25:33.602: D/StrictMode(27425): at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:187)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3250)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Looper.loop(Looper.java:214)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.main(ActivityThread.java:7032)
03-10 06:25:33.602: D/StrictMode(27425): at java.lang.reflect.Method.invoke(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
03-10 06:25:33.602: D/StrictMode(27425): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/Buffer;->position:I
03-10 06:25:33.602: D/StrictMode(27425): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:86)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.init(Unknown Source:30)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.initialize(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at my-libgdx-app.AndroidLauncher.onCreate(Unknown Source:97)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7327)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7318)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-10 06:25:33.602: D/StrictMode(27425): at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:187)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3250)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Looper.loop(Looper.java:214)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.main(ActivityThread.java:7032)
03-10 06:25:33.602: D/StrictMode(27425): at java.lang.reflect.Method.invoke(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
03-10 06:25:33.602: D/StrictMode(27425): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/Buffer;->limit:I
03-10 06:25:33.602: D/StrictMode(27425): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:86)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.init(Unknown Source:30)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.initialize(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at my-libgdx-app.AndroidLauncher.onCreate(Unknown Source:97)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7327)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7318)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-10 06:25:33.602: D/StrictMode(27425): at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:187)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3250)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Looper.loop(Looper.java:214)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.main(ActivityThread.java:7032)
03-10 06:25:33.602: D/StrictMode(27425): at java.lang.reflect.Method.invoke(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
03-10 06:25:33.602: D/StrictMode(27425): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Ljava/nio/Buffer;->_elementSizeShift:I
03-10 06:25:33.602: D/StrictMode(27425): at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGL20.init(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:86)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidGraphics.<init>(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.init(Unknown Source:30)
03-10 06:25:33.602: D/StrictMode(27425): at com.badlogic.gdx.backends.android.AndroidApplication.initialize(Unknown Source:1)
03-10 06:25:33.602: D/StrictMode(27425): at my-libgdx-app.AndroidLauncher.onCreate(Unknown Source:97)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7327)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Activity.performCreate(Activity.java:7318)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-10 06:25:33.602: D/StrictMode(27425): at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:187)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3250)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1947)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Handler.dispatchMessage(Handler.java:106)
03-10 06:25:33.602: D/StrictMode(27425): at android.os.Looper.loop(Looper.java:214)
03-10 06:25:33.602: D/StrictMode(27425): at android.app.ActivityThread.main(ActivityThread.java:7032)
03-10 06:25:33.602: D/StrictMode(27425): at java.lang.reflect.Method.invoke(Native Method)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-10 06:25:33.602: D/StrictMode(27425): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
The log above is from Firebase Test Lab, but I am sure it represents the same error I get from actual devices in the wild.
What can I do? My crash stats are getting hammered and ratings are sure to follow :(
I just found that I am actually building the Android app with Libgdx 1.9.9 (not 1.9.10 as stated in the question). 1.9.10 should have the fix for the issue, so I am confirming it right now, will mark as answered when confirmed.

Running empty Android program - is this behavior expected?

I'm learning the basics of Android development and I've ran into some issues with setting up the programming environment. Now I've created a new Android Application Project and I'm running it using my phone. When I do, I get an error message on my phone: "Unfortunately, HelloWorld has stopped." and I'm not sure if it's supposed to or not, considering that I've done absolutely nothing to the project files. Here is the LogCat output in its entirety:
03-10 18:34:16.264: D/dalvikvm(2673): Late-enabling CheckJNI
03-10 18:34:16.361: W/dalvikvm(2673): VFY: unable to resolve static field 1559 (ActionBarWindow) in Landroid/support/v7/appcompat/R$styleable;
03-10 18:34:16.361: D/dalvikvm(2673): VFY: replacing opcode 0x62 at 0x0004
03-10 18:34:16.364: D/AndroidRuntime(2673): Shutting down VM
03-10 18:34:16.364: W/dalvikvm(2673): threadid=1: thread exiting with uncaught exception (group=0x416d7d40)
03-10 18:34:16.368: E/AndroidRuntime(2673): FATAL EXCEPTION: main
03-10 18:34:16.368: E/AndroidRuntime(2673): Process: com.example.helloworld, PID: 2673
03-10 18:34:16.368: E/AndroidRuntime(2673): java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:107)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.support.v7.app.ActionBarActivityDelegateICS.onCreate(ActionBarActivityDelegateICS.java:58)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:98)
03-10 18:34:16.368: E/AndroidRuntime(2673): at com.example.helloworld.MainActivity.onCreate(MainActivity.java:18)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.Activity.performCreate(Activity.java:5248)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2173)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2269)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.ActivityThread.access$800(ActivityThread.java:139)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.os.Handler.dispatchMessage(Handler.java:102)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.os.Looper.loop(Looper.java:136)
03-10 18:34:16.368: E/AndroidRuntime(2673): at android.app.ActivityThread.main(ActivityThread.java:5102)
03-10 18:34:16.368: E/AndroidRuntime(2673): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 18:34:16.368: E/AndroidRuntime(2673): at java.lang.reflect.Method.invoke(Method.java:515)
03-10 18:34:16.368: E/AndroidRuntime(2673): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
03-10 18:34:16.368: E/AndroidRuntime(2673): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
03-10 18:34:16.368: E/AndroidRuntime(2673): at dalvik.system.NativeStart.main(Native Method)
03-10 18:34:18.259: I/Process(2673): Sending signal. PID: 2673 SIG: 9
03-10 18:36:57.062: W/dalvikvm(2984): VFY: unable to resolve static field 1559 (ActionBarWindow) in Landroid/support/v7/appcompat/R$styleable;
03-10 18:36:57.063: D/dalvikvm(2984): VFY: replacing opcode 0x62 at 0x0004
03-10 18:36:57.064: D/AndroidRuntime(2984): Shutting down VM
03-10 18:36:57.064: W/dalvikvm(2984): threadid=1: thread exiting with uncaught exception (group=0x416d7d40)
03-10 18:36:57.066: E/AndroidRuntime(2984): FATAL EXCEPTION: main
03-10 18:36:57.066: E/AndroidRuntime(2984): Process: com.example.helloworld, PID: 2984
03-10 18:36:57.066: E/AndroidRuntime(2984): java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:107)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.support.v7.app.ActionBarActivityDelegateICS.onCreate(ActionBarActivityDelegateICS.java:58)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:98)
03-10 18:36:57.066: E/AndroidRuntime(2984): at com.example.helloworld.MainActivity.onCreate(MainActivity.java:18)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.Activity.performCreate(Activity.java:5248)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2173)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2269)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.ActivityThread.access$800(ActivityThread.java:139)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.os.Handler.dispatchMessage(Handler.java:102)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.os.Looper.loop(Looper.java:136)
03-10 18:36:57.066: E/AndroidRuntime(2984): at android.app.ActivityThread.main(ActivityThread.java:5102)
03-10 18:36:57.066: E/AndroidRuntime(2984): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 18:36:57.066: E/AndroidRuntime(2984): at java.lang.reflect.Method.invoke(Method.java:515)
03-10 18:36:57.066: E/AndroidRuntime(2984): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
03-10 18:36:57.066: E/AndroidRuntime(2984): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
03-10 18:3
6:57.066: E/AndroidRuntime(2984): at dalvik.system.NativeStart.main(Native Method)
So, is this normal behavior or have I done something wrong while setting up Eclipse, etc?
It looks like the Android compatibility library is not correctly configured for your project. In Eclipse, right click on the project in the package explorer and select Android Tools > Add Support Library. After setting up the support library, clean and rebuild your project.
This is normal behavior when reporting an error with your application.

How open native call details screen for a particular call log in Samsung and HTC android device using intent?

I am developing an android application to show all call logs in the list and when user taps on any call log, i need to open native app's call details screen for that tapped call log.
I have tried following code snippet and it works fine in Emulator (Pure android OS.)
Intent mDetailsIntent = new Intent(Intent.ACTION_VIEW); mDetailsIntent.setType(android.provider.CallLog.Calls.CONTENT_TYPE);
Uri mUri = Uri.withAppendedPath(android.provider.CallLog.Calls.CONTENT_URI, String.valueOf(mCallLog.getId()));
mDetailsIntent.setData(mUri);
startActivity(mDetailsIntent);
But when I run it on Samsung device, it shown the last recent call log's details screen each time regardless of call log id.
And for HTC devices, it throws ActivityNotFoundException.
Following log cat is for HTC device.
**03-10 14:19:00.772: D/LogsFragment(20947): Call log details uri==>content://call_log/calls/62
03-10 14:19:00.782: W/System.err(20947): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://call_log/calls/62 }
03-10 14:19:00.792: W/System.err(20947): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1638)
03-10 14:19:00.792: W/System.err(20947): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1510)
03-10 14:19:00.792: W/System.err(20947): at android.app.Activity.startActivityForResult(Activity.java:3258)
03-10 14:19:00.792: W/System.err(20947): at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:833)
03-10 14:19:00.792: W/System.err(20947): at android.support.v4.app.Fragment.startActivity(Fragment.java:856)
03-10 14:19:00.792: W/System.err(20947): at com.cwiker.fragments.LogsFragment.onItemClick(LogsFragment.java:219)
03-10 14:19:00.792: W/System.err(20947): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
03-10 14:19:00.792: W/System.err(20947): at android.widget.AbsListView.performItemClick(AbsListView.java:1099)
03-10 14:19:00.792: W/System.err(20947): at android.widget.ListView.performItemClick(ListView.java:4758)
03-10 14:19:00.792: W/System.err(20947): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2556)
03-10 14:19:00.792: W/System.err(20947): at android.widget.AbsListView$1.run(AbsListView.java:3223)
03-10 14:19:00.792: W/System.err(20947): at android.os.Handler.handleCallback(Handler.java:608)
03-10 14:19:00.802: W/System.err(20947): at android.os.Handler.dispatchMessage(Handler.java:92)
03-10 14:19:00.802: W/System.err(20947): at android.os.Looper.loop(Looper.java:156)
03-10 14:19:00.802: W/System.err(20947): at android.app.ActivityThread.main(ActivityThread.java:4987)
03-10 14:19:00.802: W/System.err(20947): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 14:19:00.802: W/System.err(20947): at java.lang.reflect.Method.invoke(Method.java:511)
03-10 14:19:00.802: W/System.err(20947): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
03-10 14:19:00.802: W/System.err(20947): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
03-10 14:19:00.802: W/System.err(20947): at dalvik.system.NativeStart.main(Native Method)**
Please help me to solve this problem.
Thanks.

how to reach my locahost DB from android phone [duplicate]

This question already has answers here:
NetworkOnMainThreadException [duplicate]
(5 answers)
Closed 9 years ago.
I have developed an Android and now I want to test it in my real phone
this app has a webserivice for user reg. and login, also it has a xampp server hosting my DB and a forum which I access from the app.
can soembody plz help to figure out why I can't use it in my device
here is my logcat
03-10 17:54:56.360: E/SensorManager(2377): thread start
03-10 17:54:56.555: E/SpannableStringBuilder(2377): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
03-10 17:54:56.555: E/SpannableStringBuilder(2377): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
03-10 17:56:06.415: E/SpannableStringBuilder(2377): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
03-10 17:56:06.415: E/SpannableStringBuilder(2377): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
03-10 17:56:12.920: E/AndroidRuntime(2377): FATAL EXCEPTION: main
03-10 17:56:12.920: E/AndroidRuntime(2377): android.os.NetworkOnMainThreadException
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1118)
03-10 17:56:12.920: E/AndroidRuntime(2377): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:84)
03-10 17:56:12.920: E/AndroidRuntime(2377): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
03-10 17:56:12.920: E/AndroidRuntime(2377): at libcore.io.IoBridge.connect(IoBridge.java:112)
03-10 17:56:12.920: E/AndroidRuntime(2377): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
03-10 17:56:12.920: E/AndroidRuntime(2377): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
03-10 17:56:12.920: E/AndroidRuntime(2377): at java.net.Socket.connect(Socket.java:842)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
03-10 17:56:12.920: E/AndroidRuntime(2377): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
03-10 17:56:12.920: E/AndroidRuntime(2377): at com.mohammed.watzIslam.library.JSONParser.getJSONFromUrl(JSONParser.java:44)
03-10 17:56:12.920: E/AndroidRuntime(2377): at com.mohammed.watzIslam.library.UserFunctions.loginUser(UserFunctions.java:39)
03-10 17:56:12.920: E/AndroidRuntime(2377): at com.mohammed.watzIslam.LoginActivity$1.onClick(LoginActivity.java:59)
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.view.View.performClick(View.java:4211)
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.view.View$PerformClick.run(View.java:17267)
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.os.Handler.handleCallback(Handler.java:615)
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.os.Handler.dispatchMessage(Handler.java:92)
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.os.Looper.loop(Looper.java:137)
03-10 17:56:12.920: E/AndroidRuntime(2377): at android.app.ActivityThread.main(ActivityThread.java:4898)
03-10 17:56:12.920: E/AndroidRuntime(2377): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 17:56:12.920: E/AndroidRuntime(2377): at java.lang.reflect.Method.invoke(Method.java:511)
03-10 17:56:12.920: E/AndroidRuntime(2377): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
03-10 17:56:12.920: E/AndroidRuntime(2377): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
03-10 17:56:12.920: E/AndroidRuntime(2377): at dalvik.system.NativeStart.main(Native Method)
any help is appreciated
You're doing network stuff on the main thread. Don't do that. Use AsyncTasks instead.

Existent app blowing up with android 3.0 XOOM. ZoomButtonsController Leak?

Unfortunately I don't have a XOOM device and the 3.0 emulator is IMPOSSIBLE to run even on the latest 2011 macbook pro.
I have asked one of the users to send me the error logs and the weirdest things are coming back. Many error logs!
Right now I "solved" the issue by disabling this line if SDK level is 11: webSettings.setBuiltInZoomControls(true);
It looked like by adding the following line it would have work but I couldn't test since I don't have the device:
webSettings.setDisplayZoomControls(true);
I've left only this line: webSettings.setSupportZoom(true) that doesn't affect the device.
The errors happen when you quit the activity that has the WebView with setDisplayZoomControls(true).
Please, advise, I have many user complaints. Any work-around is welcome too.
Here are the stack traces:
03-10 19:42:04.400 D/dalvikvm( 9132): GC_CONCURRENT freed 682K, 35% free 8749K/13383K, paused 7ms+3ms
03-10 19:42:08.630 D/BatteryService( 126): level:46 scale:100 status:4 health:2 present:true voltage: 7564 temperature: 271 technology: Li-ion AC powered:false USB powered:false icon:17302683 invalid charger:0
03-10 19:42:08.630 D/WifiService( 126): ACTION_BATTERY_CHANGED pluggedType: 0
03-10 19:42:14.370 D/dalvikvm( 2122): GC_EXPLICIT freed 2K, 5% free 6209K/6531K, paused 5ms+1ms
03-10 19:42:29.950 D/SurfaceFlinger( 126): screenshot: sw=216, sh=135, minZ=0, maxZ=21025
03-10 19:42:29.960 D/SurfaceFlinger( 126): screenshot: result = OK
03-10 19:42:29.990 D/craigsnotifica( 9132): reseting info ttl
03-10 19:42:30.280 D/craigsnotifica( 9132): closing details
03-10 19:42:30.290 D/webviewglue( 9132): nativeDestroy view: 0x3c8188
03-10 19:42:30.300 W/WindowManager( 126): Force-removing child win Window{40f20a38 Panel:com.mufumbo.craigslist.
notification.android/com.mufumbo.craigslist.notification.android.AnnounceDetails paused=false} from container Window{41544810 com.mufumbo.craigslist.notification.android/com.mufumbo.craigslist.notification.android.AnnounceDetails paused=false}
03-10 19:42:30.310 E/WindowManager( 9132): Activity com.mufumbo.craigslist.notification.android.AnnounceDetails has leaked window android.widget.ZoomButtonsController$Container#40960188 that was originally added here
03-10 19:42:30.310 E/WindowManager( 9132): android.view.WindowLeaked: Activity com.mufumbo.craigslist.notification.android.AnnounceDetails **has leaked window android.widget.ZoomButtonsController$Container#40960188 that was originally added here**
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewRoot.<init>(ViewRoot.java:276)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:152)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:95)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.Window$LocalWindowManager.addView(Window.java:514)
03-10 19:42:30.310 E/WindowManager( 9132): at android.widget.ZoomButtonsController.setVisible(ZoomButtonsController.java:371)
03-10 19:42:30.310 E/WindowManager( 9132): at android.webkit.ZoomControlEmbedded.show(ZoomControlEmbedded.java:41)
03-10 19:42:30.310 E/WindowManager( 9132): at android.webkit.ZoomManager.invokeZoomPicker(ZoomManager.java:999)
03-10 19:42:30.310 E/WindowManager( 9132): at android.webkit.WebView.startDrag(WebView.java:5990)
03-10 19:42:30.310 E/WindowManager( 9132): at android.webkit.WebView.handleTouchEventCommon(WebView.java:5626)
03-10 19:42:30.310 E/WindowManager( 9132): at android.webkit.WebView.onTouchEvent(WebView.java:5374)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.View.dispatchTouchEvent(View.java:4600)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1488)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1256)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1494)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1269)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1494)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1269)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1494)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1269)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1494)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1269)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1494)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1269)
03-10 19:42:30.310 E/WindowManager( 9132): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1700)
03-10 19:42:30.310 E/WindowManager( 9132): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1270)
03-10 19:42:30.310 E/WindowManager( 9132): at android.app.Activity.dispatchTouchEvent(Activity.java:2271)
03-10 19:42:30.310 E/WindowManager( 9132): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1680)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2272)
03-10 19:42:30.310 E/WindowManager( 9132): at android.view.ViewRoot.handleMessage(ViewRoot.java:1958)
03-10 19:42:30.310 E/WindowManager( 9132): at android.os.Handler.dispatchMessage(Handler.java:99)
03-10 19:42:30.310 E/WindowManager( 9132): at android.os.Looper.loop(Looper.java:126)
03-10 19:42:30.310 E/WindowManager( 9132): at android.app.ActivityThread.main(ActivityThread.java:3997)
03-10 19:42:30.310 E/WindowManager( 9132): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 19:42:30.310 E/WindowManager( 9132): at java.lang.reflect.Method.invoke(Method.java:491)
03-10 19:42:30.310 E/WindowManager( 9132): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
03-10 19:42:30.310 E/WindowManager( 9132): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
03-10 19:42:30.310 E/WindowManager( 9132): at dalvik.system.NativeStart.main(Native Method)
03-10 19:42:30.310 E/InputQueue-JNI( 9132): channel '40f20a38 Panel:com.mufumbo.craigslist.notification.android/com.mufumbo.craigslist.notification.android.AnnounceDetails (client)' ~ Publisher closed input channel or an error occurred. events=0x8
03-10 19:42:30.310 W/WindowManager( 126): Failed looking up window
03-10 19:42:30.310 W/WindowManager( 126): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy#41c303d8 does not exist
03-10 19:42:30.310 W/WindowManager( 126): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:9415)
03-10 19:42:30.310 W/WindowManager( 126): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:9406)
03-10 19:42:30.310 W/WindowManager( 126): at com.android.server.WindowManagerService.relayoutWindow(WindowManagerService.java:2777)
03-10 19:42:30.310 W/WindowManager( 126): at com.android.server.WindowManagerService$Session.relayout(WindowManagerService.java:6604)
03-10 19:42:30.310 W/WindowManager( 126): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:154)
03-10 19:42:30.310 W/WindowManager( 126): at com.android.server.WindowManagerService$Session.onTransact(WindowManagerService.java:6558)
03-10 19:42:30.310 W/WindowManager( 126): at android.os.Binder.execTransact(Binder.java:320)
03-10 19:42:30.310 W/WindowManager( 126): at dalvik.system.NativeStart.run(Native Method)
03-10 19:42:30.320 W/WindowManager( 126): Failed looking up window
03-10 19:42:30.320 W/WindowManager( 126): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy#41c303d8 does not exist
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:9415)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:9406)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.WindowManagerService.removeWindow(WindowManagerService.java:2457)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.WindowManagerService$Session.remove(WindowManagerService.java:6596)
03-10 19:42:30.320 W/WindowManager( 126): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:120)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.WindowManagerService$Session.onTransact(WindowManagerService.java:6558)
03-10 19:42:30.320 W/WindowManager( 126): at android.os.Binder.execTransact(Binder.java:320)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.SystemServer.init1(Native Method)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.server.SystemServer.main(SystemServer.java:640)
03-10 19:42:30.320 W/WindowManager( 126): at java.lang.reflect.Method.invokeNative(Native Method)
03-10 19:42:30.320 W/WindowManager( 126): at java.lang.reflect.Method.invoke(Method.java:491)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
03-10 19:42:30.320 W/WindowManager( 126): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
03-10 19:42:30.320 W/WindowManager( 126): at dalvik.system.NativeStart.main(Native Method)
03-10 19:42:30.330 E/ActivityThread( 9132): Activity com.mufumbo.craigslist.notification.android.AnnounceDetails has leaked IntentReceiver android.widget.ZoomButtonsController$1#40a2db40 that was originally registered here. Are you missing a call to unregisterReceiver()?
03-10 19:42:30.330 E/ActivityThread( 9132): android.app.IntentReceiverLeaked: Activity com.mufumbo.craigslist.notification.android.AnnounceDetails has leaked IntentReceiver android.widget.ZoomButtonsController$1#40a2db40 that was originally registered here. Are you missing a call to unregisterReceiver()?
03-10 19:42:30.330 E/ActivityThread( 9132): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:751)
03-10 19:42:30.330 E/ActivityThread( 9132): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:558)
03-10 19:42:30.330 E/ActivityThread( 9132): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:991)
03-10 19:42:30.330 E/ActivityThread( 9132): at android.app.ContextImpl.registerReceiver(ContextImpl.java:978)
03-10 19:42:30.330 E/ActivityThread( 9132): at android.app.ContextImpl.registerReceiver(ContextImpl.java:972)
03-10 19:42:30.330 E/ActivityThread( 9132): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:341)
03-10 19:42:30.330 E/ActivityThread( 9132): at
.................
03-10 19:42:30.340 W/ActivityManager( 126): Unbind failed: could not find connection for android.os.BinderProxy#40c0d278
03-10 19:42:30.400 D/AndroidRuntime( 9132): Shutting down VM
03-10 19:42:30.400 W/dalvikvm( 9132): threadid=1: thread exiting with uncaught exception (group=0x40175760)
03-10 19:42:30.400 D/SurfaceFlinger( 126): screenshot: sw=216, sh=135, minZ=0, maxZ=21015
03-10 19:42:30.400 E/AndroidRuntime( 9132): FATAL EXCEPTION: main
03-10 19:42:30.400 E/AndroidRuntime( 9132): java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController$1#40a2db40
03-10 19:42:30.400 E/AndroidRuntime( 9132): at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:619)
03-10 19:42:30.400 E/AndroidRuntime( 9132): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1014)
Usually, this window leaked error appears when your app crash.
But the actual error that caused it to crash happen Before this error is thrown. Do you have some other errors appearing somewhere before?

Categories

Resources