Android :: Eclipse Emulator - Runs WVGA (hdpi) As Mdpi Screen
Jul 22, 2010
The problem I am having is that when I run a FWVGA or WVGA sized emulator it sometimes runs at a MDPI size instead of HDPI. Here is an example with pictures. I create the AVD with the proper hw.lcd.density setting and screen size and it randomly does this. There doesn't seem to be a pattern. I used to be able to just delete the AVD and create it over again and it would fix itself for a while but now it's getting worse.
View 1 Replies
Jun 2, 2010
I read about in the google documents that the 3 folders corresponds to different screen types and that android would select the image from different folders automatically according to the screen type. I read that WVGA will load from drawable-hdpi and HVGA will load from drawable-mdpi. When I tested with 2 emulators both running 2.1, each with HVGA and WVGA. It turns out that they are both reading the image in mdpi. If I deleted the image in mdpi then they read from hdpi. Can someone answer why emulator with WVGA is reading from drawable- mdpi?
View 4 Replies
View Related
Oct 19, 2010
I am running my application in the emulator using a high density skin (like WVGA800). However the ressources in my application are loaded from the drawable- mdpi folder instead of drawable-hdpi ... what else should I do so that android use the correct folder ?
View 4 Replies
View Related
Aug 26, 2010
All these days i used to test my application on my HTC Legend (2.1 OS) only, and i had all my images resources in drawable-hdpi folder.. and everything worked fine
and today i wanted to test my Application on Android 1.5, so i recreated all the images with lower resolution and kept it under drawable-mdpi folder, so now i have High resolution images in drawable-hdpi folder and lower resolution images in drawable-mdpi folder..
Everything looked great on both the HTC Legend and Emulator(with Android 1.5)
Later i found out that the images in drawable-mdpi are shown in my HTC Legend too and not the images in drawable-hdpi in my manifest file i have also included <uses-sdk android:minSdkVersion="3" /> <supports-screens android:anyDensity="true" />
I want to know as to why the images in drawable-hdpi are not used?
View 2 Replies
View Related
May 11, 2010
I made each image a different color so I can tell if it is loading the right image. When I test my program on different density screens it only chooses the mdpi images. It scales them to match the correct dpi but doesn't choose the right folder. It just defaults to mdpi. In the manifest I have, android:normalScreens="true" android:anyDensity="false"
Anyone have a similar problem? I'm sure it is something simple that I am overlooking but I can't figure it out. From what I read on the Android Support Multiple Screens guide is that you should just have to put the different density images in their correct folders and Android will do the rest.
View 5 Replies
View Related
Apr 29, 2010
I have set up my project with different drawable directories (ldpi, mdpi and hdpi). I have a background png with two different resolutions: 320x480 in drawable-mdpi folder, and 480x800 in drawable-hdpi. Both have the same filename. When I try to load the background as a style in the manifest (using android:windowBackground in the style) if I use the emulator for a 1.6 device, I get the correct one loaded(mdpi). However, if I try this on my Nexus, I see that at first the correct background from the hdpi folder is loaded, but it quickly switches to the mdpi one. I have tried also to set up the background in the layout xml file (android:src=...) but in this case only the mdpi one is loaded. If I delete the mdpi version, everything is loaded ok. Any idea on what is the problem?
View 1 Replies
View Related
Feb 16, 2012
Any app which can mass resize .png from HDPI resolution to MDPI!
I had seen a similar app for MAC but any such application for windows!
View 9 Replies
View Related
Feb 15, 2010
Im trying to do some testing with a QVGA emulator and I find that it looks for an image resource in the mentioned order.
drawable-mdpi 1st
drawable-hdpi 2nd
drawable-ldpi 3rd (it does get found only after i change the name of the image in the other two dirs for testing)
I would expect it to be ldpi first.
When running other emulators (HVGA and WVGA) they use their appropriate drawable dirs... its only QVGA. The only code that I see could affect this is here (based on the docs)
I have tested this with a 2.0 emulator and a 1.6, i get the same result.
View 2 Replies
View Related
Apr 9, 2013
how to resize 9/png images(HDPI/MDPI) to LDPI SIZED?
View 1 Replies
View Related
Oct 12, 2009
I am running Eclipse on Win32 and my Android emulator on Linux.
Is there a way to use Win32 eclipse to debug code on the emulator that runs on Linux?
View 3 Replies
View Related
Jun 29, 2010
Sometimes when I run a FWVGA or WVGA emulator it causes my app to run in compatibility mode (small inner rectangle instead of full screen / MDPI instead of HDPI). If I delete the emulator and recreate another one this usually solves the problem. My app can support HDPI, MDPI, and LDPI screens. My Android Manifest Support Screens says Small Screens = true Normal Screens = true Large Screens = false Resize able = true Any Density = true, Usually the front page looks like this: http://4.bp.blogspot.com/_hmNcPpDB070/TCmGaxEdS-I/AAAAAAAAAEQ/g0tlmQu. But when it screws up it looks like this: http://2.bp.blogspot.com/_hmNcPpDB070/TCmGvlOUqtI/AEY/mLUVGxN. Does anyone know what causes this or if there is a solution? It's not a major problem, just annoying.
View 3 Replies
View Related
Oct 29, 2009
I been working on default skin before, if i change my skin to WVGA , my layout displays only in a portion of the skin and the rest of screen is black.
although, i can see android's home screen in full view. do i need to change my skin settings or my layout itself?
View 2 Replies
View Related
Jan 14, 2010
I need to take screen shots of an android application running on an emulator in Eclipse Galileo. Is there a built in feature for this or do I have to download a plugin of some sorts?
View 3 Replies
View Related
Mar 19, 2010
I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/, but no matter what I do, and what I change, when I run the app, all I see is the image below. Is there something I must press to start developing? Did I add starting code. I'm completely stumped...
View 2 Replies
View Related
Sep 12, 2010
When I am developing for Android and repeatedly running and/or debugging an Android app in the emulator then about every two hours or so I get an Out-of-memory exception, occasionally also an out-of - resources- or out-of-GWT-handles exception. At that point one can only stop and restart eclipse. Apparently the ADK must be doing something wrong, because I have been developing with Eclipse now for 5+ years and I normally never see this. ADT is a really the exception here. Is there any setting or patch that helps top avoid this? I have already given it more heap space (750M) to stretch the time between these hickups a bit, but that approach isn't really sustainable.
This is using Eclipse 3.5 (Galileo) and the Android SDK r06 running a FroYo AVD.
View 3 Replies
View Related
Jan 14, 2010
After deleting a phone device from the emulator, I can no longer hit the green triangle button in eclipse and have it launch my application in the emulator. I had been developing for 2.0.1, but then decided to try my app out in 2.1. I created a phone device for 2.1 and tried running it. I encountered some problems. Eclipse pops up a dialog box: Problem Occurred, Launching "my app" had encountered a problem. An internal error occurred during: 'Launching my app". When I look at details, it says: An internal error occurred during: "Launching Pingo". java.lang.NullPointerException.
View 3 Replies
View Related
Apr 9, 2010
I have an app that has a few checkboxes in the settings and then compiles a remote sql based on the checkboxes selected. i ran it in the emulator and it's fine. but then i exported it and published it as an app, and the same checked boxes aren't being passed correctly. i wonder if it's a caching issue or something. tried deleting the apks a few times and republish but to no avail. i "fake-edited" the source java and then export again, still no difference.
I'm kind of new to eclipse but is there a force build option? i only see build-automatically option under project but not sure how i can make sure that the apk exported is the same as run in the emulator
edit the emulator is version 1.5, and my phone is nexus one running 2.1- not sure if that makes a difference
View 1 Replies
View Related
Jul 16, 2009
The emulator does not install with any IM app.For testing purposing, I would like to have an IM application on the emulator.
how can I get one of these IM apps run on emulator? http://www.gandroidmix.com/im-clients-for-android-os/
View 2 Replies
View Related
Dec 19, 2012
Why there is difference between the screen layout in eclipse in xml editor and in the emulator?
View 1 Replies
View Related
Mar 30, 2010
From Android widget screen guidelines,we know that, home screen has 4*4 cells, and in portrait orientation, each cell is 80 pixels wide by 100 pixels tall. I think these are for baseline HVGA screen. How about for large screens and hdpi screens, do they still have 4*4 cells for widget and each cell in portrait orientation is still 80 pixels * 100 pixels?
View 2 Replies
View Related
Nov 24, 2009
I have written a simple Authenticator service to work with the new AccountManager API introduced in 2.0. When I launch a test app that uses the authenticator the authenticator service is launched (as expected) and it's onBind method is called. However, if I run my test application a second time in the same emulator (without restarting the emulator) my service is not launched and onBind is not called.
So far the only way I have found to get my service to launch and onBind to call again is to restart the emulator, which is a very time consuming process. I have looked at the Devices view in Eclipse and ensured that all of my processes have been killed, just in case one of them was just being rebound to or something.
View 2 Replies
View Related
Jun 3, 2011
Yesterday, my app worked fine on the emulator, but today after the app launches, I can't click on anything when the app runs. The code hasn't changed, my OnClickable event is wired up correctly and there are no errors in the compiler. I can't hit a breakpoint in the debugger. All the output in the console looks normal.
View 2 Replies
View Related
Sep 8, 2010
I have an app the runs fine on my emulator and my incredible with android 2.2. Users say my app won't run on the galaxy s. What options exist to troubleshooting this? Is there a special agreement for galaxy?
View 3 Replies
View Related
Jan 7, 2010
I wrote a reading software. I implemented the page turning effect when user tap the screen to turn to next/pre page. The display is ok on G1 (320X200 size) but it can not works well on Droid(480*854 size), the font looks a litter fuzzy, not clear as G1. I explain my codes for page turning:
1) create a canvas A
2) create bitmap.
3) set bitmap on canvas A
4) draw the new page content on canvas A
5) the current showing page has been saved in bitmap before since we do from step 1) to setp 4),
6) In order to implement the turning effect of scrolling from left to right, I draw the old bitmap part and draw the new bitmap part until the whole new bitmap has been drawn. all of bitmaps are drawing by canvas.drawBitmap() in onDraw() function.
7) when step 6) is done, it means the new page has been shown on screen, and the bitmap has been saved to use in next page turning.
The above is the whole actions for my page turning. On G1, no problem. But on Droid phone, the font is not clear, I tried if I directly draw text by canvas in OnDraw() not through bitmap, It is ok, but it can not implement the page turning effect that I need. I don't know why, could you please help me to take a look and tell me where is wrong or miss some steps?
View 2 Replies
View Related
Oct 6, 2012
I'm looking for a Play Store .apk that will run on my Android (ICS) emulator. The .apk from my phone and tablet did not work. I'd like to download apps directly to my Emulator.
View 1 Replies
View Related
Mar 24, 2010
I'm developing an Activity with a simple LinearLayout with a button. When I try the activity on my hardware (WVGA 480x800 screen) the activity only fills the standard size (480x320) while the OS itself fills the whole screen.
What could be the issue.
CODE:..................
View 1 Replies
View Related
Mar 10, 2010
is there a terminal emulator app that runs on this fone that is free? or is it only the better terminal emulator pro on the android market that can still run on 1.5?
View 3 Replies
View Related
Apr 8, 2009
Is there a way to reload an Android application in the emulator without closing the emulator, saving any code changes, and running the emulator again? If I make even a simple change to the layout, it takes about 30 seconds by time I run it in Eclipse and Android "boots", and I can unlock the emulator to run the application. Is there any way to shorten this time when making changes, or is it something I just have to deal with?
View 3 Replies
View Related
Nov 24, 2010
What is the proper way of sizing the dimensions of an image in a hdpi screen vs a ldpi screen.
For instance, an 89*80 png displays fine, with the text, on my droid 2....but how should I go about resizing the image to be smaller on a smaller screened droid? Do I manually alter the image and place it in the ldpi folder or will it do that automatically?
View 1 Replies
View Related
Apr 17, 2010
I've noticed that all of the official literature regarding the Incredible describes the screen as WVGA OLED -not AMOLED. Can a screen be OLED without AM (active matrix) technology - and if so, what will the difference be between the Incredible's screen and the N1's AMOLED display?
View 8 Replies
View Related