android-emulator

Install Chrome for Android in Android emulator

喜欢而已 提交于 2019-12-06 16:52:26
问题 I want to install the Chrome for Android on the Android emulator (running Windows 7 64bits). I tried accessing the google play market from the emulator, but it won't let me install. I tried installing the chrome for android APK from here, but when I launch chrome it says the minimum supported OS is ice cream sanwdich 4.0 With FireFox it was very easy, I just grabbed the APK from their FTP server & run the adb install command, one would think it should be even easier with chrome, but it's

small size picture problem

心不动则不痛 提交于 2019-12-06 16:41:46
I've got a problem in saving a picture in a full size after capturing it using ACTION_IMAGE_CAPTURE intent the picture become very small , its resolution is 27X44 I'm using 1.5 android emulator, this is the code and I will appreciate any help: myImageButton02.setOnClickListener ( new OnClickListener() { @Override public void onClick(View v) { // create camera intent Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); //Grant permission to the camera activity to write the photo. intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION); //saving if there is EXTRA_OUTPUT intent.putExtra

How can you put the android emulator into sleep mode?

僤鯓⒐⒋嵵緔 提交于 2019-12-06 16:40:20
问题 Is there a way to get the android emulator into sleep mode? 回答1: Try pressing F7 . That should at least send you back to the lock screen. 回答2: You might try PowerManager.gotosleep() 回答3: Press F7+F2 to get your emulator locked. 来源: https://stackoverflow.com/questions/4411369/how-can-you-put-the-android-emulator-into-sleep-mode

Impossible to use ART on android emulator

这一生的挚爱 提交于 2019-12-06 15:56:32
I just wanted to try ART of android 4.4 on my emulator. What I did was create an emulator with selecting device as "Nexus 7" and target as "Android 4.4" and RAM "512". Then I started emulator and it loaded. Then I went to Developer Options and selected runtime as ART. After that setting emulator started to reboot and kept on booting screen for a long time(around 1hr) and couldn't finish launching. Can anybody explain me the reason for this issue. There is a bug in the emulator image. See http://code.google.com/p/android/issues/detail?id=61999 You can download a modified image from http://pan

Android Nexus 10 Emulator not running properly [duplicate]

你离开我真会死。 提交于 2019-12-06 15:06:04
问题 This question already has answers here : Android : How to Create Android Emulator for Nexus10? (6 answers) Closed 6 years ago . I know this question is a duplicate to the following, Android : How to Create Android Emulator for Nexus10? Nexux 10 emulator/avd not running/starting I have set the below configuration, Screen Size - 10 inches Resolution - 2560 X 1600 Screen Size - xlarge Screen Density - Xhdpi Screen ratio - long My system configuration is, Intel Core i3 processor 4GB Ram Windows 7

How to make an AVD with > 768MB RAM To emulate Galaxy devices

孤者浪人 提交于 2019-12-06 14:52:54
I am trying to emulate the Galaxy Note 2 which contains 2GiB RAM and some custom hardware like the s-pen and TouchWiz. I created an emulator with 2GB to start with. The emulator won't launch, in fact it is crashing eclipse. I would also like to emulate multi-screen TouchWiz support. I don't see any info anywhere on emulating custom platforms like TouchWiz. Any ideas? I need a decent testing platform for the Galaxy series, but I can't even get basic android working. edit: The Samsung dev page shows this setup: http://developer.samsung.com/forum/thread/emulator-size-for-galaxy-note-2-/77/178557

connect android to mysql using jsp

时光毁灭记忆、已成空白 提交于 2019-12-06 14:18:53
i am trying to connect with mysql using jsp below is the code of both the files android and jsp please have look on it its neither working nor giving me any error what would be the problem? android code: package com.example.prj; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl

Android app doesn't work after published it by generate signed app

孤人 提交于 2019-12-06 14:05:37
问题 I create an app and it work on emulator. It works on debug apk on device, but when I build it with generate signed app it doesn't work? what is wrong and how I can debug it on device on signed sate? 回答1: In my project doesn't run signed app. I changed minifyEnabled value from true to false then problem is solve . this bad solution. I'm looking for a better way. build.gradle : buildTypes { release { shrinkResources true minifyEnabled false //true proguardFiles getDefaultProguardFile('proguard

how to put marker on map when location gets changed in android

拟墨画扇 提交于 2019-12-06 13:58:44
问题 package com.android.gps; import java.util.List; import com.android.gps.hellogps.MyLocation.MapOverlay; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.google.android.maps.MapView; import com.google.android.maps.MapView.LayoutParams; import com.google.android.maps.Overlay; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory

Connect to Android Emulator in a Docker Container through VNC (error with API 28)

倾然丶 夕夏残阳落幕 提交于 2019-12-06 13:39:01
I'm using a VNC client (Remmina) to connect to an Android Emulator running in a Docker container, and it worked with APIs from 19 to 27, but 28 errors when using with the VNC option (but works without VNC): qemu-system-x86_64: VNC supports only guest GPU, add "-gpu guest" option My environment: myrepo/app-tools:android-dev-1.0.2 FROM ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive RUN echo "debconf shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections && \ echo "debconf shared/accepted-oracle-license-v1-1 seen true" | debconf-set-selections ENV SDK_URL="https://dl.google