This is a migrated thread and some comments may be shown as answers.

Goods delivery tracking app

16 Answers 141 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anup
Top achievements
Rank 1
Iron
Anup asked on 18 Feb 2013, 08:41 PM
Hello!
Is it possible to build a goods delivery tracking application using Icenium? The broad features are:
1. GPS logging of the places visited by the delivery van
2. Current location of the delivery van
3. Sending of notification from server to the van driver's phone
4. Capturing the customer signature on the phone after delivery
Are there any  features from above which cannot be implemented on Icenium?
Thank you in advance, Anup
Anup

16 Answers, 1 is accepted

Sort by
0
Accepted
Anup
Top achievements
Rank 1
Iron
answered on 19 Feb 2013, 05:06 PM
Hi Anup,

Everything you have outlined should be possible with Apache Cordova and Icenium:

  1. You can use the geo-location API for logging GPS coordinates.
  2. If the application is running you can send the coordinates to your server and then plot them on a map so that you can see the location of the van.
  3. We are currently developing support for Push Notification plugin. Using it you will be able to send push notifications from your server to specific devices.
  4. You can look at this sample for capturing signatures using the canvas element. I have just tested it on iPad Mini and Samsung Galaxy Note II and it works fine.
Hope this helps,
Stefan Dobrev
the Icenium team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Christophe Meneau
Top achievements
Rank 1
answered on 01 Mar 2013, 03:57 PM
Hello Stefan,

How would you deal with background tasks? My iphone has an auto-lock limit of 5 minutes and will stop recording the GPS coordinates after 5 minutes.

Thanks
0
Anup
Top achievements
Rank 1
Iron
answered on 01 Mar 2013, 04:40 PM
Hello! Christophe, thank you for asking this question..

Hello! Stefan, I had this same question with respect to Windows phone..how do we make sure the gps works on the background even when screen saver is on.

Thank you, Anup
0
Stefan Dobrev
Telerik team
answered on 06 Mar 2013, 07:34 AM
@Christophe: There is an option for iOS in the Info.plist that you can specify and declare that your app needs to receive location change notifications in the background. We currently do not expose this setting, but we plan to do so in a future update of Icenium.

@Kumar: I'm not aware how this is achieved on the Windows Phone platform. Probably somebody on StackOverflow can help you with this one.


-sdobrev

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Anup
Top achievements
Rank 1
Iron
answered on 06 Mar 2013, 12:31 PM
Hello! Stefan,
Thank you for your input, I will post it there..
Thanks,
Anup
0
Christophe Meneau
Top achievements
Rank 1
answered on 12 Mar 2013, 06:39 PM
Hi Stefan,

do you have an idea of when it will be done?

Many Thanks
0
Steve
Telerik team
answered on 13 Mar 2013, 10:37 AM
Hello Christophe,

This change would not make It for the 1.3 release next week and unfortunately we cannot engage with a time frame when it would be available at this time.

We appreciate your patience and understanding.

All the best,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Steve
Telerik team
answered on 22 Apr 2013, 12:14 PM
Hi Christophe,

This is just a quick follow up to let you know that we would expose the background settings for iOS in our May release (comming up on 8th of May), so stay tuned.

Regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Christophe Meneau
Top achievements
Rank 1
answered on 22 Apr 2013, 04:36 PM
Great!

Thanks
0
Christophe Meneau
Top achievements
Rank 1
answered on 26 May 2013, 05:04 PM
Hi Steve,

I tried the last version of Graphite. I configured my project with properties 'IOS Background Mode Location' to ON. Unfortunately, my app will stop recording the gps positions after a while. Is there any other settings to use?

Thanks
0
Steve
Telerik team
answered on 27 May 2013, 12:12 PM
Hello Christophe,

Does this happen in a strict manner i.e. after 5 mins or randomly? Do you use any other background services at the same time? It would be best if you can isolate this in a sample that only tracks location and nothing else so we can look easily identify the culprit.

If this behavior is not observed in the sample, try to strip down your project until it starts to reproduce.

Regards,
Steve
Telerik

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Christophe Meneau
Top achievements
Rank 1
answered on 28 May 2013, 07:59 PM
Hi Steve,

This is happening when my auto lock is kicking in after 5 minutes.
It will be some work to do to strip all the database calls in my app. Do you have any source code I can play with that demonstrates the background capabilities of the location services?

Thanks!

0
Steve
Telerik team
answered on 29 May 2013, 01:17 PM
Hi Christophe,

Yes, we used as a test the sample-geolocation demo where on the success callback of watchPosition we use a console log with the timestamp and we've also hooked up to the pause and resume Cordova events to see when the app would be paused.

Also bear in mind the following paragraph from Apple's documentation:
The inclusion of this value in the UIBackgroundModes key does not preclude the system from suspending the app, but it does tell the system that it should wake up the app whenever there is new location data to deliver. Thus, this key effectively lets the app run in the background to process location updates whenever they occur.

The only background service that is never suspended is voip.

Regards,
Steve
Telerik

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Christophe Meneau
Top achievements
Rank 1
answered on 29 May 2013, 11:12 PM
Hi Steve, 

Thanks for the input. I cloned the sample-geolocation project but I do not see the background code you are talking about. is it somewhere else?

Many Thanks!

Christophe

0
Steve
Telerik team
answered on 30 May 2013, 07:12 AM
Hello Christophe,

I've just described what I did to test the background service and used the geolocation sample as it already contains calls to the watchPosition. To accomplish this simple test, see my description in the first paragraph.

Regards,
Steve
Telerik

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Brian
Top achievements
Rank 1
answered on 27 Nov 2013, 12:33 AM
Christophe,

Did you ever get the location functionality working in the background?  I'm working on a different app but with a similar requirement.

Brian
Tags
General Discussion
Asked by
Anup
Top achievements
Rank 1
Iron
Answers by
Anup
Top achievements
Rank 1
Iron
Christophe Meneau
Top achievements
Rank 1
Stefan Dobrev
Telerik team
Steve
Telerik team
Brian
Top achievements
Rank 1
Share this question
or