[android-developers] Odd image issue on API 7 EMulators

2012-02-06 Thread Royston
During testing of an App for different API's on various emulators I came across an unusual issue. On an HTCLegend emulator, API 7, a particular image would not display, I get no error, simply nothing shown. Works OK on everything else. I had noted that the image, which was a PNG file, was

[android-developers] Re: Odd image issue on API 7 EMulators

2012-02-06 Thread Royston
Also noticed that I get the same effect on a physical HTC Wildfire device at 2.2.1. Roy -- 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

[android-developers] Re: openOptionsMenu not working on Honeycomb device

2011-12-21 Thread Royston
Mark, It would appear that ICS on Lareg has reverted to Honeycomb 3.0/3.1 behaviour regarding ActionBar Menu. On Honeycomb 3.2 Large I have a fully functioning ActionBar with menu but on ICS 4.0.3 I get an ActionBar with no menu and no alternate access to menu. I am assuming this is an

Re: [android-developers] Re: openOptionsMenu not working on Honeycomb device

2011-12-16 Thread Royston
Mark, I have a Motorola Xoom emulator with Skin, if I specify the full screen theme on this I do not seem to get access to a menu anywhere. Appreciate that this is only an emulator but there is some discussion on the net about this, sufficient to sow the seed of doubt. Again thanks for your

[android-developers] Re: openOptionsMenu not working on Honeycomb device

2011-12-16 Thread Royston
Dianne, Thank you for chipping in on this one. I take your point about hiding the status bar but i was considering doing this only to maximise the real-estate on smaller devices. A concern I had with the ActionBar was simply that on some devices (emulators) it does not provide a menu icon at

[android-developers] openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Royston
I have an app in which I select a theme of android:Theme.Holo.NoActionBar.Fullscreen. the app has a minim SDK of 11 and a target of 13. I am avoiding the use of the ActionBar due to issues in the way this works on different sized devices. I am attempting to provide a menu button which simply

Re: [android-developers] openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Royston
Mark, I cannot finds words to express how disappointed that makes me! I did rather expect this response however but was hopefull that there would be a way around the issue. Regards Roy -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Royston
Mark, Generally I would agree with you and if I were starting again would probably avoid menu/preferences. Unfortunately this would not be a good choice at this stage in my project. The issues I have with the ActionBar are to do with inconsistency and uncertainty. Depending on the size of the

[android-developers] Re: Dialog and Android lifecycle on ICS (Galaxy Nexus)

2011-12-10 Thread Royston
Dianne, I do only ever have one displayed at a time but as mentioned I was only dismissing them rather than removing them so obviously not removing from the map. I am removing them now as mentioned so my problem has gone away. I do notice quite a few questions on google relating to multiple

Re: [android-developers] Reuse of AlphaAnimation object

2011-12-09 Thread Royston
Mark, Again thanks for the quick reply. Making use of setStartTime does indeed resolve this. I am not sure I fully understand the design decisions in play here but I am well past my sell by date so will live with what we have. Roy -- You received this message because you are subscribed to the

[android-developers] Dialog and Android lifecycle on ICS (Galaxy Nexus)

2011-12-09 Thread Royston
I have an odd but repeatable issue with Dialogs and Android lifecycle on a Nexus (emulated and actual device). I am using showDialog(ID) throughout and dismissDialog(ID) to remove. In the tests I run I show a dialog with and ID of 10 and dismiss it, I then show a dialog with an Id of 9 and

[android-developers] Ice Cream Sandwich problem? not restarting App

2011-12-09 Thread Royston
This is an issue found on a Galaxy Nexus. The situation is as follows. When my app is sitting with a Dialog box in the foreground, I turn off the phone. I then turn on the phone and go into Camera from the unlock screen. If I then exit the Camera app it returns to my app with the correct

Re: [android-developers] Dialog and Android lifecycle on ICS (Galaxy Nexus)

2011-12-09 Thread Royston
Dianne, Thank you for the response. Can I infer from you answer that the behaviour I have seen is as expected? I think I should have gone the DialogFragment route from project inception but probably not a good solution at this stage. I do note that if I consistently use removeDialog instead of

[android-developers] Reuse of AlphaAnimation object

2011-12-07 Thread Royston
I have been endeavouring to reuse AlphaAnimation objects in a pool so as to limit memory allocation. It would appear that each animation even after reset will only call onAnimationEnd the first time it is used. Looking at the code this would appear to be because the field boolean mEnded is not

[android-developers] Running Emulators from Eclipse

2011-11-23 Thread Royston
Firstly apologies if this should have been asked on some Eclipse forum. I find when starting Emulators from within Eclipse that success is very hit and miss. One particular problem i find is that an emulator will appear to start OK but on attempting to run an App the following if output on the

[android-developers] Re: Action Bar

2011-11-22 Thread Royston
...@commonsware.com wrote: On Mon, Nov 21, 2011 at 9:12 AM, Royston roystonpcar...@gmail.com wrote: Mark, I have set the api version to 14 and also set targetSdk to 14 in the manifest, using Holo theme. On a normal size ICS device I get an Actionbarwithout menu, I do get a navigationbarbut

[android-developers] Re: Action Bar

2011-11-21 Thread Royston
.  There have been many other 7 tablets, but they were running Gingerbread or earlier. On Nov 21, 5:28 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Nov 20, 2011 at 4:24 PM, Royston roystonpcar...@gmail.com wrote: It appears you are correct. If i run up a large emulator at 3.2 I get

[android-developers] Re: Action Bar

2011-11-21 Thread Royston
on such a device? Regards Roy On Nov 21, 12:58 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 21, 2011 at 5:29 AM, Royston roystonpcar...@gmail.com wrote: In a similar I have tried the app in a Ice Cream Sandwich Normal emulator. I presume that there will be eventually such a device. The same

[android-developers] Re: Action Bar

2011-11-20 Thread Royston
with this would be much appreciated. Regards Roy On Nov 19, 1:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Nov 19, 2011 at 6:19 AM, Royston roystonpcar...@gmail.com wrote: But on a Large emulator I still get this behavior i.e. no menu overflow icon so no obvious access to menus! Which SDK

[android-developers] Re: Action Bar

2011-11-20 Thread Royston
with this would be much appreciated. Regards Roy On Nov 19, 1:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Nov 19, 2011 at 6:19 AM, Royston roystonpcar...@gmail.com wrote: But on a Large emulator I still get this behavior i.e. no menu overflow icon so no obvious access to menus! Which SDK

[android-developers] Re: Action Bar

2011-11-19 Thread Royston
But on a Large emulator I still get this behavior i.e. no menu overflow icon so no obvious access to menus! Regards Roy On Nov 16, 12:17 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Nov 16, 2011 at 4:15 AM, Royston roystonpcar...@gmail.com wrote: I am building an application

[android-developers] Action Bar

2011-11-16 Thread Royston
I am building an application and attempting to follow guidelines and use the ActionBar on Honeycomb versions. In testing I note that unless running in an XLarge emulator, the ActionBar does not show the menu overflow icon. Is this as intended and if so what is the purpose of the ActionBar on such

[android-developers] On Android target, can a folder be created under / (root)

2009-09-11 Thread Royston
? Regards, Royston --~--~-~--~~~---~--~~ 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

[android-developers] Re: On Android target, can a folder be created under / (root)

2009-09-11 Thread Royston Rodrigues
framework on various platforms and maintain the same behavior across OSes unless no alternatives are available. Thanks Dianne for your prompt feedback, we would do the needed change in our test app. Regard, Royston On Fri, Sep 11, 2009 at 12:10 PM, Dianne Hackborn hack...@android.comwrote

[android-developers] Re: Needed reference to source code for adb shell command input that is used to inject keypresses.

2009-08-26 Thread Royston Rodrigues
Hi All, I was able to find the source of adb shell command input. Location: frameworks/base/cmds/input/src/com/android/commands/input/Input.java Regards, Royston QCOM On Wed, Aug 26, 2009 at 8:54 AM, Royston roystonra...@gmail.com wrote: Hi All, The use case that I have to emulate

[android-developers] Needed reference to source code for adb shell command input that is used to inject keypresses.

2009-08-25 Thread Royston
Hi All, The use case that I have to emulate is to inject random keypresses. I have observed it that it is possible using adb shell command input. Can someone point me to the source code in the android build tree, so that I can accordingly implement the same in our test app. Regards, Royston