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

BlackBerry® 10 OS Device Software

Reply
New Contributor
timaster
Posts: 9
Registered: ‎08-01-2012
My Device: Torch 9810
My Carrier: AT&T
Accepted Solution

Android runtime bug

I have seen a small number of apps that run under the UTC timezone on BB10 but run showing the proper timezone on Android.

As near as I can tell after decompiling some of the apps, they are making java api calls to get the timezone, and what BB10 returns is apparently not what they expect, so they revert to UTC, which in the case of one app makes it severely inconvenient, as it is a Windows media center commercial app.

I'm curious if the issue has been addressed in 10.3.

Has this issue been noticed by anyone else? I have seen it in all 10.2.1 builds that I've tried.

The specific app that I would love to see working is the Ceton Media center remote app, but I've seen the issue with other apps where the daily bonus resets at midnight UTC on BB10, but not on an android device.
Please use plain text.
Hall of Famer II
sdgardne
Posts: 48,038
Registered: ‎11-28-2008
My Device: Z30, Z10 & Q10 (10.2.2.1531), Playbook (2.1.0.1526)
My Carrier: TMobile USA

Re: Android runtime bug

Hello,

I don't use any of the apps you mention, but this is indeed a known bug with WAZE (which, as a navigation app, is quite inconvenient when the ETA is always in UTC, no matter where the user may be on the planet). I always suspected it to be an app problem rather than a BBOS problem, though I've no ability to decompile as you describe to diagnose deeper. In any event, i can confirm the same symptom (as per one of your questions).

As for your question about if this is addressed in 10.3, such would require knowledge and revelation of forward looking information, which is expressly prohibited by the Ts and Cs of this site, along with any NDA's that anyone who might know the answer would be covered by.

Good luck!

Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
Please use plain text.
New Contributor
timaster
Posts: 9
Registered: ‎08-01-2012
My Device: Torch 9810
My Carrier: AT&T

Re: Android runtime bug

Not looking for anyone to break an NDA, but since the dev 10.3 OS is out there, was curious if anyone in the public who has loaded 10.3 and has seen it fixed.  If that violates T&C's I withdraw the question :smileyhappy:  

 

I was asking because I wonder if BB is aware of it, and if not, wondering how I would go about reporting the bug.  As I'm not looking to open a ticket, or to seek paid support, I just want to make them aware of it.

 

I used public tools to decompile the APK file into its component smali and resource files, and then looked at the smali code, to determine what API calls were being made and to trace the flow of the related code.

 

The code calls to the java timezone library for the getDefault() function, which per API, returns the timezone of the local host.

 

The code then uses the getID function to get the string version of the timezone, I assume something like "America/Chicago".

 

The code also accesses the Locale java API to get the language, country, etc.

 

So what I don't specifically know, is if the issue is the value returned by getDefault, the string returned by getID, or if it is some combo of that plus the Locale related functions that are returning something that isn't working quite right.

 

But since a percentage of apps do this, am hoping I can nudge them to look into it and fix it :smileyhappy:

 

 

Please use plain text.
Hall of Famer II
sdgardne
Posts: 48,038
Registered: ‎11-28-2008
My Device: Z30, Z10 & Q10 (10.2.2.1531), Playbook (2.1.0.1526)
My Carrier: TMobile USA

Re: Android runtime bug


timaster wrote:

Not looking for anyone to break an NDA, but since the dev 10.3 OS is out there, was curious if anyone in the public who has loaded 10.3 and has seen it fixed.  If that violates T&C's I withdraw the question :smileyhappy:  



Yup...10.3 is "out there", but it's a leak, and John Chen has been very public about how he feels about that. This site Ts and Cs expressly prohibit discussion of leaks. There are other sites "out there" for such discussions though (sites not, as this one is, officially sponsored by BB).

 


timaster wrote:

I was asking because I wonder if BB is aware of it, and if not, wondering how I would go about reporting the bug.  As I'm not looking to open a ticket, or to seek paid support, I just want to make them aware of it.

 


https://blackberry.icanmakeitbetter.com/

 

Good luck!


Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
Please use plain text.