Share My Creation PL2303 USB-GPS-stick - Software is available

Hi all,

I've finished my App PL2303 Mock Location Provider!

If you are interested in using a USB-GPS-Stick on your Advent-Vega, POV mobii or Viewpad, then you should hav a look at Market

https://market.android.com/details?id=de.esolutions4you.mlprovider#?t=W251bGwsMSwyLDIxMiwiZGUuZXNvbHV0aW9uczR5b3UubWxwcm92aWRlciJd

or

https://market.android.com/details?...GUuZXNvbHV0aW9uczR5b3UubWxwcm92aWRlcmRlbW8iXQ..

Now you can use an USB-GPS-stick on your devices usb-host-port.

The app was made for NAVILOCK NL 464 US - stick, but should work with every GPS-stick/-mouse, based on a
sserial To usb interface PL2303...

The costs for such a GPS stick/mouse varies from about $ 20,00 to $35,00.

For using my app no kernel-driver- support is needed. The driver stuff is buildin into the app and is loading on the fly.

Tested under VegaICS... with' GPS-Status and Tools', 'GMaps', 'Navigon' (100% working).
If the app runs in background - all GPS based apps get location data, as like a buildin GPS was activated!


The DEMO version is limited for 10 minutes of use - as often as you want.

CREDITS go to

Agraham for the Prolifac driver implementation for b4a,

Erel for the hints to Antializing code,

Klaus for the Map Web View sample,

Corwin42 for the AH Quick Action Library

All who had given tips for using B4A Service modules

and the great community in this forum!


regards

bitstra
 

Attachments

  • Screen1_rotated.jpg
    Screen1_rotated.jpg
    76.1 KB · Views: 13,033
  • Screen1.jpg
    Screen1.jpg
    29.8 KB · Views: 783
  • Screen2.jpg
    Screen2.jpg
    24.8 KB · Views: 691
  • Screen3.jpg
    Screen3.jpg
    22.4 KB · Views: 568
  • Screen4.jpg
    Screen4.jpg
    22.1 KB · Views: 529
Last edited:

bitstra

Member
Licensed User
Longtime User
Hi COBRAsoft,

thanx for the reply...

Satellitedata from NMEA contains elevation and azimuth (in degrees) info about the satellites. These degrees-data have to be converted for showing in
Polar-x-y-coordinate-system like


Dim el,az As Double
el=Elev(I):az=Azim(I)
r =90-el
theta=90-az
theta=theta *3.14/180

x=centX+(r*Cos(theta))
y=centY+(r*Sin(theta))

so you have the xy-coords for showing like in my app. But the x-y-coords have to be corrected for every quadrant (0°-90°; 91°-180°; 181°-270°; 271°-360°)

Then the sat graphs (drawCircles, and drawTexts) can be done...
... without java - all to be done b4a :)

BTW: also the sensor-data for the car level graphics where
dificuilt to correct. :(

regards

bitstra
 

alfcen

Well-Known Member
Licensed User
Longtime User
Hi bistra

Looks very well designed. Congratulations!
Sorry for my ignorance, what is the advantage of using the GPS stick over the internal GPS? Accuracy?

By the way,

theta=theta *3.14/180
x=centX+(r*Cos(theta))
y=centY+(r*Sin(theta))

you can save the first line if using:
x=centX+(r*CosD(theta))
y=centY+(r*SinD(theta))



Edit: Question re USB stick answered. I just saw your app in the market.
 
Last edited:

veilleur

New Member
Hello,
I want to use your work to install android on my shelf but I can not download the demo version on Andoid market because it is not compatible, you can send me a demo to the test.
thank you
PS: I am French excuse me for the translation
 

mitsusdev

Member
Licensed User
Longtime User
For using my app no kernel-driver- support is needed. The driver stuff is buildin into the app and is loading on the fly.

Hi bistra,
good work!! Please, can you explain was you have done or what procedure you followed to place the drivers on the fly (buildin) in your app?

Thanks and regards
 

bitstra

Member
Licensed User
Longtime User
@vailleur

Hello,
I want to use your work to install android on my shelf but I can not download the demo version on Andoid market because it is not compatible, you can send me a demo to the test.
thank you
PS: I am French excuse me for the translation


Hi,

sorry for the silence, I had a trip to egypt.
Here is a dropbox-link to my apps demo-version:
http://dl.dropbox.com/u/12364391/PL2303MockLocatonDEMO.apk

regards

bitstra
 

bitstra

Member
Licensed User
Longtime User
@mitsusdev

Hi bistra,
good work!! Please, can you explain was you have done or what procedure you followed to place the drivers on the fly (buildin) in your app?

Thanks and regards


Hi,

sorry for the silence, I had a trip to egypt.

The solution to implement the driver stuff is based on agrahams PL2303 lib project: http://www.b4x.com/forum/additional...es/11449-pl2303-usb-rs232-adaptor-driver.html

This made it possible to use the serialadaptor without kernel driver...

regards

bitstra
 

kanaida

Active Member
Licensed User
Longtime User
I like the UI, looks pro :)

Just out of curiosity, what method did you use for drawing stuff? a bunch of views, a canvas and manual drawing? transforms?
 

champ720

New Member
hello, I connect USB GPS with PL2303 chipset to tablet pc EKEN T02A (android 4.0.3) but this program can't detect the USB GPS. what is the cause of this problem ?
 

bitstra

Member
Licensed User
Longtime User
For some reason you appear as an unlicensed user in the forum. Please contact [email protected] in order to fix it.

You've got an email with order confirmation and invoice data by plimus sales.
please update your records!

that's more than inconvinient! - AND unpleasant !

hope for a positive reply here...

regards

bitstra

P.S.: sorry for the late reply. I was in hospital for some days!
 
Last edited:

meow

New Member
You've got an email with order confirmation and invoice data by plimus sales.
please update your records!

that's more than inconvinient! - AND unpleasant !

hope for a positive reply here...

regards

bitstra

P.S.: sorry for the late reply. I was in hospital for some days!
Hey I think Erel was talking about champ720 - not you. By the way, I too have yet to buy B4A so am I not allowed in this forum? I thought only libs forum was off limits for unregistered users
 
Top