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
Visitor
Posts: 1
Registered: ‎05-15-2013
My Device: Bold 9800
My Carrier: AT&T

App "stopped unexpectedly" message in BB10 Simulator

I have an Android application that works quite well on Android devices up to 4.2.2. I packaged the application to use in Blackberry 10 and for the most part it works on the simulator. There is one transition that does not work. I have custom buttons created as RelativeLayouts and when these are clicked they perform a background task and then start a new Activity:

 

MessageSummaryPanel.this.getRootView().getContext().startActivity(messageDetails);

 

Before the app can transition to the new Activity it gets the "stopped unexpectedly" message.  I do not get that on any real Android device or simulator and it has been put through the paces for a while now.

 

Is there something that would cause the app to stop in BB10 and not Android that I am not aware of.

I am using the BB10 plugin for Eclipse and the BB10 simulator

Highlighted
Retired
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: App "stopped unexpectedly" message in BB10 Simulator

An uncaught exception will cause your app to stop unexpectedly.  If you can track down the stack trace for that it'd be helpful.