-
Notifications
You must be signed in to change notification settings - Fork 33
[Android] add xhdpi support #9
Comments
Hi Hardeep Similar issue reported. It seems more and more Android device now require xhdpi and largescreen support http://community.phonegap.com/nitobi/topics/icon_not_displaying Please expedite Thanks! |
Agreed, with the Nexus 7 especially growing in popularity, I am seeing this issue more and more. |
Got the same problem here: I've tryed some time around but got still the default Icon for xhdpi Android Devices. If I took a look into the apk the problem is that in res/drawable and res/drawable-xhdpi the Phonegap Default Icon is still used. My config.xml: <icon src="icon.png" width="96" height="96" />
<icon src="icons/ios/icon.png" width="57" height="57" />
<icon src="icons/ios/icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="icons/ios/icon_at_2x.png" width="114" height="114" />
<icon src="icons/android/ldpi.png" gap:platform="android" gap:density="ldpi" width="36" height="36"/>
<icon src="icons/android/mdpi.png" gap:platform="android" gap:density="mdpi" width="48" height="48"/>
<icon src="icons/android/hdpi.png" gap:platform="android" gap:density="hdpi" width="72" height="72"/> I've tryed to enter this (Would seem logicaly to me) <icon src="icons/android/xdpi.png" gap:platform="android" gap:density="xhdpi" width="96" height="96"/> But still doesn't work. |
Problem appears with Galaxy Nexus Phone and Sony Xperia S Phone too. |
Note for others: This bug doens't exist with PhoneGap 1.7.0. So using this explicit in the config.xml solves the problem for me now. |
@Fannon Can you elaborate? Building against 1.7.0 actually allows xhdpi support? |
yes. This LOC in my config.xml actually allowed xhdpi to work:
My (default) Icon is 96x96 Greets, |
This should be fixed as of yesterday - please report back if you're still having issue with this. |
Im still having issues with this. |
I am also having this issue on my Samsung Galaxy Nexus... the default icon is used. |
As per FattusMannus comment above this is still broken. Despite including a 96x96 png and adding its path to the config.xml unpacking the resulting apk shows the xhdpi folder contains a 72x72 png. |
I am having the exact same issue. After downloading the APK from the PhoneGap Build site, I add a .zip extension to it. Then when I browse to the *.apk.zip\res\drawable-xhdpi folder, I can see that the resulting icon and splash screen images are in fact the hdpi versions. |
same for me. Using Samsung Galaxy S3. Packaged xhdpi versions but with no effect. Used the cloud build of Adobe. |
Yup... same issue on Samsung Galaxy Nexus Can we relabel this issue as a bug? |
This is incorrectly labeled as an "Enhancement" when it should be "Bug". |
I have the same issue. Phonegap Build uses the hdpi icon for xhdpi res. |
Any word on this? |
Any update? |
no update? it´s a big problem for us! |
Should be an easy fix! On Sun, Jan 27, 2013 at 5:20 AM, gteschl notifications@github.com wrote:
|
They shouldnt make new Plugins, they should fix this Bugs! Cant build Apps for xhdpi screens because icons are wrong size! |
This is still an issue on Samsung S2's too |
Is there an update/timeline for this bugfix? |
i think i have to watch out for a other, working solution ... this looks like an endless story here |
Well, while we're still waiting for an official fix for the bug, here's a Python script that will fix an APK built by PhoneGap Build to put the correct XHDPI splash and icon images in. It's not perfect, but it'll work for now. Note that you need to have If you want to sign the APK with something other than the Android debug key, you'll have to change the |
Just chiming in to say that 8 months after the supposed fix ... we still have this issue. |
Hi guys, any news on this issue? Icon app is still small on a Nexus 4 using PGB 2.5.0. |
Meanwhile i learned objective-c & Java ;) ... Bye Bye phonegap |
@hardeep Do you have an update on this? |
I couldn't get the Python script working. Here's a node.js script that will fix the icon and splash screen, and prompts you for the necessary passwords, alias, etc. |
I bet they haven't seen this thread in a long, long time... |
Is it just me or has this been fixed? (I did recently upgrade my apps to use PG 2.7 so maybe that had something to do with it?) |
Accepted as fixed on July 15, 2013 |
The issue still persist with Phonegap Build, I still get default Phonegap Icon in my res folders and on the Device(Galaxy s3) |
got the same bug with phonegap build on 2.9.0, 3.1.0 - LG L9 and LG Optimus 4X HD, both Android 4.1.2 |
Is there any news on this I am having the same issue - small icons on HTC1 its not good at all - using phonegap build???? |
Same on a s3 with phonrgap build. |
I HAVE FIXED IT!!!!
I have commented out all the other android options!!!! Now all I have done is make my icon.png file 150px x 150px It works perfectly on all devices including xhdpi Like my HTC one and Nexus 7 and scales fine on my alcatel cheapo android device!! Try it it works! Cheers |
Add xhdpi splash/icon support along with xlargescreen
http://community.phonegap.com/nitobi/topics/support_for_publishing_android_apps_with_xlarge_screen?utm_content=topic_link&utm_medium=email&utm_source=new_topic.
The text was updated successfully, but these errors were encountered: