android-emulator

Eclipse fire up new Android instance every time you clicks “Run”

情到浓时终转凉″ 提交于 2019-12-11 10:34:37
问题 One of my computer has the issue with eclipse and android SDK. Every time I clicks "Run" or "Debug", then the eclipse will open up a new android instance instead of refresh the app in the "opened" one. In the meantime, the console prints [2011-09-02 16:46:13 - Emulator] WARNING: Data partition already in use. Changes will not persist! [2011-09-02 16:46:13 - Emulator] WARNING: Cache partition already in use. Changes will not persist! I have restarted my computer and the problem still there. P

Android the real object has been deleted

五迷三道 提交于 2019-12-11 10:26:13
问题 i have an activity and from that i am calling another activity using following function startActivityforresult(i) from the result too i m passing another parameters and calling that intent again but after 5-6 calls it says that the real object has been deleted,, and the previous intent don't do the things it is made to do on the condition,,,, any suggestions will be helpful. 来源: https://stackoverflow.com/questions/7362216/android-the-real-object-has-been-deleted

Emulator run slowly when come to a specific layout

好久不见. 提交于 2019-12-11 10:24:08
问题 I don't know what's wrong with my xml layout. Everytime when it intent to AddMoreClaims activity, my emulator will run slowly and sometimes not responding as image shown below. And this are the logCat message 12-09 05:05:59.758 2688-2688/? E/RichInputConnection﹕ Unable to connect to the editor to retrieve text. 12-09 05:05:59.758 2688-2688/? W/RichInputConnection﹕ Unable to connect to the editor. Setting caps mode without knowing text. 12-09 05:05:59.760 2688-2688/? I/Choreographer﹕ Skipped

Can Hebrew be used with TextToSpeech and YandexTranslate?

笑着哭i 提交于 2019-12-11 10:18:29
问题 When I try the following (i.e., spoken Hebrew) in App Inventor 2, I hear nothing: However, the following (switching parameters to spoken English) works just fine: Note that I change the variables "language", "country", "setance", and "hebrew_sentance" to switch between spoken English (which succeeds) and spoken Hebrew (which fails). Is it possible to get ai2 to speak Hebrew? 回答1: The MIT APP inventor support 65 languages and communicates 40 languages from text to speech. The problem is not in

Getting a white screen with my installed app in Android emulator (however works in browser)

柔情痞子 提交于 2019-12-11 10:07:01
问题 I am having issues getting a legacy mobile app to run in an emulator - it all seems to run in the browser without any issues but when I run the cordova emulate command the app attempts to install but I always get a white screen (nothing else) & the app isn't visible to use. I am running Cordova CLI v5.0.0 although the app was made about a year ago so was developed in an older version of Cordova. Can anyone suggest the best ways to debug this app to find the cause of the problem & why the

Can't get Eclipse AVD NexusS 4.1 to work - Says Connect your charger?

我是研究僧i 提交于 2019-12-11 09:49:23
问题 My AVD Nexus emulator isn't allowing me to test my android programs. When I open it I get this message? 回答1: AFAIK the emulator always says that or that it is charging, but it never changes. Did you "unlock" your emulator after running your program? You need to click on the lock symbol and drag it to unlock and your app should run just fine. 回答2: If you want to change emulator power status use: $ curl telnet://localhost:5554 <<! power status full quit ! or $ curl telnet://localhost:5554 <<!

Can't able to run PhoneGap app in Android device

荒凉一梦 提交于 2019-12-11 09:26:23
问题 I have created a test PhoneGap Android App through CLI - I can able to run it to emulator but I can't able to run it to a device which is connected to through USB. USB debugging is also enabled. > adb devices doesn't list the device but which lists the emulator. Am I missing anything? 回答1: USB driver for the device was missing. For some of the Google devices drivers are available in sdk\extras\google\usb_driver. For other brands like HTC, Samsung and others we need to get it from them and

convert Android activity layout to any image format

空扰寡人 提交于 2019-12-11 09:22:07
问题 Am using Linear layout with is more then the mobile screen size. with visibility is hidden that layout have some content inside. I need to take export that complete activity as image format see the reference image i attached How to get the complete activity as image (jpeg or any other) I tried with this code but i can not able to get the full width image. i got only up to the mobile screen Please correct it View layoutview = (LinearLayout) findViewById(R.id.layout_outer); layoutview

4k display & Android emulator: fail

送分小仙女□ 提交于 2019-12-11 09:12:42
问题 I'm moving to my new laptop which has 4k screen (3840x2160, to be exact). As my OS of choice I have Linux, and all scaling I have set up for this is done via Gnome (scaling-factor in gnome tweaks is set to 2). Overall, setup looks perfect, except for Android AVD run in IntelliJ IDEA. AVD is configured to use skin with 1920x1080 dimensions, and I've expected that it would be roughly the height of the screen, however for some reason AVD is scaled up, which obviously looks.. weird and unusable.

“Wrong wmode value” when using Starling with an AVD

匆匆过客 提交于 2019-12-11 08:53:28
问题 I am currently using FlashDevelop set up with the Flex/AIR SDK and Starling. I have used the AIR for Android AS3 template and have successfully compiled test applications without initializing Starling perfectly fine. These applications run fine on my Android Virtual Device. But as soon as I initialize a Starling instance, the error "This application is not properly embedded (wrong wmode value)" shows up in a red bar in the middle of the screen. I've looked through the Starling forums and have