Discussion Board

Results 1 to 10 of 10
  1. #1
    Hi,

    I am currently developing an J2ME application for telephony:
    These are my issues:

    I use plateformRequest Midlet method:

    1) I would like to dial numbers as **21* for forwarding and nokia devices don't seem to allow it : Invalid phone number -26180
    How can I make it run

    2) Each time I use a plateformRequest function, the mobile asks the user to accept or reject it, and I would like to make it transparent if the user download and accept to launch my application. How can I do that? is there any nokia certification process?

    Thank you

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    1) platformRequest implmentation differs a little from phone to phone. In general, the specification does not require that kind of numbers to be supported. Some phones do support them though. Others don't. Nothing you can do about it. Unfortunately

    2) this is related to security domains, protected APIs and API access permissions.
    platformRequest is tied to Application Auto Invocation function group. The default setting for unsigned apps is ask first time (in general, some variations are abound - see here for more details http://wiki.forum.nokia.com/index.ph...curity_Domains)
    (Usually) You can get the always allowed as optional permission when you sign your MIDlet. However the user has to manually change the setting after MIDlet installation.
    Nokia signing is not an option here (in general, that requires Nokia branding)

    Hartti

  3. #3
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    About the 2nd point, my personal experience is that there are a lot of phones on which that popup is not avoidable (signing or not), and others on which you can use a specific permission to remove it..

    Pit

  4. #4
    For the first point is there any other way to activate calls diverting directly from the application?

    As normally it can be made by dialing **21* directly on the phone, I thought plateformrequest will be useful but it doesn't work in all the phones.


    thanks

  5. #5
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Unfortunately no. platformRequest is the only way to make a phone call from a MIDlet.

    Hartti
    Last edited by hartti; 2008-05-15 at 00:04. Reason: typo

  6. #6
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Soon (we hope..) you will have first mobile phones supporting JSR 253, with which you'll be able to manage calls directly from within your applications. Some related threads:

    http://discussion.forum.nokia.com/fo...ad.php?t=82863
    http://discussion.forum.nokia.com/fo...ad.php?t=86116

    Pit

  7. #7
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    jappit, don't hold your breath while waiting (and hoping :-)
    As stated in the threads above, as this JSR is not in the MSA spec, to me it feels unlikely that it will find it's way to phones.

    Hartti

  8. #8
    Registered User shaii's Avatar
    Join Date
    Dec 2004
    Posts
    369
    hartti if i remember correctly i think i heard of a motorola phone already support this jsr.
    (not 100% sure but i think so...)

  9. #9
    hi

    if Plateform Request is the only way, there must be a way to write the numbers in a good way such as Nokia devices could interpret them?

    How can I make a # or a * to be read by the plateformRequest in MIDP2.0 ?

  10. #10
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    shaii, At least Motorola device specs (search devices through Java ME APIs in here http://developer.motorola.com/technologies/) do not include any reference to JSR-253.
    Also someone referred on these boards that A780 should have that API, but I find it highly unlikely given that phone came out well before the spec was finalized.
    But I can be wrong in here :-)

    mocherka, please read my first answer on this thread again. If the Java ME implementation (platformRequest) does not support that, then you are out of luck.

    Hartti

Similar Threads

  1. asynchronus http request and crash in application
    By vinayakak in forum Symbian C++
    Replies: 1
    Last Post: 2008-02-06, 05:39
  2. Plateform Request problem
    By waqas nisar in forum Mobile Java General
    Replies: 1
    Last Post: 2007-02-07, 12:13
  3. HTTP Request Pipelining
    By shashishaw in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-08-25, 16:24
  4. How can i solve this error?
    By symbian-newbie in forum Symbian C++
    Replies: 6
    Last Post: 2006-05-23, 05:33
  5. Getting started with Carbide.vs -- running the app
    By ET3D in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2005-11-23, 17:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved