This is a migrated thread and some comments may be shown as answers.

Android splashscreen - This isn't a valid 9 Patch image.

8 Answers 337 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Netanel
Top achievements
Rank 1
Netanel asked on 19 Apr 2013, 11:34 AM
Hey ,

In my app properties section , I try to upload splashscreen image to Android.
I get this error : "This isn't a valid 9 Patch image.".

What I need to do ? I select from my computer normal android splashscreen image : 642x1077

Thanks.

8 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Apr 2013, 12:52 PM
Hello Netanel,

Android splash screens use a special image called 9 patch image, you can read more info here:

Greetings,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Ned
Top achievements
Rank 1
answered on 28 Oct 2013, 05:47 PM
So, what is a good splashscreen png density ..

This tool let's you pick a density ...
http://android-ui-utils.googlecode.com/hg/asset-studio/dist/nine-patches.html

but the Icenium upload is a single image. Thanks for any help
0
Iva Koevska
Telerik team
answered on 29 Oct 2013, 09:03 AM
Hi Ned,

There is no quick answer to that question. Hope the following explanation sheds some light and helps you decide how to approach your Android splash screen.

In Icenium, the Android splash screen file is placed in the App_Resources/Android/drawable-nodpi folder (not exposed in the Project Navigator in Icenium Graphite and Mist). This means that your app uses only one image for all screen densities without prescaling it. This might lead to your image being cut off or appearing too small, based on the device screen. Based on your target devices, pick the DPI that would best fit your needs and upload it to Icenium. In most cases, this would probably be the HDPI one (as it's around the middle of the scale).

Alternatively, you can create images for all 4 dpis and add them to your project using this workaround. This will ensure that your splash screen will appear as you designed it to appear on all screen sizes.

Regards,
Iva Koevska
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Owidat
Top achievements
Rank 2
answered on 20 Jan 2014, 10:41 AM
Hi,

Try this : 
http://android-ui-utils.googlecode.com/hg/asset-studio/dist/nine-patches.html

very easy and simple to use, I hope this can help.
0
Dan
Top achievements
Rank 1
answered on 01 Dec 2014, 02:31 PM
Thank you  Owidat !


Anyone else having an issue last few days with patch 9 malformation error (even though you "know" your image is good) ..run the image through the tool  Owidat posted.  Worked perfect 
0
jowan
Top achievements
Rank 1
answered on 11 Jul 2015, 09:57 AM

Ive just tried that link, the files produced by that website are not accepted by Telerik. I get

 

ErrorThis isn't a valid 9-patch image.

 

 

0
jowan
Top achievements
Rank 1
answered on 11 Jul 2015, 10:53 AM

Yep, I closed browser and retied but I still get error.

And just to confirm there does not appear to be anything wring with images as if I add them locally, then commit changes, and pull them back in to telerik and recompile, then they work correctly.

 It simply seems telerik is not accepting the images at the moment, even though they are correct format ?

0
Ventsislav Georgiev
Telerik team
answered on 16 Jul 2015, 07:36 AM
Hi Jowan,

I've successfully generated .9.png images using: 
http://android-ui-utils.googlecode.com/hg/asset-studio/dist/nine-patches.html
and uploaded them in the In-Browser and Windows AppBuilder clients without problems.

Could you please provide the images that you are using, so that we can further investigate what is causing the problem.

Regards,
Ventsislav Georgiev
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
Netanel
Top achievements
Rank 1
Answers by
Steve
Telerik team
Ned
Top achievements
Rank 1
Iva Koevska
Telerik team
Owidat
Top achievements
Rank 2
Dan
Top achievements
Rank 1
jowan
Top achievements
Rank 1
Ventsislav Georgiev
Telerik team
Share this question
or