[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread gjs
Hi, I have a Samsung Galaxy S4 with Android 4.2.2 plus an app activities that have legacy option menus with more than six items, including more that uses onCreateOptionsMenu() as well as onPrepareOptionsMenu() and onOptionsItemSelected(). When I try to reproduce your steps I do *not* get the

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
How frustrating. Though, I'm glad to know it works for someone else; it gives me some hope that a workaround can be found. Couple questions about the app that's working correctly: 1. What's the value of targetSdkVersion in your manifest? (Mine is 9). 2. What's the value of target in your

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
I tried the following with no success: 1. Recreating the menu in onPrepareOptionsMenu() each time it's called and making onCreateOptionsMenu() into a no-op. 2. Programmatically instantiating all the MenuItems (in onPrepareOptionsMenu()) instead of inflating them from XML. 3. Varying

[android-developers] Re: Gradle build is screwing up in weird ways on 5% of devices when used with Proguard -- same config and source works fine in Eclipse build

2013-08-07 Thread Digipom
I figured it out -- I seem to have run into some sort of an obscure floating-point optimization bug that occurs on certain devices. I opened https://code.google.com/p/android/issues/detail?id=58698 to track the issue. I haven't found a workaround yet aside from exporting from Eclipse for now,

Re: [android-developers] Third-party JAR files and 'VFY: unable to find class referenced in signature' run-time error

2013-08-07 Thread Xavier Ducrohet
From the command line, you can build with --info and check the parameters sent to dex to make sure all the required jars are there. Your setup does look correct though so I'm not sure what is wrong. On Sat, Aug 3, 2013 at 10:16 AM, rmz76 jeremy.de...@gmail.com wrote: A have a new project in

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Nobu Games
Could you post your Activity code? On Tuesday, August 6, 2013 11:01:17 AM UTC-5, Jay Howard wrote: I'm seeing the following behavior (on a Samsung S4, but potentially also on other Samsung devices) in an app that uses a legacy options menu: 1. User taps hardware menu button to bring up

Re: [android-developers] [Market] Commenting unpublished application

2013-08-07 Thread Nobu Games
In response to my own question and for the public record: Everybody who downloads a published (free) app still has access to the unpublished market page by opening the direct market page URL. You can still download it from scratch when the app is not there on your device and you can also

[android-developers] How do I flip images?

2013-08-07 Thread SonyPhoneGuy
I am trying to do some flip animation. I have been able to successfully use the ObjectAnimator to do a few flips, but I am trying to re-create a more believable page flip - rather like a book flip - similar to what is used in Play Books. Is there any easy way to do this? any documentations

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
It's part of that zip file, but here is the contents of my activity, my app's manifest and the xml for the menu items: MainActivity.java: package com.example.optionsmenu; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import

[android-developers] Re: How do I flip images?

2013-08-07 Thread Nobu Games
I was in the same shoes a while ago. There is no easy way to get a convincing animation. And you cannot get it at all using Android animation objects. There are a few page curl, page flip tutorials out there. It will boil down to creating your own view that renders it. And that's not really

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Nobu Games
Sorry, I did not realize, there was a ZIP file. I was thinking the download button is just some big graphic and my visual parser in my head discarded it :-D Your activity is as simple as it can get and I cannot spot any mistake. It really may be just some rare firmware glitch and nothing much

Re: [android-developers] Re: How do I flip images?

2013-08-07 Thread N. Paudyal
I cant seem to find a good one... The only one thats slightly pleasing is: https://code.google.com/p/android-page-curl/ I downloaded their reader off the app market which implements it. Its awful. I thought there would be some easy way of doing what the Play Book does, thought there would be

Re: [android-developers] Re: Gradle build is screwing up in weird ways on 5% of devices when used with Proguard -- same config and source works fine in Eclipse build

2013-08-07 Thread Michael Banzon
Thank you for posting the response here ;-) On Wed, Aug 7, 2013 at 7:02 PM, Digipom digi...@gmail.com wrote: I figured it out -- I seem to have run into some sort of an obscure floating-point optimization bug that occurs on certain devices. I opened

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread Jay Howard
The next version of my employer's app ditches the options menu and uses the navigation drawer for most things. Unfortunately, that version isn't going to be rolled out for a few months. I was hoping to find a fix for the current version that still uses a legacy options menu. On Wednesday,

Re: [android-developers] Re: How do I flip images?

2013-08-07 Thread Nobu Games
Unfortunately not, it's simply too specific. In that case you may have to roll your own implementation, I'm afraid. Or better: just simplify your requirements and use a ViewPager for flipping your pages. It's just a horizontal scroll animation but it's ok. On Wednesday, August 7, 2013 3:31:21

[android-developers] Re: Gradle build is screwing up in weird ways on 5% of devices when used with Proguard -- same config and source works fine in Eclipse build

2013-08-07 Thread Nobu Games
If it is floating point related you could try adding the strictfp modifier to your methods or classes that rely on platform-independent floating point arithmetics. On Wednesday, August 7, 2013 12:02:04 PM UTC-5, Digipom wrote: I figured it out -- I seem to have run into some sort of an

[android-developers] Augmented Reality frameworks - what your choice?

2013-08-07 Thread Nathan
From your experience, what is the best option for an Augmented reality framework? If you have developed one or developed with one, please comment. There isn't a lack of options - just looking for feedback on which ones actually work. The largest list I could find on this topic is this: