[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 
alphabetically the first file in its directory (drawable-mdpi), I added a 
new dummy image that alphabetically precedes the problem image and the 
problem has gone away! Clearly a very unsatisfactory solution and I 
wondered if anyone had any insight into this. The problem and solution is 
repeatable by the way and also presentst itself on other API 7 emulators.

Regards

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 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: 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 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: 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 emulator 
issue so not worrying overly but thought I would report findings.

Regards

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 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: 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 time and seasons greetings to you and yours.

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 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: 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 the right side as for 
example an imaginary API 11/12 Large sized device or any Normal sized 
device. Are you able to confirm that in these circumstances there would 
definitely be a Menu option somewhere that the user could access? Can you 
force the menu icon to be presented on these devices, though again if not 
there this is presumably by design.

Regards

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 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] 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 does a call to 
openOptionsMenu. On certain device emulations this works as expected e.g. 
an ICS Large screen sized emulator. However, on other devices the menu 
button does nothing, the click is registered but no menu appears and no 
call is made to onCreateOptionsMenu or onPrepareOptionsMenu. There is no 
application crash, simply no menu. 

I see some discussion that on Honeycomb there are issues with  this and 
with the presence/absence of a title bar. Is there any known solution to 
this issue. I would add that there is no soft menu button displayed by the 
device so in these circumstances the users would be locked out of options.

-- 
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] 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 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: 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 
device I may or may not get a menu icon on the ActionBar. It is asserted 
that if there is not a menu icon on the Action bar there will be one 
somewhere else but this troubles me. On some devices I would wish to get 
rid of a Status bar but you cannot go Fullscreen and still have an 
ActionBar it would seem. 

Again thanks for you feedback, very much appreciated.

Regards

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 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: 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 
onCreateDialog messages following an Activity recreate, so perhaps a not 
too uncommon problem for developers.

Regards

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 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] 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 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] 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 
dismiss it. I then show a dialog with an id of 7 and turn off the device 
(press F7). My Log shows:

onCreateDialog ID 7
onPrepareDialog ID 7
onCreateDialog ID 9
onPrepareDialog ID 9
onCreateDialog ID 10
onPrepareDialog ID 10

I.E all three dialogs are recreated but in dialog ID numerical order. If I 
unlock the device/emulator dialog with ID 7 is showing but obviously the 
code thinks the last dialpg shown is ID 10 so variables are pointing 
incorrectly and I get app failure. I understand that dialogs are cached if 
dismissed rather than removed but the sequence here is difficult to manage. 
Thoughts appreciated.

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 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] 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 
backdrop but no Dialog showing. The background is darkened as it would be 
if the Dialog had been drawn but there is not Dialog and as such the app is 
in no man's land. This can be duplicated 50% of the time on a real device 
but I cannot duplicate on an emulated device. If from this point I again 
lock the device and unlock normally the app is showing with the expected 
dialog and all functioning OK. Is this perhaps an Android bug, is there a 
workaround. 

-- 
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] 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 
dismissDialog the problem is avoided. This takes away any benefit achieved 
from Dialog caching but is a quick workaround for this situation. 

Regards

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 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] 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 
reset by reset(). Is this by design or a bug? Any way around this?

-- 
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] 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 Eclispe console:

Failed to install com.test.testapp.apk on device 'emulator-5554': EOF
java.io.IOException: EOF
Launch canceled!

If I do nothing but close the emulator and start it again I may or may
not get a successful launch. Once the emulator has successfully
launched an app it will do so reliable thereafter.

Does anyone know of a way to fix this?

-- 
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: Action Bar

2011-11-22 Thread Royston
Mark,
Perhaps I could ask for an opinion here. I was intending to
publish two version of an App, one pre-honeycomb and one honeycomb and
beyond. With respect to the honeycomb devices I will be using Theme
android:Theme.Holo. Bearing in mind ICS upcoming devices, do you
consider it safe to assume that if a particular device does not show a
menu icon in the ActionBar then it will definitely put a menu icon
somewhere else? I do not see this in the emulators I have tested but
then again the emulators do not show what hardware buttons may be
available. I am wary of delivering an App and finding that some users
are locked out of the Apps options (also worth noting that on these
devices there is no back icon either). I could always put up a menu
button of my own but I would like to follow the flow of the platform
if possible.

Regards

Roy

On Nov 21, 2:20 pm, Mark Murphy mmur...@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 there is no
  access to menu there. Looks like it must still be expecting a hardware
  menu on such a device?

 I've been somewhat confused over the emulator behavior in this area as
 well. I was just leaving the issue alone until I got access to
 hardware and could see what really happens.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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: Action Bar

2011-11-21 Thread Royston
Thanks all for the speedy responses (he says rather cloyingly in the
hope that such help continues!)
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 problem exists here in that with Holo theme there is no access to
menu. What is the best practice  for support of such devices?

Regards

Roy

On Nov 21, 7:45 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 I ran into the same problem, but not until 3.2 as Mark is saying.  I
 believe the first (and only?) Large 3.2 device is the Galaxy Tablet 7
 Plus.  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 the menu option but not at 3.1 or 3.0. I am not quite sure what
   one should do to manage this situation. If there exists a 3.1 or 3.0
   Large device, there would be no access to menus. Any advice on how to
   deal with this would be much appreciated.

  There are no 3.0/3.1 -large devices. The ~7 tablet size was not
  supported until Android 3.2.

  --
  Mark Murphy (a Commons 
  Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

  _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
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: Action Bar

2011-11-21 Thread Royston
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
Action bar without menu, I do get a navigation bar but there is no
access to menu there. Looks like it must still be expecting a hardware
menu 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 problem exists here in that with Holo theme there is no access to
  menu. What is the best practice  for support of such devices?

 Quoting the documentation:

 Beginning with Android 4.0, you'll notice that handsets no longer
 require a Menu hardware button. However, there's no need for you to
 worry about this if your existing application provides an options menu
 and expects there to be a Menu button. To ensure that existing apps
 continue to work as they expect, the system provides an on-screen Menu
 button for apps that were designed for older versions of Android.

 For the best user experience, new and updated apps should instead use
 the ActionBar to provide access to menu items and set targetSdkVersion
 to 14 to take advantage of the latest framework default behaviors.

 http://developer.android.com/sdk/android-4.0.html

 I presume that the MENU soft button will be in the navigationbaron
 handsets that lack off-screen MENU buttons. This will become clearer
 once I get my grubby little hands on the Galaxy Nexus.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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: Action Bar

2011-11-20 Thread Royston
Mark,
It appears you are correct. If i run up a large emulator at 3.2 I
get the menu option but not at 3.1 or 3.0. I am not quite sure what
one should do to manage this situation. If there exists a 3.1 or 3.0
Large device, there would be no access to menus. Any advice on how to
deal 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 are you using? IIRC, -large support was not added until 3.1
 or 3.2. -xlargewas there from 3.0, and I have several examples
 demonstrating it working. The only times I have not seen the overflow
 menu is if either there is no options menu or you do not have
 targetSdkVersion=11 or higher.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
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: Action Bar

2011-11-20 Thread Royston
Mark,
It appears you are correct. If i run up a large emulator at 3.2 I
get the menu option but not at 3.1 or 3.0. I am not quite sure what
one should do to manage this situation. If there exists a 3.1 or 3.0
Large device, there would be no access to menus. Any advice on how to
deal 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 are you using? IIRC, -large support was not added until 3.1
 or 3.2. -xlargewas there from 3.0, and I have several examples
 demonstrating it working. The only times I have not seen the overflow
 menu is if either there is no options menu or you do not have
 targetSdkVersion=11 or higher.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
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: 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 and attempting to follow guidelines and
  use the ActionBar on Honeycomb versions. In testing I note that unless
  running in anXLargeemulator, the ActionBar does not show the menu
  overflow icon.

 Honeycomb is only for -large and -xlargedevices.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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] 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 a device? Would I be better served to make the
application device sensitive and not show the ActionBar unless on an
XLarge device?

Yours in anticipation

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 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] On Android target, can a folder be created under / (root)

2009-09-11 Thread Royston

Hi All,

On Android targets, I observe that / is a read-only file system. We
have a requirement where we need to create a folder (like XYZ) under /
(root). I tried to create a link too but that too failed. Is this
possible using any adb shell command/system utility or this is a
limitation?

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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



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

2009-09-11 Thread Royston Rodrigues
Hi,

The reason being we have a test app that this confirgured to carry out some
operation under this custom folder created on the target under root. Instead
of customising the app we were trying to explore whether this is doable.

On Windows Mobile this was doable. We try porting this test 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:

 This is not possible on a regular device.

 Why would you have a requirement to put a directory there?


 On Thu, Sep 10, 2009 at 11:34 PM, Royston roystonra...@gmail.com wrote:


 Hi All,

 On Android targets, I observe that / is a read-only file system. We
 have a requirement where we need to create a folder (like XYZ) under /
 (root). I tried to create a link too but that too failed. Is this
 possible using any adb shell command/system utility or this is a
 limitation?

 Regards,
 Royston





 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.


 


--~--~-~--~~~---~--~~
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: 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 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
 QCOM

--~--~-~--~~~---~--~~
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] 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
QCOM

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---