??How to make an app that links to a website??

Discussion in 'Jiggy Runtime Development' started by Brill301, Jun 15, 2008.

  1. Brill301 Member

    Member Since:
    Dec 19, 2007
    Message Count:
    431
    Device:
    iPhone 4 (Black)
    I have been looking around for a tutorial to making a very simple application on the iphone, just clicking a picture [or text] and when you click it it opens up the desired webpage in safari, can any1 help me out? Thanks:)
  2. plokiju New Member

    Member Since:
    Nov 5, 2007
    Message Count:
    538
    use the openURL command
  3. micaheljcaboose Well-Known Member

    Member Since:
    Jan 20, 2008
    Message Count:
    1,861
    use the openurl command.
    Code:
    void openURL(	string 	url 	,
    		bool 	openAsPanel	)
    Sample:
    Code:
    {openURL( "http://google.com" , true);}
  4. Brill301 Member

    Member Since:
    Dec 19, 2007
    Message Count:
    431
    Device:
    iPhone 4 (Black)
    thanks, byt..

    Thanks,but.... Can you please expand (noob at this) what would you put to link somthing to google.com, but the texts says "search" or what ever..
  5. Brill301 Member

    Member Since:
    Dec 19, 2007
    Message Count:
    431
    Device:
    iPhone 4 (Black)

    ]{openURL( "http://google.com" , true) <--- opens up the app as if it was a straight up link, how would I make the app have a list of the links?
  6. Gman4354 Member

    Member Since:
    May 19, 2008
    Message Count:
    723
    Device:
    iPhone 4 (Black)
    goto:

    this will do everything for you


    http://www.jonsthoughtsoneverything.com/iphone_apper/

    after you finish SSH into ipod and drag the downloaded app into the applications folder then open your apps folder and change all the file permissions to 775 or 755 then respring launch the app and TADA!!!!! :D

    LOL
  7. Brill301 Member

    Member Since:
    Dec 19, 2007
    Message Count:
    431
    Device:
    iPhone 4 (Black)

    Thanks but that is not what I am wanting to do, I would like an app that when you open it up there is a list of links that when you click them they then open up in safari, about 20 links inside of the app, does any1 know how to do that? (I know some people do)
  8. Tyr0 New Member

    Member Since:
    Dec 17, 2007
    Message Count:
    535
    Device:
    iPhone 3GS (White)

    Thx soooo much, ive been trying to remember which command it was, if there was rep, you would have more. THX -Tyr0
  9. nadnerb33 Member

    Member Since:
    Mar 29, 2008
    Message Count:
    78
    Device:
    iPhone 4 (Black)
    Why not just use bookmarks in Safari?
  10. Brill301 Member

    Member Since:
    Dec 19, 2007
    Message Count:
    431
    Device:
    iPhone 4 (Black)
    Ha

    I don't think any1 understands, I am trying to make an app that opens up, and when it opens up there are links, several of them, you can click any of them, then they'll open up in safari.