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 Contributor
Posts: 2
Registered: ‎03-12-2014
My Device: z10
My Carrier: bb

umlaut and greek characters not shown correctly

Hi

 

We have uploaded this app: http://appworld.blackberry.com/webstore/content/45473894/?lang=en&countrycode=DE

 

The app is converted from .apk to .bar using the eclipse plugin you provide.

There is a screen in our app which displays the contacts from the phones adressbook. In android devices(the .apk file), it shows all the contacts correctly(umlaut and greek characters are displayed properly).

The .bar file which is istalled on a Z10 device works in general fine, but it has a problem in this view... it does not display umlaut and greek characters correctly.

 

In our android project, we read the phones contacts this way:

String name = cur.getString(cur.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME));

 

Then the name is displayed in a listview... 

 

name is UTF-8.

 

Why in bb10 device this is not displayed correctly ?

There is any canonical way, in order to make it work ?

 

Thanks

Highlighted
Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: umlaut and greek characters not shown correctly

Hey spgianna, welcome to the forums!

 

It looks like the issue you are experiencing stems from a bug in the native contacts app that is propagated across to Android during synchronization.

 

That said, our developers have recently addressed this and the fix should be available in the next OS update!

 

Cheers,

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
New Contributor
Posts: 2
Registered: ‎03-12-2014
My Device: z10
My Carrier: bb

Re: umlaut and greek characters not shown correctly

Hello jjasmann

 

Thanks for your reply. 

Can you please tell me the jira item that is related to this issue. It is this one ?

https://www.blackberry.com/jira/browse/BBTEN-1743

 

If yes in which version this will be released ?