Results 1 to 2 of 2
  1.    #1  
    Can someone please supply me the code so that when users tap a button it lets them upload their own image as the background of the app?

    or

    Can someone please supply the code so that the app automatically uses the users background as the background of the app?

    I'm using ares to make my app, and it is going to be good however, i just need these few codes please? Thanks!
  2. #2  
    See Forums webOS • View topic - System Service to Get Current Wallpaper? for a bit about the wallpaper service. The bit about getting the current wallpaper URI is down near the bottom. Once you have the URI, you can do something line
    Code:
    $('body').setStyle('background: url('+the_variable_you_stored_the_uri_in+') no-repeat fixed;');
    to set the background of your app.
    danNielson.com - Slalom - twitter - facebook
    A posted thanks dies with the thread. Clicking the button lasts until the admins get bored with this site and throw it in the recycling bin.

Tags for this Thread

Posting Permissions