Android Question My Own GPS App - not working

mariusturnkey

Member
Licensed User
Longtime User
Hi,

I am trying to get the GPS location for my app, and I am trying to use the code from GPSbyJCD, but I am not getting a response.

Could any of you please correct me where I am going wrong.

I attach a test application.

Regards
Marius
 

Attachments

  • OwnGPS.zip
    10.6 KB · Views: 86

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

mariusturnkey

Member
Licensed User
Longtime User
You need to click the link in the mainpage to export B4XPages-Projects

Your upload is not useable.

Also you are not
- implementing the right permissions in your manifest
- requesting any runtimepermissions!

Start here: https://www.b4x.com/android/forum/threads/gps-tutorial.6592/

Thank you for the response.
I use the "Export as Zip" option in B4A, the size of the file does not seems to change if I am on any other page apart from the main.

I will check the link you supplied, thank you.
 
Upvote 0

mariusturnkey

Member
Licensed User
Longtime User
this does NOT WORK with b4xpages-projects. You MUST use the link in the top of mainpage to export them successfully.
Ahhh got it, thank you Don. Sorry about the misunderstanding.

Here you go. I appreciate your help.
 

Attachments

  • Project.zip
    14.4 KB · Views: 93
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
You haven´t edited anything except the manifest! Do you want to fool me?

Again and with clear words:

- See my Answer in #2!
read it; understand it.

I wrote that you are not requesting any runtimepermissions.

Compare the GPS-Example with YOUR example. Add ALL the missing code from the GPS-Example (you did not do that step!)

BTW: You can not just use an Activity-project source in a B4XPages-Project.
You need to adapt the Code for B4XPages.
 
Last edited:
Upvote 0

josejad

Expert
Licensed User
Longtime User
Be careful, @Peter Simpson posts, ALWAYS have a bug

Read their posts carefully until the end, and you will find it ;-)
 
Upvote 0
Top