android-emulator

camera activity does not return to the previous/caller activity

江枫思渺然 提交于 2019-12-10 10:36:17
问题 I read an text input from the user, this input i use it as a name of a picture i'm taking by the camera. i store this name and the path of the image name into Sqlite Database. what I'm trying to do is, after clicking OK to accept the taken picture, i want the saved path to be displayed in a toast. the problem is, when I click OK to accept the picture, nothing is being displayed and i cant switch from the camera activity to the activity that called the camera activity"the previous activity"

Android: How to maintain backwards-compatibility?

青春壹個敷衍的年華 提交于 2019-12-10 10:32:10
问题 According to the instructions found here, to make your app state which screen sizes you can support, you'll need to compile your app against Android 1.6. Using the minSdkVersion and targetSdkVersion this should run also on Android 1.5: <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> However, when I try to launch my app from Eclipse to run in a emulated 1.5, I get the following error: Failed to find an AVD compatible with target 'Android 1.6'. Is this an error of the eclipse

Android Studio 1.2 Emulator fits to one end of the screen and not moving

 ̄綄美尐妖づ 提交于 2019-12-10 10:29:50
问题 I have installed new Android Studio V 1.2 and tried launching my First App. The emulator which shows up is fitting to the Top Left corner of the screen and is not moving. This happens only in this version and in Windows only. Did someone face the same isse and resolved it ?? AVD Details: Name: Nexus 5 API 21 x86 Using the Default one. Also tried creating different AVDs . All fits to Top Left corner of the screen and is not Movable Tried Restarting There is no Auto Fit to Screen Size option

Stop on screen keyboard appearing for Android Emulator?

十年热恋 提交于 2019-12-10 10:09:10
问题 I am using the AVD manager in eclipse. Is there a setting that I can use to stop the on screen keyboard appearing when an input field has focus? I tried has hardware keyboard = true, but then the emulator doesn't seem to start at all :-S 回答1: The emulated device should have a physical keyboard, therefore negating the need for a soft keyboard. I tried it out now and this configuration combination works for me: hw.keyboard=yes hw.touchScreen=no The AVD has a physical keyboard, but no

4096 MiB SD card in Android Emulator… less than 9MB?

风流意气都作罢 提交于 2019-12-10 09:52:33
问题 Every time I attempt to create a new AVD with the latest Android SDK (under Eclipse), I can't actually specify SD Card Sizes greater than 1024 MiB. Any attempt to specify higher numbers gets me always the same message: "SD Card Size must be at least 9MB" What gives? Any idea why this could be happening? 回答1: Known issue. Vote for it. 回答2: I have got the same problem too. Answer found here: http://code.google.com/p/android/issues/detail?id=7038 I've also reproduced it with the same setup as

How to open Google Android Emulator in Visual Studio 2017

别等时光非礼了梦想. 提交于 2019-12-10 07:56:41
问题 I recently downloaded Google Android Emulator from Visual Studio Installer. Before that i was using Visual Studio Emulator for Android. But Visual Studio Emulator does not have API 25, so i decided to download Google Android Emulator. Image of downloaded Google Android Emulator in Visual Studio Installer Now i can't see Google Android Emulator as an options anywhere in VS17. Please tell me how to open Google Android Emulator in VS17. Thank You. 回答1: You must not only avoid the VS2017

How to take screenshot of Android(Emulator) using this library and where can i get the screenshots

℡╲_俬逩灬. 提交于 2019-12-10 06:41:15
问题 I had installed this library http://code.google.com/p/android-screenshot-library/. I had started my Android emulator ,when i run the run.sh file it is saying "Service Started Sucessfully". How Should i or where can i get the Screen shots of my emulator.I am using all latest versions.Thank You. 回答1: Open Eclipse > open DDMS View > Select your Emulator out of the list > press the little blinking Camera Icon near where you select your Emulator from the list Hope you find it. 回答2: import pl

adb -s emu geo fix not works without using telnet

 ̄綄美尐妖づ 提交于 2019-12-10 04:22:38
问题 My app works on Google Apis 17. I want to set the gps location after an emulator is being launched. I try to this follow how-to-emulate-gps-location-in-the-android-emulator. 1st. get the serials number of the emulator. >adb devices emulator-5554 2nd run adb -s emulator-5554 emu geo fix 121.4961236714487 31.24010934431376 There are no warnings and errors. I am programming on windows7. It not work. However when I send gps info manually in eclipse(ADT22.6), it works. My app can locate the

my status bar in android 4.2.2 emulator is broken

廉价感情. 提交于 2019-12-10 03:58:04
问题 Today I found the status bar in android 4.2.2 emulator is broken.I cannot pull it down. I have no idea what happened. 回答1: Try to make a little app wich pulls it down: StatusBarManager statusBar = (StatusBarManager) getSystemService(STATUS_BAR_SERVICE); statusBar.expand(); Permission is required in manifest: <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> 回答2: For what it's worth, as per this SO, it seems like it might be a bug in android. No response from Google as of

How to browse android emulator SD on Windows without Eclipse?

怎甘沉沦 提交于 2019-12-10 02:58:50
问题 Can't understand how to browse android emulator sd card. I am using IDEA, not Eclipse and can't use Eclipse tool for this purpose. 回答1: Use DDMS. It is available as a standalone tool, in addition to the Eclipse perspective. 回答2: Or you can also use adb located in android-sdk-directory/tools . To do this open up a command line and type adb shell when developing on Linux or adb.exe shell when developing on Windows then you will be logged in into your Android emulator where you can simply use