GLBasic forum

Main forum => GLBasic - en => Topic started by: Marmor on 2012-Jul-01

Title: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-01
hi all ,

if anyone will help with testing some software for android and glb sign in here .
i need someone who have an adroid device and a little bit of time for chat...
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Hatonastick on 2012-Jul-02
I have a Toshiba Thrive Tablet (Android 3.2), ZTE Tablet (2.2) and Samsung Galaxy Mini (2.3.4).  I may even have time for a chat if you need it. :)
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-02
great u are my man  :nw:

u got pn
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Hatonastick on 2012-Jul-02
There's a rather large time difference between Marmor and myself which means that 7pm his time is roughly 3am my time (I'm GMT +9:30 Adelaide, South Australia), and as I'm only really available possibly Friday nights and weekends, can someone else please help?  I'm withdrawing my offer.  Sorry...
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-02
really no other ??
another free android lib for glb user isnt cool enough maybe ..
sad...
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Hemlos on 2012-Jul-02
When you see me in chat, remind me, i know someone that can help.
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: matchy on 2012-Jul-02
Friday to early Monday is usually the best time to jump irc. I'd be happy to help!
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Hatonastick on 2012-Jul-02
I would have been too, I just forgot about the fact that I'm off in the long lost land of Oz while most other developers on here are in Europe -- and 3am is just a bit hard for me to handle these days. :)
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: bigsofty on 2012-Jul-02
My Android tablet arrived back today, it was broken, I can give it a go if need be. Android 4.0.3, 1024x768, 1GB/32GB
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-02
yes fine !
here is the plan .


before i  rewrite my programm to make it smarter and cleaner i think i need some tests with other devices to solve some problems .

lets start with a normal androidapp with  an inbuild server .
the app shows at start the device ip.
u need this to connect the device with normal socket glb commands .
after this the glb programm sends following

startgps        -    init gps on android device
getcount       -    shows the counter of   gps measurements
getgps          -    get lat and lon
getsat           -    get the list of used satelites
stopgps        -     stops the gps service .

if this will work on all devices i will continue with following commands

.readsms       -  read all sms
.sendsms       - send an sms
.readmails      - read your mails
.sendmail       - is fully supported in glb ;)
.getpicture     - get a picture from the camera
.readcontact  - read your contacts on the device

maybe i can call the originalkeyboard ! but dunno yet

much much moore .......

after all i create a background service app for android. this  service run invisible on the device .
now your glb programm have all the provided features from the service app.
some socketcommands ,localhost and maybe 2222 as port is all you need !!!
after getting all data you can kill the service with glb also .

what doyou think about .....

a  i forget its free ...
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Hemlos on 2012-Jul-02
Quote from: Marmor on 2012-Jul-02
what doyou think about .....

where the download is  =D
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-02
apk link http://www.blitzforum.de/upload/file.php?id=11791 (http://www.blitzforum.de/upload/file.php?id=11791)

set unknown sources on

glb code
Code (glbasic) Select

SOCK_INIT()


sock_cv = SOCK_TCPCONNECT("192.168.2.130", 2222)


msg$ = "INITGPS"

rv% = SOCK_TCPSEND(sock_cv, msg$)

SLEEP 15000   // set higher to get lat and lon on your device

msg$ = "stopGPS"

rv% = SOCK_TCPSEND(sock_cv, msg$)

Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: bigsofty on 2012-Jul-02
Sounds great but I think I have to send this one back too, all day and it won't hold a charge(Storage Options tablets suck! :rant:), so I'm out till this one gets replaced too.
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: okee on 2012-Jul-03
It shows my ip on both phones but no stats for gps
Samsung Galaxy S2 and ZTE Blade

[attachment deleted by admin]
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-03
okee please run the glb code

you need wlan connect for this u know

u see the device ip at app start


thx a lot
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: okee on 2012-Jul-03
Ok here's what i've done:

Run the Server app "Network"
Run the code above (with the ip address changed to the phone ip address)
Switch back to the server

Result:12
Ucall:INITGPS

it starts gps

the fields above change to lon: and lat: and displays the coordinates



Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-03
is stopgps working ?
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: okee on 2012-Jul-03
Yeah it turns off gps when finished
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Albert on 2012-Jul-03
Working here too.
Samsung Galaxy S. It's turn off GPS on the end.

I've modified: SLEEP 15000 to SLEEP 150000
and it gets the lan and long, and then it started counting in toast messages 1MESS, 2MESS...
I can't rid of the Network app, can't close (even with Advanced Task Killer), finally I close and run the glb code on my windows, and it stopped the app on the phone.
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-03
yap
Albert, if you use a bigger delay the gps will showing , where is a time difference between indoor and outdoor .
Outdoor need less time .
The counter count the measurments from gps.
You can use this to know if you can get  a new gps data

Glad it works.

Prepare network code this night to get data from phone.
Is this running fine we have a WLAN GPS MOUSE ;)

Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Kitty Hello on 2012-Jul-04
did I read this right? You made it to read the GPS of an android device in pure GLBasic code?
Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Marmor on 2012-Jul-04
no kitty ! this is unsolved yet .
i write a app in an other language wich can do this and transfer the result over tcpip.
the apk will be written as a android service .this runs in background .

Title: Re: need somone with android hardware and a little bit time for testing ....
Post by: Kitty Hello on 2012-Jul-04
Ah. I see. Very interesting.