android-emulator

want to see logcat on real phone

做~自己de王妃 提交于 2019-12-24 03:21:50
问题 My application works very fine on emulator without any logcat error, but it abruptly being crashed on real android device. So I want to see logcat on real android tablet. And i had alos lost my usb connector so please tell me something so I can view logcat on android tablet.Please suggest me some ideas. Thanks in advance. 回答1: install logcat app in your mobile click here for app in android market 回答2: Go here and install this application on your device. It will work very nice and you can see

How to inflate a activity in my case?

别说谁变了你拦得住时间么 提交于 2019-12-24 03:09:57
问题 I would like to achieve this layout : my main activity layout ( main.xml ); ( Please mouse right click the following image and view image ) I have made another ContentActivity (with content set to content_one.xml ) which is supposed to be used as part (the right part) of the above layout: I know I can inflate a layout by: LinearLayout mainLayout = (LinearLayout) findViewById(R.id.main); LayoutInflater inflater = (LayoutInflater)Home2.this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

Blank Emulator In Android Studio

╄→гoц情女王★ 提交于 2019-12-24 03:05:10
问题 After fixing java.util.zip.ZipException: duplicate entry, my app compiles fine. When I run it in the emulator the screen is black and nothing loads into the interface. Please see Android Manifest below: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.appname.android" android:versionCode="5" android:versionName="1.0.4" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" /> <uses-permission android:name=

Visual Studio Preview 2015 is missing “VS Emulator Android Phone”

旧巷老猫 提交于 2019-12-24 03:04:13
问题 Being exited with the new release of VS preview I downloaded and installed it. I wanted to try out the new Android Emulator and created a new Cordova project. I was expecting similar choices listed in this screenshot: However I was only presented with the first five (Device, Android Emulator, Ripple ...) but missing VS Emulator Android Phone and VS Emulator Android Tablet. If I try to run the application using option "Android Emulator" I get the following error in the output console: 2>

Why is the emulator less random than my device?

試著忘記壹切 提交于 2019-12-24 02:27:14
问题 I created a small app (as a project, with no plans to release it). Part of the code generates a grid of random numbers and and displays a grid using the sprite from a list with said number. It behaved as expected, at least on my Kindle Fire (and another device I tried it on). The emulator, however, is a different story. I think the emulated device was a generic Samsung (4, maybe). The same code, when run on the emulator, fills about half the grid with one sprite, and half with a different

How can I improve this method of loading objects with ORMLite on Android?

筅森魡賤 提交于 2019-12-24 02:25:23
问题 I am loading a set of objects (and their foreign objects) using ormlite 4.35 on Android. It takes (in the emulator) between 16 and 19 seconds for the timing in the getAllCragsWithLocation() method below. There are 590 Crags in the database and 40 don't have a location. There are several lines logged such as 03-19 11:03:54.441: I/dalvikvm(1156): Jit: resizing JitTable from 1024 to 2048 03-19 11:03:55.531: D/dalvikvm(1156): GC_CONCURRENT freed 544K, 37% free 5174K/8199K, external 731K/1109K,

Is it possible to use published instant apps(BuzzFeed, Wish, etc) on the emulator?

孤人 提交于 2019-12-24 02:17:39
问题 I've run a hello world instant app on an emulator following this Google's tutorial. Everything worked well, I got the dialog asking for permission to enable instant apps and clicked 'I'm in'. After that, I could also see that instant apps were enabled in Settings > Google > Instant Apps. But when I open my browser, run a search and click on links from websites that already have published instant apps, such as BuzzFeed, NY Times Crossword and Wish, they just open the regular web page. I found

Getting internet connection in android emulator

∥☆過路亽.° 提交于 2019-12-24 02:13:36
问题 I have a desktop pc with wifi connection.My ip address is 192.168.12.95 and gateway is 192.168.10.10 .But i am not getting internet connection in the android emulator.That is i can not able to acess internate. I have also try with " emulator -avd wbut -http-proxy 192.168.10.10:3128 " this command. But sometimes i get the connection in the emulator without doing anything. Can someone please tell me how can i get internet connection in my android emulator ? 回答1: Click F8 key after starting

How to make a custom Edittext,so that it will look like as 45 degree rotated in android

懵懂的女人 提交于 2019-12-24 02:09:05
问题 How to make a custom Edittext,so that it will look like as 45 degree rotated in android and it should editable so that th euser can enter text on that rotated Edittext.I tried it.But I am not getting any solution for it.Please give some idea to do this. 回答1: You could try overriding EditText onDraw method like so... @Override protected void onDraw(Canvas canvas) { canvas.save(); canvas.rotate(45.0f,xpivot,ypivot); //rotate around (x,y) pivot point super.onDraw(canvas); canvas.restore(); } I

Android emulator x86 HAXM GPU Windows 7 crash BSOD

痞子三分冷 提交于 2019-12-24 01:18:32
问题 I don't know English but I will try to explain. I use last version Android SDK, run from AVD Manager emulator intel x86 with intel HAXM and it work Fine, but when I Enable host GPU then windows 7 crash BSOD This happen on Windows 7 x32 and x64. I update all drivers and update BIOS, but this not help. Intel Virtualization Technology enabled in BIOS. My notebook: HP ProBook 4530s, core i3-2330m, amd radeon HD 6490M, 4gb ram May anyone know how to solve this problem? On my desktope pc emulator