Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - wrygiel

#1
Developers / Re: [DEV] - Locus Data API (BETA)
February 09, 2012, 05:54:25
I also have these files on my dropbox :) What I don't have is Eclipse and Java SDK installed. Anyway, menion helped me with the fix (thanks!), now I have the APK and I only have to sign it. Internet connection in my previous hostel was awful, but I just changed hostels, so I think I will manage to do it through remote desktop connection of some sorts.
#2
Developers / Re: [DEV] - Locus Data API (BETA)
February 08, 2012, 13:27:43
In my case it won't be so simple, because I am travelling for the next two months. I would have to install the whole development package somewhere. :-/ I will have to pray that most of my users won't update Locus in any time soon ;)

I haven't published it on the market. It was my first Android app and I didn't have any plans for future development, so it didn't seem right to put it on the market. No more than a 100 people use it (based on download count).
#3
Developers / Re: [DEV] - Locus Data API (BETA)
February 08, 2012, 01:48:59
Couple of months ago I made a simple OpenCaching.PL plugin for Locus. It had a fair number of users and worked well, but stopped working ubrubptly after Locus was upgraded. I haven't touched my application in months, does this mean the API has changed?
#4
Developers / Re: [DEV] - Locus Data API (BETA)
September 10, 2011, 20:55:51
I will use the GPX import option for now (despite what I said, I still think it is the most user-friendly of currently available API options). Please modify your API so to force the GPX to be imported by Locus.
#5
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 17:02:44
PS. I don't see an option to make import optional if I send the data through GPX file. I know it is optional when I use List<Point> methods, but maybe it would be easy to make it optional for GPX files too?
#6
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 16:55:27
Ad 1. Okay, so I'd have convert my GPX file to ArrayList<Point>, and set a proper callback?

Ad 2. I think you misunderstood me. What I'm saying is your importFile API method won't always work. If user had set an other default application/gpx handler, Locus will not even be mentioned - the other handler will be called automatically. In other words, I don't see a way to FORCE it be imported by Locus.
#7
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 16:28:49
Also, it would be great if I could provide my own intents for handling some specific types of waypoints. I.e. when user clicks a geocache which came from opencaching.pl, my own handler pops up.

This approach would allow external developers to deliver customized handlers for multiple point types. For example, users would be able to log an entry to opencaching.pl site directly with Locus.
#8
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 16:23:52
Okay, it works. :)

We may try to make it even better though. I will tell you what I am trying to achieve:

There are multiple geocaching sites besides geocaching.com. They also have their APIs:

http://opencaching.pl/okapi/
http://www.opencaching.us/okapi/
http://www.opencaching.org.uk/okapi/

Currently, I am working on a simple app that imports ~20 nearest caches from opencaching.pl. What I do is:
- capture menion.android.locus.ON_POINT_ACTION,
- download GPX file for given lat/lon,
- invoke a proper application/gpx mime-type intent.

This has some disadvantages:
- User has to click 10-20 times in order to download AND display the caches.
- User gets a window saying "you can complete this action using X or Y or Z" (because I have multiple application/gpx receivers intalled).

Users still will be happy having this, but maybe we could make the process more user-friendly. For example, maybe you could start the external intent with startActivityForResult (instead of the current startActivity) and display the caches without the need to repeat the "import, select category, select all points" stuff?
#9
Developers / Re: [DEV] - Locus Data API (BETA)
September 08, 2011, 23:18:03
Hi! I just looked at your API. I would like to fire an intent to display (or import) a GPX file (from a file or URL). Does your API allow that?