Android - V10 release candidate

Previous topic - Next topic

ampos

Be afraid my friends, of the day I got an Android...  >:D
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

matty47

OK tried with the ANDROID_SWT variable set however same error. Message says something about not being able to start the java VM and dex failing (same as quoted previously)
Thanks
Matthew

MrTAToad

#62
Have a look at this : http://ycsoftware.net/error-occurred-during-initialization-of-vm-windows-7-windows-xp/

They seem to be saying that the Java Virtual Machine is corrupt...

This one http://geekycoder.wordpress.com/2009/07/08/java-tips-adventure-in-resolving-the-java-error-error-occurred-during-initialization-of-vm/ states that are there duplicate java.exe files, with the wrong one being found (and used).

Would also be worth checking JAVA_HOME and PATH too...

QuoteBe afraid my friends, of the day I got an Android...
We'll be on holiday when you do!

BigAnd

I get:

BUILDSRIPT
Buildfile: build.xml does not exist!
Build failed

The build.xml is where it should be and there are no spaces or funny characters to that directory.

Does it matter that GLBasic_beta is in my "Program Files (x86)" directory?

I know my Android SDK works as I have used it from Eclipse and another basic.

MrTAToad

That should be fine.

My installations are at :

C:\Program Files (x86)\GLBasic
C:\Android
C:\Program Files (x86)\Java\jdk1.6.0_25

Perhaps there are spaces in your GLBasic project directory ?

BigAnd

No, no spaces to the project file but thanks for asking.

Will try moving the other bits around and see if it helps.

MrTAToad

Are you using a new or current project ?

doimus

#67
I can't yet compile for Android... but in the meantime, I've got one very strange issue with this beta.

Compiled Windows executables crash immediately after starting!  :blink:

I'm using WinXP in VirtualBox.
Those exes run fine in non-virtual Windows and in OSX.
Executables from non-beta GLB in VirtualBox are OK too.

MrTAToad

Could it be a driver issue?

mentalthink

Well for my works all OK, on windows 7 x64.
Well the emulator works, but it´s very very slow, running the android OS under virtual Box, is very fast the S.O, but I don´t know how send the .apk file into android under Virtual BOX.
Any link, or suggestion for made this?¿. Seems in Virtual Machine the OS, runs very very fast.

Kinds Regards
Iván J.

MrTAToad

My Windows executable crashed straight away in VM 4 :

*** Unhandled exception ***
   EXCEPTION_ACCESS_VIOLATION
:S


BigAnd

#71
@MrTAToad

Yeah, its a new project. I have tried moving things around also but still no joy. Will keep messing though.

Got it working by moving my source to the C drive from D.

Things I have noticed:
The accelerometer works in reverse for left, right and up, down from the iPhone.
The multi-touch doesn't work. It only sees the first touch.
MP3 music didn't play but WAV sound fx are fine (as noted above I believe).

Amazed that it worked as well as it did with zero code changes.

MrTAToad

Indeed - what's left to do isn't that much really.

The compiler can't handle TRY/CATCH/THROW unfortunately - hopefully that will be sorted, otherwise I'll be needing to change a bit of code :)

Dabz

#73
Quote
MP3 music didn't play but WAV sound fx are fine (as noted above I believe).

I've had a report back from my test build of Nags that I've distributed that sound (PlaySound) doesnt work on LG Optimus One phones.... Their probably the best reasonably priced half decent ones you can get I think, which, I think will make them popular.

Also, is there a chance the two media volume control keys at the edge of devices can be mapped, or if they are, what do they fall under?

Dabz

MrTAToad

One thing I have found is that the keyboard has been completely disabled after exiting a Windows debug program.  Had to log off and then back on again to get it working...