Is there any way to get the file name of the SD Card used by the
emulator (like SDCard1.iso).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is there way, from the emulator, to get the SD Card file name / path?
--~--~-~--~~~---~--~~
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
Hello devs,
Since I only have access to the emulators, I don't know if the problem
can be reproduced on real phones. I'm using setCurrentTab on a TabHost
to dynamically select a tab. When I am in portrait mode, it works, but
as soon as I change to landscape (ctrl + f12), it doesn't work
anymore.
Hello devs,
This seem pretty trivial, but I can't find the key event constant for
the backspace button. Which one is it? I tried KEYCODE_BACK,
KEYCODE_CLEAR, etc.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hello devs,
I'm using Intrumentation to invoke keystrokes and mouse events, but I
have a problem when trying to do so on the virtual keyboard. If the
virtual keyboard pops up and I want to send a mouse event to click on
a character of the keyboard, I get that error/warning in the console:
, Mathieu Plourde mat.plou...@gmail.com wrote:
Hello devs,
I need to correctly be able todifferentiatebetween emulator
instances. I know it's easily done with real devices. With real
devices, you can use getDeviceId or getLine1Number from
TelephonyManager. With emulators, all the instances
Hello devs,
I need to correctly be able to differentiate between emulator
instances. I know it's easily done with real devices. With real
devices, you can use getDeviceId or getLine1Number from
TelephonyManager. With emulators, all the instances have the same
device id, same subscriber id, and
I've implemented instrumentation in order to generate clicks and key
presses, and so far it's working pretty good. The only problem is, I'm
using the com.android.contacts.EditContactActivity and
com.android.contacts.ViewContactActivity. I'm using ActivityMonitor to
see when an activity is
I have the instance to my activity, and I want to get all the views
that are in this activity. I need to add a listener to each view, for
any activity. That means I can't user findViewById. Is there any way
to do this? I was hoping for a activity.getViews() or something, but
it doesn't exist.
() and getChildAt(int) and iterate through all of the
contained views.
Am 13.07.2009 um 18:21 schrieb Mathieu Plourde:
I have the instance to my activity, and I want to get all the views
that are in this activity. I need to add a listener to each view, for
any activity. That means I can't user
Now let's say I have a Layout with a scrollbar. Is there any way to
set it's location programmatically?
On Jul 6, 5:20 pm, Romain Guy romain...@google.com wrote:
Is it possible to change a scrollbar's location programatically? I
have a ListView and I want to set the position of the scrollbar
Is there any way I could use TouchUtils without an
InstrumentationTestCase or an ActivityInstrumentationTestCase. I'm
doing something in a existing project and using those classes is not
possible.
I tried calling TouchUtils.clickView(null, view), and I'm getting an
exception:
Could not find
Hello devs,
Is it possible to change a scrollbar's location programatically? I
have a ListView and I want to set the position of the scrollbar in my
code.
Also, I'm using the Instrumentation framework for feature testing. I
was wondering if it's possible to generate a drag movement with
you explain how these 2
parameters work? And what should I set for those 2 parameters on my 3
motion events in order to have a human speed?
Thanks.
On Jul 6, 4:30 pm, Mathieu Plourde mat.plou...@gmail.com wrote:
Hello devs,
Is it possible to change a scrollbar's location programatically? I
have
Is there a way to get the reference to the option menu, from outside
of onCreateOptionsMenu?
I tried findViewById (for Menu and MenuItem), but it doesn't work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
...@googlemail.com wrote:
In onPrepareOptionsMenu(), you can use menu.findItem(..).
Peliwww.openintents.org
On 3 Jul., 20:21, Mathieu Plourde mat.plou...@gmail.com wrote:
Is there a way to get the reference to the option menu, from outside
of onCreateOptionsMenu?
I tried findViewById (for Menu
a widget to
another. Sadly, I can't find anything that does the same thing
programmatically.)
On Jul 2, 5:22 pm, Mark Murphy mmur...@commonsware.com wrote:
Mathieu Plourde wrote:
1. How do you programmatically generate key strokes? I found some
tutorials where it says to use IWindowManager
Hello devs,
I have two questions:
1. How do you programmatically generate key strokes? I found some
tutorials where it says to use IWindowManager, but that doesn't exist
anymore in 1.5. (And WindowManager doesn't provide any function to
generate key strokes)
2. How do you programmatically
I'm using Win XP and I'm trying to install ADT 0.9 for Eclipse (In
order to try SDK 1.5). I downloaded the ADT-0.9_pre.zip file and
everything. I follow the steps provided there:
http://developer.android.com/sdk/preview/
When I add the site, I choose Archive and browse to the file. When I
press
19 matches
Mail list logo