Goods delivery tracking app

17 posts, 1 answers
  1. Anup
    Anup avatar
    17 posts
    Member since:
    Dec 2012

    Posted 18 Feb 2013 Link to this post

    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

  2. Answer
    Anup
    Anup avatar
    17 posts
    Member since:
    Dec 2012

    Posted 19 Feb 2013 Link to this post

    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.
  3. Christophe Meneau
    Christophe Meneau avatar
    11 posts
    Member since:
    Feb 2006

    Posted 01 Mar 2013 Link to this post

    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
  4. Anup
    Anup avatar
    17 posts
    Member since:
    Dec 2012

    Posted 01 Mar 2013 Link to this post

    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
  5. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 06 Mar 2013 Link to this post

    @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.
  6. Anup
    Anup avatar
    17 posts
    Member since:
    Dec 2012

    Posted 06 Mar 2013 Link to this post

    Hello! Stefan,
    Thank you for your input, I will post it there..
    Thanks,
    Anup
  7. Christophe Meneau
    Christophe Meneau avatar
    11 posts
    Member since:
    Feb 2006

    Posted 12 Mar 2013 Link to this post

    Hi Stefan,

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

    Many Thanks
  8. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 13 Mar 2013 Link to this post

    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.
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Apr 2013 Link to this post

    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.
  10. Christophe Meneau
    Christophe Meneau avatar
    11 posts
    Member since:
    Feb 2006

    Posted 22 Apr 2013 Link to this post

    Great!

    Thanks
  11. Christophe Meneau
    Christophe Meneau avatar
    11 posts
    Member since:
    Feb 2006

    Posted 26 May 2013 Link to this post

    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
  12. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 27 May 2013 Link to this post

    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.
  13. Christophe Meneau
    Christophe Meneau avatar
    11 posts
    Member since:
    Feb 2006

    Posted 28 May 2013 Link to this post

    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!

  14. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 May 2013 Link to this post

    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.
  15. Christophe Meneau
    Christophe Meneau avatar
    11 posts
    Member since:
    Feb 2006

    Posted 29 May 2013 Link to this post

    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

  16. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 30 May 2013 Link to this post

    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.
  17. Brian
    Brian avatar
    1 posts
    Member since:
    Nov 2008

    Posted 26 Nov 2013 Link to this post

    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
Back to Top