Button to open the browser to the app

Im trying to do a specific button to open a page in the browser but I can t understand!

The code below is what I have in the webworks app.  I also have it on my spreadsheet .xml

So, how could I do this job?

the way it is right now works but opens the page when I click on the page where the "share on Twitter" button acctual is if he wont let me actually click - if that makes sense.

Thank you in advance.



<---this is the button i want to put it on---->

https://twitter.com/intent/tweet?button_hashtag=GetFit&text=I'm getting #swole with #GetFit download it now at the #AppStore #TeamBlackBerry" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tweet','','images/tweetbutton1hover.png',1)">

Hey sergiosandoval,

chances are you are facing problems with URL encoding / decoding - I assume you are using the query to dictate what the user wants to tweet? You should try to do the following URL instead:

https://twitter.com/intent/tweet?button_hashtag=GetFit&text=I'm%20getting%20%23swole%20with%20%23Get...

Note the url is now coded using additional characters - this helps the solidarity all your text browser and treat it as expected.

You can accomplish this using encodeURIComponent - here is a link with more details:

http://www.w3schools.com/jsref/jsref_encodeuricomponent.asp

I hope this helps - good luck!

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • I'm getting messagage 'Thunderbird has stopped working ".

    This message came whenever I opened it and tried to use Thunderbird today, it's driving me crazy. Also, it is not the first time that this has happened

  • Tecra 550cdt enabling the DMA mode

    Hello, I have a 550Cdt Tecra using windows 98se, I would activate the DMA mode for my hard disk drive, if enable DMA, after windows restarts, it stops showing the windows startup logo. I have to stop the laptop with the power button. In this case, I

  • My windows xp does not connect to the internet using the host card

    I recently reinstalled windows xp, the windows disk. When I plugged my homeplug (Edimax HP-2003AV), that it does not record that I have nothing plugged, it is an old computer, but still works very well, please help with this!

  • PowerEdge T610 Driver built-in Windows Server R2 2012 - Matrox graphics card?

    Hi, so I just upgraded our t610 server to windows server 2012 r2, but unfortunately I ran into a problem where the default driver for the graphics card is "Microsoft Basic Display Adapter."  I did some research and discovered that the graphic chipset

  • RIM please give users the ability to edit comments

    It is difficult enough going through and sometimes people leave bad reviews simply because they have not read the instructions on how to launch the product. In most cases like this, they contact the developer and finally get the product to work but a