Android :: Change DeviceID On Droid Virtual Device?
Nov 23, 2010
I have an existing AVD I'm running in the Android emulator, but I'd like to change its Device ID. Can this be done either in Android SDK and AVD Manager or by editing any of the files in my ~/.android directory?
I do some mobile browser testing in the Android web browser through the Android SDK in Linux and I have a couple of questions: Can I run an Android Virtual Device without the entire Android SDK? Can I autostart the web browser when starting an Android Virtual Device/emulator?
I have an application that utilizes the phones DeviceID in various ways. I am now getting emails from users who have the HTC Droid Incredible phone that they are getting the error message I have added to the app that is showing the DeviceID being returned is not valid - which means it is either empty/null or the default ID used in the emulator. I require a valid DeviceID to use my app, and the permissions are all set fine in the XML. It works just fine on every other device, and now suddenly it seems to stop working on this phone. Anyone else having this issue? Anyone find out what is causing it? Does HTC now block this ID on this device?
I just got my Droid 2 today, and I have a few questions to ask with one notable one.
Most importantly, is it possible to change the virtual keyboard into an ABC style instead of the traditional QWERTY? I'm not sure which I would stick with in the end, but I would like to try out another orientation.
Wi-fi drains the battery, right? I have horrible phone service at my house(home for the holidays) but at school the service is great, should I bother using Wi-Fi regularly?
Also is it possible to have the screen wake up when it is touched? The lock screen seems a bit unnecesary considering that there is already a lock button, so it would be nice to disable one or the other.
EDIT: Also, it seems like my phone has decided to spam my contact list with all of my Facebook "friends." That seems like it could cause some problems...
Also do you have any suggestions for a music player over the standard one? I have not really looked through the market yet personally(mostly due to the horrible service here), so any suggestions are welcome.
I want to create a virtual device (nexus one) with wvga800, 800x480 but when I do, I can't see the whole screen on my 13" macbook pro, and I can't scroll down to see the bottom of the screen. How can I see the bottom of my virtual phone screen?
On a relatively new emulator image (AVD) I have about 40mb of free space. How can I expand this? I tried setting the disk.cachePartition.size option, but it didn't seem to have any effect.Just to be clear.I'm talking about the "Internal phone storage" size, not the SD Card size.
I have created a small and simple android app. I tried installing it on an actual android device. But because it won't install, I created an AVD resembling my phone. I tried copying and installing app on that AVD and it still says that error. "Application xxx could not be installed on this phone".
Before I tried installing my app on the phone or AVD I following steps: 1. Exported an unsigned copy of application onto my hard-drive. 2. User jarsigner to sign the app 3. Verified with jarsigner that my app is signed properly. 4. Used zipalign to optimize the app resources.
I do not have an icon assigned to myapp but mandatory properties like version etc. have been specified properly.
I had initially developed app using 2.1 version but because of compatability issues with my phone I reverted code to compile on 1.5 and it still doesn't get installed either on AVD or my phone.
My AVD is on 2.1 though and code is compiled with 1.5.
Is there a place where I can see the logs as to why app is not getting installed.
I have a galaxy y duos(s6102). I have my internet connection in my pc. i use internet pass through to connect my mobile to the internet. I have a wifi enabled Sony tv too. But i dont have a wifi router. My Question is that can i use my pc's internet connection to my tv through my phones wifi?
In my emulator isRecognitionAvailable method from SpeechRecognizer class returns false and also when i run VoiceRecognition.java sample code on API level 8 platform 2.2 i got "Recognizer not present" message. Any idea hints whats going on? If problem is Speech recognition is not available in my emulator then how to install it in my virtual device?
I have added a second Virtual Device to test a different screen resolution (QVGA), but now I wanna switch back to the first AVD (HVGA) again. How can I set the virtual device in Eclipse to be used by default or even specifically for my project? In the properties I can only set the API level. I also couldn't find any information in the command line tool documentation to set this manually.
My plan is to prepopulate a database on a virtual device and then include database in the distribution of my app.However, I can't find the database file.Is it on my hard disk some where?How do I get it?I tried connecting using adb, I did an "ls" and then got really scared by this obscure list of directories.
When running a virtual device, how do I get it connected to the internet? When I check the settings of the Android SDK and AVD Manager, it knows about my proxy, but when I actually run a virtual device, the browser won't even bring up the Google home page. Instead, I get the dialog box: Data Connectivity Problem 'The server failed to communicate. Try again later.' and the browser displays 'Web page not available'.
How can I create custom android virtual device, using my own images? I've been trying to change default *.img-s on my own in sdkplatformsandroidimages but it didn't help - the emulator didn't launch or frozen.
How to connect to a tomcat server through the browser in an android virtual device? Usually,After we start tomcat server, when we say "http://localhost:8080" tomcat server can be seen in browsers like Firefox etc.. But i am not getting it in an AVD Browser. .Is there a way to connect to tomcat on local machine?
I need to use my phone as emulator/target/virtual device when I run my application. I have installed HTC Sync and the USB driver is in order. I have enabled the USB Debugging in Settings. What more do I need to do to make Eclipse AVD Manager to detect my phone?
When testing a program on the virtual device, where would the default external dir be on a Windows computer? This would be the SD card on a real tablet, which doesn't exist on the virtual tablet.Why is Android Development not listed in the main Forum listing? The directory listing says:
Android Forums > Android Development > Application Development Developer 101
But it's just not there. I've noticed that the search button doesn't seem to do anything on this site.
I've set up the Android SDK and Eclipse on my machine running Windows XP and AVDs (Android Virtual Devices) are saved to "Documents and Setting suers.android" by default. Is there any way to change this behavior? I have all of the other components saved in a directory on a separate partition and would like everything to be consolidated. Obviously not a huge deal but does anyone here know a workaround for this?
Does anyone know, if vendors provide or if there is a site where one could download AVD profiles for existing android devices on the market so you can run your apps in the emulator and basically see how they will run on said devices?
I know it's pretty easy to create a new device but it'd be great if one could just download the config file for each device and run it.