android-emulator

Android sample app not showing up

家住魔仙堡 提交于 2019-12-20 01:05:32
问题 New Android developer here. I'm following a tutorial at http://www.vogella.de/. The first applications (does temperature conversion) works. The second (does preferences and uses a menu) one never shows up. I've tried using both Helios and Galileo. I've tried re-installing Android SDK. I've tried removing the test device and re-creating it. Others say this tutorial works. When the other app works, it doesn't get the two lines "No Launcher activity found!" and "The launch will only sync the

App crashes after reinstall on emulator since FileProvider Class was not found

拥有回忆 提交于 2019-12-19 19:14:16
问题 When I run the app on the emulator it always works on the first try. But when the app is already installed on the emulator it often results in a crash during the start of the app. This behavior started to occur with Android Studio 2.0. It does not occur on devices, therefore it is not so important but only annoying since I always need to delete the app from the emulator before installing a new version. Since I have absolutely no idea what causes this issue and can't find similar issues during

Setting temperature through emulator

孤人 提交于 2019-12-19 10:38:08
问题 I run this code on the emulator to read temperature change, but it never detects the temperature change at onSensorChanged() . I use this command to change temperature through the telnet tool: sensor set temperature 1:2:3 What did I do wrong? public class SensorActivity extends Activity implements SensorEventListener { private SensorManager mSensorManager; private Sensor mysensor; @Override public final void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

UDP from AndroidEmulator (--Genymotion--) to localhost Server(10.0.2.2) does not work?

烈酒焚心 提交于 2019-12-19 10:19:19
问题 I simply try to send and receive data between MonodroidApp(AndroidEmulator) and a localDevServer. I understand localhost is specially mapped to "10.0.2.2" on AndroidEmulator, so I did the following, but the app does not respond. System.Text.Encoding enc = System.Text.Encoding.UTF8; string sendMsg = "testtest"; byte[] sendBytes = enc.GetBytes(sendMsg); int localPort = 39000; var udp = new System.Net.Sockets.UdpClient(localPort); //send data string remoteHost = "10.0.2.2";//"127.0.0.1"; int

Connecting Real device to Android emulator

梦想与她 提交于 2019-12-19 10:07:11
问题 I am developing a network app for Android and I'm still stuck on connecting my real Android device with an device-emulator running on my desktop computer. I've created private network with a router, so the only ones connected to the network are my pc and my mobile phone, in order to avoid firewall/closed ports problems. My PC ip is 192.168.1.100 and I'm trying to ping each other so I can sea reachability of each network node. Ping works fine from my PC (not the emulator console) to the phone.

Is it possible to install Android to a web server and run a Virtual Android OS as a web app

拥有回忆 提交于 2019-12-19 09:47:49
问题 Is there any way to run Android as a webapp? Either by installing an emulator or something like the Android-x86 or Live-Android projects on a web server? 回答1: Perhaps you should define what qualifies as a "web app" ? For example, I'm pretty sure the (linux version of) the android emulator already works over X11, meaning the display and user input can be from a remote machine (running any modern OS) across the network from the one doing the computation. Maybe that doesn't sound like a web app

Android Emulator error in running simple project

亡梦爱人 提交于 2019-12-19 09:24:02
问题 When I configure the Android emulator for version 4.4.2, the emulator just hangs and it does not get past the Android logo. when i checked the Console in Eclipse i get this error: ERROR: _factory_client_recv: Unknown camera factory query name in '' and this the screen shot of my Eclipse workbench: and this the configuration of my Android Virual Device I'm a beginner in Android 回答1: Uncheck the snapshot option then start the emulator, and if you are working on camera option then emulator does

failure of adb to copy .apk file to the Android Emulator: no such file or directory

狂风中的少年 提交于 2019-12-19 08:53:42
问题 I'm hitting a snag in getting the MyFirstApp (Hello World) Android app to work in the emulator. I am following the instructions at: http://developer.android.com/training/basics/firstapp/running-app.html Windows7-64 / Eclipse The app works via USB to my phone. Steps taken: Make sure my PATH environment variable includes the Android SDK. OK. Launch C:/Users/(me)/AppData/Local/Androd/android-sdk/platform-tools/adb.exe. OK. Start the emulator from Eclipse. OK, it comes up. Verify that MyFirstApp

PANIC: Missing emulator engine program for 'arm' CPUS

蹲街弑〆低调 提交于 2019-12-19 05:57:13
问题 I am getting the same issue as mentioned in below link.But this one has been put on hold and I am still seeking for a solution. https://stackoverflow.com/questions/27146511/panic-missing-emulator-engine-program-for-arm-cpus-eclipse So I would like to frame the question and ask here. Until yesterday, emulator were working fine. But since today I am receiving the following error while I am trying to open emulator PANIC: Missing emulator engine program for 'arm' CPUS My AVD: This is the error I

ActivityNotFoundException while sending email from the application

时光怂恿深爱的人放手 提交于 2019-12-19 05:33:14
问题 I have written a code in which I am allowing user to send order via email to vendor [ShopOwner] along with their personal and cart item details, but here I am getting an error: Unfortunately App has Stopped Logcat: 01-30 17:56:14.605: E/AndroidRuntime(951): FATAL EXCEPTION: main 01-30 17:56:14.605: E/AndroidRuntime(951): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SEND typ=text/html flg=0x1 (has clip) (has extras) } 01-30 17:56:14