Is it possible to animate the icon of an app?
Like the Clock application does?
I implemented the Berlin Clock as app (http://en.wikipedia.org/wiki/Mengenlehreuhr) and I'm wondering if this would be possible.
No, there is nothing in the public API that allows changing the app icon.
Related
Is it possible to have dynamic App icon in Android? For example let's say I have clock App. Can I update the App icon showing current time or is the only way to implement a widgets?
You may use <activity-alias> to display different app icons in the launcher, just like the example I created here
But I don't think it is a good decision to update the app icon per minute, the solution may only applicable to calendar app.
I'm developing an iPhone App. One Feature should be an PhoneCall-Button on the LockScreen and a Button to show some Information in a different view.
Is this possible without a Jailbreak?
If your answer is YES, how to do it?
No, it is not possible without a jailbreak.
I searched a lot and didn't find how to programmatically bring application to background so phone's home screen is shown. I don't want to terminate app, but just to programmatically make press on HOME button. Is there any way to do it?
No, unfortunately not. There is no public API that allows you to send a user back to the homescreen.
As shown in these questions:
iPhone - Sending the app to the background
Send App to Background process
Sending Application to background on iphone
Programmatically sending an iOS app to background
Brad Larson provides a detailed explanation to the answer of this question:
Suspend the application
Unfortunately, there is no background mode in iOS where the app can still run things while out of focus. Apple has designed the system to "pause" the application so state is preserved, but be careful the app can be terminated at any time.
You can do this by calling a private API but beware as said above Apple does not allow this on AppStore apps.
var x = UIApplication.SharedApplication;
x.PerformSelector (sel: new MonoTouch.ObjCRuntime.Selector ("suspend"), obj: x, delay: 5);
I need to make a screenshot of the iphone desktop and set it as background for my app, is it possible?
UIGetScreenImage should do what you want - check out this example.
But apparently, Apple (in its great wisdom) has banned its usage in apps for the App Store, and has removed it from iOS 7 arm64 and newer.
If you are looking to take a screenshot then you need to press the menu button and the lock button at the same time, as for setting it as the background of the app, just use the image which will automatically be placed in your camera roll.
I have an app which could benefit from the user being able to choose to set an image as the wallpaper (the background image on the "slide to unlock" screen).
Is there a way for non-jailbreak third-party apps to do this? A search for "wallpaper" in the iPhone documentation returns nothing.
There is no way to do this with the current SDK, if you want to do it you should file a bug.
If you're writing a jailbreak application you can write to /var/mobile/Library/LockBackground.jpg and then kill the Springboard.