Menu

#1 API for Position Update

2.x
pending
None
2014-08-25
2014-08-19
micha_g
No

Can you please add api support for updating position?
This makes it easier to develop an mobile app.
I have no experience with developing of android apps or iOS apps but today I played around with MIT appinventor.

If there is a simple api request to update position, it seems to be easy to develop an app for android with mit appinventor.

Discussion

  • Pierre Fauconnier

    • status: open --> accepted
    • assigned_to: Pierre Fauconnier
     
  • Pierre Fauconnier

    Hi micha_g,

    Perhaps I'll give "MIT appinventor" a try, soon. But I prefer to look at Firefox-OS first.

    I agree with you: it should be easy to develop an app because Geoloc is based upon XHR. The updating position uses only 3 different requests (1=Notify other people, 2=Update the current position, 3=Disconnect).

    But, establishing a connection to the ownCloud engine is another story. As far as I understand, the ownCloud server provides 4 different access methods: User-interface, remote, public, and console.

    Unfortunately, here we need to access an engine that is able to return error codes instead of (http/html)-like error messages.

    Unless I'm wrong…

     
  • micha_g

    micha_g - 2014-08-23

    With link sharing I just wanted to give an example.
    I'm usually just a user and not a programmer. I use Android. Maybe Firefox-OS is better, but I don't want to switch to that platform, just because there's a certain app.

    I don't understand what's the problem with using the ocs/v1.php API. If the app justs posts the longitude and latitude every x seconds.

    Or is the Problem the returning data of the api? Ok if there is an 100 byte download every position update, that's a problem. The advantage of the api is the simpler authentication. Maybe there is a way to set the api just returning data if it's not successful?

     
    • Pierre Fauconnier

      I use Android

      So do I.
      Firefox-OS is an app available from the google play-store. FxOS is a browser, furthermore it allows you to write (android, iOS, etc.) apps with html+css+javascript - java is just unnecessary.

      The key idea is to use Geoloc with a few FxOS "manifest" files.


      I don't understand what's the problem with using the ocs/v1.php API.

      For the moment, this API doesn't seem to work (see the thread here)
      http://mailman.owncloud.org/pipermail/devel/2014-August/000540.html

      But, more important, this API is supposed to give the response to the feature you asked for

      Can you please add api support for updating position?

      Unless if I didn't understand the question?

       
  • micha_g

    micha_g - 2014-08-24

    Ok, now I understand.
    And you have written a Firefox OS App?

    I can not find it in the firefox marketplace.

     
  • Pierre Fauconnier

    • status: accepted --> pending
     

Log in to post a comment.

MongoDB Logo MongoDB