GLBasic forum

Main forum => GLBasic - en => Topic started by: Qedo on 2010-Dec-05

Title: Android
Post by: Qedo on 2010-Dec-05
Hello everyone.
I'm interested to program Android device.
Do you think there will be a future version of Android?
Thank you
Qedo
Title: Re: Android
Post by: Hatonastick on 2010-Dec-05
This question has been asked and answered a number of times already.  You might want to try a search on these forums although from memory the answer was basically no because Android uses Java.  Something along those lines.
Title: Re: Android
Post by: Kitty Hello on 2010-Dec-06
The real answer is: There is a version of ScummVM, that uses the NDK to makes Android versions. So, if anyone can make a windows compiler that compiles the ScummVM for Android, I'm in.
Title: Re: Android
Post by: Qedo on 2010-Dec-06
thanks for your reply but excuse my ignorance, I do not understand a thing.
What is the link between GLBasic and ScunnVM?
Title: Re: Android
Post by: Schranz0r on 2010-Dec-06
A compiler to ScummVM...
Title: Re: Android
Post by: trucidare on 2010-Dec-07
the link is - if scummVM compiles on windows compiler, the glbasic engine compiles too.
Title: Re: Android
Post by: kwagner on 2010-Dec-07
According to his FAQ page http://sites.google.com/site/scummvmandroid/faq he turned it into a large JNI library so android still thinks of it as java, even though almost all of it is C++. Apparently with android 1.5+ devices, the NDK makes creating JNIs much easier.

"The Android NDK is a companion tool to the Android SDK that lets you build performance-critical portions of your apps in native code. It provides headers and libraries that allow you to build activities, handle user input, use hardware sensors, access application resources, and more, when programming in C or C++. If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device. The fundamental Android application model does not change."

http://developer.android.com/sdk/ndk/index.html
Title: Re: Android
Post by: marovada on 2010-Dec-20
Hi everyone.  I'm new here, but I thought I could give some help on this topic.  There is a blog (not mine) showing how to:

1. set up the Android SDK in windows: http://mindtherobot.com/blog/209/android-beginners-from-bare-windows-to-your-first-app/ (http://mindtherobot.com/blog/209/android-beginners-from-bare-windows-to-your-first-app/)

2. set up and use the Android NDK: http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/ (http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/)

It even shows you how to write your first NDK app.