Android :: Multi Resolution Image Button Selectors Broken?
Jan 6, 2010
Works like a champ. I'm now trying to make my app work on small screen devices, so I created a res/drawable-ldpi directory, and populated it with the two pngs plus the corresponding selector file.Isn't this the right way to specify ldpi specific button images? If default device xmls and pngs go in drawable, then ldpi xmls and pngs go in drawable-ldpi, right? Could these errors be the result of an inappropriate <supports-screens> element in my manifest file? Neither the api-demos in the samples (for any SDK version), or the newer samples including multires, have any multi res image button examples. In fact, I couldn't find any example where there was an xml file in a res/drawable-.
View 5 Replies
Jul 20, 2010
I'm trying to capture an image by calling camera utility from "MeidaStore.ACTION_IMAGE_CAPTURE". However, it seems there is only on resolution available 640x480, while the native camera support 8MB resolution.Any permission or extra param needed to get larger resolution option? It'd much appreciated if anyone can help on this.
View 3 Replies
View Related
Sep 24, 2010
I am attempting to create a very graphically intensive android application. Almost all of the UI is based on bitmaps and I would like to support as many different devices as possible and to have the app look great in all of them.Is it possible to embed different resolutions for each image and have a different image displayed on each device. I am aware of stuff like hdpi folders etc. as well has units like dip etc., but that still leaves too many variables as to how the image is displayed. I would like to not have the images scaled at all to avoid losing image quality.For instance on my high resolution device I would like an image to be exactly 100px and then on a medium resolution device I would like a lower resolution image to display and be exactly 80px. If I use display independent units, I cannot ensure that the images will be of a particular size.
View 1 Replies
View Related
Nov 24, 2010
I want to place three button images of same size equal to screen it is working fine in size 320 x 480,it occupies full 320 size but android is having different resolutions of phones of different sizes 480 x 800 and 240 x 320 how I has to place same image for all resolutions equally to occupy full screen ?
View 1 Replies
View Related
May 17, 2010
I found ToggleButton image has broken on my device. And, I initialized my device but occored same problem.
On emulator, it shows correct image. My device is HTC Desire Android 2.1 Japanese version. I want to know how to repair my device, or is it correct ToggleButton Image on 2.1.
View 2 Replies
View Related
Jul 22, 2010
Recently the home and menu buttons of my HTC hero broke down. I found an app, "soft home" which creates a home button in the notification bar.Does anyone know of an app which does the same thing for the menu button? While Im on it, a second question: My browser which is the default browser of the hero goes full screen. This causes the notification bar to dissappear thus making the home button app useless. Does anyone know how to turn this fullscreen feature off/know a good browser which does not do so.
View 1 Replies
View Related
Apr 13, 2010
As Android supports multiple devices from different manufacturers there are different screen resolutions supported.It shows WVGA and FWVGA in MDPI for Large Screens and HDPI for Normal screens. So, if the image is kept in drawable-mdpi and its resolution is 320 * 480 then which image will be taken by Large Screens device of MDPI.Moreover, there are two screen resolutions for HDPI i.e. 480 * 800 and 480 * 854. So, with what screen resolution the image should be built.
View 1 Replies
View Related
Jun 1, 2009
Can i resize an image to a lower resolution as i am getting an OutOfMemoryException when trying to display image with 2048x1536 resolution or more?
View 2 Replies
View Related
Jun 23, 2010
I want to use a WebView to enable dynamic loading of ads in my app. I'm currently running on a HDPI device, and images width a width of 480px are clipped/scrolled. If I use images with a size of 320px, they are zoomed in and rendered at too low a resolution.The content of the loaded WebView url is a simple web page with just an image tag wrapped in a link, as well a simple head. I've tried playing with the viewport meta-tag, but without any luck.
View 2 Replies
View Related
Mar 9, 2010
The Android documentation says that best practices are to make two drawable directories - one for HDPI and one for MDPI. It also says that if the MDPI directory doesn't exist and a MDPI device is running the app, it will scale down the HDPI ones so everything looks good. Is there any reason not to just make one high resolution set of graphics? One con that I can think of is performance issues and one pro I can think of is only having one set of images for your app.
View 1 Replies
View Related
Sep 19, 2010
Is there open code available for implementing a time selector like the one used in HTC Sense?
It's a wheel and the user can push it up or down to select higher or lower number.
If there isn't code available, how do I go about implementing it?
At best I would like to have a 59 beneath the 00 to be more like a real wheel.
View 1 Replies
View Related
Jan 13, 2014
my android phone's power button stopped working a few weeks ago. It wasn't a big problem, but a few days ago, the battery died. Now it is turned off and I can't turn it on. When I put it in charge, it just shows the charging screen. The phone is a Winmax W8000 (Winmax is Bangladeshi company. I'm from Bangladesh). It runs on Jellybean (4.1). It wasn't rooted. I tried to get into Download mode, but pressing the volume buttons and plugging in the charger doesn't work.
View 17 Replies
View Related
May 13, 2012
I have a HTC HD2 which had WinMo before. Long time ago I changed it to Android. Couple of days ago, I wanted to change to a new Android version so I deleted the whole OS on my Android to install a new one.I got stuck on the Magdlr option because I couldn't go select any option. I realized then, that my call button is broken! how it is possible to install Android, because WinMo sucks!!
View 4 Replies
View Related
May 21, 2009
I am trying to display 480*320 image in fill_parent width and height but it doesn't fit on full screen. image seems a bit smaller in width.
do i need to change resolution or something else..
View 6 Replies
View Related
Aug 12, 2010
i have had my htc evo about a week, i have not downloaded any odd software only a handfull of apps have not rooted my evo or anything close to that. all day today my home button didnt work. i turned it off then on it worked for about five minutes then stopped! any help?! ive been on a waiting list and it breaks after a week?
View 1 Replies
View Related
Oct 27, 2010
Can anybody please guide me how to write the code for opening the new image after clicking the imagebutton in android. I have tried something like this:
package com.example.imageButton;
import android.app.Activity; import android.os.Bundle;
import android.view.View; import android.widget.ImageButton;
public class imageButton extends Activity {
private static ImageButton seqIBtn;//these are the three imageButton private static ImageButton vidIBtn;private static ImageButton infoIBtn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); seqIBtn = (ImageButton) findViewById(R.id.btnSequence); vidIBtn = (ImageButton) findViewById(R.id.btnVideo); infoIBtn = (ImageButton) findViewById(R.id.btnInfo);}
View 6 Replies
View Related
Jun 5, 2010
I have a TabActivity with several tabs. Each tab corresponds to a specific view, and those views may further switch to other views. For example, one of my tabs displays RSS feed list, after user clicks one of the RSS feed, it will switch to a view displaying a list of articles, and after user clicks one of the titles, a full article view will be displayed.I'm going to add support for "back" button in my application. For instance, in a full article view, after user presses the "back" button, it should switch back to the article list view. And if user presses it the "back" button again, my application should switch back to the feed list view.My idea is to maintain a Stack<View> during navigation, and every time user presses the "back" button, the program will pop a View out of the stack, and set it as the current view. But I would like to know how to set current view in TabHost.
View 1 Replies
View Related
Oct 12, 2010
I want to make this kind alertdialog.
http://mobile.tutsplus.com/tutorials/android/android-sdk-sending-pictures-the-easy-way/
View 2 Replies
View Related
Sep 11, 2010
So I bought a used Eris off Ebay thats volume down button was broken (not the rocker but the actual button that the rocker presses). I knew the button was broken when I bought it and I didn't really care for a while, but tonight when I was trying to fiddle with it, I accidentally popped it out. Is it worth opening the phone to try to solder it back on?Also, how do I navigate through the recovery menu without a volume down button?
View 4 Replies
View Related
Jul 27, 2010
So I did an exchange today hoping for the magical GPS fix. Instead, I got a phone where the home button works maybe 10% of the time I tap it. Anyone else having this issue? I'm going to exchange this one tomorrow.
View 17 Replies
View Related
Aug 28, 2010
Im new here so i don't know if this is the right section or not.But anyways i've had my droid since tuesday and today my camera button quit working. It worked fine yesterday but for some reason it just crapped out on me. It doest even go to the camera page when you hold it and i've tried all the settings.Anyone know what's up?I thought maybe just a loose conection but when i took the battery cover of it had torq he's screws so i can't take it apart to see.
View 1 Replies
View Related
Sep 28, 2013
i got a samsung galaxy s2 mini and i got it rooted it all worked fine , but yesterday for some reason it booted in CWM recovery and i cant get out of it my volume down button is broken .
my question is ; is there a other way to boot it normal?
View 1 Replies
View Related
May 7, 2014
I just managed to remap my broken power button to my volume up button, so I am able to lock/unlock the screen. The problem is that it's still not possible to turn on the phone with the volumen button (shutdown/run out of battery). I changed the gpio-keys.kl and Generic.kl file for remapping.
View 2 Replies
View Related
Oct 10, 2010
I have a X that has 2.1 -update 1 on it that I got from a friend. I want to have 2.2 on it but when I try to update the phone OTA, it says that I am up to date. So I am guessing that are some things he played with that is making this not work.What I am hoping I can acomplish is get stock 2.2 on my X even if it involves RSD lite or other methods.RSD was the way I was going to go, untill I ran into the problem that the camera button does not work, so i can not get into the bootloader.Also, adb reboot bootloader isn't working, and rooting and trying to get Clockwork Recovery to work isn't doing what I need.So I am out of ideas on how to get 2.2 or any other ROM for that matter on my X.
View 2 Replies
View Related
May 9, 2012
I have a Nexus S running 4.0.4. I did the update manually when it was released.
The bootloader is unlocked from previous ROM experiments but this ICS is stock/unrooted.
A few weeks later, the power button now doesn't work. This is a VERY common issue, but no one knows for sure if it is Hardware or Software. I was going to lock my bootloader and send it in to get a fix or replacement device from my carrier. Alternatively, I was going to attempt to flash a ROM onto it and see if the button comes back.
The bizarre thing is that when I go into fastboot, the device freezes and I cannot use any of the buttons. Furthermore, below the device information, nothing else shows up. The device shows up to ADB when booted, but Device Manager doesn't even find an unknown device when in Fastboot.
View 3 Replies
View Related
Jan 22, 2010
Every time I try to add a contact icon (from a saved image on my phone), my Magic saves a low-resolution version of the crop I make.
When I dial the contact, the picture looks HORRIBLE (it seems like the resolution is about 50x50px or something). I tried making contact icons from photos made with the phone or from high-res images that I transferred from my PC, but the outcome is always the same: the resolution of the icon is too small.
Is there a way to solve this problem? There's no point having a low-res image in a high-resolution image placeholder.
View 1 Replies
View Related
Feb 22, 2014
My galaxy k's home button has been broken. And i wannted to use recovery.So I attached it with my computer, used cmd(adb reboot recovery). After that i was able to go in recovery. But after that I couldnt reboot it. I tried to use cmd. But it cant find my device.
View 2 Replies
View Related
Apr 9, 2010
I'm looking for a simple way in Android to add a text to a button that is displayed in 2 (or more) lines. E.g. A bold and big heading in the first line and a small description in the second line. Is it possible or have I use a TextView or something similar?
View 3 Replies
View Related
Jun 26, 2010
I have a program that should work on Android 1.5, but when it's run on newer devices with higher resolution screens, it should support the full resolution and not emulate a lower resolution screen. As far as I can tell from the documentation, this should be simple.
I just specify
code:.........
The problem is that if I tell Eclipse to compile for 1.5, it refuses to accept this. It reports an error (targetSdkVersion is an unknown tag) and refuses to compile or run. If I tell it to compile for 1.6 it works fine, of course. But if I then try to install on a 1.5 AVD, the program immediately crashes with a java.lang.VerifyError. I'm clearly missing something simple. How do I get it to compile an apk that works under 1.5, but still includes the targetSdkVersion tag?
View 3 Replies
View Related
Nov 17, 2010
I'm new to Android application development. I would like to ask the use of image button in Android programming when simple button can also add the image with the button. How can we generate click event of image button?
View 2 Replies
View Related