Is is possible for a non-jailbroken app to detect Auto-Screenlock settings (such as if users disabled/enabled auto-screenlock in their device general settings)?
If so, how to implement it?
EDIT:
For business solution: http://www.apple.com/iphone/business/integration/mdm/
As an alternative, it seems possible to set device configurations server-side using MDM.
Is is possible for a non-jailbroken app to detect Auto-Screenlock settings (such as if users disabled/enabled auto-screenlock in their device general settings)?
No, that's not possible.
I don't know whether a jailbroken phone could do it, but a non-jailbroken phone definitely can't.
As a workaround, you could possibly implement your own timer that removes the confidential information after a certain time?
Related
Is there a way I could make an application to add a button to the lock screen (enter your password)? For iOS/iPhone devices?
Is there a way I could make an application to add a button to the lock screen
No, I don't believe that there's a public API for that sort of thing. Apple can obviously do it, since the iPad lock screen has a button that shows you a photo gallery. But that doesn't mean that third party applications have that capability, and I'd be very surprised if you could pull that off without jailbreaking your device.
No, this is outside of your applications sandbox. Unless you jailbreak the device, there is no way to run outside the application sandbox(with minor exceptions such as playing music).
You can't. This is against the sandbox policy.
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
but there are apps in cydia that do this kind of thing
To be simple, there is no such API to make customizations on the iOS itself. Neither does Apple allow it.
I need to be able to modify the WiFi settings on a iOS device (iPhone and iPad), most of the libraries are found so far via google search are private libs... Apple don't like this, does the SDK allow this in another way?
Thanks
Without jail breaking the device, you cannot modify the Wi-Fi settings. This is because all iOS applications are sandboxed, meaning they only have access to the data Apple allow deems necessary to the functioning of the app. For iOS apps, the documents directory constitutes the application's sandbox and the application cannot create or modify files or directories outside of these directories. So even if you found a way to modify Wi-Fi settings, your app would be rejected by Apple. Hope this helps!
Apple does not expose any public APIs that allow you to do this.
I'm interested in a way to restrict access to the build-in iOS applications(Settings,Calendar,Contacts,etc).
I've seen a lot of solutions but i don't want to jailbreak my devices.Also, the "Restrictions" setting isn't enought since it only blocks a few apps.
Could be anything from removing the icon or setting a passcode to access it.
Thanks,
Cearnau Dan
You can set a passcode to access the device, but not for individual applications, and there's not built in way to hide icons that I'm aware of. Your only option is to jailbreak it or live with them not being restricted.
Is it possible to anonymously track someone's location via mobile apps?
Assuming, of course, that the user consents and downloads an app that can in the background?
iPhone OS 4 (coming "this summer") will allow you to run your app in the background, I believe that will allow you to keep track of the location.
http://www.apple.com/iphone/preview-iphone-os/
The answer is both yes and no.
Yes, because Apple already supports this for MobileMe accounts, where you can track a registered iPhone through the "Find My iPhone" feature.
No, because you are not able to have an application run in the background on any current versions of the iPhone OS. It is possible that future versions will allow this, but not for any current versions.
So, Yes if you are Apple (which you are probably not) and no for the rest of us.
Claus
I guess the answer is yes, it's possible. Since you can share your location in various forms already, nothing is stopping a service to allow entry to the public.
It is possible to change iPhone settings from an application?
I want to change settings like enable/disable WIFI, enable/disable vibrations, change ring tone, enable/disable bluetooth, call forwarding, mail accounts, etc. I want to be able to change all settings programmatically. I would appreciate some sample code.
Thanks for any help.
You cannot do this unless your application is run on a jailbroken phone.
You can do some of these items programatically on a non-jailbroken phone. Toggling Bluetooth is discussed here, and it's very easy to get working. Programmatically turn on bluetooth in the iphone sdk?
I am not sure about the other items. Of course you cannot submit this code to the app store, but for personal use it can be very handy.