Author Topic: Androids Works on emulator!!! Yesss.  (Read 6432 times)

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3366
  • Integrated Brain
    • View Profile
Re: Androids Works on emulator!!! Yesss.
« Reply #15 on: 2011-May-02 »
HI Oscar, I you need to use how least 2.1 or 2.2, be careful, if you use 3.0 don´t works. Perphaps, can run, but in my case don´t make it.

Kinds Regards,
Iván J.

Offline Xaron

  • Mr. Drawsprite
  • **
  • Posts: 50
    • View Profile
    • CodeKnitters
Re: Androids Works on emulator!!! Yesss.
« Reply #16 on: 2011-May-02 »
Apart from the white 2D, it's actually quite good as it can create a complete game and 3D works also. List here:
http://www.glbasic.com/forum/index.php?topic=6163.msg48793#msg48793

Has that changed? Because I can use colored 2D lines without problems on my Desire HD...

Offline OscarBraindeaD

  • Mc. Print
  • *
  • Posts: 20
    • View Profile
Re: Androids Works on emulator!!! Yesss.
« Reply #17 on: 2011-May-02 »
Thanks mental,
I tried with api 2.3.3 and it installs but, when it runs, i only get a black screen and returns to the menu screen.
Same with the 2.2 api... Hmmm... weird. Maybe it is due I'm using demo version of GLBasic.
I'll try only showing some text not graphics at all...

Regards

MrTAToad

  • Guest
Re: Androids Works on emulator!!! Yesss.
« Reply #18 on: 2011-May-02 »
You need Android OS 2.2 - I think its around level 5

White lines are due to the emulator (and certain tablets and phones) not supporting various OpenGL extensions
« Last Edit: 2011-May-02 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10697
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Androids Works on emulator!!! Yesss.
« Reply #19 on: 2011-May-02 »
Level 8 - Android 2.2 (Froyo) required.

Offline BdR

  • Dr. Type
  • ****
  • Posts: 303
    • View Profile
    • BdR Games
Re: Androids Works on emulator!!! Yesss.
« Reply #20 on: 2012-Mar-04 »
*kicks thread*

I'm interested in bringing my games to Android now, so I've been testing GLBasic with the Android emulator and it works great! :good: Just press build multiplatform for Android and it creates an app and runs it in the emulator, amazing!

Here are some things I've found. The Android emulator in general is a bit flaky and unreliable (Google's fault, not GLBasic). For me it sometimes crashes on Android version 2.2 and 2.3.3, but at other times it runs just fine, so I don't know what causes it. I haven't seen it crash with v4.0.3 (yet).

When the emulator does work it's slow so don't expect to run and test your game at normal speed (especially action games). I guess it's mainly usefull to see if you app can start and if screen orientation is correct etc.

You can press CTRL+F11 or CTRL+F12 to flip the emulator 90 degrees (simulate tilting the device). Although, when I do this while my GLBasic app is running it crashes the app, not the emulator. Android give an error message and closes the app, which you can then just restart by tapping your app's icon again.