I want to display some alert on display and for that i wish to turn on the display if its off , usually when BB is locked, is there any way to achieve this?
Your application will need to request, and be granted PERMISSION_DISPLAY_LOCKED (from the class ApplicationPermissions) which is available starting in OS 5.0
Related
I'm managing few iOS devices, so I want to create a app to add security feature like collecting the user information from the user like UserID to track which user is currently using the device .
Desired output:
So I want to trigger my app as soon as a user unlock the device and without giving the details the user should not able to access the home screen of the Device.
Is it possible to do it with any framework in iOS without Jailbreak ?
No its not possible. iOS does not allows application to manage device with it self. Application should work in the pre given area which is called Sandbox. So its not possible to handle the entire device and you can not check it that who is using the device.
This is not possible, you should look to Mobile Device Management solutions and rather go that route. You could also look at apple's business solutions.
I would like to hand out iPhones as navigation/information devices to users at an event but users should only be able to see and use the event app and not close it or tamper with phone settings etc.
Is it possible to make an iPhone app not closable by the user and put it into a sort of 'presentation mode'?
Yes its possible by using guid access in your iphone,
Here is image how to set it.
So without your permission user cannot close apps.
I am creating an app, which needs to do something when the user presses the power button 5 times.
I figured out that it's difficult to implement in iOS, but I think it's not impossible. How do I listen for power key events, even when the app is running in the background?
Can anyone help me to find solution?
you can tap a power key once and also you cannot detect the event from your application, this is not possible in iOS as far now, better try a different way to send alert with in your app, set some conditions with in your app and then send a alert based on those conditions if satisfied, I think this would be better,
Somehow ,If you try to override the existing functionality of the power key, apple will reject your app I think so,
You can't directly get the power button events. But there are notifications which you can count like UIApplicationProtectedDataWillBecomeUnavailable or UIApplicationWillResignActiveNotification. Or just register for all low level notifications with CFNotificationCenter and see if you find something fitting like com.apple.springboard.lockstate.
I don't think you can override system level actions like holding the power button, pressing the home button, overriding the mute sound switch within your own app. iOS system doesn't exactly behave like an normal computer OS, it's to much more limited.
Apple is not allowing you to use hardware components completely. They have added some restrictions. They provided the method in the app delegate i.e. applicationDidEnterBackground can catch the home button press .Also they has provided the the API's to access the camera,bluetooth etc .At least this much of API's I know which provided by apple publicly to access the hardware. You cannot access the other hardware elements in your application which not provided publicly by apple .If you are able to do this by any way then also your application will not approved by apple .
Hey guys I'm curious to see if there is a way to access or find out when an app uses gps. To be specific, in the new iMessage update there is a way to always send your location to someone Indefinitely but you can never know when that person is actually looking at your location. So is there any information about this in core location or is it not possible to obtain?
In other words: Can I see when my stalker is looking at my location?
You can enable in the ios settings menu that whenever an (any) application uses GPS, a violett arrow symbol is displayed in the status bar of the phone (top most, near the battery symbol) Enable via Settings->DataProtection->LocationServices->Sytem Services->Enable Status Bar Symbol
Further there is a menu "Settings->DataProtection->LocationServices"
which list all Apps that use GPS. You can disable the location service for each app separately. Look if you find there under "System services" an entry for iMessage.
Of course you cannot see whether a person on a remote device reads your messages, if that App does not support a "messages was read" feature.
So you can try to disab
I'm looking for solution that will enable my app to get an event from the server while the phone is in lock mode, when the event occurs the app will open the camera and take a picture.
while the phone remains locked and send the picture to the server in the back ground.
is it possible?
will apple store allow this kind of application?
Clarification:: the idea is not to take a picture without the user knowledge, the goal is to have him take a quick picture without having to open the phone & the application in order for that picture to be taken. If there is a solution that allows me to add a button like the camera build in next to the lock that's a great solution too.
Short answers
No,
No.
This is a huge violation of privacy, and has a great potential for abuse, therefore, there is no way to sneak pictures away from the user's device on demand.
You could send a push notification and ask a user to take a photo and upload it to your server on the other hand.