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 - Menion

#11446
zdravím,
1) té se "bohužel" zbavit nedá. Je to kategorie, jejíž body jsou snáze přístupné z jiných míst aplikace a pravděpodobně pro ní najdu ještě další využití časem
2) to spíše tedy do topicu týkající se addonu (viewtopic.php?f=26&t=549) přímo na Arcaa
#11447
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 20:13:20
ah I missed this important info .. you're downloading directly GPX files ... hmm ....

so
1) if you want to set callBack on points, then yes. You have to parse these data by your own and then set callback on Point object. This have also one more advantage ... it's then very simple to just display data on map (without need to import). Only display data from GPX file without ability to import is not possible. Reasons is one. When I'll for example import whole PQ only for display, number of information is so big, that it will surely kill application on OutOfMemory. I have to keep as many data as I can on SD card.

2) you may call locus directly I think ... something like
Intent intent = new Intent(menion.android.locus.core/menion.android.locus.core.MainActivity);should work. i do not tested it, but if this should be enough for you, I'll test it and add correct function into API

So it depend on you. If you want to write own parser and fill Point (and other) objects and send them to Locus, it's already in API and it will works fine I think (it's all used and well tested by geocaching4Locus addon). If you still want to send GPX file, I may test method 2) and add it into API but count that as I wrote - only displaying data from GPX without import will not be possible
#11448
Wishlist / Re: Use Ofline Map from Locus
September 09, 2011, 20:02:00
hmm, sounds good :) ... ok, looks I'll have to test more ... thanks
#11450
hmm I really hate these maps ... I already wrote to NOP (owner of maps) few times. Last time he send me list of things I have to fix, which I did and since then, no response. I'll write him later about it ...
#11451
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 16:42:28
nice .. understand ...

so firstly,
  every point you send over API can have "callback" method attached in it. Check menion.android.locus.addon.publiclib.geoData.Point.setCallback() method. It's used by almost all 3rd party addons, so you may try anyone. When user display point on map (your point), under last button will be this callback

  about calling of addon. Do I need to call startActivityForResult? You may catch intent call, do whatever need and immediately return values to Locus. The import stuff you don't like is optional. If you just want to display data, you don't need to start import (it's optional parameter when you send data to locus)
#11452
[CZ&SK] - diskuze o Locusu / Re: Hiking+relief
September 09, 2011, 16:07:08
no teď nemám moc novinek po ruce a ani není v apce zásadnéjší chyba takže někdy v polovině týdne nejdříve
#11453
Thanks tramp,
  I know about Androzic, but as I discovered a long time they use illegal method to display Ozfx2 files. As I know, you have only one simple alternative, that is beta version of OziExplorer here http://www.oziexplorer3.com/android/ozi ... droid.html

  I'm not familiar with desktop OziExplorer but isn't there any possibility to cut whole map into two or more pieces? Then you should use mapc2mapc program or any other.

  Anyway I appreciate your enthusiasm to use Ozi maps in Locus, but in this I can't really help you. maybe anyone other?

EDIT: and to use even in illegal way ozfx2 files thanks to Swapex library, i have to release Locus also as open source project, what I don't want ...
#11454
[CZ&SK] - diskuze o Locusu / Re: Hiking+relief
September 09, 2011, 15:35:31
myslíš mapy od Shocartu? Bude opraveno v další verzi
#11455
geniální programátor Menion nemá moc chutě opravovat neduhy alternativnách romek :)  není už nějaká novější verze CM7? To bych musel mít ten telefon se stejnou chybou v ruce a co jsem ještě nedávno měl DHD s CM7, tak tam vše běželo bez chyby ... zatr
#11456
ok, what about

- when exported only one file (one POI category or one track), share as simple file, otherwise pack

- share track from map is not needed. List of options on map screen is too long now without sharing option! I really do not want to add there more items
#11457
díky za upload ...

tady je výsledek který vidím když šoupnu mapu do locusu

takže doporučuju stáhnout znovu. Případně stáhnout, uschovat kopii, spustit Locus a porovnat výsledek po inicializaci s kopií
#11458
hmm file bigger then 1GB ... this is really big. I will not work on this tool, so if anyone want

there exist nice tool to convert map files to Locus called MAPC2MAPC

and about native support for Ozfx ... if you find legal way and some code or documentation how to do it, then it's not a problem ;) (btw. there is no legal way to use Ozfx files as I know)
#11459
Developers / Re: [DEV] - Locus Data API (BETA)
September 09, 2011, 14:14:16
hi guys,

gerryscat: try to read in sample, text at button 7. This should help. Anyway you don't need to run both applications at once. When you run your app, and send intent with some information to Locus (thank's to API for example) .. system automatically start Locus if is not currently running

wrygiel: I added function that import data into Locus from file to API. You may try to switch calling from file to URL, I'm not sure but it can work also :). But rather prefer import from file on disk
#11460
Wishlist / Re: Use Ofline Map from Locus
September 09, 2011, 12:37:42
you're welcome ... you may test new version published here on forum if all works fine ... I'm going to work on Locus again :)

viewtopic.php?f=14&t=1057