Skip to main content
Participating Frequently
April 2, 2012
Answered

Is it possible to get the app settings to be part of the device settings panel (iOS) ?

  • April 2, 2012
  • 3 replies
  • 3640 views

I would like to include some of my app settings outside the actual app to the device settings, so those could be changed without opening the actual app. Is there anyway to accomplish this?

This topic has been closed for replies.
Correct answer r_m_hall

You can add settings dialogs to individual iOS AIR applications that appear in iOS System app. It is exacty the same process as you would for a native Xcode developed iOS app - you simply make a settings.bundle file, and include with the app when its compile via ADT.jar or right from the Flash IDE and then its accessible. You then use AIR's file operations to read the results of interacting with the settings.bundle via its .plist file that is stored/updated.

For reference on creating settings.bundle files:

http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html

Also Julian Dolce wrote a book iOS development with Flash for the Visual Blueprint label - ISBN:978-0-470-62204-9 and he covers this extensivley in several sections starting on page 260, including creating settings.bundles and all their UI options even if you don't have a Mac and xcode to work with (sinces its essentially XML files that make up a settings.bundle file),

Julian also put together some classes for the book, for reading in preferences and that is available on google here:

http://code.google.com/p/as3iphone/source/browse/#svn%2Ftrunk%2FClasses%2Fcom%2Fflashiphonedevelopment%2Fsettings

His book, although almost 2 years old at this point and a bit out of date in places because AIR has evolved so much, is still a fantastic reference filled with nuggets of good information like this. I'd also recommend Veronique Brossier's bool for OReilly - Developing Android Applications with Adobe AIR - if you are doing AIR/Android work too.

Also reference the following other threads:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html

http://forums.adobe.com/thread/928952

Hope this helps!

Rob

3 replies

Zeloslaw
Known Participant
December 12, 2013

How to include with the app when its compile via ADT.jar or right from the Flash IDE and then its accessible?

I'm using Flash Builder (AIR SDK 4.0).

I have tried:

Properties for my app -> Flex Compiler -> Additional compiler arguments:

--source-path=Settings.bundle

I'm doing this correctly? Please help.

r_m_hall
r_m_hallCorrect answer
Inspiring
April 8, 2012

You can add settings dialogs to individual iOS AIR applications that appear in iOS System app. It is exacty the same process as you would for a native Xcode developed iOS app - you simply make a settings.bundle file, and include with the app when its compile via ADT.jar or right from the Flash IDE and then its accessible. You then use AIR's file operations to read the results of interacting with the settings.bundle via its .plist file that is stored/updated.

For reference on creating settings.bundle files:

http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html

Also Julian Dolce wrote a book iOS development with Flash for the Visual Blueprint label - ISBN:978-0-470-62204-9 and he covers this extensivley in several sections starting on page 260, including creating settings.bundles and all their UI options even if you don't have a Mac and xcode to work with (sinces its essentially XML files that make up a settings.bundle file),

Julian also put together some classes for the book, for reading in preferences and that is available on google here:

http://code.google.com/p/as3iphone/source/browse/#svn%2Ftrunk%2FClasses%2Fcom%2Fflashiphonedevelopment%2Fsettings

His book, although almost 2 years old at this point and a bit out of date in places because AIR has evolved so much, is still a fantastic reference filled with nuggets of good information like this. I'd also recommend Veronique Brossier's bool for OReilly - Developing Android Applications with Adobe AIR - if you are doing AIR/Android work too.

Also reference the following other threads:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html

http://forums.adobe.com/thread/928952

Hope this helps!

Rob

kudosssAuthor
Participating Frequently
April 9, 2012

rhall, thanks for the comprehensive reply, the given info is much appreciated!

Inspiring
April 2, 2012

What kind of app settings ?   You could do it via XML.     Just make sure to have a default solution in case the user doesnt have an interenet connection.

kudosssAuthor
Participating Frequently
April 2, 2012

I mean almost any setting that is set on device settings and those settings the app could then read on startup. To make my self clear, when saying "device settings", I mean the settings that can be found behind this icon:

http://assets.ilounge.com/images/uploads/settings.gif

Inspiring
April 2, 2012

Ahhh ....   I havent seen this possibility in AIR yet.