The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-24-2009, 03:51 PM
What's Jailbreak?
 
Join Date: Jan 2008
Device + Firmware: iPhone 3GS 16 GB Black 3.0
Operating System: Windows XP
Location: Netherlands
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
HELP: webclip without starting safari

Dear members,

Can someone help with the following code:

I want to "program" a code for a webclip so by pushing the webclip it sends a command to my webserver, without starting safari.

The general idea is the a want serveral webclips on my springboard that behave like a AV-remote to control lights and my TV-channels.

All controlled through x10 and i know that there are several apps that can do that but they are not things that i'm looking for.

So if anyone can help me out, i would appriciate!

Excuse my English,

M-jay
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 03-24-2009, 04:14 PM
My iPhone is a Part of Me
 
Join Date: Aug 2008
Device + Firmware: 16GB White iPhone 3G + 3.0b4
Operating System: Windows 7 / Ubuntu 8.10 dual boot
Location: New York
Posts: 678
Thanks: 1
Thanked 45 Times in 35 Posts

The Webclip is a simple icon that launches a URL. You can stick commands in the URL to send to the server but the only thing you are doing is simply putting a URL shortcut on your springboard and the only way to send HTML is with safari.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 03-24-2009, 04:26 PM
What's Jailbreak?
 
Join Date: Jan 2008
Device + Firmware: iPhone 3GS 16 GB Black 3.0
Operating System: Windows XP
Location: Netherlands
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

So there's no way to hide safari?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 03-24-2009, 04:28 PM
cpjr's Avatar
plain jane vanilla (missing 3k posts)
 
Join Date: Jul 2007
Device + Firmware: iPhone 3G[S] White 32GB 3.0 | iPhone 3G White 16GB 2.2.1
Operating System: Alum Macbook 2.4, 4GB Ram, 250GB HDD
Location: ATL
Posts: 7,429
Thanks: 121
Thanked 1,284 Times in 1,138 Posts
Send a message via AIM to cpjr

Your wanting the springboard to become an "app" basically.....instead of opening an app. Which really isnt possible. At least, it hasnt been done by anyone.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 03-24-2009, 04:48 PM
My iPhone is a Part of Me
 
Join Date: Aug 2008
Device + Firmware: 16GB White iPhone 3G + 3.0b4
Operating System: Windows 7 / Ubuntu 8.10 dual boot
Location: New York
Posts: 678
Thanks: 1
Thanked 45 Times in 35 Posts

No way to hide Safari. At least not following the Apple guidelines.

If you took the jailbreak route, you could look at a command line application that would run a URL request.

Example:

You want to active the page: http://site.com:9001/index.php?action=lights_on


You can have your application just run a command line script: wget --spider http://site.com:9001/index.php?action=lights_on

It will pretty much do what you want. Just make sure you require wget with your package. Again, this will only work on a jailbroken phone.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 03-25-2009, 01:00 PM
What's Jailbreak?
 
Join Date: Jan 2008
Device + Firmware: iPhone 3GS 16 GB Black 3.0
Operating System: Windows XP
Location: Netherlands
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Bryan,

Thanks for your solution!

So correct my if i'm wrong, i installed wget then i make a webclip and edit the url-string to: wget http://site.com:9001/index.php?action=lights_on

Thats all?

Mjay
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 03-25-2009, 02:20 PM
My iPhone is a Part of Me
 
Join Date: Aug 2008
Device + Firmware: 16GB White iPhone 3G + 3.0b4
Operating System: Windows 7 / Ubuntu 8.10 dual boot
Location: New York
Posts: 678
Thanks: 1
Thanked 45 Times in 35 Posts

No. My solution does not use the webclip idea. You would need to create a program on the spring board that will pretty much run a shell command.

If you have a jailbroken phone and install wget and mobile terminal, you can run that command from the command line and will touch the page on the website. You will just need to replicate this using an application and the shell so when you launch it, it just runs that command as if you typed it into the terminal.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Tags
remote, webclips, widget, x10

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 10:35 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top