Android - V10 release candidate

Previous topic - Next topic

MrTAToad

I dont think multi-touch works on Android

Had the Editor completely hang on me today, after multiple compiles for webOS.  Task Manager says its running, but its completely unresponsive (including minimise and close)...

Millerszone

Quote from: MrTAToad on 2011-May-30
I dont think multi-touch works on Android

Hmmmm... that's not good.
I have a couple of Android games that are Multi-touch, so maybe GLBasic will add this feature.
I understand that some Android devices don't handle Multi-touch.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

I'll try to implement that. Not hard I think.

Millerszone

Quote from: Kitty Hello on 2011-May-30
I'll try to implement that. Not hard I think.
Thank you.

Also it seems USEASBMP doesn't work with Android. Does that need to be fixed or not compatible with Android.
LOADBMP does work.

I only used it twice, so I can work around it.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

Can you test GRABSPRITE instead?

MrTAToad

Having a bit of trouble with current projects compiling with Android.  Whilst the androidicon.png is present in the project and res/drawable directory, the compiler keeps saying :

QuoteC:\Users\Nicholas\Documents\GLBasic\Utilities\VectorEditor\distribute\Android\AndroidManifest.xml:13: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').

Gary

not android related but v10 related

running a full screen program on pc using 2 monitors at 1024*1536 resolution and after start up im running a small dos program. Everything sets up, runs the dos program, returns back to the GLBasic program but the computer refuses to set the focus to the program and no mouse or keyboard inputs are accepted. Compile the program with no changes on 9.040 and it works and gives the focus back to the GL program after you click anywhere on the screen

Millerszone

#217
Quote from: MrTAToad on 2011-May-31
Having a bit of trouble with current projects compiling with Android.  Whilst the androidicon.png is present in the project and res/drawable directory, the compiler keeps saying :

QuoteC:\Users\Nicholas\Documents\GLBasic\Utilities\VectorEditor\distribute\Android\AndroidManifest.xml:13: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').

I had that error. I had to add the icon.png to this folder:
\distribute\Android\res\drawable\icon.png

Icon.png should also be in your root project folder.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

But.. isn't the icon copied there?

MrTAToad

There is an androidicon.png in the project directory - and it is copied around.  Sounds like its not named correcty...

Millerszone

#220
Quote from: Kitty Hello on 2011-May-31
But.. isn't the icon copied there?

It was there, but I deleted the distribute folder and when I recompiled it didn't add the icon to the drawable folder.
It's now working correctly.

Yes the icon should be named icon.png
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

MrTAToad

Yes, that fixed it.

MrTAToad

Dont think NETWEBEND works on Android

Millerszone

Quote from: Kitty Hello on 2011-May-31
Can you test GRABSPRITE instead?

GRABSPRITE not working.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

GRABSPRITE -all righty. That's a big issue, though! Is it the emulator or a real device?

I copy the icon to:
android+"\res\drawable\icon.png"
where "android" is the directory where the Manifest.xml is inside.