Page 27 of 33

Re: love-android-sdl2 (native, 0.9.0)

Posted: Sun Oct 12, 2014 5:37 pm
by fysx
SuperZazu wrote:Anyone have any idea on how to NOT update the game when the app is not visible (=in the background) ?
I've tried both love.visible(v) and love.focus(f) and neither seem to work...
This should somehow be possible. I created a bug for this: https://bitbucket.org/MartinFelis/love- ... east-allow

Maybe you could override love.update(dt) temporarily?

Re: love-android-sdl2 (native, 0.9.0)

Posted: Tue Oct 14, 2014 4:30 pm
by Davidobot
retrotails wrote:
Davidobot wrote:Is it possible to call android functions from within LOVE? Or trigger them?
os.execute() should work.
edit:
This opens my game in the play store.

Code: Select all

os.execute('am start -a android.intent.action.VIEW -d market://details?id=com.pixelpotential.crystalcrash')
Will this work even if I have a function say, called "requestPlay" in my GameActivity.java, how would I run that?

Re: love-android-sdl2 (native, 0.9.0)

Posted: Tue Oct 14, 2014 4:46 pm
by fysx
Davidobot wrote:Will this work even if I have a function say, called "requestPlay" in my GameActivity.java, how would I run that?
No. What you want would be a solution for this: https://bitbucket.org/MartinFelis/love- ... st-android. Not sure when and how me or someone else (preferably :D ) digs into this.

Re: love-android-sdl2 (native, 0.9.0)

Posted: Tue Oct 21, 2014 3:09 pm
by Morzan
Two quick things:

The love.system.vibrate() doesn't stop when it's set to a long period of time. If i exit from the launched app (even if i use love.event.quit()), i have to lock the phone to stop it.

Where the hell this app writes the data? I have a rooted phone running Android 4.1.2 and with Total Commander i can't find the files that are made by this app.

But other than that it work pretty well. Now i can do programming on the go. This is the most geek thing ever!

Re: love-android-sdl2 (native, 0.9.0)

Posted: Wed Oct 22, 2014 1:01 am
by Positive07
Morzan wrote:Where the hell this app writes the data? I have a rooted phone running Android 4.1.2 and with Total Commander i can't find the files that are made by this app.
Really! I want to know this too

Re: love-android-sdl2 (native, 0.9.0)

Posted: Wed Oct 22, 2014 1:43 am
by slime
[wiki]love.filesystem.getSaveDirectory[/wiki] will show you the full path to the game's save directory.

Re: love-android-sdl2 (native, 0.9.0)

Posted: Sat Oct 25, 2014 10:27 pm
by alberto_lara
slime wrote:[wiki]love.filesystem.getSaveDirectory[/wiki] will show you the full path to the game's save directory.
right, that's basic löve stuff, not Android related :)

Re: love-android-sdl2 (native, 0.9.0)

Posted: Tue Nov 04, 2014 11:31 am
by Abregado
I've been making some prototypes and testing them on my Android Tablet as well as sending them to some friends to test. Some of them get the blue love stacktrace screen when the app crashes, but none of my devices do.

Is there a way to enable this per device?

Re: love-android-sdl2 (native, 0.9.0)

Posted: Tue Dec 02, 2014 12:45 pm
by Reenen
Morzan wrote: Where the hell this app writes the data?
On my Note 2, i found it find it fine. But on my S5 I'm not finding where it is installed. Also New android it doesn't work on anymore (could be because the files aren't where I think they are...).

Re: love-android-sdl2 (native, 0.9.0)

Posted: Mon Jan 12, 2015 9:53 am
by fysx
Abregado wrote:I've been making some prototypes and testing them on my Android Tablet as well as sending them to some friends to test. Some of them get the blue love stacktrace screen when the app crashes, but none of my devices do.

Is there a way to enable this per device?
Older versions of LÖVE for Android (i.e. < 0.9.1) had problems printing the stack-trace as the font rendering was not properly initialized and therefore only showed the blue screen.

Do you have more detailed information what versions of LÖVE you are using? Also the type of Android devices and their Android versions would be very helpful.