Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
New Member
nateatkins
Posts: 1
Registered: ‎05-16-2013
My Device: BlackBerry 9700
My Carrier: Koodo

BlackBerry 10 Simulator and Porting Android App

Hello,  I am currently trying to port my android application over to the BlackBerry 10.  I have downloaded everything I need and am working on editing my image resources to conform to the BlackBerry 10 platform. 

 

The problem I am having is that When I use the BlackBerry Z10 simulator everything looks great, the sizes of all images are perfect and they are crisp, however when I use the Q10 simulator my Images are distored, fuzzy and scaled up.  I have tried changing the sizes, PPI, image extension and I just don't know what else to do.   Technically shouldn't the images be the same as the Z10?.   If anybody has any suggestion or fixes I would be very appreciative

 

Thanks

 

Nate

Please use plain text.
Regular Contributor
Fraggle222
Posts: 84
Registered: ‎01-31-2013
My Device: Simulator !!!
My Carrier: 8608800458

Re: BlackBerry 10 Simulator and Porting Android App

Try the latest simulator which can run in either Z10 size or Q10 size.

Also, if you have separate folders for different screen densities for your drawables, then that could be the issue. Not sure though since I thought Q10 and Z10 are both xhdpi, but maybe Q10 is just hdpi??
Please use plain text.
BlackBerry Development Advisor (Retired)
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: BlackBerry 10 Simulator and Porting Android App

You might be looking for drawable-small-square.

 

Have a look at this blog post:

http://devblog.blackberry.com/2013/03/blackberry-q10-android-apps/

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Please use plain text.