I want a program that can show me the batery in percent, but there are 3 problems:
1.) How I can put this program in the autostart?
2.) When I exit love, the program stops, but it have to run!
3.) How I can draw a graphic on the notification panel? There should be a little image with the battery left, ...
Thanks!
graphic on the notification panel
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: graphic on the notification panel
https://play.google.com/store/apps/deta ... inch.pearl
This forum should only be for love-related topics ..
This forum should only be for love-related topics ..
Re: graphic on the notification panel
I'm pretty sure he's asking about the android system.Ranguna259 wrote:https://play.google.com/store/apps/deta ... inch.pearl
This forum should only be for love-related topics ..
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: graphic on the notification panel
No, I don't want a app, I want to learn how I can do something like that. (And it's a question about löve-android)Ranguna259 wrote:https://play.google.com/store/apps/deta ... inch.pearl
This forum should only be for love-related topics ..
Re: graphic on the notification panel
Love-android cannot do anything like this. It is about getting LÖVE to android, i.e. the API that is documented in the wiki.
For what you want to do you would probably have to use a Service for this (see http://developer.android.com/reference/ ... rvice.html for details). It is extremely unlikely that love-android would ever need something like this.
For what you want to do you would probably have to use a Service for this (see http://developer.android.com/reference/ ... rvice.html for details). It is extremely unlikely that love-android would ever need something like this.
Bird thing: @fysxdotorg Blog thing: fysx.org
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: graphic on the notification panel
Misunderstood the post then
Checking battery percentage would be a cool feature for löve android but it isn't realy necessary, and pushes ( draw a graphic on the notification panel ) that's a total no, at least for me. (people hate pushes)
I thought you meant app.I want a program that can show ..
Checking battery percentage would be a cool feature for löve android but it isn't realy necessary, and pushes ( draw a graphic on the notification panel ) that's a total no, at least for me. (people hate pushes)
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: graphic on the notification panel
It's a feature of LÖVE already: [wiki]love.system.getPowerInfo[/wiki]. It should work on Android too.Ranguna259 wrote:Checking battery percentage would be a cool feature for löve android but it isn't realy necessary
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: graphic on the notification panel
[wiki]love.system.getPowerInfo[/wiki] Ahh god that's it, I knew there was one x)slime wrote:It's a feature of LÖVE already: [wiki]love.system.getPowerInfo[/wiki]. It should work on Android too.Ranguna259 wrote:Checking battery percentage would be a cool feature for löve android but it isn't realy necessary
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: graphic on the notification panel
Yes, this I've tested already, it works. But I want that I can see the percent of the battery on the panel.slime wrote:It's a feature of LÖVE already: [wiki]love.system.getPowerInfo[/wiki]. It should work on Android too.Ranguna259 wrote:Checking battery percentage would be a cool feature for löve android but it isn't realy necessary
Who is online
Users browsing this forum: No registered users and 4 guests