I recently discovered that the Android 2.0 SDK supports multitouch through new functions in the MotionEvent class. You can specify a pointer index when retrieving touch properties, and in cases where multiple fingers are on the screen there should be multiple pointers provided.
Unfortunately, I only have a G1 to test on and it's running Android 1.5 and not 2.0.
Is there any way to test multitouch without a 2.0 device? In the iPhone simulator, you can hold down option and shift option to perform two fingered pinch and two fingered drag, respectively. Is there any similar functionality in the Android emulator? Is it something I should expect to see in the future, or should I just suck it up and buy a new test phone?
Tracking Valuable Threads from Worldwide Discussion Boards for Android Enthusiasts and Programmers
Showing posts with label Android-emulator. Show all posts
Showing posts with label Android-emulator. Show all posts
Android - Simulator similar to iPhone one
I guess it is technically possible to simulate an environment on which one could run and test Android code. It is Java-based after all. Often, I don't have my device with me, plus, it is not very practical to build against all the time. Besides, the default emulator is ridiculously slow and resource hungry, which makes it an even less practical option.
I am flowing in the dark. Please give me a clue, event if something is in its early stages of development, or if there's a hacky approach to compile Android code against a desktop OS, i would be very happy to know. There must be a faster way to develop than using the default simulator. At least, Apple did it.
NOTE: There is a difference between emulation and simulation. I hope that anyone who decides to post a question is aware of that.
I am willing to give 50 bounty points for the best answer.
I am flowing in the dark. Please give me a clue, event if something is in its early stages of development, or if there's a hacky approach to compile Android code against a desktop OS, i would be very happy to know. There must be a faster way to develop than using the default simulator. At least, Apple did it.
NOTE: There is a difference between emulation and simulation. I hope that anyone who decides to post a question is aware of that.
I am willing to give 50 bounty points for the best answer.
Labels:
Android,
Android-emulator,
Java

Android - Way to detect when an application is running in emulator
I would like to have my code run slightly differently when running on the emulator than when running on a device. (For example, using 10.0.2.2 instead of a public URL to run against a development server automatically.) What is the best way to detect when an Android application is running in the emulator?
Labels:
Android,
Android-emulator

Android - Programming for Android as a blind person
I have a friend who is quite a capable programmer, especially considering that he is blind. Now he would like to start developing for Android. But, the problem I see him running into is that there appears to be no accessibility features for the Android emulator. Ideally he would be able to have his computer read the contents of the Android emulation screen to him. However, at least from what I've seen, the contents of the Android screen and the buttons that can be used to manipulate the emulation Android etc. are all invisible to a screen reader.
Does anyone know of a workaround for this?
I found what looks like a promising resource here. It's a Text-to-Speech library for Android developed by T. V. Raman of Google. I'm still looking for more information from the community though.
Does anyone know of a workaround for this?
I found what looks like a promising resource here. It's a Text-to-Speech library for Android developed by T. V. Raman of Google. I'm still looking for more information from the community though.
Labels:
accessibility,
Android,
Android-emulator,
blind

Android - Starting emulator in SDK tools / revision 12
I updated the Android SDK tools from revision 11 to revision 12, and the emulator now fails to start. When I try to run emulator.exe, I get:
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.The path to emulator.exe is C:\Program Files\Android\android-sdk\tools.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
Labels:
Android,
Android-emulator,
android-sdk-tools

Android - Emulator problem in Android
When I launch the emulator I face many problems (Errors):-
Each time I have to re-run it but all in vain. How can I improve this so that I can re-run the application on same AVD?
VIEW COMPLETE THREAD WITH REPLIES
HttpConnectionApp]emulator-5554 disconnected! Cancelling 'net.paxcel.http.HttpConnectionApp activity launch'!
Emulator]emulator: ERROR: the user data image is used by another emulator.
aborting
Each time I have to re-run it but all in vain. How can I improve this so that I can re-run the application on same AVD?
VIEW COMPLETE THREAD WITH REPLIES
Labels:
adt,
Android,
Android-emulator,
avd,
Eclipse

Android - How to connect android emulator to internet
How can I connect my android emulator to the internet, e.g. to use the browser? I've found lots of advice on what do to when your connected through a proxy, but that's not the case here, my machine (win7) is directly connected to the router.
VIEW COMPLETE THREAD WITH REPLIES
VIEW COMPLETE THREAD WITH REPLIES
Labels:
Android,
Android-emulator,
internet

Android - Emulator keyboard in Chinese character mode
I'm debugging my Android application using the AVD (Android Virtual Device). When I try to enter text in a text field, my characters are being interpreted as Chinese in the IME.
I don't know how I got into this mode or how to get out of it (I just want to enter alphabetic keys)?
Here's a screen shot:

I don't know how I got into this mode or how to get out of it (I just want to enter alphabetic keys)?
Here's a screen shot:
Labels:
Android,
Android-emulator

Android - Virtual Device (AVD) could not start
I made a simple "Hello World" program in Eclipse. I add nothing to a Java file and only added a text view in main.xml as
And now when I run my program it shows the following in the console.
//main.xml file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Hello World"
/>
</LinearLayout>
And now when I run my program it shows the following in the console.
//console output
[2011-07-10 07:10:22 - demo] ------------------------------
[2011-07-10 07:10:22 - demo] Android Launch!
[2011-07-10 07:10:24 - demo] adb is running normally.
[2011-07-10 07:10:24 - demo] Performing com.demo.DemoActivity activity launch[2011-07-10 07:10:25 - demo] Automatic Target Mode: launching new emulator with compatible AVD 'vishal'
[2011-07-10 07:10:25 - demo] Launching a new emulator with Virtual Device 'vishal'
[2011-07-10 07:11:06 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
[2011-07-10 07:11:07 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.
[2011-07-10 07:11:07 - Emulator] please use -help for more information
//--------------------------------------------------------------------------------/
This shows my Android Virtual Device (AVD) could not start due to some reason. What can I do to fix this problem?
Labels:
Android,
Android-emulator

Subscribe to:
Posts (Atom)
Popular Posts
-
Trying to found out how to enable "diagnostic" mode on an HTC Android device, specifically a T-Mobile G2 / HTC Desire Z. In my sea...
-
Does anyone know information about how to connect the Samsung Fascinate as Diag Mode driver? ie: this type of connection needed for QPST/QX...
-
Even a basic program that can encrypt and decrypt SD card, at least the external SD card would be acceptable. This way we can be assured tha...
-
Joikuspot is a program for Symbian that bridges the WiFi and 3G connection so the phone acts as a hotspot for wireless connection. I figure ...
-
On Android phones SMS messages registered to applications also get sent to the device's inbox. However to prevent clutter, it'd be n...
-
I decided to wipe all data by turning the phone off and then pressing the home key and the power key. From there it went to the recovery men...
-
I am brand new to cell phones so please excuse the very basic questions and problems I am having. I am trying to get QPST to work with my Sp...
-
Go to: 1. Settings 2. Applications 3. Manage Applications 4. Select Filter 5. Select All 6. Select "Maps" application. It w...
-
What is the best GPS application usable without an Internet connection? (Android) I don't use it by car, just for walking in cities. I...
-
I'm getting this error from time to time and don't know what causing this: When trying to run/debug an Android app on a real devic...