Page 26 of 33

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

Posted: Tue Sep 02, 2014 4:57 pm
by tio
Combokarel wrote:I've got an issue with trying to make the apk, the build.bat seems like it's working, but it doesn't seem to do something. I am getting this error in the build.bat:
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 10 in ./AndroidManifest.xml
Is that the problem?
That means you need to install android API platform 19 (4.4) or higher.

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

Posted: Tue Sep 02, 2014 5:27 pm
by TurtleP
Just tried using setTextInput(true, x, y, width, height). Does it get affected by orientation of the keyboard or even love.graphics.translate? (I ask since it's covering something important in my Android game - name input display)

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

Posted: Tue Sep 02, 2014 5:35 pm
by slime
TurtleP wrote:Just tried using setTextInput(true, x, y, width, height)
Make sure you're using the latest love-android, it wasn't hooked up properly in earlier versions.
TurtleP wrote:Does it get affected by orientation of the keyboard
No idea.
TurtleP wrote:or even love.graphics.translate?
Nope, it's not a love.graphics drawing operation so it doesn't get affected by the graphics transformations.

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

Posted: Wed Sep 03, 2014 3:04 am
by TurtleP
slime wrote:
TurtleP wrote:Just tried using setTextInput(true, x, y, width, height)
Make sure you're using the latest love-android, it wasn't hooked up properly in earlier versions.
TurtleP wrote:Does it get affected by orientation of the keyboard
No idea.
TurtleP wrote:or even love.graphics.translate?
Nope, it's not a love.graphics drawing operation so it doesn't get affected by the graphics transformations.
Hm.. Well, I'll try to play around with the settings more and see if I can get it to not cover the display I need.

EDIT:

No matter what I try, the keyboard is at the same spot. Could be caused by the fact that the phone's using landscape rather than portrait fullscreen.

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

Posted: Wed Sep 03, 2014 5:20 am
by slime
Hmm, actually you might need to call the function with the proper arguments twice to get it to work (my fault.)

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

Posted: Wed Sep 03, 2014 1:49 pm
by Operarus
What I did wrong?
file.zip
debug file
(4.1 MiB) Downloaded 315 times

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

Posted: Sat Sep 06, 2014 10:57 am
by Combokarel
I have another problem, when I package my game and run the .apk, I get a black screen.

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

Posted: Fri Oct 10, 2014 1:11 pm
by SuperZazu
Hey, cool port!

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...

Thank you for your help,
superzazu

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

Posted: Sat Oct 11, 2014 5:29 am
by Davidobot
Is it possible to call android functions from within LOVE? Or trigger them?

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

Posted: Sat Oct 11, 2014 7:03 am
by retrotails
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')