-
Notifications
You must be signed in to change notification settings - Fork 56
Sometimes make error at some devices #5
Comments
Could you provide a stack trace of the crash? We heard from at least one user with a similar problem... |
I do experience similar problems with a basic app, that works on Nexus S (Android 4.1.1), but crashes on others (Samsung Galaxy S and Huawei Ideos X3, both 2.3). The app is designed to work with API version 9. Above stackoverflow threads don't give me a clue. Has anyone made similar experience? My stack trace would be: Thanks |
@stefanreimers do you use a support action bar? We had one user reporting a similar problem --> http://www.coboltforge.com/2012/07/tech-stuff-a-sliding-menu-for-android-very-much-like-the-google-and-facebook-apps-have-it/#comment-27 |
I emptied my layout xml to verify there is no problem in that --> issue remains anyway, even with the layout.xml of your example project. android:theme="@android:style/Theme.NoTitleBar" within the activity tag of the manifest file is the problem. As soon as I remove this attribute, sliding works fine. But displaying the title bar is not the intended solution. |
That is, it fails with android:theme="@android:style/Theme.NoTitleBar" applied to the example project? |
Yes, the example project crashes when adding the NoTitleBar attribute to the manifest. Did Darren - who posted the comment about a possible solution on your website - supply any patch for that? |
Nope, but at least we can reproduce it now and find a fix... |
Hi Guys, I didn't add NoTitleBar attribute, but still have a problem. So I changed a Here is related thread: I apply his comment and doesn't use android.R.id.content in here. Still but still have a little problem when using show() method in devices that 2012/8/28 Christian Beier [email protected]
Best regards, |
Guys, |
Works for me, thanks a lot! |
Hi Guys, It can catch crash, but still have a problem in my atrix. There's no crash, but the problem is, slide menu cover original view. If it run as normal, then original view move to right side, and devide I've tried to fix to a lot, but still have no progress. (My atrix is not 2012/8/28 stefanreimers [email protected]
Best regards, |
Can you please post a screenshot of the hierarchyviewer inspecting the atrix? |
Attahed file is screen shot from atrix. Slide menu cover original view. I've already tried to use hierarchyviewer but doesn't work. It cause error. 2012/8/28 Christian Beier [email protected]
Best regards, |
You'll have to upload the image and post a link. Hierarchy viewer only works in debug mode, not normal run mode.... |
I heard that hierarchy viewer only run on emulator. Is it work on real device? I searched about that but there's no solution 2012/8/29 Christian Beier [email protected]
Best regards, |
I use this: hierarchy viewer works if use that post. Here is my link: 2012/8/29 Seongeun So [email protected]
Best regards, |
Hmm, I suspect that the tabhost could be the culprit. Have you tried the included minimal sample app on your Atrix? (Maybe TabHost is not animatable??) |
I delete TabHost, and tried again. This is hierarchy view: Still have a same problem, 2012/8/29 Christian Beier [email protected]
Best regards, |
Now there is another child to the phone decor view - what is it? |
It works fine for android 2.3 to 4.2 . Error Log : http://stackoverflow.com/questions/17874416/sliding-menu-is-not-working-in-android-4-3-version |
See this report here #18 (comment) |
I refer similar code in stackoverflow, and it worked very well on my device(HTC raidar 4G, Nexus 7, Galaxy)
But If I use other phone(other htc phone, motorola atrix) it crashed. I track code and find that devices have different view.
http://stackoverflow.com/questions/11650847/decorview-child-framelayout
<- This issue has similar problem with me.
That thread said that remove NoTitleBar attribute, but it doesn't work to me.
So I asked here : http://stackoverflow.com/questions/12109512/decorview-child-framelayout-is-different-at-devices
and one said that do not use android.R.id.content since it is different with devices. Have you any idea about this? Thanks,
The text was updated successfully, but these errors were encountered: