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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
soaman
Posts: 610
Registered: ‎03-03-2011
My Carrier: Mobitel

AIR app don't want to start

Hi!

 

A customer has contacted me that after replacing a PB (16 GB) with a new one (32 GB) and reinstalling my AIR/Flash app on the new device with the same BB ID had caused the app not to start anymore.

 

When tapping on the app icon the app wanted to start but had terminated imediatelly without any warning. Reinstall didn't help at all.

 

Can the problem be caused because the same BB ID was used on two different PBs? On the first one app ran perfectly.

 

Thanks for your help.

 

Best regards,

 

Soaman

--------------------------------------------------------

Follow our developer blog on Slovenia BlackBerry Developer Group!
Please use plain text.
Developer
peter9477
Posts: 5,636
Registered: ‎12-08-2010
My Carrier: none

Re: AIR app don't want to start

Does your app require any of the restricted permissions to run, like "access_shared"? Possibly the user didn't grant the permissions.

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
peter9477
Posts: 5,636
Registered: ‎12-08-2010
My Carrier: none

Re: AIR app don't want to start

Oh, to answer your question, no, unless you're doing something weird with dynamic licensing, the BBID should be irrelevant to this problem.

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
soaman
Posts: 610
Registered: ‎03-03-2011
My Carrier: Mobitel

Re: AIR app don't want to start

For testing purposes I've put permission FILES to Denied and app still is starting normally (just files are not read).

 

I am also not using any dynamic licensing.

 

BR Soaman

--------------------------------------------------------

Follow our developer blog on Slovenia BlackBerry Developer Group!
Please use plain text.
Developer
peter9477
Posts: 5,636
Registered: ‎12-08-2010
My Carrier: none

Re: AIR app don't want to start

Okay, so it does use the shared files area? What does it do there? Maybe you've got the latest version failing if a particular subfolder doesn't already exist, for example. Have you tested on your own device after removing all the shared folder contents?

Also, maybe mentioning what your app is, or what it does, would help us come up with ideas...

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
soaman
Posts: 610
Registered: ‎03-03-2011
My Carrier: Mobitel

Re: AIR app don't want to start

[ Edited ]

It is Svit - Project Gutenberg Ebook Reader. It uses books folder (that should exist). It works for anybody except for one customer that switched a device (on older one it worked fine).

 

On initial run the app copies ebooks from app folder into books shared folder.

 

On my device it works fine.

 

Additional info:

At start-up I use shared-object. Can it be corrupted if backup-restore was used while switching to the other device? But reinstall should delete all those objects (proof: EULA is shown again after reinstall) so the problem should be eliminated on reinstall. But it is not!

 

 

 

 

--------------------------------------------------------

Follow our developer blog on Slovenia BlackBerry Developer Group!
Please use plain text.
Developer
soaman
Posts: 610
Registered: ‎03-03-2011
My Carrier: Mobitel

Re: AIR app don't want to start

[ Edited ]

It is not working on 2.0.0.6149

 

I am already upgrading.

--------------------------------------------------------

Follow our developer blog on Slovenia BlackBerry Developer Group!
Please use plain text.
Developer
soaman
Posts: 610
Registered: ‎03-03-2011
My Carrier: Mobitel

Re: AIR app don't want to start

Huray!

 

QNXStageWebView.scrollBy() is not working anymore (2.0.0.6149) and crashes the app :Eek:.

 

The funniest part: method is useless and removing it from the code doesn't change the app's  functionality.

 

Next time: ALWAYS ASK FOR OS VERSION!!!!

--------------------------------------------------------

Follow our developer blog on Slovenia BlackBerry Developer Group!
Please use plain text.