Application working fine in SDK but crashinh in g-phone

Put your problem here if it does not fit any of the other categories.

Application working fine in SDK but crashinh in g-phone

Postby parimalraj2000 » Fri Jan 23, 2009 10:12 am

Hello All,
I have developed one applciation which is working fine in SDK but whenever I have tried in actual phone, the code is crashing.
The code is to launch the SMS application.

The code is like below:
Intent sendIntent = new Intent(Intent.ACTION_VIEW);

sendIntent.setType("vnd.android-dir/mms-sms");
sendIntent.putExtra("sms_body", "This is a test text message!!! ");
sendIntent.putExtra("address", Phone_No );
sendIntent.putExtra("subject", "Test Message");

startActivity(sendIntent);


Please help me to find out the problem.
Regards,
Parimal
parimalraj2000
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Nov 04, 2008 10:01 am

Top

Postby Quetzalcoatl » Fri Jan 23, 2009 10:13 am

Have you tried debugging it on the actual device? What errors does it give?
Image
Quetzalcoatl
Senior Developer
Senior Developer
 
Posts: 129
Joined: Sat Oct 18, 2008 8:21 pm
Location: near Manchester, UK

Postby parimalraj2000 » Fri Jan 23, 2009 10:24 am

No I have not tried debugging it. But when the sms application should be launched, it's crashing.
But in SDK it's running well.

Regards,
Parimal
parimalraj2000
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Nov 04, 2008 10:01 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 19 guests