Page 6 of 7

Re: H-Craft Championship now on Android

Posted: Wed Feb 25, 2015 8:48 pm
by thanhle
Glad to see it happening.
Well done mate.

I need to learn android development to compete with you guys, lol. I need to develop a next gen pong. That must be difficult :).

Re: H-Craft Championship now on Android

Posted: Thu Feb 26, 2015 12:02 pm
by Nadro
@CuteAlien
Software keyboard works fine in example from irr sdk.

Re: H-Craft Championship now on Android

Posted: Thu Feb 26, 2015 1:57 pm
by CuteAlien
@Nadro, ah... that makes it not easier to hunt this

Re: H-Craft Championship now on Android

Posted: Mon Mar 02, 2015 11:22 am
by endless_dark
I'm also experiencing virtual keyboard issues, I don't know if it has been comented here before.
When I have to insert the profile name, the virtual keboard appears, but when I touch it then it goes down and dissapears so I am unable to write.

Re: H-Craft Championship now on Android

Posted: Mon Mar 02, 2015 1:29 pm
by CuteAlien
Hi, thanks for the report. It would help a lot of you could tell the Android Version and maybe even the mobile device used when reporting problems. Then I have a chance to find some connection about the involved devices. Like if they all use the same Android versions and it's one I'm not having yet then I can try to get my hands on such a device.

Problem I'm having right now is that my devices don't show those problems, so I have no idea how to work on that. The Android simulator is unfortunately pretty useless for testing such things (or 3D apps in general).

Re: H-Craft Championship now on Android

Posted: Mon Mar 02, 2015 1:37 pm
by endless_dark
I was trying it using a Xiaomi Red Rice (Hongmi).
It has MIUI 5 which is based in Android 4.3

Re: H-Craft Championship now on Android

Posted: Mon Mar 02, 2015 2:44 pm
by CuteAlien
I just updated to Lollipop a few minutes ago ... and now I can reproduce the keyboad troubles.

edit: OK, found 2 bugs. Both fixed in Irrlicht now. Guess I'll have to make a new release for my game.

edit2: Unfortunately another bug. It seems with Android lollipop all motion events are no longer blocked by virtual keyboard when the device is in landscape mode. No solution yet. That's probably also what was happening on some other device as that explains why the keyboard vanishes on first click (the input-field loses the focus).

Re: H-Craft Championship now on Android

Posted: Mon Mar 02, 2015 11:11 pm
by CuteAlien
Seems I find no way to get virtual keyboards working with Android Lollipop in landscape mode. Only solution I can think of right now is writing my own keyboard :-(

Re: H-Craft Championship now on Android

Posted: Tue Mar 03, 2015 11:21 pm
by CuteAlien
I've just started the upload of a new version - should be in Google-play by tomorrow (and devices seems to update automatically... first time I'm doing this so I really hope user-data will stay intact).

It fixes all the problems I found with virtual keyboards in Irrlicht (also fixed in Irrlicht by now). But couldn't figure out a way to get virtual keyboard + landscape mode working in Lollipop. Maybe the same bug you guys had. So... I've added a keyboard-selection instead which allows switching to an alternative keyboard now.

No idea yet on sound-troubles as I still can't reproduce those. But maybe it was a follow-up bug from the keyboard input which messed up things.

@Nadro: Can you try irrlicht example in landscape mode when you find some time? I'm curious if that's just a bug now on my device or if this is the general problem with keyboard input we're having.

Re: H-Craft Championship now on Android

Posted: Wed Mar 04, 2015 9:03 am
by endless_dark
I've downloaded the update, and my user data is ok.

Shomehow I managed to create a profile yesterday and try out the game. I tried to write on the virtual keboard "sideways" and managed to write a name, so I could create a profile.
The game is awesome, at first it was hard to get used to the controls and the ship dynamics, but after a couple of races I got familiar.
The graphics look perfect and the game runs smooth. Very cool.

Since you've published the whole source code I would like to write a code review like the ones on http://fabiensanglard.net/, for learning pruposes on my blog but I don't know if I will have enough free time.

Re: H-Craft Championship now on Android

Posted: Wed Mar 04, 2015 9:32 am
by CuteAlien
Sounds like same problems I had here since update to Android Lollipop. The input area of the virtual keyboard is wrong, so you can just hit the keys at the border a little bit - but not the rest. No idea how to fix that, but with alternative keyboard now it should be possible for everyone to write names.

Source code... is not really perfect. I started it 8 years ago and I was new with Irrlicht back then. So would look differnt today I suppose. But at least I still managed to find my way around it years later, so it's not completely bad I guess :-)

Re: H-Craft Championship now on Android

Posted: Mon Apr 06, 2015 1:56 pm
by qubodup
Fresh install from google play on a Samsung Galaxy Tab 3 7.0 doesn't work. At start I see this and touching above and below the input sometimes creates click sounds but no changes.
Image

Re: H-Craft Championship now on Android

Posted: Mon Apr 06, 2015 2:48 pm
by CuteAlien
@qubodup: Please switch to the alternate keyboard - there's a selection box for that now. Might have to press around a few times until other keyboard vanishes before you can click that selection. And yes, it's pretty bad. Unfortunately I have found no way to fix it so far. My current guess is that google broke this in Android lollipop, but not sure yet - could still be we do something wrong in Irrlicht.

Re: H-Craft Championship now on Android

Posted: Wed Apr 08, 2015 2:07 am
by qubodup
I don't think it's related to the keyboard. I have it running on Android 4.1.2 Jelly Bean.

I can hide the keyboard by hold-pressing the option button. I also hear the music playing.

Image

I think I was able to press "ok" by randomly touching. Now all I see is a black screen.

Re: H-Craft Championship now on Android

Posted: Wed Apr 08, 2015 8:28 am
by CuteAlien
Ah OK, this sounds like a new bug. Very strange - editbox does show up, but the rest of the GUI is missing. Thanks for the feedback. Nothing I can really do so far unfortunately, but maybe I get such a device on my hand some day and can work on it.