How to create a Live Wallpaper in Android



How to create a Live Wallpaper in Android

Subscribe To My Channel and Get More Great Tutorials
http://www.youtube.com/subscription_center?add_user=sandeepbhandari1

Live Wallpapers bring nice animations on your android phone home screen. We can create any kind of live wallpapers in android. The API for live wallpaper is provided by android sdk. Even Unity can be used to create LWP. Sometimes gif animations are also used for LWP. In this video tutorial, we shall see how to create a simple Live wallpaper for android.
The source code is available at http://www.javexperience.com/android/LiveWallpaperDemo.rar

Subscribe To My Channel and Get More Great Tutorials
http://www.youtube.com/subscription_center?add_user=sandeepbhandari1

Ask me A Question
http://bit.ly/1MBekaP

—————————————-­————
Stay connected to Indragni Soft Solutions:
Website: http://www.indragni.com
Facebook: https://www.facebook.com/javaexper
Twitter: https://twitter.com/indragnisoft
Google+: https://plus.google.com/u/0/b/114543155372255472922/114543155372255472922/posts?pageId=114543155372255472922

How to create a Live Wallpaper in Android

source

Fahad Hameed

Fahad Hashmi is one of the known Software Engineer and blogger likes to blog about design resources. He is passionate about collecting the awe-inspiring design tools, to help designers.He blogs only for Designers & Photographers.

19 thoughts on “How to create a Live Wallpaper in Android

  • September 28, 2017 at 4:28 pm
    Permalink

    for gif size 1280*720 use this

    DisplayMetrics lDisplayMetrics = getResources().getDisplayMetrics();
    int width = lDisplayMetrics.widthPixels;
    int height = lDisplayMetrics.heightPixels;

    height = canvas.getHeight();
    width = canvas.getWidth();
    if (height==1280){
    canvas.scale(1f, 1f);
    }else if (height==1920) {
    canvas.scale(1.9f, 1.9f);
    }

    Reply
  • September 28, 2017 at 4:28 pm
    Permalink

    Different Phones have different screen size so, How do I make the image/gifs/wallpaper automatically adjustable to others phone size ???

    Reply
  • September 28, 2017 at 4:28 pm
    Permalink

    Canvas.scale (1.3f, 1.3f)
    Is making the .gif file very small on the screen
    And leaving the black margins surrounding it

    I know i can tweak the values a bit to make it fit on my device

    But i wanna make it work properly on any device with any screen size

    So please can you help me ????

    Reply
  • September 28, 2017 at 4:28 pm
    Permalink

    My problem is: everything is just as you've done, and the only difference is that when I open the live wallpaper to set to my wallpaper, it just stops running… Do you have any clue of what this problem could be?

    Thou, keep doing your videos! They're great 😀

    Thanks for your help 🙂

    Reply
  • September 28, 2017 at 4:28 pm
    Permalink

    Can you please make a video of how to make facebook messenger like app launcher. (That moving circle on background) I've seen very few apps to do so, and really want to know how to make it! Thanks in advance!

    Reply
  • September 28, 2017 at 4:28 pm
    Permalink

    when i build the APK and install it on my device and then open it, its just the 'Hello world' demo and does not show up in wallpapers, plz help…

    Reply
  • September 28, 2017 at 4:28 pm
    Permalink

    +Java Experience do you think you can make 2 live wallpapers for my s5 please and thank you

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *