my problem was calling super() first before doing the setresult call
On Jul 14, 7:40 pm, john john4...@gmail.com wrote:
try setResult(RESULT_CANCELED);
add
if (resultCode==RESULT_OK) {
.}
in SporeAPI.onActivityResult
On 7月15日, 上午5時46分, schwiz sch...@gmail.com wrote:
ahh ok
What is the stack crawl on the log output?
On Tue, Jul 14, 2009 at 1:07 PM, schwiz sch...@gmail.com wrote:
Ok so I am working on an app and I use startActivityForResult but
currently if you press the back button on the new activity it will
crash my app. In my new activity I have
Im not sure what you mean by the stack crawl when I press the button
to load the new activity logcat says
I 570 ActivityManager Starting activity:Intent {camp=
{net.schwiz.sporedemo/net.schwiz.sporedemo.ChangeNumber} (has
extras) }
I 570 ActivitManager Displayed activity
You said it was crashing. I'm not sure what you mean by crashing, because
you didn't say a whole lot, but generally when an app crashes this is due to
an uncaught exception and that exception will be found in the log.
On Tue, Jul 14, 2009 at 1:41 PM, schwiz sch...@gmail.com wrote:
Im not sure
ahh ok yeah it is showing an uncaught exception for not returning the
result along with more errors
07-14 21:42:54.501: INFO/ActivityManager(570): Starting activity:
Intent { comp={net.schwiz.sporedemo/net.schwiz.sporedemo.ChangeNumber}
(has extras) }
07-14 21:42:54.551: DEBUG/SporeAPI(713):
try setResult(RESULT_CANCELED);
add
if (resultCode==RESULT_OK) {
.
}
in SporeAPI.onActivityResult
On 7月15日, 上午5時46分, schwiz sch...@gmail.com wrote:
ahh ok yeah it is showing an uncaught exception for not returning the
result along with more errors
07-14 21:42:54.501:
6 matches
Mail list logo