Android :: Gallery3D Apk Does Not Contain Drawable Hdpi?
Feb 22, 2010
I have built android 2.1 on freescale's i.MX platform. But after running Gallery3D, it will crash with the log of failed to load resource. I found that the whole drawable-hdpi/ (it really contains in the Gallery3D source code res/) is not in the apk package, and cause lack of drawable-hdpi/icon_cancel.png. The apk only contains drawable-mdpi/ and drawable/. My question is why the drawable-hdpi/ resource is dropped when building apk? Per my understanding is that, which drawable-* resource loading is determined on runtime, and all the drawable-* should be in the apk package.
View 7 Replies
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
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
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
Dec 13, 2013
I am trying to move a set of images currently in the resources/drawable-hdpi folder to the Assets folder.
These images are copied to the private application directory when the app is installed.
When I do this the resulting image is smaller than when I had the image in the resources folder. i.e. the baked beans image is smaller than the others. If I load the baked beans images from the drawables folder it is the same size as the other product images.
I have tried to scale the image but it has no effect.
public View getView(int position, View convertView, ViewGroup parent)
{
ImageView imView = (ImageView)rowView.findViewById(R.id.product_thumb nail);
ImageView imProduct = (ImageView)rowView.findViewById(R.id.product_icon) ;
tvName.setText((CharSequence) values.get(position).getName());
[Code]...
View 4 Replies
View Related
Jun 30, 2010
I am using the default photo picker (usually Gallery or CoolIris Gallery3D) to pick an image from my application. The problem is that, when using Gallery3D, the user always needs to choose the album (aka "bucket") and then the image, while it would be more intuitive to open directly the album the user was navigating on previously. For instance, let's say the user is working on an image stored into the sdcard. When she decides to choose another image, it is probable that she wants another image from the sdcard. So my question is: is there a way to tell CoolIris Gallery3D to open on a specific bucket? I have taken a look at the source code and couldn't find any.
View 2 Replies
View Related
Dec 20, 2009
When I try the adb push command, I get "permission denied" I have root but it seem it's not activated unless I type adb shell su but then I can't use the push command. Anyone know how I can do this?
View 5 Replies
View Related
Jun 1, 2010
I've installled the Gallery3D-App (the one from the nexus one) and I like it alot... the only problem is. I can share 1 picture on facebook, but the moment, i chose another one, its only shareable trough picasa and email why cant it share multiple pics at once?
View 2 Replies
View Related
May 12, 2010
What has everyone's experience been with updating your radio? Is this something that is recommended for everyone, or only if you've got signal issues? If you update to a higher radio, can you downgrade to another? Flipz states that "different radios work better for different people depending on location, so try them out" but can you really do that? Also, where/how do you put Gallery3D on the phone? I didn't see anything related to that. The only thing I saw on Flipz site was that LWP messes with it. If you install LWP, is there a way to uninstall, or does it require a wipe and Nandroid Restore. I promise these should be the last questions, because once I get this thing set up, I'm done screwing with it (famous last words, right?).
View 5 Replies
View Related
Jun 5, 2010
I have been reloading the phone today after putting the "offical" RUU on post having the pre leak. I rooted 2.1 sucsessfully. I wanted to put Gallery3D.apk on the phone via adb push. I have it in the tools directory and had pushed it before. Now I get a failed to copy / permission denied. Not sure what's up. Last time it pushed to the pre leak no problem.
View 2 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
Jan 5, 2010
I have some 9-patch images on my app, and they work great on the medium density. When I load the app on a High density emulator/device, these images look grainy. It happens only to 9-patch images. The others look great after the pre- scaling. Is there a way to make them look good after the scaling, like the non-9-patch images?
View 10 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
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
View Related
Apr 16, 2010
Here's my situation: I have an app that's been compiled using 1.5 SDK and minSdkVersion=3. Now I want to add 2 icons: one for high density screens like Droid and another one for low density screens like G1.
For this, I added the high density icon to new directory drawable-hdpi- v4/. I then compiled using 1.6 sdk and added targetSdkVersion="4" to the manifest. minSdkVersion is still 3.
This is working in limited testing, but I'm not sure if I have done everything correctly.
I have many questions:
1. By specifying v4 in drawable-hdpi-v4, the icon will not be displayed to 1.5 or below OS's. But what about users with 2.0 or higher SDK's? Will they get the non-hdpi icon, since they will have v6 or v7 ?
2. The documentation for targetSdkVersion states, "Specifying this target version allows the platform to disable compatibility settings that are not required for the target version (which may otherwise be turned on in order to maintain forward-compatibility)". Does this mean that my app will not be forward compatible as soon as I specify a targetSdkVersion? What exactly is being turned off?
3. Even if I leave out the targetSdkVersion="4", the app runs ok. So do I really need it?
4. Should I be using the latest SDK (2.1) and setting that as the targetsdkversion and compiling against that? Or some other combination of targetsdkversion and compiling sdk? I'm not using any API's that are not in 1.5..
5. Is any of this related to why some of my HTC Eris users have complained that they can no longer find my app in Market after upgrading to 2.1?
View 3 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
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
Jul 14, 2012
I am making a ROM. And I'm trying to change the stock icons. I've tried every posssible way but i just can't change them. I'm trying to theme Holo Launcher with custom icons. The icons I have are hdpi. So i don't know how to turn them to mdpi. Is there any way i can turn it to mdpi on my PC. And what are the icons supposed to be renamed as well as which directory am i supposed to place them.
View 1 Replies
View Related
Aug 21, 2012
is there anyway to trick cm9/aokp theme chooser to think that my device is hdpi, instead of mdpi, without lcd density changer hack most HDPI themes, if not all(with the exception to lucid) work on mdpi devices yet theme chooser doesn't allow me and will give me a compiler error.
if the above does not work. is there anything i could change in the theme apk, whether its an xml, or image or anything I could change to make theme chooser think that i am using an MDPI theme, even if the theme includes hdpi images? THE "APPLY HDPI THEMES TO MDPI PAGE, LCD DENSITY CHOOSER PAGE.
View 8 Replies
View Related
Aug 6, 2013
how to port xhdpi roms to hdpi devices? what other steps do we have to take ? im trying to port paranoid android 3.69 to xperia u basing cm 10.1
View 1 Replies
View Related
Apr 9, 2013
how to resize 9/png images(HDPI/MDPI) to LDPI SIZED?
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
Aug 25, 2010
I am new application development. I am using Eclipse for making applications. When trying to create new project using Eclipse It is not creating simple res/drawable/ instead its creating three drawable folder. i.e. 1] drawable-hdpi 2] drawable-ldpi, 3]drawable-mdpi What is this all three for? General scenario as per Google it needs res/drawable/ to save icon image. Now on Eclise where to save icons? On all folder or?
View 4 Replies
View Related
Oct 19, 2010
According to official documentation Google says that "Once you've defined your Drawable in XML, save the file in the res/drawable/ directory of your project." is the way to add a XML drawable to the project. But when I created the project ADT created 3 different drawable folders for mdpi, hdpi, and ldpi. So when I wanted to create my XML drawable, I right click on my drawable-hdpi folder and select "Add new Android XML file", and there I have to select what kind of XML file I want to create, but there isn't "drawable" to select. If I create new text file and save it as button_drawable.xml Eclipse says that there is an Error in the file and that It can't build my project.
View 3 Replies
View Related
Oct 3, 2010
When i have an ImageButton and a drawable and i want to do something like the Drawer or Twitter where when i press the button and the corner of the image is highlighted over the edge, in drawer its yellow, in twitter its white. Like the one below.How do i set my drawable without using a lot of images?
View 1 Replies
View Related
Feb 8, 2010
In this linked image , I see the button on the right quite often in a lot of apps. On my Moto Droid, it is used extensively in the settings app. It is also used as the default AlertDialog icon. Can I use this via a android.r.drawable?
View 2 Replies
View Related
May 26, 2009
I created a new Drawable with: Drawable dx = resources.getDrawable(R.drawable.mydaysminipic_ov); dx.setColorFilter(0xff00ff00, Mode.SRC_ATOP);
and for: updateViews.setImageViewResource(predefinedDraw, --> ID from dx); I need the ID from it... but how to get?
Or any other Idea how to assign my Drawable dx to the above predefinedDraw?
View 2 Replies
View Related
Jan 9, 2010
I want to make a Drawable touchable for a component I am creating, does anyone know how to do that? code...
View 2 Replies
View Related
Sep 5, 2009
Is it possible to convert a Canvas to Drawable?I may be really off in my solution, so if you have a better suggestion, please do tell me. This is what I'm trying to do.I'm trying to create a custom RadioButton. to set different states of the radio button, I need to use this parameter and one of the parameter to addState is Drawable. I know I can easily provide an image file and use it as a Drawable, but I want to do some image manipulation to the image before using it.There is a tutorial in ApiDemo called AlphaBitmap. It uses the onDraw method of a View to change a PNG file to full red and draw something with a gradient. So I customized it to shade an icon with gradient. So the problem now is that this is a View, and the View works perfectly fine if I add this View to the main view. But i want to convert this View to Drawable so I can use it as one of the parameter in addState. What I really want to achieve is to have different colour shades for different state of the RadioButton without providing different images to do so.
View 6 Replies
View Related
Aug 10, 2010
My app has loads of images in the drawable folder, and I want to organize them into sub folders to make them more manageable. When I create a new folder, and move the images, they are no longer found (and not compiled into the R.java file). Can this be done, or do all my hundreds of images have to sit directly in the drawable folder?
View 9 Replies
View Related