0

I want to make an application with battery icon when phone is charging. But I don't know where to start. Can you please help me with some ideas?

Later clarification: I would actually like to implement just the animation similar to the one when the battery is charging.

Maarten Bodewes
  • 90,524
  • 13
  • 150
  • 263
Michiru
  • 179
  • 2
  • 6
  • 12

2 Answers2

2

Afaik this has something to do with your Launcher and it's theme. (correct me if I'm wrong)

See

Community
  • 1
  • 1
Thkru
  • 4,218
  • 2
  • 18
  • 37
  • I would actually like to implement just the animation similar to the one when the battery is charging. – Michiru Apr 26 '12 at 09:12
  • 2
    http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html That should do it – Thkru Apr 26 '12 at 09:49
  • Thanks that worked for me and also this example [here](http://stackoverflow.com/questions/9216616/animation-in-status-bar-in-android) helped me. I didn't know how to do the animation didn't think this could be so simple. – Michiru Apr 26 '12 at 11:05
1

If you want an animated icon then you should probably create a widget, you can create one that is similar to an icon but that can be animated when the battery is charging.

For the animation you can use the link posted on the comment of Thomas K.

Gabber
  • 5,152
  • 6
  • 35
  • 49