Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-12-2009, 07:59 AM   #12 (permalink)
Shmoopi
Shmoopi Gaming
 
Shmoopi's Avatar
 
Join Date: Jun 2009
Posts: 181
Default

Quote:
Originally Posted by raziiq View Post
Thank you for those commands. Can you please give me an example for this, or can you please forward me a link to some useful examples for this.

For example what if i want to write a cp command, what should be the procedure?
I'm also trying to figure this out. I have a command to reboot the iPhone run at a certain time in my app that works just fine in the simulator but doesn't seem to work on the iPhone itself. Does anyone have any ideas?
Here's the code:
Code:
        NSString *cmd = @"killall SpringBoard";
	system([cmd UTF8String]);
Shmoopi is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,296
Threads: 39,088
Posts: 171,386
Top Poster: smasher (2,575)
Welcome to our newest member, Issue
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:40 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.