BASIC

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Minion

Pages: [1] 2 3 ... 16
1
GLBasic - en / Re: Android Compiling error
« on: 2017-Apr-23 »
Thanks Erico. I swear that oracle site is so un-user friendly. I was sure I grabbed the 32 bit version. But installing java SDK again and it seems to work fine now.

2
GLBasic - en / Re: Android Compiling error
« on: 2017-Apr-22 »
I tried that and it had no effect :(

Although I cant see how that would help as that folder didnt exist until I tried the compile for android.

This is a new computer with a new install of GLB and new java install. All fresh and new. Please help.

3
GLBasic - en / Re: Android Compiling error
« on: 2017-Apr-21 »
Sorry, please excuse my ignorance, but how do I remove the old distribution (what is the old distribution ) ?

4
GLBasic - en / Android Compiling error
« on: 2017-Apr-21 »
Its been a while since i did some compiling for android (bout 3 years) but wanted to get back into it. So I grabbed the Java JDK, set the home var, installed the GLB Android platform. Then compiled and got this .....


Code: GLBasic [Select]

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:4a22a623 - 3D, NET
Wordcount:1069 commands
compile+link:

running glb_build.bat
Using ANDROID_TARGET="android-22"
You can use "E:\GLB\GLBasic\Swoop\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
%ANDROIDSDK% not set. Using GLBasic's default target-22, Android 5.1 (Lollipop
ECHO is off.
androidmanifest.xml:
Make sure to check do a manual check for those.
android:minSdkVersion="10" android:targetSdkVersion="22"
ECHO is off.

AndroidIcons.exe [v21-3-2015] running...
copy E:/GLB/GLBasic/Swoop/icon_36_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-ldpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_48_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-mdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_72_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable/icon.png
copy E:/GLB/GLBasic/Swoop/icon_72_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-hdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_96_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xhdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_180_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xxhdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_192_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xxxhdpi/icon.png
E:/GLB/GLBasic/Swoop/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy E:/GLB/GLBasic/Swoop/icon_ouya_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xhdpi/ouya_icon.png

Checked AdActivity (intersititals):
Does not uses a AdActivity

Android Extras version (SDLActivity.java):
* 2.11.2

Checking Icons Finished...

BUILD STAGE 2: Start compiler (android.bat)
SDK=Q:\Compiler\platform\android\bin\..\android-sdk-windows
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
[b]ERROR: SWT folder 'lib\x86_64' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.[/b]
.
[b]BUILD STAGE 3: Build a debug build
Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed[/b]
.
BUILD STAGE 4: Build a release build
Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
HOW TO INSTALL? Install by invoke this command:
"Q:\Compiler\platform\android\bin\..\android-sdk-windows\platform-tools\adb.exe" install -r "E:\GLB\GLBasic\Swoop\distribute\Android/bin/glbasic-debug.apk"
.
HOW TO SIGN? Sign it by invoke this command:
"Q:\Compiler\platform\android\bin\glb_code_sign.bat" "E:\GLB\GLBasic\Swoop\distribute\Android"
.
Android=E:\GLB\GLBasic\Swoop\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 6.0 sec. Time: 11:29
Build: 1 succeeded.


 

Whats the SWT folder its on about ?

And why cant it find the build.xml ?

I assume after that thats why the whole thing fails. Any ideas/suggestions on why/what to do ?

Ta muchly

5
GLBasic - en / PLAYMOVIE or any alternative
« on: 2016-Mar-11 »
Before I start to rip my hear out and tear my own intestines out of my ears trying to solve this problem, does anybody else know of an alternative to the PLAYMOVIE commands ?

I was going to look into streaming a video to a texture, but have no idea where to start with that.

I have several mp4 files I`d like to play on the PC as well as my PI, but the PLAYMOVIE command doesnt play MP4s on either platform, so any help / advice on this would be greatly appreciated.

Thanks

6
GLBasic - en / Re: AE 2.9
« on: 2015-May-31 »
Hey, Im back again. I got everything working nicely, then fell ill so was unable to carry on. Came back to do some more work, and now it wont compile again but with a new error message :( I dont believe Ive done anything since I last coded so can`t see why this has happened. Can anyone shed any light on this ?

Code: GLBasic [Select]

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.053 SN:17d88e8b - 3D, NET
"Game.gbas"(82) warning : GPC1004 variable already exists : inv
Wordcount:1449 commands
compile+link:

running glb_build.bat
Using ANDROID_TARGET="android-19"
You can use "C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\glb_android_build.bat" to change the API level and SDK path.

AndroidIcons.exe [v3-3-2015] running...
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_36_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_48_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_96_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_180_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_192_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy C:/Users/Windows User/Documents/GLBasic/New - Copy/icon_ouya_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/New - Copy/distribute/Android/res/drawable-xhdpi/ouya_icon.png

Checked AdActivity (intersititals):


Android Extras version (SDLActivity.java):
* 2.9

Checking Icons Finished...

BUILD STAGE 2: Start compiler (android.bat)
Q:\Compiler\platform\android\bin\..\android-sdk-windows
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Updated project.properties
Updated local.properties
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\build.xml
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\proguard-project.txt
Updated project.properties
Updated local.properties
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\bin\build.xml
Updated file C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\bin\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\Windows User\Documents\GLBasic\New - Copy\distribute\Android\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 24.0.2
 [checkenv] Installed at Q:\Compiler\platform\android\android-sdk-windows

 

7
GLBasic - en / Re: AE 2.9
« on: 2015-Mar-24 »
I hope (or not as the case may be) have this right. I need to go to developer/products then click on "New Product" to create a new app ?

If so then it just takes me to this screen (see attached) and Im unable to progress unless I give all billing info and tax details ;(

8
GLBasic - en / Re: AE 2.9
« on: 2015-Mar-24 »
Is thae app key really necessary ? I have no intention of putting anything I do on the OUYA market, I just wanted to knock some stuff up for the kids. It seems a bit silly haveing to go thru all the bank stuff and getting SWIFT and IBAN codes just to test a little project ;(

9
GLBasic - en / Re: AE 2.9
« on: 2015-Mar-23 »
Thanks spacefractal, thats seems to allow me to compile to Android again ;)

Sadly, cant seem to get the joypads to work for OUYA now ;(

Im using the following code ...

Code: GLBasic [Select]

?DEFINE ANDROID
?IFDEF WIN32
        ?UNDEF ANDROID
?ENDIF

SETSCREEN 800,600,1

init:

Android.init()
//Android.GameControllersSetLayout$("Left=Move Left;Right=Move Right;Up=Move Up;Down=Move Down;b1=Jump Button");
Android.GameControllersSetLayout$("Left=Go Left;Up=Go Up;Right=Go Right;Down=Go Down;b1=Button 1;b2=Button 2;b3=Button 3;b4=Button 4")

        SETCURRENTDIR("Media")
        Android.Check_Asset("smalfont.png")
        LOADFONT "smalfont.png",1
        SETFONT 1

main:

        Android.GameControllers("Update")

        CLEARSCREEN RGB(0,0,0)


FOR n=0 TO 1
LOCAL nn=n*200

        PRINT "LEFT: " + Android.GameControllers("Left",n), 0, 100+nn
        PRINT "RIGHT:" + Android.GameControllers("Right",n), 0, 130+nn
        PRINT "UP:   " + Android.GameControllers("Up",n), 0, 160+nn
        PRINT "DOWN: " + Android.GameControllers("Down",n), 0, 190+nn

        PRINT "LEFT: " + Android.GameControllers("PadL_Left",n), 100, 100+nn
        PRINT "RIGHT:" + Android.GameControllers("PadL_Right",n), 100, 130+nn
        PRINT "UP:   " + Android.GameControllers("PadL_Up",n), 100, 160+nn
        PRINT "DOWN: " + Android.GameControllers("PadL_own",n), 100, 190+nn

        PRINT "LEFT: " + Android.GameControllers("PadR_Left",n), 200, 100+nn
        PRINT "RIGHT:" + Android.GameControllers("PadR_Right",n), 200, 130+nn
        PRINT "UP:   " + Android.GameControllers("PadR_Up",n), 200, 160+nn
        PRINT "DOWN: " + Android.GameControllers("PadR_own",n), 200, 190+nn

        PRINT "BUTTON1: " + Android.GameControllers("b1",n), 300, 100+nn
        PRINT "BUTTON2: " + Android.GameControllers("b2",n), 300, 130+nn
        PRINT "BUTTON3: " + Android.GameControllers("b3",n), 300, 160+nn
        PRINT "BUTTON4: " + Android.GameControllers("b4",n), 300, 190+nn

        PRINT "stick : " + n, 450, 100+nn


NEXT

        SHOWSCREEN

        GOTO main
END


 

But nothing is reported for either controller. Although, pressing the "A" button on either controller will instantly exit the app. Any thoughts ? The controller used to (semi) work prior to the new update to AE.

10
GLBasic - en / Re: AE 2.9
« on: 2015-Mar-18 »
OK, been ill the past couple of weeks so havent been able to get back to try this.

Anyway, I decided to do a clean run. So downloaded a new version of GLB and installed to a new folder, updated that to latest GLB, then downloaded the AE 2.9 full install and installed that.

Got my project, trash-canned it to be on the safe side, then compiled for windows with no problem.

Then tried to compile for Android and this ...

Quote
"interstitial.gbas"(52) error : GPC0009 call to undefined function : GLB_ON_PAUSE

So added to dummy fucns ...

Code: GLBasic [Select]
SUB GLB_ON_PAUSE:
ENDSUB

SUB GLB_ON_RESUME:
ENDSUB
 

...just to get around the issue. Then it fails thus ...

Code: GLBasic [Select]
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.053 SN:17d88e8b - 3D, NET
Wordcount:653 commands
compile+link:

running glb_build.bat
Using ANDROID_TARGET="android-19"
You can use "C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\glb_android_build.bat" to change the API level and SDK path.

AndroidIcons.exe [v3-3-2015] running...
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_36_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_48_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_72_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_96_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_180_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_192_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/icon_ouya_AndroidExtras.png to C:/Users/Windows User/Documents/GLBasic/_OUYA/OUYATest1xxx/distribute/Android/res/drawable-xhdpi/ouya_icon.png

Checked AdActivity (intersititals):


Android Extras version (SDLActivity.java):
* 2.9

Checking Icons Finished...

BUILD STAGE 2: Start compiler (android.bat)
Q:\Compiler\platform\android\bin\..\android-sdk-windows
Updated and renamed default.properties to project.properties
Updated local.properties
Added file C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\build.xml
Updated file C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 24.0.2
 [checkenv] Installed at Q:\Compiler\platform\android\android-sdk-windows

-setup:
     [echo] Project Name: glbasic
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 21.1.2
     [echo] Resolving Build Target for glbasic...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\res
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\rsObj
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\rsLibs
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\gen
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\classes
    [mkdir] Created dir: C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for glbasic...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 29 source files to C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\bin\classes
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:21: package com.google.android.gms.ads does not exist
    [javac] import com.google.android.gms.ads.AdListener;
    [javac]                                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:22: package com.google.android.gms.ads does not exist
    [javac] import com.google.android.gms.ads.AdRequest;
    [javac]                                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:23: package com.google.android.gms.ads does not exist
    [javac] import com.google.android.gms.ads.InterstitialAd;
    [javac]                                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:36: cannot find symbol
    [javac] symbol  : class InterstitialAd
    [javac] location: class org.libsdl.app.Interstitial
    [javac]     public InterstitialAd mInterstitial;
    [javac]            ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:94: cannot find symbol
    [javac] symbol  : class AdListener
    [javac] location: class org.libsdl.app.Interstitial
    [javac] class GoogleAdmobListener extends AdListener
    [javac]                                   ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:45: cannot find symbol
    [javac] symbol  : class InterstitialAd
    [javac] location: class org.libsdl.app.Interstitial
    [javac]             {       mInterstitial = new InterstitialAd(context);
    [javac]                                         ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:63: package AdRequest does not exist
    [javac]                                     mInterstitial.loadAd(new AdRequest.Builder().build());
    [javac]                                                                       ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:101: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:112: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             {       case AdRequest.ERROR_CODE_INTERNAL_ERROR:
    [javac]                          ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:115: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             case AdRequest.ERROR_CODE_INVALID_REQUEST:
    [javac]                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:118: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             case AdRequest.ERROR_CODE_NETWORK_ERROR:
    [javac]                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:121: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             case AdRequest.ERROR_CODE_NO_FILL:
    [javac]                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:107: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:127: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:132: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:138: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 16 errors

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

Total time: 1 second
.
BUILD STAGE 4: Build a release build
   [subant] No sub-builds to iterate on
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:21: package com.google.android.gms.ads does not exist
    [javac] import com.google.android.gms.ads.AdListener;
    [javac]                                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:22: package com.google.android.gms.ads does not exist
    [javac] import com.google.android.gms.ads.AdRequest;
    [javac]                                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:23: package com.google.android.gms.ads does not exist
    [javac] import com.google.android.gms.ads.InterstitialAd;
    [javac]                                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:36: cannot find symbol
    [javac] symbol  : class InterstitialAd
    [javac] location: class org.libsdl.app.Interstitial
    [javac]     public InterstitialAd mInterstitial;
    [javac]            ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:94: cannot find symbol
    [javac] symbol  : class AdListener
    [javac] location: class org.libsdl.app.Interstitial
    [javac] class GoogleAdmobListener extends AdListener
    [javac]                                   ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:45: cannot find symbol
    [javac] symbol  : class InterstitialAd
    [javac] location: class org.libsdl.app.Interstitial
    [javac]             {       mInterstitial = new InterstitialAd(context);
    [javac]                                         ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:63: package AdRequest does not exist
    [javac]                                     mInterstitial.loadAd(new AdRequest.Builder().build());
    [javac]                                                                       ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:101: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:112: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             {       case AdRequest.ERROR_CODE_INTERNAL_ERROR:
    [javac]                          ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:115: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             case AdRequest.ERROR_CODE_INVALID_REQUEST:
    [javac]                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:118: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             case AdRequest.ERROR_CODE_NETWORK_ERROR:
    [javac]                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:121: cannot find symbol
    [javac] symbol  : variable AdRequest
    [javac] location: class org.libsdl.app.Interstitial.GoogleAdmobListener
    [javac]             case AdRequest.ERROR_CODE_NO_FILL:
    [javac]                  ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:107: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:127: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:132: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android\src\com\glbasic\test\Interstitial.java:138: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 16 errors
    [javac] Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

Total time: 1 second
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
HOW TO INSTALL? Install by invoke this command:
"Q:\Compiler\platform\android\bin\..\android-sdk-windows\platform-tools\adb.exe" install -r "C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android/bin/glbasic-debug.apk"
.
HOW TO SIGN? Sign it by invoke this command:
"Q:\Compiler\platform\android\bin\glb_code_sign.bat" "C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android"
.
Android=C:\Users\Windows User\Documents\GLBasic\_OUYA\OUYATest1xxx\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 10.7 sec. Time: 11:31
Build: 1 succeeded.

 

11
GLBasic - en / Re: AE 2.9
« on: 2015-Mar-05 »
Have just updated AE to 2.9 (I tried with 2.8 but that also failed) and tried to compile for android but thru up various errors. Thought it might be my code so tried with the supplied AE sample (clean compile etc) and still get errors. I have no idea whats wrong and hope someone can shed some light on the problem.

Code: GLBasic [Select]


-compile:
    [javac] Compiling 66 source files to C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\bin\classes
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Interstitial.java:31: duplicate class: org.libsdl.app.Interstitial
    [javac]  class Interstitial {
    [javac]  ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:347: cannot find symbol
    [javac] symbol  : constructor Interstitial()
    [javac] location: class org.libsdl.app.Interstitial
    [javac]             {       InterstitialAd=new Interstitial();
    [javac]                                    ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:348: cannot find symbol
    [javac] symbol  : variable currentActivity
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     InterstitialAd.currentActivity=(Activity)mSingleton;
    [javac]                                   ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:349: cannot find symbol
    [javac] symbol  : method init(android.content.Context)
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     InterstitialAd.init(getContext());
    [javac]                                   ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:442: cannot find symbol
    [javac] symbol  : variable isshow
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     {       if (InterstitialAd.isshow==false)
    [javac]                                               ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1063: cannot find symbol
    [javac] symbol  : method show()
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     if (tokens[1].equals("show"))     { InterstitialAd.show();            }
    [javac]                                                                       ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1065: cannot find symbol
    [javac] symbol  : method error()
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     if (tokens[1].equals("error"))    { result=InterstitialAd.error(); return result;    }                 
    [javac]                                                                              ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:338: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]             {       String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
    [javac]                                                      ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:345: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]             {       String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
    [javac]                                                      ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:353: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                             skuactivate = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
    [javac]                                                                      ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:383: cannot find symbol
    [javac] symbol  : variable NAME_SLIDEME
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                     {       storeKeys.put(OpenIabHelper.NAME_SLIDEME, SLIDEME);
    [javac]                                                        ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:388: cannot find symbol
    [javac] symbol  : variable NAME_APPLAND
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                     {       storeKeys.put(OpenIabHelper.NAME_APPLAND, APPLAND_PUBLIC_KEY);
    [javac]                                                        ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:414: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                                             sku = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
    [javac]                                                                              ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:418: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                                     ShopName=mHelper.getConnectedAppstoreName();
    [javac]                                                     ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:440: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                     String appstore=mHelper.getConnectedAppstoreName();
    [javac]                                            ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:470: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]             inappPurchase=mHelper.getSku(mHelper.getConnectedAppstoreName(), inappPurchase);
    [javac]                                                 ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:510: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]     {       if (Ouya==false) sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), sku);
    [javac]                                                        ^
    [javac] Note: C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 17 errors

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

Total time: 2 seconds
.
BUILD STAGE 4: Build a release build
   [subant] No sub-builds to iterate on
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Interstitial.java:31: duplicate class: org.libsdl.app.Interstitial
    [javac]  class Interstitial {
    [javac]  ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:347: cannot find symbol
    [javac] symbol  : constructor Interstitial()
    [javac] location: class org.libsdl.app.Interstitial
    [javac]             {       InterstitialAd=new Interstitial();
    [javac]                                    ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:348: cannot find symbol
    [javac] symbol  : variable currentActivity
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     InterstitialAd.currentActivity=(Activity)mSingleton;
    [javac]                                   ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:349: cannot find symbol
    [javac] symbol  : method init(android.content.Context)
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     InterstitialAd.init(getContext());
    [javac]                                   ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:442: cannot find symbol
    [javac] symbol  : variable isshow
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     {       if (InterstitialAd.isshow==false)
    [javac]                                               ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1063: cannot find symbol
    [javac] symbol  : method show()
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     if (tokens[1].equals("show"))     { InterstitialAd.show();            }
    [javac]                                                                       ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java:1065: cannot find symbol
    [javac] symbol  : method error()
    [javac] location: class org.libsdl.app.Interstitial
    [javac]                     if (tokens[1].equals("error"))    { result=InterstitialAd.error(); return result;    }                 
    [javac]                                                                              ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:338: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]             {       String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
    [javac]                                                      ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:345: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]             {       String sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), tokens[2]);
    [javac]                                                      ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:353: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                             skuactivate = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
    [javac]                                                                      ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:383: cannot find symbol
    [javac] symbol  : variable NAME_SLIDEME
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                     {       storeKeys.put(OpenIabHelper.NAME_SLIDEME, SLIDEME);
    [javac]                                                        ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:388: cannot find symbol
    [javac] symbol  : variable NAME_APPLAND
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                     {       storeKeys.put(OpenIabHelper.NAME_APPLAND, APPLAND_PUBLIC_KEY);
    [javac]                                                        ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:414: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                                             sku = mHelper.getStoreSku(mHelper.getConnectedAppstoreName(), sku);
    [javac]                                                                              ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:418: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                                     ShopName=mHelper.getConnectedAppstoreName();
    [javac]                                                     ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:440: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]                     String appstore=mHelper.getConnectedAppstoreName();
    [javac]                                            ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:470: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]             inappPurchase=mHelper.getSku(mHelper.getConnectedAppstoreName(), inappPurchase);
    [javac]                                                 ^
    [javac] C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\Shop.java:510: cannot find symbol
    [javac] symbol  : method getConnectedAppstoreName()
    [javac] location: class org.onepf.oms.OpenIabHelper
    [javac]     {       if (Ouya==false) sku=mHelper.getSku(mHelper.getConnectedAppstoreName(), sku);
    [javac]                                                        ^
    [javac] Note: C:\Program Files (x86)\GLBasic_v12\Compiler\platform\android\Android Extras\AndroidSample.app\distribute\Android\src\com\glbasic\test\SDLActivity.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 17 errors
    [javac] Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
 

12
Off Topic / Re: Amiga disc to adf
« on: 2015-Feb-24 »
A few years back I had the same problem. I wanted all my old stuff id written transfered over to the PC. I looked into the Amiga explorer solution on Amiga forever and thought id give it a shot. I used the old lying around null modem cable, plugged it all in and followed the very simple instructions (even for me, the noddier the better). And within 10 minutes I was actually transfering stuff over. At which point I just created a new boot disk with the relevant details on and any time i wanted to transfer something i just booted the Amiga, and it was ready to transfer in 2 minutes. It really is a doddle that any numpty can follow (Im living proof of that)

13
Off Topic / Re: Best 2D engines
« on: 2014-Jul-29 »
I thought it was so good I voted twice (once with facebook, once with google+) :)

14
Yup. ive tried all combinations (I think). it either does nothing or returns to the desktop (of the phone).

Any chance of a simple piece of code showing how to do it ? Not to END but do something like play a sound etc when Back is hit ?

And yes, it is v2.3 (i used the full install just yesterday as the partial instal was not working)

15
GLBasic - en / Re: Read / Write types
« on: 2014-Jul-14 »
what im trying to do (very basically) is this ...

Code: GLBasic [Select]
TYPE Tthing
        x
        y
        z
        a$
        b$
        c$
ENDTYPE

LOCAL temp AS Tthing

LOCAL ok

temp.x = 99
temp.y = 50
temp.z = 1
temp.a$= "abc"
temp.b$= "123"
temp.c$= "test"




ok = OPENFILE(0, "file.dat", FALSE)
WRITE 0,temp
CLOSEFILE


ok = OPENFILE(0, "file.dat",TRUE)
READ 0, temp
CLOSEFILE

 

... in its simplest form. Of course I`d want to write out an array of said type etc (its just to show the principle here etc). as it is i have to run thru the whole type saving each individual "bit"


Pages: [1] 2 3 ... 16