custom iPhone MobileConfig file - iphone

I need to help my iPhone users to configure my application which is very complex URLs that they need to insert. so I made this available through the settings App.
Can I also give them MobileConfig file to help them just run it on the iPhone from Safari to configure the APP?
If the answer is Yes how can I do that?

You can't use config profiles to configure 3rd party apps.
Configuration profiles are for configuration of a device and some system apps only.
Did you considering exposing some simple URL which will contain all complex configurations and your app downloading these complex configurations from this URL?

Related

Access files of one Application from other application in ios

Can we have shared storage in iPhone which is accessible to other ios apps?
I am working on one ios app which downloads updated files from server. And there will be some other application which uses those files. So for that I want to save downloaded files on particular location. So that I can access those files from other application.
So the flow will be like this,
Application1, which will download files from server.
And
Application2 or Application3..... will use those files.
Do we have such type of shared location in iOS. Is it possible in iOS?
Thank you in advance.
No. Its not possible as your application will be in sandbox mode.
All applications are sandboxed as the other answers have said.
However, if you own both apps, or you know the developer of the other app, you could always use some sort of cloud storage, but that may defeat the point of you asking this question
You can't "share" files between in iOS, because all apps are sandboxed and can't access other files besides its own files with the public APIs.
Maybe you could combine the functionality of all the separate apps into a single app. Have each one be a module accessible from a master menu.
Read Apple Doc File System Basics

Phonegap: Can iPhone web app access/check for wifi connections

I have tried looking for some answers but could not get anything concrete from the other questions in here.
I am looking for an answer to these two questions:
Using PhoneGap, if I create an iPhone web app, can I use it as
plain web app (i.e. without using iTunes to deploy it)? Just via a
web url?
Using PhoneGap, can an iPhone web app check for wifi
connectivity? i.e. If wifi/3g is available, if wifi is available,
can it scan for ssids.
Thanks for any help in advance.
You can create host the web app on your own server (or local). Then it is accessible via web url. If you want to use it as a normal app (there are differences - phonegap uses few native plugins for better experience), then you must have a developer license from apple and then deploy it to your device. Otherwise you can only use the simulator. You can also use Safari + USB to debug your app using the browser.
It is possible but limited. Only certain functionalities are available. Check out the following plugin for cordova (phonegap):
cordova-plugin-wifi
Good luck!

How can two iPhone applications share the same settings?

Can two different iPhone applications share the same settings? I'm releasing two iPhone products, one that requires the user to login to use, the other that is free and can be used without a login. However, the second free application could have some enhancements that we could give if the user were logged in. Would it be possible to let a user who has both apps installed use the same settings module for the username/password we store on the device?
I don't think this is possible. I believe that each Settings module that is related to your app ID, which will be different for each app. It would be a security risk if one application could access another's settings.
I think the best solution is to use some sort of web service to store/retrieve the settings. Or you could use a custom URL scheme to pass data between the applications if you don't want to use a web service.
Natively I dont think its possible. But interfacing with an Internet Web Service, you could do it.

iPhone - Open Application from Web Page

This sounds odd. In fact, it sounds like a security risk to me. However, I would swear that I have seen web pages that you can click a link on and it opens the app store on the iPhone.
My question is, is it possible to launch any application from through a web page? Can parameters be passed to the application? I do not need technical details. I'm just curious if it is possible.
Thank you,
Yes. From Control and configuration of applications through Info.plist - Invoking your iPhone application by URL:
Invoking your iPhone application by URL
The CFBundleURLTypes key allows you to specify URL schemes that will cause the iPhone to switch to your application. No, you can't override the schemes for the built-in applications.
If your application is launched using a URL type named scheme, then you can also provide a different startup image "Default-scheme.png" instead of the regular "Default.png".
See iPhone file extension app association for more details.

Is the list of Apps on my iphone available for reuse in a different display?

I have an idea to use the apps on my iphone as a list for a different way to launch the program. But I have no idea if I can see the apps in something I can display? Is this possible? If it is possible, can I launch the listed app from my app? What do I need to access to get this done?
There is no way using the official SDK to enumerate the list of applications the user has installed.
Unofficially, with a jailbroken phone you can check the contents of the applications folder.
It is true there is no specific way to do this with the normal SDK. However if specific apps you had used URL schemes you can invoke them programatically. Google maps, mail, safari, sms have it. Any application can choose to implement their own custom one. This obviously doesn't help with any random app but if you have specific apps your targeting you might be able to integrate that way.