Author Topic: Android  (Read 730 times)

Online Qedo

  • Mc. Print
  • *
  • Posts: 46
    • View Profile
Android
« 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

Offline Hatonastick

  • Dr. Type
  • ****
  • Posts: 474
  • Amstrad CPC 6128
    • View Profile
Re: Android
« Reply #1 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.
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), ZTE Tablet (2.2), Galaxy Mini (2.3.4).
PC: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10), AMD Desktop with NVIDIA GeForce GTX 460 (Win 7 64-bit).

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *****
  • Posts: 10292
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Android
« Reply #2 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.

Online Qedo

  • Mc. Print
  • *
  • Posts: 46
    • View Profile
Re: Android
« Reply #3 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?

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *****
  • Posts: 4570
  • O Rly?
    • View Profile
Re: Android
« Reply #4 on: 2010-Dec-06 »
A compiler to ScummVM...
I <3 DGArray's :D

PC:
AMD Phenom II x4 @ 3.6ghz, 16gb 1600 Ram, ATI HD5850 1GB, Windows 7 64Bit

Offline trucidare

  • Administrator
  • Prof. Inline
  • *****
  • Posts: 1370
  • Bachelor of Fail
    • View Profile
Re: Android
« Reply #5 on: 2010-Dec-07 »
the link is - if scummVM compiles on windows compiler, the glbasic engine compiles too.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline kwagner

  • Mc. Print
  • *
  • Posts: 19
    • View Profile
Re: Android
« Reply #6 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

Offline marovada

  • Mc. Print
  • *
  • Posts: 28
    • View Profile
    • Wee Basic (NDS), TapBASIC (ios), scifi
Re: Android
« Reply #7 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/

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

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