I have a iphone application developed, and now i want to replicate the same iphone application on blackberry.
In the existing application iphone application, we have the plist file, where we maintain certain values like server address, map url etc. All default values are saved in plist.
Please can you give me an alternative similar to plist in blackberry.
I usually just parse it like xml and use what the iPhone guys give me in .plist format :)
Related
{to the point}
So I want to create some Quiz Game on Unity that the questions data using external file (in this case I using JSON). I want to keep my questions data can access/edit by myself separately. And then I just have to copy-paste it manually to persistentDataPath in iOS but I don't know how to do it. Anyone can help me?
Note : I don't wanna use any script/code to do it, just manually Copy-Paste it...\
thank you,
You need to set "Application Supports iTunes file sharing" key in the info plist of your app in Xcode.
...and then you can access persistentDataPath through iTunes.
(In the example screenshot below I copied midi.csv from my MacBook to excel in my iPad)
To make it more comfy add a PostProcessBuild-script like this one (gist).
It applies the setting after each build, so no manual steps.
I have a requirement to download a pdf file from my app and to store it either in iBooks or in iPhone. I don't know which one is the best approach. Could someone please suggest the best option and also I need to open it to the user.
You can store it in iPhone and then display it in UIWebView if you wan to display in application.
I want to access other apps through custom URLs. And for that I need to add the custom URLs to the info.plist in real time through my app. So how can I add the new URLs programatically ?
And are there any restrictions in terms of iOS versions supporting this updation ?
The app's bundle is read-only when it's installed on a device.
You can copy the plist file to a writable area, like your document directory, and modify that but I don't know what good it would do you.
If you're trying to save these URLs for later use, NSUserDefaults is a better idea.
I am writing multiple apps for iPad. All these apps have some settings in common. I therefore would like to have one app that handles the settings and write them to a file - the respective apps will then retrieve their settings from this single file. Is there a way to access one file from different apps on iOS?
The iOS Keychain may help -> http://shaune.com.au/ios-keychain-sharing-data-between-apps/ though a Google search for FireMonkey APIs for the keychain has proven fruitless. At least it could be a starting point.
I have recently bought a perfect file manager app for my iPad. Everything in this app is great, besides that it cannot handle some specific file types.
So for example if I try to download the file in mobile safari and try to save it into the file manager (for further upload to dropbox, email and so on), I cannot do this because the app is not listed in the "open In" list.
The question is, how to associate this app with this specific file types? I've searched google and found out that app's file association information is stored in Info.plist file in the CFBundleDocumentTypes section.
So I just modified Info.plist but id didn't help. I also found the cracked version of this app and placed info.plist into the IPA file, reinstalled the app on the iPad and it also didn't help.
Any suggestions how to solve the problem?
You cannot just add the file types. The app also has to be coded to accept the request to open the file.
Try contacting the developer and ask for them to add this feature.
The problem is probably not the APP but a limitation on IOS: it is a random selection and only shows 10. I don't know if it randomly selects based on the ones you use most or what. You cannot change this other than to delete apps you don't use as often. But having said this, the app must also support the extension of the document you are trying to send: not just as a document it stores, but as a document it accepts as a transfer from another app. You can try to convert it first into a PDF and then open, if that's possible. Hope this helps.