android-emulator

Installing Facebook apk on Android Emulator

空扰寡人 提交于 2019-12-07 04:15:33
问题 Has anyone managed to do this?! I've tried various combinations of sdk/apk from this site with no luck. https://developers.facebook.com/docs/android/downloads When I use this SDK... dependencies { compile 'com.facebook.android:facebook-android-sdk:3.23.0' } ... it only seems to work with targetSdkVersion "L". So fine. I run that emulator in x86 and use adb to install ./sdk/platform-tools/adb install Facebook-25.0.0.19.30.apk I get "INSTALL_FAILED_NO_MATCHING_ABIS". On ARM, I have not managed

android emulator doesn't display app

做~自己de王妃 提交于 2019-12-07 04:03:26
I installed phonegap cli and and android sdk cli. I tried to create a new project with default parameter : phonegap create -n-name "mypoc" --id "com.cavissima.poc" --template hello-world after what i added android platform for testing : phonegap platform add android And finally i tried to launch it on android emulator : phonegap run android --verbose in the command line i see a lot of loop on this action: Running command "getprop emu.uuid" on emulator-5554... when finaly the android emulated is displying i can't find my app in it.if it note: the android run realy when trying to type some text

Insert Contact to SIM from Android

女生的网名这么多〃 提交于 2019-12-07 03:40:17
问题 I have an issue while I try to copy a contact which exists in the android contacts application to the SIM card. Following is the code: ContentValues cv = new ContentValues(); cv.put("tag", cName); cv.put("number", cNumber); Uri uri = context.getContentResolver().insert(SIM_CONTENT_URI, cv); Log.d(TAG_LOG, "URI is : " + uri); I have values inside cName and cNumber variables. But when I print the log to see the value of the uri variable: it is null. Can anyone please let me know if I have gone

How to restart Android emulator and preserve system data

为君一笑 提交于 2019-12-07 02:49:25
问题 Is it possible to preserve system data (not SD card data) on Android emulator when it is shutdown? My specific problem is that I am trying to import a new root certificate into the /system/etc/security/cacerts.bks file, but that requires a restart, and when I do restart the emulator the file gets reverted to original state. 回答1: The file is a part of the system image, and is not a part of the files created under .avd folder. Found a link on how to backup/modify a system image. The comments

Round Android Wear Emulator is using rect layouts

早过忘川 提交于 2019-12-07 02:41:15
问题 Unfortunately Moto360 is not avail to Europe yet... I'm running a Round Android Wear Emulator and this is working fine. However when I run my Android Wear Activity (which uses a WatchViewStub) the layout being used is the rect_activy_layout and not the round layout Anyone else have this issue or resolved when running Round Emulator? Thanks 回答1: There are many problems with inflating layouts that are caused by not correctly using WatchViewStub. I don't see any code to know exactly, but one

How to do a case-insensitive string replacement

泄露秘密 提交于 2019-12-07 02:23:56
问题 Hi friends I'm creating an app. I want to find a particular word in an ArrayList and I have to replace it with another word. I used the code below. It works case sensitive, but I'd like to get it working case insensitive. FillintheBlank.class: public class FillintheBlank extends Activity { static ArrayList<String> multiword=new ArrayList<String>(); static ArrayList<String> multimeaning=new ArrayList<String>(); public void setNoTitle() { requestWindowFeature(Window.FEATURE_NO_TITLE); } float

How to restrict an APK not to get installed in Android Emulator/Simulator but in real device?

瘦欲@ 提交于 2019-12-07 01:58:59
问题 Hope you know that an application which is installed in an android device can be backed up and stored as an installable file(as an APK file) with the help of apps like Astro file manager. The same apk can be installed in the android simulator as well. So there is a chance that other can easily dig into the installed app's files like DB, shared preference, etc.. Is there any way to permit installing only in real device and not in simulators??? I know that if it is ROOTED device, we can access

Android - Transparent Emulator Error

妖精的绣舞 提交于 2019-12-07 01:46:42
问题 I am having this error where my android emulator is transparent.. I tried restarting my laptop, restarting Android Studio, Deleting the device and making a new one but still no luck! I've seen a question like this here but there is no step by step instruction on how to do it! and instructions are not clear at least for me can anyone help me? I've been trying to fix this for hours again this is the link to the same question 回答1: I HAVE FOUND THE SOLUTION. First this question has been asked and

Keyboard stopped working on Intel x86 Android emulator after upgrading to ADT 20

不想你离开。 提交于 2019-12-07 01:46:35
问题 I mean I can't type from my laptop keyboard into android emulator anymore. Virtual and on-screen keyboards are working fine. 回答1: I had the same problem after upgrading to Tools version 20. I had to Edit the AVD to add an option as follows: From Eclipse, Go to AVD Mananger. Select the particular AVD and click on Edit Go to the Hardware section, click on New. Select the Property Name : Keyboard Support By default, it is added with a value of 'no'. Just click on the value column and change it

Eclipse Debugging Android doesn't work

别说谁变了你拦得住时间么 提交于 2019-12-07 01:29:21
问题 HI all. I have a problem with Eclipse, debugging an android application: all breakpoints I place doesn't work ( the applications doesn't stop. They are skipped as not placed ). There's a way to make them work? I have Win7, JDK 6u23 64bit, Eclipse 3.6 64bit, all breakpoints are enabled ( skip isn't selected ). Thanks in advance for the answers :) 回答1: Does the thread list show up in the Debug perspective when you start the app? If not, then Eclipse's debugger is not property attached to the