android-emulator

Java unknown host exception

女生的网名这么多〃 提交于 2019-12-19 05:13:12
问题 I am trying to access textalertapp.com via HTTP Post request from my android application. But I am getting Unknown host error. Can anybody help me solve this issue. 12-13 01:30:16.058: WARN/System.err(473): java.net.UnknownHostException: textalertapp.com 12-13 01:30:16.088: WARN/System.err(473): at java.net.InetAddress.lookupHostByName(InetAddress.java:513) 12-13 01:30:16.088: WARN/System.err(473): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278) 12-13 01:30:16.088: WARN/System

Make calls using telnet from one Android Emulator to another?

寵の児 提交于 2019-12-19 04:18:17
问题 Is it possible to make calls through telnet from one Android Emulator to another? For example, I have two emulators 5554 and 5556 open on the screen. I can use the command: gsm call 5554 to get an incoming call from 5554 through telnet. Is it possible to make an outgoing call from 5554 to 5556 or vice-versa? 回答1: Yes, it is possible. USe the following stps: Start both the emulators (e.g., 5556 and 5558) On windows go to start; type cmd; and type telnet localhost 5556 and you will get

How to format/wipe emulator's SDCARD(/mnt/sdcard)

眉间皱痕 提交于 2019-12-19 04:08:15
问题 I just want to know how to wipe the virtual sdcard in the android emulator. 回答1: Delete the sdcard form the AVD manager and add a new one!? 回答2: With the expected caveats and warnings about using commands in the "rm -r *" family, you can also use: adb -e shell rm -r /mnt/sdcard/* 回答3: You can do it easily from Android Settings app: "Storage"->"Erase SD card". 回答4: You could try deleting this file: sdcard.img in the emulator directory. That's where it stores the info. Just rename at first it

The latest com.google.android.gms for google play services revision 6

╄→гoц情女王★ 提交于 2019-12-19 03:41:03
问题 I was running my Android Google Maps application using Google Play services revision 5 and it worked well... I updated my Google Play services from revision 5 to revision 6 and now it won't run and produces this warning: Google Play services out of date. Requires 3027100 but found 3025110 Any idea where I can find the latest com.google.android.gms.apk file to meet the requirement? 回答1: I did the same thing :( Here is how to solve it by rolling back: Uninstall Google Play Services 6 then

How to make an emulator for specific device resolution(HTC Cha-Cha)?

拈花ヽ惹草 提交于 2019-12-19 03:25:46
问题 EDIT Everyone can try to make an emulator for this phone http://www.gsmarena.com/htc_chacha-3787.php to see what I mean. The icons will be huge and the screen you get is not the same as on the real phone. Here are the specs: Display: TFT capacitive touchscreen, 256K colors Size: 480 x 320 pixels, 2.6 inches (~222 ppi pixel density) I tried to make an emulator for a specific Android phone, but the resolution was all wrong. So I will write what I did, and I hope someone will correct me. First I

pushing busybox into android emulator

折月煮酒 提交于 2019-12-19 03:25:33
问题 I've downloaded the source for mips android and have done a "make" and got the emulator running. I want to push the busybox into the emulator. I've downloaded the static compiled busybox binary. Under which directory should I place this and what should I do to push the busybox into the emulator? 回答1: Root your emulator Download this Extract it then move \system\lib\su and \system\app\superuser.apk to your adb directory. Run adb and then enter the following: adb shell mount -o rw,remount -t

Any service for testing Android applications on multiple Hardware devices?

空扰寡人 提交于 2019-12-19 03:22:31
问题 I have developed a android application which I want to test on multiple devices before I release in market. Is there any service provider online who will test the application on as many android devices as possible and give me the test results like the performance, bugs etc. Any kind of helpful details in this regards is appreciated. Thank you for your time. 回答1: See http://www.perfectomobile.com/portal/cms/Services/android 来源: https://stackoverflow.com/questions/6352748/any-service-for

Horizontal scrolling in android gridview

落爺英雄遲暮 提交于 2019-12-19 01:09:24
问题 I have a grid view in my application and i need to scroll it horizontally.I have tried changing the gridview to gallery.But then only one row is available,but i need different rows as in a grid view.So basically what i need is a gridview that can be scrolled horizontally.Is there any efficient way to do this?Thanks in advance. Regards Anu Hi,Thanks for the reply.i have tried using a Gallery and implement an adapter that provides a multirow view in its getView method. My java file is: public

Android Studio emulator missing hardware buttons [duplicate]

六月ゝ 毕业季﹏ 提交于 2019-12-18 21:22:28
问题 This question already has answers here : AVD hardware buttons not enabled (7 answers) Closed 2 years ago . I just installed Android Studio 1.0.2 and created a virtual device. When I run an app on the emulator, everything works fine except for the missing hardware buttons (home, menu, and back buttons). I tried to change the Android version of the AVD and the Skin but nothing seems to work. Does anyone knows how to fix this problem please? 回答1: Other answers are kind of deprecated now, because

Unable to launch Android application in Eclipse; An internal error occurred during: “Launching myApp”

孤人 提交于 2019-12-18 19:05:53
问题 I'm unable to start up my Android application in Eclipse, I'm getting the following error when I select "Run as Android Application" I have my Android Virtual Device running, can't see any issues with that (I'm able to navigate around the OS on the emulator etc) When I try to "Run as Application" I get the following popup from eclipse An internal error occurred during: "Launching myApp". When selecting "View Error Log" this is as much info as I can get java.lang.NullPointerException at com