Page 24 of 33

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

Posted: Mon Jul 14, 2014 4:50 pm
by Davidobot
miko wrote:
Davidobot wrote:Will lua-socket work on android?
Yes. Just look one page back in this thread.
My apologies, I didn't see that.

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

Posted: Tue Jul 15, 2014 5:12 pm
by undef
First of all, great work!
This works almost perfectly without a lot of extra adaptions, thanks a bunch!

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

Posted: Fri Jul 25, 2014 10:43 pm
by alberto_lara
Hey guys!

Do you know if there's a way to call a function or if some event it's triggered when I turn my phone off? (you know, just put it on "stand-by" with the screen and other processes turned off) it would be nice if I configure my game to be on pause when the phone chance to this state or when I minimize all the apps with the Home button.

Thanks!

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

Posted: Fri Jul 25, 2014 11:15 pm
by slime
You can probably use the [wiki]love.focus[/wiki] or [wiki]love.visible[/wiki] event callback functions.

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

Posted: Thu Jul 31, 2014 9:38 am
by zzz654321
change liblove.so compile
改变 liblove.so 的编译方式



the liblove.so in apk,
I need this decompose to libSDL2.so libluajit-5.1.so.2 liblove.so,
thanks very match!

这个 liblove.so 在 apk 中, 但是是和其它库整合在一起的,
希望可以分解为 libSDL2.so libluajit-5.1.so.2 liblove.so, 不知道可以不?
谢谢了

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

Posted: Tue Aug 05, 2014 10:30 pm
by Mermersk
Hey all, having a little problem with "ant debug"

I've done everything here: https://bitbucket.org/MartinFelis/love- ... _-_Windows

an doing this now: https://bitbucket.org/MartinFelis/love- ... _Packaging

But I never get "ant debug command to work.

I do find the build.xml file, and I have created a folder called "assets" and in that folder is my love file, named "game.love".

This is the error: https://love2d.org/imgmirrur/xuvkm9R.png

Whats wrong?

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

Posted: Tue Aug 05, 2014 11:05 pm
by Mermersk
Nevermind, I fixed it. Forgot to install Google APIs ARM System Image.

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

Posted: Wed Aug 06, 2014 5:33 pm
by alberto_lara
Maybe I'm asking too much, but do you know if there's a way to take a picture of the game screen via Löve/Android and post it on FB?

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

Posted: Wed Aug 06, 2014 5:36 pm
by slime
You can use love.graphics.newScreenshot (and maybe ImageData:encode) plus luasocket.

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

Posted: Thu Aug 07, 2014 3:34 am
by Positive07
The worst part is the luasocket - Facebook interaction. It may not be possible at all.

Most Facebook apps use OpenAuth (OATH) that is a security protocol with keys, and this is used through https (SSL protected connection) and that is where the problem lies, SSL is a really difficult protocol (and code-heavy) that is not supported by luasocket.

If there is an alternative to this I would be interested to know