QB64 Android Development

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

User avatar
burger2227
Veteran
Posts: 2144
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

QB64 Android Development

Postby burger2227 » Sun Nov 08, 2015 12:22 pm

Updating Android device drivers on Windows 10:

Make sure your Android device is in Developer USB-debugging mode and select trust this computer if prompted.
1) Go to Settings and tap About device usually near bottom of list.
2) Tap the Build Number 7 times to become a developer. (prompt may keep a count for you)
3) A new Developer option will appear in Settings usually near About at bottom of list
4) Tap the USB debugging mode listed in Developer options and press OK in prompt.

Setting Developer USB debugging mode video(YouTube)


1) My Nexus 7 tablet came up with problems when a ! sign was displayed next to it in Device Manager:
Image
Right clicking Update drivers and Searching for Drivers on the Web did not find anything either!

2) So I Searched Google for "nexus 7 drivers windows 10" and found this download: latest_usb_driver_windows
Image
I downloaded and unzipped it to the folder above. In Device Manager, Update Driver and Browse my computer and used the path to Downloads:
Downloads\latest_usb_driver_windows\usb_driver folder. Do not chose the i386 or amd64 folders. Windows will use android_winusb setup!

Now my Nexus 7 not only shows up, but it has its own Portable Devices category :
Image
Android Device and Android Composite ADB Interface for debugging displays up top too then!

This is the first step for Android developers! Make sure Windows sees your device!

Now it also shows up in Android Studio after it is installed and the green Run arrow is clicked in your project:
Image

QB Android Installation Procedure WIKI
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : http://www.QB64.NET
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
burger2227
Veteran
Posts: 2144
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: QB64 Android Development

Postby burger2227 » Sun Nov 08, 2015 1:04 pm

Here's my first QB64 Android demo app called helloandroid listed on my Nexus 7 7'' tablet:
Image
Galleon's HelloAndroid simple demo scolling app. Hope we can change icons soon...

It took about 10 seconds to black out the screen and run the scrolling text on my Nexus 7:
Image
The 19 API virtual device for Android 4.4.2 even has a lock screen that must be slid up to see your program LOL.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : http://www.QB64.NET
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
burger2227
Veteran
Posts: 2144
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: QB64 Android Development

Postby burger2227 » Tue Nov 10, 2015 9:33 am

Tapping on KB gives the virtual keyboard from QB64:
Image
This program uses SCREEN 13 instead of 0 and BEEP's twice before running the loop.

No luck with anything big yet!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : http://www.QB64.NET
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

chaturvedi98765
Newbie
Posts: 2
Joined: Fri Feb 10, 2017 6:25 am

Re: QB64 Android Development

Postby chaturvedi98765 » Fri Feb 10, 2017 6:32 am

thanks

chaturvedi98765
Newbie
Posts: 2
Joined: Fri Feb 10, 2017 6:25 am

Re: QB64 Android Development

Postby chaturvedi98765 » Mon Apr 17, 2017 5:53 am

 Windows users must pursue the numbered steps below in the correct order or you will have troubles
 QB64 currently builds projects which target ARM-based processors not x86 processors. No testing on x86 has been done (it should job in theory if you change the target).
 QB64 Android projects have only been widely tested on a Samsung Galaxy S5 (but should run on other Android devices too)
 If you already have the Android NDK installed from the days when QB64 used Eclipse+NDK remove it to avoid possible conflicts (or set an explict path to the new NDK in located_files.txt [see notes below])
 Android Studio and its tools are continuously being updated. As such, the version of Android Studio you install won't come preconfigured with the mechanism to build your project's version.


Return to “QBASIC and QB64 Questions & Answers”

Who is online

Users browsing this forum: No registered users and 9 guests

cron