Wallpaper App

Hi there!

New to Corona and I just got started with iOS programming. I have searched high and low but cannot find an answer to my question so I thought I would ask it here! My question is:

I would like to create a “background” or “wallpaper” application. Is this even possible in Corona? The only background images I have been able to change are the ones within my application and NOT the system background itself. Is there an API that would allows me to do that?

Thanks so much! [import]uid: 20687 topic_id: 5192 reply_id: 305192[/import]

Anyone?

Just want to get the ball rolling. If anybody has any insight (tutorials, code, etc.) about how to do this it would be greatly appreciated!

Looking to build a wallpaper app for both iOS and Android.

Thanks!

[import]uid: 20687 topic_id: 5192 reply_id: 17376[/import]

iOS does not allow for background tasks.

Android can, so you can have your Corona App running in the background and poll time and change the image x-time difference often

c. [import]uid: 24 topic_id: 5192 reply_id: 17445[/import]

Hi Carlos,

Awesome! Thank you so so much for answering my question.

So you are saying that it is possible in Android to reach the actual wallpapers setting and change it from within my application. Great!

I have a bunch of original artwork and am trying to make an app available for people to use as wallpapers. That’s my goal.

To my knowledge (from using Android) apps that run in the background aren’t actually doing anything, is this true? Or are you saying my app could actually control how often the wallpaper changes and with what images etc.?

Thank you Carlos!!!
[import]uid: 20687 topic_id: 5192 reply_id: 17449[/import]

Carlos he doesnt mean “background task” he means “background wallpaper”

presumably you can save to the user’s documents directory and the user can set their wallpaper from there. You won’t be able to set your wallpaper directly from Corona code though

[import]uid: 6645 topic_id: 5192 reply_id: 17480[/import]

jmp99,

EXACTLY! Thanks for making that clear. I didn’t see anything “image background” related in the API index so I assumed it would be a more difficult task than I had originally planned…

I’ll definitely look into loading images and saving them into the user’s docs…although from a user’s perspective, that isn’t as convenient as direct loading. If you’ve ever used a good background wallpaper app then you know what I’m talking about. Click on the image, set as wallpaper, DONE!

[import]uid: 20687 topic_id: 5192 reply_id: 17546[/import]

cbryantguitar, did u ever figure it out? I am also wanting to make a simple App that displays photos and they can either save them or set as wallpaper directly. I am a Pro Photographer and want to share dozens of beautiful wallpapers with the world!

I want this for iPhone, iPad and Android. I am sure there is very little code… but I am new to this so…

~ Jerry Gomez
[import]uid: 24883 topic_id: 5192 reply_id: 49266[/import]

Hi Jerry!

Thanks so much for your response. I started this thread many months ago when I first started using Corona…my idea was exactly like yours: create a wallpaper application so I could share my wife’s amazing images! However, after some investigation I soon realized that an application like this is more difficult than I originally thought.

To change the background on a device requires an API (see Corona documentation) that reaches the device on a system level which currently Corona does not contain specifically for this task. I have asked both founders of the company if this type of app is possible and their response was on Android, yes. On iOS, no. I would only take those words as current information because with Corona, anything is possible.

Changing gears, I decided to focus my energies on creating an app taylored to the type of work I do (I teach guitar) and created a beginner’s guitar app called “Guitar School” which you can checkout on both iOS and Android.

http://www.guitarschoolapp.com

I don’t know where I’d be without Corona…it’s literally changed my life! I hope you end up finding your pathway with it too. Good luck and let us know how it goes!!!

Cheers,
Chris
[import]uid: 20687 topic_id: 5192 reply_id: 49270[/import]