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 [2] 3 4 ... 8
16
GLBasic - en / Re: Android GPS disable
« on: 2017-Jul-10 »
all I did was exit Glbasic
goto
C:\Program Files (x86)\GLBasic_v14\Compiler\platform\android
and dragged all the new  files / folders in like for like.
takes a few minutes to unpack and copy plus overwrite warnings.
but this worked for me.



 

17
GLBasic - en / Re: Android GPS disable
« on: 2017-Jul-09 »
just unpacked this version
Android Extras 3.01.2 and iOS9 iOS/TVos projects:
I guess this is the right one.

Its cleared the GPS warning. and also saved 100kb in APK size

18
GLBasic - en / Re: Android GPS disable
« on: 2017-Jul-09 »
I'm using GLBasic IDE, Version: 14.497.
I thought android extras was now built in with v14 or do I have to update it another way?

the screen on android is fine it's the windows mouse that stop at 1092.

19
GLBasic - en / Android GPS disable
« on: 2017-Jul-08 »
Hi Guys
I don't have GPS switch on
and my builds always advise me to turn it on when executed.
i guessed this would have been in the manifest.xml and just needed removing
 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
but its not

any ideas on how to kill this?

also not that important but I'm building a new app with a resolution of 720x1280, under testing with android my finger mouse reports locations normally, but windows x is normal 0-720 but y is 0-1092 and wont go any higher (using mouseatate). The photo show 1068 must have knocked it when grabbing.

20
Off Topic / EXE to C or Python
« on: 2017-Apr-28 »
Found and tested this website the other day retdec.com

It converts EXE's to C or Python. The results come in the form of code and visual loop drawings.
I've been using it and ollydbg to reverse work related programs.

Anyone else tried or been looking for something like this?

21
GLBasic - en / Re: Android screen orientation
« on: 2017-Apr-26 »
Sorted, changed sensorLandscape to sensorPortrait. ( I guess the sensor bit is for the flip in Landscape mode)
It would be nice to have this option in GLB directly, rather then compiling, changing the XML file then recompiling again.

Cant wait till the next update and hope it fixes KEYWAIT
mousewait has slowdown issues on Windows and Keywait just gets ignored.

Is the PLATFORMINFO$(ID) key totally unique, Ive written a lock on my app to restrict parts from running with out a valid key.

 

22
GLBasic - en / Android screen orientation
« on: 2017-Apr-24 »
Written a few app for android over the years.today I started a new one from scratch using the latest GLB.
however its upside down, loading old project from older versions and compiling works.

no matter what project/options sizes i try makes no difference in android.

a simple  test
print"test",100,100
showscreen
mousewait

shows sideways

any Ideas, have I forgot something?

23
Bug Reports / Re: Android Media again
« on: 2016-Dec-24 »
Right Sorted v14 for Android v6 (Well for me any way)

This Works to Play Music

Code: GLBasic [Select]
IF DOESFILEEXIST("1.MOD")
PLAYMUSIC GETCURRENTDIR$()+"1.MOD", 1
ENDIF

This works for Fonts

Code: GLBasic [Select]
IF DOESFILEEXIST("lcd.png")
LOADFONT "lcd.png", 1
ENDIF

This works for Sound

Code: GLBasic [Select]
IF DOESFILEEXIST("atomicnew.wav")
LOADSOUND GETCURRENTDIR$()+"atomicnew.wav", 1,1
ENDIF
 

and this for Sprites

Code: GLBasic [Select]
IF DOESFILEEXIST("galaxysm.jpg")
LOADSPRITE "galaxysm.jpg",1
ENDIF
 


Maybe a function similar to the one Spacefractal shown is the way forward.

24
Bug Reports / Re: Android Media again
« on: 2016-Dec-24 »
Qedo try this it's v12 pre android extras, found it on my old laptop
bouncing sprite and MOD music.

works on my V6 android,

Paul

25
Bug Reports / Re: Android Media again
« on: 2016-Dec-24 »
Paul i have tried also to compile with GL12 but same result.
Playmusic and Loadsound with android 6 don't work.
Ciao

V12 worked on my v6 Moto G 2nd,playmusic was playing .MOD and .IT tracker music files.
WAVs also worked.I lost my App after I rooted it last week.and cant find my backup.
if I find it or install v12, I'll send you a apk to test.

I cant see that v12 link from the page

26
Bug Reports / Re: Android Media again
« on: 2016-Dec-24 »
IF DOESFILEEXIST is working for jpg and bmp but not for playmusic or  Loadsound.

I used the stock Android from the main GLBasic,http://www.glbasic.com/platform/. Is this out of date.

I downloaded that androidExtra and unpacked it to the main root of glbasic as per installation instructions, and to the platform folder just in case.
but no change. That's if I was supposed to do that.

Anyone Know the Link to the Glbasic V12


27
Bug Reports / Re: Android Media again
« on: 2016-Dec-24 »
No its missing on the new web design. Tried to google it but they all say cracked version, which is sad.Probably all Virus files anyway

28
Bug Reports / Re: Android Media again
« on: 2016-Dec-24 »
Just copied the APK onto my old tablet. 4.4. and 2 and 3 work. So GLB v14 is bugged for Android v5+.
Probably why Android is missing from the main Website Page.
I know v12 had no problems as my app was working until I reloaded my phone.

Any one have a Link for GLBasic v12?

29
Bug Reports / Android Media again
« on: 2016-Dec-23 »
I've gone back to basic with this.

load a simple sprite and display it.
As expected only 2 and 3 work in windows.
none work in android
I've removed GETCURRENTDIR$()+ as spacefractal says it not needed, this worked every time in v12.

and ideas

Code: GLBasic [Select]
SETFONT 0,3

LOADSPRITE "back.bmp",1
DRAWSPRITE 1,100,100
PRINT "1",1,1
SHOWSCREEN
MOUSEWAIT

LOADSPRITE "Media/back.bmp",2
DRAWSPRITE 2,100,100
PRINT "2",1,1
SHOWSCREEN
MOUSEWAIT

SETCURRENTDIR("Media")
LOADSPRITE "back.bmp",3
DRAWSPRITE 3,100,100
PRINT "3",1,1
SHOWSCREEN
MOUSEWAIT

LOADSPRITE "Media/back.bmp",4
DRAWSPRITE 4,100,100
PRINT "4",1,1
SHOWSCREEN
MOUSEWAIT

30
GLBasic - en / Keywait not fixed v14.497
« on: 2016-Dec-23 »
14.497
   // Core:
   //     SOCK_UDPSEND - bug. Port was internally ill formated.
   //     KEYWAIT - fixed
   // Editor:
   //     Not responding editor in debug session should be fixed.

This is still broken on my system
mousewait still works.

Pages: 1 [2] 3 4 ... 8