Can you modify the iphone password screen? - iphone

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.

Related

Iphone Lock Screen

friends, I am new to Iphone development, I am creating a simple analog clock, infact I have already created one ( i am basically an Android Developer - created same as widget for android too), Iphone does not seem to support widgets, but I was wondering if it is possible to create a lock screen app or something (i.e. when screen locks iphone shows a clock) is it possible that my clock replace the iphone one, any ideas , thanks in advance
It is impossible to replace the lock screen of iOS devices with a custom one. iOS apps are not allowed to "lock" the system by any means. Can't avoid the user pressing the home button.
No it is not possible. There is no public API for the lock screen.
Although you may be able to find a way to accomplish your goal in development, it will almost assuredly be rejected by Apple. Here is an excerpt from the App Store Review Guidelines
10.4 Apps that create alternate desktop/home screen environments or simulate multi-app widget experiences will be rejected
It is 100% possible but not approved by Apple. You can develop an app but will never be part of the app store... You can however use it for personal use or share it through a Cydia repo (jailbroken devices). But it is possible.
Not sure with all of you, although i agree a long time ago.. I Just browsing the app store and found an application that can change the way user unlock the iphone after it lock.. Here's the app "Slide your phone"

App should launch on it's own after hitting the home button to pull the phone out of sleep mode

We have built an Cydia app for jailbroken iPhones. Now my client wants the app to launch on it's own after the user hits the home button to pull the phone out of sleep mode. How can I accomplish this?
This would require you to redefine the functionality of the home button, or at the very least add functionality to, which Apple does not allow. It is possible, but it will get rejected from the app store.
EDIT: Didn't notice this was for jail broken iPhones, so yes you can do this. You would need to find custom Libraries, I don't know of any of the top of my head. Alternatively you could figure out what part of the private Apple API you need to use to do this.
Please note that changing button functionality is not the best of ideas... Perhaps you could accomplish the same thing by running in the background and using push notifications when user interaction is required?
zmaster pulled this same function off on his Android Lock jailbroken app. It shouldn't change the function of the home button, it would still pull the phone out of sleep mode but the app would launch just as any normal password protection would.

Disable Home Button

I know this has been asked previously however I would like to disable the home button for an in-house app which will be distributed internally across iPads.
I have searched for a solution both on here and Google and would like to stop users from putting the app into the background. I have seen one solution which doesn't seem to work under iOS 4.0 which opens the app up again when the home button is pressed.
Could I make use of any private APIs to do this seeing as this is an internal app and won't be reviewed by Apple for the App Store?
Thanks
I don't know why this is down voted so much it is a perfectly legit use case for an internal enterprise application. Kiosks, POS etc.
Anyway anyone wanting to know how to do this should see my answer here Lock-down iPhone/iPod/iPad so it can only run one app
Whatever your reasons are you are not able to do this.
Apple provides no functionality to perform this action through their API. You might want to re-think your strategy. Look maybe instead for a physical barrier.
Additionally you might want to look into JailBreaking and iPhone since you say it is only for internal development and won't go to the appstore. A jail broken phone might allow you access to change the home button behavior, though I cannot confirm this since I have never had need to code on a jail broken device.
If it's your iPad, glue or bolt a cover over the home button. Connect the iPad to Xcode or iTunes to halt and/or reload your app.
But note that knowledgable users will still be able to reboot the device by holding down the lock button.
Jailbreak and add incarcer app can disable the home button (admin has a code to allow activation). Then you're locked in your app. If you're up for jailbreaking, seems like a great solution.
There's a new hardware solution, adhesive-backed aluminum home button covers. They allow home button activation through a pinhole, using a paperclip (similar to many popular metal encosures). http://bubcap.com/bubcap-pro.html

Launch emergency App/Do emergency call without screen-unlocking the iPhone

I want to run my application without opening the slide lock of iPhone the icon of the app should be displayed on the home wallpaper or screen. by tapping on the icon the app should run its an emergency service application. So is there any service provided by apple like calling emergency numbers without opening lock.
please suggest me
thanks..
No. You have to launch all Apps through the home screen (Springboard).
There might be a way to do this when jailbreaking the device, though.
That same functionality, which you speak of, is exactly what runs on the iPhone BEFORE it is "activated". I wonder if there is a way to use this already built in app to create what you're shooting for.

For the iPad or iPhone, how do you control the system Volume? For example, have a button that mutes all audio

I would like to make a button in my iPad app (probably will be similar to iPhone apps) that when I push this button, all audio is muted, even when you exit the app.
I don't see anyway that you can control the volume, although I'm sure other apps have that I have seen in the app store for the iPhone. I also read some places that doing this would reject you from the app store.
How could I go about lowering, or highering the volume of the iPad from an app that works even when the app closes?
Thank you!
AFAIK, you can't, at least not programmatically. But you can integrate an MPVolumeView.
Using a UISlider to change volume
You can't do this. Apple does not let you make system-wide changes that affect other apps like this.