android-emulator

android emulator is start but window show blank screen

久未见 提交于 2019-12-23 21:32:19
问题 when i run the andrioid application. emulator is start well, but screen doesn't show anything. 回答1: I know that this is an old thread, but it seems that when the name of the AVD contains numerals, the AVD will not "boot" at all. The window shows up, but it never even gets to the "A N D R O I D _" screen. As soon as I recreated an AVD with the name containing only alphabet characters, it would start properly. 回答2: That seams a problem of 1.6 Upgrade to 2.1 and shall disappear. 来源: https:/

Android Emulator Failed to create Context 0x3005

心不动则不痛 提交于 2019-12-23 21:21:12
问题 I am entirely new to Android development, and I am trying to do a small task in Android (a registration form). However, I am getting the following error: [2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB [2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB [2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB [2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB [2013-12-05 11:06:26 - Emulator] could not get

Changing renderer for the Android emulator has no effect

流过昼夜 提交于 2019-12-23 19:30:36
问题 When starting the emulator from Android Studio AVD manager I suddenly get this message: Your GPU driver information: GPU #1 Make: 8086 Model: 0166 Device ID: 0166 GPU #2 Make: 8086 Model: 0166 Device ID: 0166 Some users have experienced emulator stability issues with this driver version. As a result, we're selecting a compatibility renderer. Please check with your manufacturer to see if there is an updated driver available. I don't know why it suddenly started appearing. It didn't appear

Google Maps blank on real Android device - but works on Emulator

£可爱£侵袭症+ 提交于 2019-12-23 17:28:04
问题 Hola, I am trying to get the maps to work, it appears to work fine the the Nexus 6 emulator, however when I run it on a Moto G or a Samsung Galaxy the map is completely bank - it just contains the google logo in the bottom corner. I have generated a google maps key and put that in my google_maps_api.xml file. Do I have to generate a SHA-1 certificate fingerprint? If yes, how do I do this? See answer: https://stackoverflow.com/a/33691443/5387193 I don't quite understand the instructions. Here

Android TV Emulator: No Internet Access

自闭症网瘾萝莉.ら 提交于 2019-12-23 17:22:47
问题 My App is unable to access the Internet, when I run it on an Android TV emulator. I thought it was my code, but the same app can access the Internet just fine when I run it on a phone emulator like the Nexus 5. What could be wrong? Android_TV_1080p_API_23.avd, config.ini: avd.ini.encoding=UTF-8 AvdId=Android_TV_1080p_API_23 abi.type=x86 avd.ini.displayname=Android TV (1080p) API 23 disk.dataPartition.size=200M hw.accelerometer=no hw.audioInput=yes hw.battery=no hw.camera.back=none hw.camera

Observe sms sending app in emulator

六眼飞鱼酱① 提交于 2019-12-23 17:18:39
问题 Is there a way to read outgoing sms from the emulator? In the logcat I see this message: D/SmsStorageMonitor( 738): SMS send size=0 time=1327423357467 Is there a way to get the receiver and the content? The outgoing sms seems not to be saved in the emulator. That means that the messenger app shows me no sms. 回答1: Yes just create one service in your app and observe all outgoing sms just refer below code. public class SMSObserver extends BroadcastReceiver { static final String ACTION ="android

Can I create a new SensorEvent object to test onSensorChanged() function?

社会主义新天地 提交于 2019-12-23 17:16:41
问题 I want to test the function onSensorChanged (SensorEvent event){..} on the emulator. I want to create a new SensorEvent object. I found a nice link: http://download.java.net/media/java3d/javadoc/1.5.0/com/sun/j3d/utils/behaviors/sensor/SensorEvent.html#SensorEvent%28java.lang.Object,%20int,%20javax.media.j3d.Sensor,%20javax.media.j3d.Transform3D,%20int[],%20int,%20long,%20long%29 but I don't know how to create argument Transform3D sensorRead So, how I create Transform3D object or new

Can I create a new SensorEvent object to test onSensorChanged() function?

随声附和 提交于 2019-12-23 17:13:12
问题 I want to test the function onSensorChanged (SensorEvent event){..} on the emulator. I want to create a new SensorEvent object. I found a nice link: http://download.java.net/media/java3d/javadoc/1.5.0/com/sun/j3d/utils/behaviors/sensor/SensorEvent.html#SensorEvent%28java.lang.Object,%20int,%20javax.media.j3d.Sensor,%20javax.media.j3d.Transform3D,%20int[],%20int,%20long,%20long%29 but I don't know how to create argument Transform3D sensorRead So, how I create Transform3D object or new

Environment.getExternalStorageDirectory() on the emulator

拟墨画扇 提交于 2019-12-23 17:12:05
问题 I want to read and write images to the external storage in my app. From what I read the following is the correct way to get a handle on the directory. File externalStorageDir = Environment.getExternalStorageDirectory(); File picturesDir = new File(externalStorageDir, "Pictures"); However ... picturesDir.exists(); // == null picturesDir.mkdir(); // == false Is this because I'm using the emulator? 回答1: You might want to make sure you have external storage enabled: In Eclipse, go to Window >

How to get List of Data in Tabbed Actvity?

拜拜、爱过 提交于 2019-12-23 15:29:07
问题 I have made a program in which i am fetching list of all my Facebook Friends with their name, dob and profile picture, but i have decided to use tabs in my existing program therefore, i have also written code for that, but whenever i run my app, every time i am getting tabs but not getting list of friends.. In my case i am not getting FriendsList Activity data in TabSample Class, why? SplashScreen.java:- private final static int FACEBOOK_AUTHORIZE_ACTIVITY_RESULT_CODE = 0; private final