eltorio / RtkGps

Playing with rtklib on android
Other
214 stars 102 forks source link

android rtklib 2.4.3 b29 #16

Closed elsol666 closed 6 years ago

elsol666 commented 7 years ago

Hi, great work eltorio, but is there a chance to update the android stuff to b29 including the changes of tomojitakasu (https://github.com/tomojitakasu/RTKLIB/tree/rtklib_2.4.3)? He made some more bugfixes and the support of skytraq extended raw message is in your version also still missing!

Would be great, thanks!

rinex20 commented 7 years ago

Please refer the following: https://github.com/rinex20/RtkGps/blob/master/demo5b29/apk

rinex20 commented 7 years ago

new version released! @elsol666

gto234 commented 7 years ago

@rinex20 since you are building new versions of rtkgps can you please add the $GPGST NMEA output? See here i will test your version later, for now i am using 2.4.2 p11

rinex20 commented 6 years ago

@gto234 yes,I will add this sentense,please wait.

gto234 commented 6 years ago

@rinex20 thanks, can you also check the compatibility with android 4+? On S3mini the app doesn't install at all and in android 4.4 in crashes on start.

pb1966 commented 6 years ago

@rinex20 new RTKGNSS.apk not working with Android 7, crash after start. Can you fix this because i like use mock location

rinex20 commented 6 years ago

@pb1966 please select rtk+ as mock location service provider in developer option before run rtk+

caris2010 commented 6 years ago

RTKGNSS.apk not working with Android 6 also, crash after start. Already setting the mock in developer, but no luck. Anything miss?

pb1966 commented 6 years ago

I try enable mock in dev setings, but the app crash with Android 7 :-(

pb1966 commented 6 years ago

is it possible save the settings, because after a reinstall all settings have to do again? i do not found the installation directory and config file on my phone

caris2010 commented 6 years ago

any good news about Mock Location feature?

jdatalog commented 6 years ago

Hi all, @rinex20,any progress ? It should be nice if you share your work. That will open the oportunity to help you.

caris2010 commented 6 years ago

yes any progress please?? mock location

sobido commented 6 years ago

seems that Mapit (http://mapit-gis.com/) took the relay for RTKGSP+. call it Ntrip client. doesn't work yet with Ublox format but OK with RTCM3 so far. they also correct a bug in the minus sign possible when you give position of your BASE .

caris2010 commented 6 years ago

I've make contacts with mapit They said it work for ublox m6t m4 version But mock location feature is one of the best solution also

On Mon, Apr 9, 2018, 6:58 PM sobido notifications@github.com wrote:

seems that Mapit (http://mapit-gis.com/) took the relay for RTKGSP+. call it Ntrip client. doesn't work yet with Ublox format but OK with RTCM3 so far. they also correct a bug in the minus sign possible when you give position of your BASE .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/16#issuecomment-379726982, or mute the thread https://github.com/notifications/unsubscribe-auth/AhFuQRZUqR5MPIxAZe-DJS1sBhqnYPegks5tm0zNgaJpZM4PheWf .

sobido commented 6 years ago

there is alos another RTKGPS+ version on geottaging+ https://play.google.com/store/apps/details?id=com.geotaggingplusfree

caris2010 commented 6 years ago

Yes that is my own

On Tue, Apr 10, 2018, 1:00 PM sobido notifications@github.com wrote:

there is alos another RTKGPS+ version on geottaging+ https://play.google.com/store/apps/details?id=com.geotaggingplusfree http://url

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/16#issuecomment-379983451, or mute the thread https://github.com/notifications/unsubscribe-auth/AhFuQZjj980S2FW_E_0MTSP198CcFmmnks5tnEp8gaJpZM4PheWf .

sobido commented 6 years ago

@caris2010 impressed & respect ! Geottaging+ works nice indeed. did you plan to propose also soon , for some Android smartphone , an input for Rover, with their own raw internal GNSS?

caris2010 commented 6 years ago

Its depent on rtklib code...

On Tue, Apr 10, 2018, 1:31 PM sobido notifications@github.com wrote:

@caris2010 https://github.com/caris2010 impressed & respect ! Geottaging+ works nice indeed. did you plan to propose also soon , for some Android smartphone , an input for Rover, with their own raw internal GNSS?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/16#issuecomment-379989299, or mute the thread https://github.com/notifications/unsubscribe-auth/AhFuQey0HW9ZiVW1dXFBI2WqPt3XrEDDks5tnFHbgaJpZM4PheWf .

pb1966 commented 6 years ago

@caris2010 do you will add mock provider with Geottaging+ ?

caris2010 commented 6 years ago

mock location not working well crash..crash..crash

2018-04-16 1:45 GMT+07:00 pb1966 notifications@github.com:

@caris2010 https://github.com/caris2010 do you will add mock provider with Geottaging+ ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/16#issuecomment-381428546, or mute the thread https://github.com/notifications/unsubscribe-auth/AhFuQcxVaA3UGk3y4il9a5wuz8djSNqxks5to5UsgaJpZM4PheWf .

jdatalog commented 6 years ago

Hi all, Still nobody to share (git repo) his work with the community as Eldorio have already done ? That will help to try to solve existing issues, no ?

eltorio commented 6 years ago

With help of gpsFan I upgraded to 2.4.23b29d

caris2010 commented 6 years ago

Good to know your new progress.. Let me try.. Thank you

jdatalog commented 6 years ago

Thanks a lot gpsFan and Ronan for your work. Christophe

caris2010 commented 6 years ago

I've just tried your new RTKGPS+.. its working well.. but not for MOCK Location.. Still crash exit program when the mock location activated..

eltorio commented 6 years ago

Dear Caris2010 You must enable the developer mode on your phone… Mock location is a developer option.

caris2010 commented 6 years ago

Yes I did... But still no luck... May be the version of android???

eltorio commented 6 years ago

Perhaps, maybe you can launch it with Android studio 3.1 in debugger subsytem and send me back the error and the stack trace. I currently develop on a Trimble SpectraPrecision MobileMapper 50 which is a very specific phone! If you do not know how to launch… Download Android Studio it is so easy, after installing you can open clone directly from github

capture d ecran 2018-08-05 a 10 43 43 capture d ecran 2018-08-05 a 10 44 00

You may have multiple sdk and tools needed but Android Studio will ask you to download them automatically

eltorio commented 6 years ago

I can reproduce you problem 08-05 11:29:42.281 16630-16630/gpsplus.rtkgps E/RtkGps mock loc service: Mock Location is not allowed 08-05 11:29:52.440 16630-16683/gpsplus.rtkgps E/AndroidRuntime: FATAL EXCEPTION: IntentService[RtkNaviService] Process: gpsplus.rtkgps, PID: 16630 java.lang.SecurityException: gpsplus.rtkgps from uid 10116 not allowed to perform MOCK_LOCATION

In developper setting do you add the good authorization? On my development mobile (Android 6.0.)1 I did (in french): screenshot_20180805-113242 screenshot_20180805-113342 screenshot_20180805-113407

caris2010 commented 6 years ago

Thx..for your additional info.. Let me try again.. Actually there is the mapit NTRIP that could make connection with mapit GIS..But not the mock location

caris2010 commented 6 years ago

May be this cause the problem of mock location Nothing in select debug app. Should I refresh or re install the rtkgps+ ??

eltorio commented 6 years ago

You may try the version in 1.0_Alpha_26 branch which has a better permission handling

caris2010 commented 6 years ago

sorry.. where can we find "version 1.0_Alpha_26"

eltorio commented 6 years ago

In GitHub you need to switch the current branch… Next the current app is in bin/. All my app are signed with the same key so you can install them without loosing your settings. Finally if you need an older version you might use the history in GitHub and browse the repository at a new commit stage.

capture d ecran 2018-08-06 a 07 46 51
caris2010 commented 6 years ago

ok .. Thank you.. let me try first

caris2010 commented 6 years ago

I just test your v26 , This show a completely wrong position. I do not know the problem, may be you forget a leap second (18) or something... Then I can not test the mock location feature Its normal in your V25 but crash when mock location activated

eltorio commented 6 years ago

It is a 64 bits issue… Same with x86_64 and arm64_v8a I'll try to take some time to compile without 64bits, but compile it only for x86 and armeabi-v7a, remove x86_64 and arm64_v8a.

eltorio commented 6 years ago

Last 1.0_Alpha_26 is now built without 64bits support… please try

caris2010 commented 6 years ago

Wow... Thx for your great response. Let me test and compare with mapit NTRIP

caris2010 commented 6 years ago

roughly test.. looks normal.. great progress.. ( use ANDROID v7.1 auto upgrade from v6.xx)

  1. Setting mock location -> rtkGPS+ , but Nothing in select debug app setting
  2. check activate mock location in RTKGPS+ setting no crash issue but the mock location output seem can not be used for others apps or not connected still show waiting for position in others apps when we use mock location

Am i missing something in setting ?

caris2010 commented 6 years ago

Hi El.. good news... your last v26 is working normally in Android V.5xx including the mock location feature great improvement..

eltorio commented 6 years ago

Just, for knowing what is your target receiver and your target handled?

caris2010 commented 6 years ago

I use ublox m8t. and old Sony Expedia z.. with android 5.xx. .. the mock location still not working on Xiaomi with android 7.xx .

ausioz commented 6 years ago

It seems android removed mock location for api 23++.

https://developer.android.com/sdk/api_diff/23/changes/android.Manifest.permission.html

Im not sure is there any alternative or hard-coded way

caris2010 commented 6 years ago

hi Eltorio... any others progress??