Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-13-2008, 04:50 PM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Location: Onomatopoeia, Lugubriousylvania
Posts: 225
Default How to show "Turn off Airplane Mode..." network dialog?

When the user turns Airplane Mode on, several of the builtin applications (Stocks, Safari, Weather) display a dialog that says "Turn off Airplane Mode or use Wi-Fi to access data". This dialog has two buttons: OK and Settings (which allows the user to jump straight to Settings).

Does anyone know how to display this same dialog from our applications?
bonehead is offline   Reply With Quote
Old 05-13-2008, 09:45 PM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 298
Default Re: How to show "Turn off Airplane Mode..." network dialog?

My wild guess is this would be triggered automatically by the OS, hopefully.
javid.alimohideen is offline   Reply With Quote
Old 05-14-2008, 03:26 AM   #3 (permalink)
New Member
 
Join Date: Apr 2008
Location: Onomatopoeia, Lugubriousylvania
Posts: 225
Default Re: How to show "Turn off Airplane Mode..." network dialog?

Quote:
Originally Posted by javid.alimohideen
My wild guess is this would be triggered automatically by the OS, hopefully.
Yeah I would have expected that too-- unfortunately, it is not. The first notice your app gets that the network isn't available is a simple NSError-- and then I guess it's up to you to display the appropriate error dialog.
bonehead is offline   Reply With Quote
Old 10-03-2008, 12:09 PM   #4 (permalink)
Registered Member
 
Join Date: Sep 2008
Location: San Diego
Posts: 16
Exclamation

I need this also.

Several of the 3rd Party apps show what looks like (and functionally) the same popup.

Is this a built-in item ...?? Does anyone know??


And, if it is not, how do you bring up the iPhone Settings App so I can implement my own?
mikeln is offline   Reply With Quote
Old 12-02-2008, 08:43 PM   #5 (permalink)
Registered Member
 
Join Date: Sep 2008
Location: San Diego
Posts: 16
Default

Found it....finally...

try running the SeismicXML example app... in airplane mode. You'll get the alert the first time you start it. Hint: it's a property list thing.
mikeln is offline   Reply With Quote
Old 10-11-2009, 08:55 AM   #6 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 13
Default

Regarding this question, is it possible to access the airplane switch from an application?
eggapps is offline   Reply With Quote
Old 11-26-2009, 04:39 AM   #7 (permalink)
Vishal
 
Join Date: Feb 2009
Location: Pune, India
Posts: 76
Default

Quote:
Originally Posted by eggapps View Post
Regarding this question, is it possible to access the airplane switch from an application?
Hi

I am also looking for this, whether we can switch Off/ON airplane mode from the application. Or whether we can monitor the status of Airplane mode.

Vishal N
vishal is offline   Reply With Quote
Old 01-18-2010, 08:46 PM   #8 (permalink)
KZS
Registered Member
 
Join Date: Jan 2009
Location: Ontario, Canada
Posts: 55
Default

Quote:
Originally Posted by vishal View Post
Hi
I am also looking for this, whether we can switch Off/ON airplane mode from the application. Or whether we can monitor the status of Airplane mode.
Vishal N
Did you find out how to do this? I am guessing the airplane mode, bluetooth, wifi, etc settings are private APIs.

Can anyone confirm this? Even if they are private, if anyone knows and would like to share that would be awesome? I would love to make a quick and dirty app to control these basic settings so I don't have to cycle through 3 screens to toggle bluetooth.
KZS is offline   Reply With Quote
Old 01-18-2010, 11:37 PM   #9 (permalink)
Vishal
 
Join Date: Feb 2009
Location: Pune, India
Posts: 76
Default

Quote:
Originally Posted by KZS View Post
Did you find out how to do this? I am guessing the airplane mode, bluetooth, wifi, etc settings are private APIs.

Can anyone confirm this? Even if they are private, if anyone knows and would like to share that would be awesome? I would love to make a quick and dirty app to control these basic settings so I don't have to cycle through 3 screens to toggle bluetooth.
Hi,

Yes these are private framework's API and I don't know those.

Vishal N
vishal is offline   Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nicely centered "Loading" spinner (activity indicator) ? bonehead iPhone SDK Development 4 09-01-2009 03:32 PM
Settings "Clear History" button brianr iPhone SDK Development 8 11-19-2008 01:54 PM
CFNetwork sendDidReceiveDataCallback autorelease "leak" bonehead iPhone SDK Development 3 06-04-2008 02:45 PM
"Tab bars from scratch in Beta 4" Tutorial question raptorlol iPhone SDK Development 6 05-26-2008 02:39 PM
Problem with "Tab bars with Interface Builder" tutorial christian iPhone SDK Development 0 04-21-2008 11:50 AM


» Advertisements
» Online Users: 231
15 members and 216 guests
ADY, AragornSG, Dani77, Dattee, Duncan C, fkmtc, HDshot, HemiMG, Promo Dispenser, Punkjumper, Rudy, sacha1996, sneaky, spiderguy84, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,231
Posts: 380,768
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0