Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sachin.singh

macrumors newbie
Original poster
Oct 19, 2008
17
0
hello...

i hav a problem using popen() command in iphone programming....:confused:

Is it possible to open an MAIL application using popen() command in iphone development....If yes thn PLEASE help me for the needfull...

Hope for anybody's reply soon...
PLEASE its urgent coz i'm blocked up for this query since last 4dayzz....:(

Thnks a lot...
sachin :apple:
 
Please be more especific

Hi.

Could you be more specific? What do you mean with "a MAIL application"? and popen? if the problem is UNIX comands, maybe you can use NSTask.
But, still I don't think this is the problem right? :confused:
 
I very much doubt that this will work on the iPhone, and even if it does it will not be accepted by Apple into the app store. The SDK agreement is exceptionally clear on the use of external binaries. I suggest you review the agreement carefully, especially section 3.3.2 which states:

"An Application may not itself install or launch other executable code by any means"...
 
hey thanks...nacho n robbiedencun for ur reply..:)

hey...ma problem is .."I want to open any application or an MAIL application in iphone....so wat shell command can i prefer...if its POPEN command thn can u'al help me with some sample code...:apple:

thank u...
sachin..
 
Ass Robbie said

I think Robbie is right,
Third parties apps cannot access other applications rather than itself.
Even tough you use UNIX commands, you probable will not have enough rights to access others apps.
Maybe in jail braked ones you can achieve it but it will be only for you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.