Where Do You Save User Prefs?
Guglielmo Braguglia
guglielmo at braguglia.ch
Sun May 27 07:12:58 EDT 2012
... Sorry ... obviously there are NOT // ... it's because I wrote in
Thunderbird using the Italic char format and ... the plain text
formatting of Italic is // ... :-)
specialFolderPath("Home") & "/Library/Application Support/MyAppBundleID/"
Guglielmo
On 27.05.2012 11:29, Guglielmo Braguglia wrote:
> Hi Igor,
> using the /MyAppBundleID /it's a good practice, and suggested by
> Apple, also on Mac OSX, so, the correct path for your point 1. is :
>
> 1) *MacOS X*
> Prefs Location: specialFolderPath("Home") & "/Library/Application
> Support//MyAppBundleID //"
> Prefs Name: anything you wish
>
>
> See Table 1-3, paragraph "The Library Directory Stores App-Specific
> Files", on :
> http://developer.apple.com/library/mac/documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html
>
> *Application Support* : Use this directory to store all app data
> files except those associated with the user's documents. For example,
> you might use this directory to store app-created data files,
> configuration files, templates, or other fixed or modifiable resources
> that are managed by the app. An app might use this directory to store
> a modifiable copy of resources contained initially in the app's
> bundle. A game might use this directory to store new levels purchased
> by the user and downloaded from a server.
> All content in this directory should be placed in a custom
> subdirectory whose name is that of your app's_bundle identifier_ or
> your company.
> In iOS, the contents of this directory are backed up by iTunes.
>
>
> Guglielmo
>
>
>
> On 27.05.2012 10:08, Igor de Oliveira Couto wrote:
>> Re-reading the answers here and the information in the dictionary for
>> the 'specialFolderPath' - and after some more Googling - I have
>> gathered the following info, which may or may not be correct:
>>
>> 1) MacOS X
>> Prefs Location: specialFolderPath("Home")& "/Library/Application
>> Support/MyApp/"
>> Prefs Name: anything you wish
>>
>> 2) Windows
>> Prefs Location: specialFolderPath("0x001a")& "/MyApp/"
>> Prefs Name: anything you wish
>>
>> 3) Linux
>> Prefs Location: there does not seem to be a 'standard', but several
>> programs seem to take the approach of creating a hidden folder in the
>> user's home directory - specialFolderPath("Home")& "/.myapp/"
>> Prefs Name: anything you wish
>>
>> 4) iOS
>> Prefs Location: specialFolderPath("library")& "/MyAppBundleID/" -
>> Apple requires you to use the application's bundle id
>> Prefs Name: anything you wish
>>
>> 5) Android
>> Prefs Location: ???
>> Prefs Name: ???
>>
>> If anybody could confirm/correct the information above, I would be
>> most grateful.
>>
>> Kind regards to all,
>>
>> --
>> Igor Couto
>> Sydney, Australia
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list