I tried using chrome mobile (more precisely using download app).fysx wrote:Are you maybe using Firefox? The link + .love works for me when clicking on it using Chrome Mobile. Firefox Mobile is not working and I have no idea how to create intents from Firefox.tio wrote:Just downloaded beta2, and couldn't do file association thing (it keeps opening with a text editor app).
love-android-sdl2 (native, 0.9.2)
Re: love-android-sdl2 (native, 0.9.0)
Re: love-android-sdl2 (native, 0.9.0)
You mean you used a third party download app, such as a download manager? This is very likely not to work. Instead you should choose "LÖVE for Android" when being asked: .tio wrote:I tried using chrome mobile (more precisely using download app).
When downloading with a 3rd party download manager you also need a 3rd party file browser and somehow convince it to open the downloaded file using LÖVE for Android. At least with X-plore I can open it when clicking on the file -> "Open as" (choose */*) -> LÖVE for Android.
Bird thing: @fysxdotorg Blog thing: fysx.org
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: love-android-sdl2 (native, 0.9.0)
Sorry but the keyboard on android is handled by SDL so the library I wrote can't touch it... that means that if in the AndroidManifest.xml you had your orientation in "landscape" the keyboard will always be on landscape mode. I didn't try the "auto" orientation on the Manifest, that may solve the problem... I don't knowRatchet wrote:How?Positive07 wrote:Yeah you can't turn the keyboard with my code
I took you example for the turn lib from git and add love.keyboards.setTextInput(true) to the love.mousepressed event, so I can bring up the keyboard. But it's always in landscape mode. Do I have to do anything special?
Implementing your own keyboard would solve the problem, and you can use the "orn" variables to select from one of two keyboards depending on the orientation, I'll probably make one myself but you probably don't want to wait till then.Ratchet wrote: I want to avaoid that. Why to reinvent the wheel and do a lot of extra work when I can get a full working keyboard from the system instead Also I'm damn lazy
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: love-android-sdl2 (native, 0.9.0)
Tried again (hosting .love file in copy.com and downloading), no success.fysx wrote:You mean you used a third party download app, such as a download manager? This is very likely not to work. Instead you should choose "LÖVE for Android" when being asked: .tio wrote:I tried using chrome mobile (more precisely using download app).
When downloading with a 3rd party download manager you also need a 3rd party file browser and somehow convince it to open the downloaded file using LÖVE for Android. At least with X-plore I can open it when clicking on the file -> "Open as" (choose */*) -> LÖVE for Android.
Using x-plore works like a charm
Re: love-android-sdl2 (native, 0.9.0)
Hi,
I am close to release my first game to the appstore. Here are some things I like to mention about the port:
1) GREAT WORK!
2) Please add to the documentation that the back key is reported as "escape"
3) It would be great to reduce is size of the APK by not compiling unneeded modules. For example my game neither uses Box2d nor sound/audio so i guess I could reduce the size of the apk by some MB.
4) is it really needed to zip the game in the assets folder? Looks obsolete to me cause APKs are already zipped...
Thanks again for the great work.
I am close to release my first game to the appstore. Here are some things I like to mention about the port:
1) GREAT WORK!
2) Please add to the documentation that the back key is reported as "escape"
3) It would be great to reduce is size of the APK by not compiling unneeded modules. For example my game neither uses Box2d nor sound/audio so i guess I could reduce the size of the apk by some MB.
4) is it really needed to zip the game in the assets folder? Looks obsolete to me cause APKs are already zipped...
Thanks again for the great work.
Re: love-android-sdl2 (native, 0.9.0)
Sorry about the curiosity, but what kind is your game?boombuler wrote:(...)
3) It would be great to reduce is size of the APK by not compiling unneeded modules. For example my game neither uses Box2d nor sound/audio so i guess I could reduce the size of the apk by some MB.
(...)
Re: love-android-sdl2 (native, 0.9.0)
Simple Puzzle game... Sound may be added later but most times I think it is annoying for puzzle gamestio wrote:Sorry about the curiosity, but what kind is your game?boombuler wrote:(...)
3) It would be great to reduce is size of the APK by not compiling unneeded modules. For example my game neither uses Box2d nor sound/audio so i guess I could reduce the size of the apk by some MB.
(...)
Oh btw. I don't need sockets either :-P
Re: love-android-sdl2 (native, 0.9.0)
If you are making the .apk, i *think* you can remove unused libraries (probably you'll need to edit code a bit to not try to load these libs).boombuler wrote:Simple Puzzle game... Sound may be added later but most times I think it is annoying for puzzle gamestio wrote:Sorry about the curiosity, but what kind is your game?boombuler wrote:(...)
3) It would be great to reduce is size of the APK by not compiling unneeded modules. For example my game neither uses Box2d nor sound/audio so i guess I could reduce the size of the apk by some MB.
(...)
Oh btw. I don't need sockets either :-P
Re: love-android-sdl2 (native, 0.9.0)
I am not really into the love engine code (or c++ or the ndk) but it seems there are some compilerflags to disable most of the modules.tio wrote: If you are making the .apk, i *think* you can remove unused libraries (probably you'll need to edit code a bit to not try to load these libs).
For example: LOVE_ENABLE_BOX2D
Is there a clean way to set thes flags within the build-scripts?
I guess my last try to remove the modules failed cause I didn't disable the dynamic loading of the no longer existant libs within the SDLActivity.java...
But this whole thing is only nice to have...
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: love-android-sdl2 (native, 0.9.0)
I don't understand how I can create now a .apk.
I've found this
Please no unhelpful comments, thanks.
I've found this
But I don't understand this...Install the Android NDK and the Android SDK with SDK API 12 and run
ndk-build
and after that
ant debug
in the root folder of this project or load the project using Eclipse and compile/run it using Eclipse.
This should give you a .apk file in the bin/ subdirectory that you can then install on your phone.
Please no unhelpful comments, thanks.
Who is online
Users browsing this forum: No registered users and 2 guests