You Are Here:

Community: Developer Discussion Boards

#1 Old 6630 platformRequest(), app hangs. - 2005-10-05, 14:49

Join Date: Oct 2005
Posts: 18
Martin Valfridsson
Offline
Registered User
Hi!
I'm trying to use the platformRequest() method in my Midlet.
The http: and tel: requests works out fine.
But since I (in some sense) letting the user determine the actual request, I have to make the app work (not crash) with any request.

When calling the platformRequest() method with the String "sms:+46...." the application hangs when run on the 6630. No ConnectionNotFoundException is thrown and it seems like the app hangs in the actual calling of the platformRequest().

This is not the case with SonyE 910i and N 9300, they throw the ConnectionNotFoundException and everything works out fine.

Anyone got a clue?

Cheers,
Martin
Reply With Quote

#2 Old Re: 6630 platformRequest(), app hangs. - 2005-10-06, 15:24

Join Date: Oct 2005
Posts: 4
arbhatia
Offline
Registered User
Hi martin,

i think you don't know but platformRequest() is not at all supported
by nokia 6630
Hence, u got the response as no exception thrown

Cheers,
Amulya
Reply With Quote

#3 Old Re: 6630 platformRequest(), app hangs. - 2005-10-06, 15:30

Join Date: Mar 2005
Posts: 499
Location: Paris
njzk2
Offline
Regular Contributor
well, first, platform request is in midp 2 specs, therefore it should be supported (at least the 'tel:' is in the MUST part). second, it appears that it _do_ is supported as martin seems to say that it works with both tel and http, and hangs only with other formats

martin, you can start by putting this into a different thread so it doesn't affect the entire application. then you may try to de-reference the thread after a while, or even try to destroy it (i can't rememeber whether the 6630 is cldc 1.1 or not)
Reply With Quote

#4 Old Re: 6630 platformRequest(), app hangs. - 2005-10-06, 15:57

Join Date: Jun 2005
Posts: 928
dcrocha's Avatar
dcrocha
Offline
Forum Nokia Expert
Martin,

What about the other plaformRequest options? Make a call, open the browser, etc. have you tried those? What is the outcome?

Daniel
Reply With Quote

#5 Old Re: 6630 platformRequest(), app hangs. - 2005-10-06, 17:16

Join Date: Oct 2005
Posts: 18
Martin Valfridsson
Offline
Registered User
First, thanx njzk2 for the reply.

The strange thing is that the midlet does not "hang" when i trying a "phoneto:+46.." it just throws a ConnectionNotFoundException, hence not supported by the device.
Can't one assume that a cnfe is thrown when the action is not supported? That was what I did, anyway.

I'll try putting the request in another thread when we're heading for next realese. That might just do it.

Cheers!
Reply With Quote

#6 Old Re: 6630 platformRequest(), app hangs. - 2005-10-06, 17:21

Join Date: Oct 2005
Posts: 18
Martin Valfridsson
Offline
Registered User
Hi arbhatia!
Using rm-1 6630 v 2.39.129.
platformRequest with requests http:, tel: and even mailto: works fine.

/Martin
Reply With Quote

#7 Old Re: 6630 platformRequest(), app hangs. - 2005-10-06, 17:23

Join Date: Oct 2005
Posts: 18
Martin Valfridsson
Offline
Registered User
Hi dcrocha!
The request http:, tel: and mailto: work like a charm.
/Martin
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia 6630 unable to send out app thru phone vernonloh General Discussion 2 2005-02-28 01:44
App crash problem - how to figure out why? neomedia General Symbian C++ 1 2005-02-07 17:22
Specific 6630 VM version hangs with our apps reynders Mobile Java General 3 2005-01-20 12:46
Dialog's clipping area (again). Nokia experts, please help synov Symbian User Interface 0 2004-06-26 15:35
Launching an app from pJava.. krajag PersonalJava 0 2002-10-10 20:57

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia