android-emulator

Using Worklight(MFP) HTTP Adapters with REST/JSON Services

陌路散爱 提交于 2019-12-12 04:00:42
问题 I'm new to Worklight and I have been trying to run this example: Using IBM Worklight HTTP Adapters with REST/JSON Services. When I run the app on an android emulator and I click a button, I got the following error: alert("mobGmapLatLngFailure") ; in the app in logcat errors: 02-09 04:05:21.924: D/NONE(1435): Client registration failed with error: {"responseHeaders":{},"status":500,"responseText":"","invocationContext":null} 02-09 04:05:22.074: E/NONE(1435): [/apps/services/api/AdapterApp

Android Studio Emulator Error (Intel HAXM is Required / No Emulator Installed)

守給你的承諾、 提交于 2019-12-12 03:42:59
问题 I just updated my Android API to 25, and my emulators have since stopped working. When I try to run my emulator, it gives me the error "Intel HAXM is required to run this AVD. No emulator installed. Please Download the emulator" as a popup (shown below) and the Event Log prints out "Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)". What I am confused

Android wear can't connect google play service

本秂侑毒 提交于 2019-12-12 03:35:45
问题 I have some problem when connect android wear with phone. I use android wear emulator (arm) & Genymotion emulator; When I connect from wear to phone my google api client returns a SERVICE_VERSION_UPDATE_REQUIRED error; (First, I also check some question like: Android wear app can't connect to google api services but I think my case is different). Tl;dr use play service wearable 8.4 => connect wear emulator + real phone -> work as well; => connect wear emulator + phone emulator(phone is

Network status is always true for android. How?

对着背影说爱祢 提交于 2019-12-12 03:35:40
问题 I'm trying to check the network status in my android application. And I have code like this: public boolean isNetworkAvailable() { ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); if(networkInfo != null && networkInfo.isConnected()) return true; return false; } This code is returning true when network is available as expected but it is also returing true even in

how to do checkbox in expanablelistview (in groupview and child view)

ぃ、小莉子 提交于 2019-12-12 03:35:28
问题 i am trying to do checkbox in expanablelistview (in groupview and child view). But i am not understanding this concept. so guys if u have any idea please share it with me. This is the first time i am working in this concept(expanablelistview). check box in groupview (CheckBox checkBoxGroup) if i check checkbox in groupview(groupposition 0) all item in child(childposition 0) must get check. same as if i uncheck groupview(groupposition 0)all item in child(childposition 0) must get uncheck.

P2P in Android using Open NFC virtual device

做~自己de王妃 提交于 2019-12-12 03:22:36
问题 I am a student, working on a Master's project. I want to create an app using NFC P2P. I am trying to emulate P2P mode on android sdk on Windows. I followed the steps provided in Open NFC Compilation quick HOWTO on the Android edition page (http://open-nfc.org/wp/editions/android/). I configured the two devices and enabled NFC using IP as 10. 0.2.2. I used the simulator and connection center to link up two open nfc virtual devices(API 10) in p2p mode but was not successful. Please let me know

android launch from eclipse not working properly without error message

烂漫一生 提交于 2019-12-12 03:18:17
问题 while i'm developing my android app on my HTC sensation, i can't run the app directly from eclipse. this problem only occurs when i'm using ICS phones and it's almost a hit or miss, the app would start sometimes without actually reinstalling, it would just start the old version of my app; other times it would work perfectly for a while before it stops starting the app... the console shows this for everything(working , not working, not updating etc) [2012-03-21 21:08:57 - ActionBarSherlock]

How to connect emulator to laravel server localhost:8000

南楼画角 提交于 2019-12-12 03:15:00
问题 I can connect to localhost:8080 when my android app connect to my project in wampserver with 10.0.0.2:8080,but i use laravel and my web service is in localhost:8000. i want to connect from emulator to my web service in laravel server in IP 10.0.0.2:8000 but i can't connect to it. failed to connect to /10.0.2.2 (port 8000) after 10000 ms . i tried localhost:8000 and some other IP, which IP use to connect to laravel server? 回答1: a bit late but your issue has to do with your routing. First of

eclipse find bluestack but can't use as emulator

我怕爱的太早我们不能终老 提交于 2019-12-12 02:58:27
问题 I recently started to learn android app developing and I'm using eclipse. I want to use Bluestacks as android virtual device. When I check for devices in eclipse it shows blustacks but when I run the app it says No active compatible AVD's or devices found. How can I solve this problem. 回答1: When you need Bluestack always download from www.bluestacks.com/ since bluestack comes up which newest version ..and downloading from other sites may lead u with older version of bluestack ect and hence

Emulator response is very slow

喜你入骨 提交于 2019-12-12 02:57:09
问题 Emulator in android is very slow and at times it is not responding as well. Does emulator performace is dependent on system configurations? Is there any other way to view the android app output other than emulator? Kindly please suggest me as emulator is wasting most of my time. 回答1: It is not a problem with your environment, it is just that the emulator is very slow. Practically I use a real phone to do my tests. It is faster and tests are more realistic. But if you want to test your