×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    getURL and SMS issue passing 2 variables

    Ciao,

    I am facing an issue with getURL and SMS on FL3 code on a S^3 (support FL3 and 4) device.
    I want to pass 2 variable values and send and SMS but the second variable is not passed.
    Here is the code within a button:

    getURL("sms:?body=http://myserver/?a="+a+"&b="+b);

    so the variable and value of b is ignored and I am getting an SMS with http://myserver/?a=a.
    I tried to use escape but it's not working. Also tried to pass the & as %26, no luck.

    Also tried to test the same without SMS but just opening the browser and it works

    getURL("http://myserver/?a="+a+"&b="+b);

    Any suggestions?

    Alessandro

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    Re: getURL and SMS issue passing 2 variables

    Ciao,

    I resolved this issue with a workaround which works only for a server side solution.
    Created the following call by replacing the & with a = character:

    getURL("sms:?body=http://myserver/?a="+a+"=b="+b);

    and parsed the resulting string on the server side. Not a perfect solution but works fine for my problem.

    Alessandro

Similar Threads

  1. getUrl + SMS does not work in Nokia Messaging devices?
    By jantsuh in forum [Archived] Flash Lite on Nokia Devices
    Replies: 17
    Last Post: 2010-10-15, 10:04
  2. SMS by GetURL and Messaging
    By itdanny33 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-09-26, 08:05
  3. Passing variables from one class to another
    By GLGunblade in forum Mobile Java General
    Replies: 1
    Last Post: 2007-09-21, 07:19
  4. J2ME - passing variables to server-side script
    By artemg in forum Mobile Java General
    Replies: 5
    Last Post: 2004-01-08, 01:23
  5. Passing Variables between decks - not with ASP
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2002-05-16, 01:37

Posting Permissions

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