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 - Paul Smith

Pages: 1 ... 6 7 [8]
106
GLBasic - en / Re: Playmusic on Android?
« on: 2011-Oct-09 »
Just got the new Sony Ericsson Arc S phone.2.3.4,and tested a few commands
I'm having problems with PLAYMUSIC
no sound with MP3
no sound with MP4( speaker turns on just about hear white noise when close to ear )
music mixed with junk with OGG

tried a few compression rates

Any Ideas?

here a copy of my log

@ECHO OFF

:: install Android SDK, Android NDK
:: install JDK


set HERE=%~dp0

set ANDROIDSDK=%HERE%..\android-sdk-windows
set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_24


set PATH=%JAVA_HOME%\bin;%PATH%

"%ANDROIDSDK%\platform-tools\adb.exe" shell logcat glbasic:I SDL:I *:S


IF "%NOPAUSE%"=="" PAUSE

107
GLBasic - en / Re: Android compiling Problems
« on: 2011-Sep-12 »
Uninstalled everything and deleted all environment for java/android
reinstalled and set up all.
made new project but saved it onto my desktop, also gave it a company name.
Got a better log this time.
2 errors at end not sure what they mean.
set up an AVD not sure how to project to run on the emulator yet, will need to read more instructions.

thanks for the help.

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.8.048 SN:681be9d9 - 3D, NET
Wordcount:3 commands
compile+link:
BUILDSRIPT
BUILD STAGE 1: Compile and pack
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into C:\Users\Paul6175\Desktop\distribute\Android\bin\classes.dex...
     [echo] Packaging resources
     [echo] No key.store and key.alias properties found in build.properties.
     [echo] Please sign C:\Users\Paul6175\Desktop\distribute\Android\bin\glbasic-unsigned.apk manually
     [echo] and run zipalign from the Android SDK tools.

BUILD SUCCESSFUL
Total time: 8 seconds
BUILD STAGE 2: Install on device
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into C:\Users\Paul6175\Desktop\distribute\Android\bin\classes.dex...
     [echo] Packaging resources
     [echo] Running zip align on final apk...
     [echo] Debug Package: C:\Users\Paul6175\Desktop\distribute\Android\bin\glbasic-debug.apk
     [echo] Installing C:\Users\Paul6175\Desktop\distribute\Android\bin\glbasic-debug.apk onto default emulator or device...

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:641: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:271: exec returned: 1

Total time: 10 seconds
Android=C:\Users\Paul6175\Desktop\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 26.4 sec. Time: 22:16
Build: 1 succeeded.


108
GLBasic - en / Re: Android compiling Problems
« on: 2011-Sep-12 »
No spaces or symbols.
All I'm compiling at the moment is a simple hello world
new project "antest.gbas"

// --------------------------------- //
// Project: antest
// Start: Monday, September 12, 2011
// IDE Version: 10.106



PRINT "test test", 0, 50;
SHOWSCREEN
END

109
GLBasic - en / Android compiling Problems
« on: 2011-Sep-12 »
After my current phone melted itself, I'm tempted to buy an  Android phone
before I recompile my old projects I thought I would test it out on some samples e.g helloworld( all compile in   w32 and Win-CE )
I'm getting the errors listed below then compiling
Ive followed the installation instructions and set environment paths etc
any Ideas what Im missing.

Win 7 64bit
java sdk 32 (tried 1.7 & 1.6)
android sdk (installed everything)


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.8.048 SN:681be9d9 - 3D, NET
Wordcount:4 commands
compile+link:
BUILDSRIPT
BUILD STAGE 1: Compile and pack
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
    [javac] C:\Users\Paul6175\Documents\GLBasic\GLBasic\Samples\Basics\distribute\Android\gen\com\.helloworld\R.java:8: malformed floating point literal
    [javac] package com..helloworld;
    [javac]            ^
    [javac] 1 error

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:386: Compile failed; see the compiler error output for details.

Total time: 3 seconds
BUILD STAGE 2: Install on device
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
    [javac] C:\Users\Paul6175\Documents\GLBasic\GLBasic\Samples\Basics\distribute\Android\gen\com\.helloworld\R.java:8: malformed floating point literal
    [javac] package com..helloworld;
    [javac]            ^
    [javac] 1 error

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:386: Compile failed; see the compiler error output for details.

Total time: 3 seconds
Android=C:\Users\Paul6175\Documents\GLBasic\GLBasic\Samples\Basics\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 12.7 sec. Time: 17:11
Build: 1 succeeded.




Pages: 1 ... 6 7 [8]