android-emulator

Is there ANY android emulator that supports microphone input?

假装没事ソ 提交于 2019-12-08 14:32:16
问题 So far I haven't been able to find any solution that would allow me to test voice input via microphone on the android emulator. I have been able to get away during development by limiting my testing to cheap Android phones (sorry, I don't have much money) but now some users complain that my app doesn't work on Android 3 and 4. So, I am desperately looking for an Android emulator (that can run on Windows 7) to help me test my microphone-based app on various Android versions (did I say

How to handle this error while select image from android gallery?

不羁的心 提交于 2019-12-08 13:14:52
问题 I have button of pick image from android gallery in one activity name DrawingActivity. and there is another activity name as DrawingSurface. In DrawingSurface activity i am using thread to draw the canvas and handle it. Now while i am going to pickup the Image from gallery i got error like this: 11-04 12:12:50.226: ERROR/AndroidRuntime(518): FATAL EXCEPTION: main 11-04 12:12:50.226: ERROR/AndroidRuntime(518): java.lang.IllegalThreadStateException: Thread already started. 11-04 12:12:50.226:

How to Set the Open GLES2.0 to work with the Android Camera?

三世轮回 提交于 2019-12-08 12:58:08
问题 In My Android Camera Application i want to Set some Effect on the Android Camera Preview witht the Help of OPEN GL vertex shader and fragment shader. Is there any example or source code to use the Android camera with Open GLES effect ? ? I have seen this. But I want android camera effect in Only One SurfaceView not on another. Thanks. 回答1: I've done something similar. But the code is quite messy, it was just a prototype. Check it on my github https://github.com/Jaa-c/PDA-Lupa/tree/master/src

How do I add a vertical separator line between 3 displayed values?

青春壹個敷衍的年華 提交于 2019-12-08 12:18:10
问题 I have 3 values displayed consecutively on the screen and I need to add 2-3 vertical separator lines between all of them.The issue is everytime I add a view/ divider between them they shift to the left or right way too much and some values cut off/ disappear. I was wondering if there is a way to go abotu it, below is my xml code for the same: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:foo="http://schemas.android.com

Pulling hidden files in Android SD Card

我的未来我决定 提交于 2019-12-08 11:50:23
问题 I am trying to implement image caching system in android, the caching use both, caching in memory and also using android external storage . In the external storage I create some hidden files, for example .nomedia and any other file prefixed with . , and I put all my caching related files in one folder, the problem is, when I use android file explorer in ddms to pull all files in my folder, only the non hidden files are pulled , I even can't see the hidden files in ddms file explorer. So is

Visual Studio emulator failed to Start due to Server execution failure

混江龙づ霸主 提交于 2019-12-08 11:40:27
问题 I have tried the following for the past four days Repaired Microsoft Visual Studio Emulator for Android Repaired Windows Phone 8.1 Emulators Removed of all existing virtual Switches Ran XdeClenup.exe Disabled Network Sharing on Ethernet No luck yet. i still get error that; The emulator was unable to verify that Virtual machine is running.(checked my vmms service and its on and running) Something happened while starting a virtual machine 'VS Emulator 5" Inch Kit Kat(4.4) XXHDPI Phone' virtual

Get IMEI in GenyMotion emulator

痴心易碎 提交于 2019-12-08 11:33:35
问题 Hi I'm developing an android application an runed it on genymotion emulator , in this application i need the device IMEI but i always get a null value the same logic works with AVD emulator or android smartphone TelephonyManager telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); IMEI = telephonyManager.getDeviceId(); with permission added to the manifest <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 回答1: The .getdeviceID() is not

Android Emulator unable to open/connect with real webcam

时光总嘲笑我的痴心妄想 提交于 2019-12-08 11:27:58
问题 Error message in event log: Emulator: emulator: ERROR: cmd_camera_device_start_capturing: Unable to set video format: 0 Emulator: emulator: ERROR: _camera_client_start: Cannot start camera 'AndroidEmulatorVC0' for NV21[1280x720]: No error Emulator Configuration: config.ini AvdId=Pixel_2_XL_API_27 PlayStore.enabled=false abi.type=x86 avd.ini.displayname=Pixel 2 XL API 27 avd.ini.encoding=UTF-8 disk.dataPartition.size=800M fastboot.forceColdBoot=no hw.accelerometer=yes hw.audioInput=yes hw

How to configure the Genymotion emulator to the appium?

流过昼夜 提交于 2019-12-08 10:42:52
问题 Through eclipse I have configured the Genymotion path & also I have downloaded the virtual devices in the Genymotion. In Appium, those downloaded virtual devices are visible in the"Launch Device" dropdown menu. Then I set the apk path & try to start the Appium 1.3.4.1. By that time I am getting an error message like Starting Node Server usage: main.js [-h] [-v] [--shell] main.js: error: Unrecognized arguments: Nexus 5 - 4.4.4 - API 19 - 1080x1920. [--localizable-strings-dir

Android emulator, network state and internet access

自作多情 提交于 2019-12-08 10:34:09
问题 I was trying to test the network state of my emulator using following code and allowing it android.permission.ACCESS_NETWORK_STATE : public class Main extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); boolean wified = connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI)