CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Add geolocation component

Suggest new components/features

by francesco » 06 Aug 2014 08:39

for one my high priority project i need to save the position of the user.

Sencha has it (http://training.figleaf.com/tutorials/senchacomplete/chapter2/lesson9/5.cfm) probablby there is a open source counterpart you can wrap.

A use case:
1) user logs in into a mobile web app used to track tasks
2) user does Task1 and clicks on "Done" button
3) Task1 is marked as done and Done at POSITION is stored into db
POSITION comes from the geolocation component.

Please let me know your plans about this.
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Alexander Bulei » 06 Aug 2014 09:56

Hi francesco,

Sencha framework is identical to phohegap libraries.
These libraries are like a bridge between the browser and device.
Unfortunately, we have no any "bridge" implemented.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by francesco » 06 Aug 2014 11:27

cgdevtools wrote:Unfortunately, we have no any "bridge" implemented.


Hi. Do you mean in an intraweb application it will never be possible to get geolocation?
wrapping a part of phonegap in a cgdevtools control is not possible?
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Alexander Bulei » 06 Aug 2014 11:53

Hi francesco,

Do you mean in an intraweb application it will never be possible to get geolocation?


It's possible to use geolocation of browser html5 (only when supported).
Libraries like Sencha and phonegap gives you more control.

You can use the ExtraHeader property of form to insert your javascript function, which will return the coordinates.

Help article: http://www.w3schools.com/html/html5_geolocation.asp
Browser Compatibility: http://caniuse.com/#feat=geolocation

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Jorge Sousa » 06 Aug 2014 12:06

Hello

Also, you can use the GeoLocation example in GMap3 demo

But please note, that one thing is executing with and without GPS.

Without it, it uses the provider IP.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by francesco » 07 Aug 2014 15:21

cgdevtools_support wrote:Hello

Also, you can use the GeoLocation example in GMap3 demo
.

This is interesting.
Is it possible to use the GMap3 approach in a mobile app by using it only to retrieve the position (= being able to save latitude and longitude)?.
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Jorge Sousa » 07 Aug 2014 15:57

Hi

Sure, you don't need the map at all, its an embedded service.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by francesco » 08 Aug 2014 09:07

Ok so let's say we have the geolocation component throug Gmap3. Of course the user must be trained that to achieve the best result wifi + GPS must be on (and GPS must be ok). Thanks.
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Jorge Sousa » 08 Aug 2014 09:40

Hi Francesco

That's it, you're welcome
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Soren SDF » 07 Dec 2016 12:36

Jorge Sousa wrote:Hello

Also, you can use the GeoLocation example in GMap3 demo

But please note, that one thing is executing with and without GPS.

Without it, it uses the provider IP.

Hi. I don't seem to have access to the link. Help would be appreciated.
Sören A,
Soren SDF
 
Posts: 87
Joined: 19 Apr 2013 15:56

Next

Return to Suggestions

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.