I am trying to create an app that pops up like a second password screen every time the user unlocks the phone.
User unlocks phone -> custom security app opens -> custom security app closes and pushes user to home screen
Is this possible to capture the phone unlock event and open your app?
Thanks!
Definitely not. Third-party apps don’t get that amount of control over the system.
Related
I want to control the iphone device programmatically.
I mean,when user want to switch off the phone one alert message will come.it will
ask the password then only the operation will work.
when user delete the app from the his/her device one alert will come and ask the
password for the security reasons.
what type of the frame works required for handling the power button as well as the app
control on the device.
I mean,when user want to switch off the phone one alert message will come.it will ask the password then only the operation will work.
You can't
when user delete the app from the his/her device one alert will come and ask the password for the security reasons.
You can't.
But you could use Apple's Configurator to configure iOS devices with profiles of you company. This way the user won't be able to uninstall the app.
The Apple configurator can do lots of other things as well. Think about setting up restrictions, accounts, password, security and other things on the device.
There are even Over The Air Updates possible of you use a Mobile Device Management Server or Service
I am building an app that uses Game Center. To test I was using my iPhone and the simulator to log in with different accounts. I now want to use my wife's phone to test with me and when I open the app it's not logging into the sandbox.
It shows the game enter modal logged in but play now and invite buttons are greyed out and it says unauthenticated user.
How do I make my wife's iphone use Game Center sandbox.
Thanks
As a developer, you are required to create a separate Game Center account for Sandbox. At any given time, you must choose whether to log into Sandbox for testing, or into the live environment. Start by launching the Game Center app and logging out the currently authenticated player. After this, run your game or another Game Center-enabled game. Depending on how that app is distributed, you enter different credentials. If that app is provisioned for development, enter your test account information (logging you into the Sandbox). Otherwise, enter your live account information (logging you into the live environment.
Just log out of Game Center and launch your app. Then you enter you log into your test account.
From Apple.
Launch Gamecenter -> Me -> Tap on Account: -> Sign Out. Sign in with your sandbox account.
So it ended up being that I wasn't opening the modal sandbox sign in from my app. I made a code change that upgraded the call to display the login to support IOS6. The previous method I was using was deprecated. Therefore the new code I put in forgot to present the modal for sign in which left me hanging when I went into the app.
My app needs to perform a calculation every time the device unlocks. It's an app which the user launches intentionally and then enters background, similar like a pasteboard manager.
How can it receive a notification when the device unlocks while the app is in the background? Is this possible? The calculation is not heavy. It just reads and writes a value from/to NSUserDefaults.
With the current SDK and public API there is no way to tell when the user unlocks the screen, even if your app is in the background...
I wish to send a background notification to an iphone or android locked phone. The notification will start the application. Is this possible, as I have been told by someone that it can't be done as a message dialog pops up which requires the user to press OK first?
iOS cannot launch third-party applications without the user's approval. I can't say what Android will do.
I read more post regarding iPhone notification, and I have a simple question....
Where a device receive a notification (so I can display a message contains the message notificatio ti advise the user).
I understand that message is managed by the application.
The question is:
...when my application receive the notification is it possible to start it?
Or in other world the application became run when receive the notification or it simple became active only to manage the message and at the end of notification management the app return to sleep?
The main application windows is opened on the device ?
Many thanks in advance
Lukenukem
Ciao
With push notifications you can prompt the user to take action, which if they agree (by tapping the "open application" button), will open the application automatically.
The caveat is that you can't do this without the users consent. They have to tap the open application button for your app to open. There's no way to open the app automatically without the user's action, nor is there any way to open, perform the required actions and quit the app automatically.
The apps dont "sleep" they are either running or not (till 4.0 OS that is), im assuming you are asking about push notification, what happens when a user receives a notification is that they can choose to close it, or go ahead and "view" the notification which can cause the app to open automatically...thats as far is it goes in the current system i blive...