Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8724507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:50:46+00:00 2026-06-13T07:50:46+00:00

I am trying to develop an Android live wallpaper using OpenGL wallpaper service ,

  • 0

I am trying to develop an Android live wallpaper using OpenGL wallpaper service , I am able to create live wallpaper as in this example by Mark F Guerra But I want to add some sprite animation to my wallpaper.

I have already created a OpenGL ES sprite animation in another project. I just want to recreate my animation in the live wallpaper project.

But in my live wallpaper project i am not able to get Context and load my images from assets or resources

Any suggestions or sample codes or link about loading resourses or asset files while using glwallpaper service will be very helpfull.

All suggestions and/or sample codes are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:50:48+00:00Added an answer on June 13, 2026 at 7:50 am

    We can use the context as shown below..

    in wallpaper service class: 
    ------------------- 
    renderer = new GlRenderer(this); 
    
    in renderer class: 
    ---------------- 
    private Context context; 
    
    public GlRenderer(Context context) { 
    this.context = context; 
    

    Instead of this we can use getAssets() or getResources() as parameter to renderer .
    On using getAssets() you can get the files saved in assets folder and by using getResources() you can get the files placed inside the resources folder in your project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are trying to develop a live wallpaper for Android phones, but when it
I'm trying to develop a widget for Android. I'm using Eclipse but I can't
I'm trying to develop Android apps via Java,Eclipse. I'm trying to use this example
I'm trying to develop an Android 2D game using OpenGL ES that uses a
i'm trying to use gmap on android (trying to develop it using mono for
I am new to android programming and i am trying to develop this app
I'm trying to develop an Android 3.1 tablet application. This app will have a
I am trying to develop a custom stop watch application in android but it
I'm trying to develop android web apps using html 5.I'm using dreamviewer 5 with
I am trying to develop an android app, where user should be able to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.