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

#12946
Quote from: "spawny"Hi Menion,

it's great that you continue, after the maps problem! With google ... I wonder about other android programs, who also show GoogleMaps. I was using Maverick a lot before Locus came out and they also offer a lot of maps to choose from. However there's no possibility to download the maps directly from there (it only caches the visited tiles). That's why I like Locus! It still would be great if you could show GoogleMaps (legally), which probably means that you disallow downloading maps from there, but just showing. Maverick is out for quite some time, so if they can then you also might me able, right?

There exist one component called MapView in Google Android API. Some programs use this to show some data on google maps (like c:geo, some smaller apps). But all bigger and more complex map apps use own system. Same with Locus. So you say that Maveric can use ... but I'm saying, they CAN'T! Same with other softs like Orux, RMaps etc ... they all use Google maps and others ILLEGAL! And that's what I don't want to do. Unfortunately as I see, there is no chance for developer like me, to use custom map system in own application. Really weird mainly from "Free for all" Google ... grr
#12947
Troubles & Questions / Re: Lost scale bar
April 19, 2011, 08:52:04
hi Stuart.
  it some really nice bug :)
so please try:
1. disable and enable settings -> menu -> map -> scale
2. try to enable and disable map rotate
3. if this not help, please try to uninstall and install again locus. This clear settings
#12948
Method is deprecated, use Locus API



This is useful function that allow you to directly add point from you application to Locus. It's not the same as displaying points.

Simple example:
  go to Poi manager screen (screen with point in category). Tap first bottom button and you'll see list of action. What you can do to add point to this category. You can use GPS, map center and more. And in this list can appear also your application. So you can for example offer some searching on web, or in internal application storage and more ...

How to do this

  • register intent-filter for your activity
    <intent-filter>
    <action android:name="menion.android.locus.GET_POINT" />
    <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
  • now register intent receiver in your application.
    if (getIntent().getAction().equals("menion.android.locus.GET_POINT")) {
    // get some data here and finally return value back

    Intent intent = new Intent();
    // string value name
    intent.putExtra("name", "Point name"); // optional
    // rest are all DOUBLE values (to avoid problems even when for acc and alt isn't double needed)
    intent.putExtra("latitude", 50.0); // required, not 0.0
    intent.putExtra("longitude", 14.0); // required, not 0.0
    intent.putExtra("altitude", 0.0); // optional
    intent.putExtra("accuracy", 0.0); // optional
    setResult(RESULT_OK, intent);
    finish();
    }

and that's all. You application appear now in list!

Actual application that use this feature
GPS Averaging
#12949
Information / Re: [INFO - CZ] - aplikace roku
April 19, 2011, 06:03:37
tak a už se hlasuje tak šup šup :)
#12950
too much thanks on one person so stop with this :). I'm not wondering that many apps on market use illegal map content. Without distributing payed locus, this should work also for a while. I'm just wondering that there are some apps that are PAYED and use illegal content as well, like maverick and some others. Hmm nevermind. Enjoy map adding and Locus itself. I have still some plans with it and still taste to work on improvements so stay tuned. And Berkley ... you have my biggest thanks for your invested time in days where you have almost no free time. Good luck on field! ;)
#12951
ah sorry, it's metres per second. I firstly have there km/s but i finally set it to m/s because I use metres and second in all settings. Anyway I don't tested it so please do if you can. Also count that change will not be exactly on for example 10m/s. I'm using some small filtering to avoid quick switching. You'll see ...
#12952
so new version for testing with bunch of new features. Support for http://mapbox.com/ maps ... also please check this - viewtopic.php?f=10&t=501. This may be interesting for those, who use track records. I'm also interested to add OSGB36 support, so please anyone check topic with this theme.

Edit: also info for you. I already wrote to almost half of map providers. So we'll see if any response come back. Biggest problem will be with google (http://www.google.com/support/forum/p/m ... 0d5328371f). They have no chance for developers to use their map outside of web browser or their pre-prepared android component, which is useless for me ...
#12953
this is not possible. Gradient is applied from one place on screen to another. So I have to define gradient from one place (first point) to second (second point). This sounds really weird. Have to check My Trails code :)
#12954
Implemented / Re: Move Map To OSGB Map Reference
April 18, 2011, 13:50:28
Hi Steve and other english users,
  so what about support for OSGB36 coordinates. May you give me some more info? Mainly in which format do you want to use OSGB coordinates? Best should be for me some sample like ... I want to set these coordinates (in OSGB) and get these (in WGS) ...
#12955
hmm that's bad. Buergi wrote that all works fine. What should I do with this. Looks I'll have to write on support of AndroidPit
#12956
hmm as I thought. Colorization over all track with some gradient isn't possible in android api. Only solution as I discovered and looks that My trails also, is to cut track to single parts and set and draw gradient for every single part.

this have few main disadvanteges

1. more memory required. For every two points (one part) is needed new object that store these values and also two color values (integers) to hold gradient on start and end of this path (between two points)
2. track looks then similar to track on screenshots from My Trails. So it's not connected and slight track but just single lines that not connect perfectly in the ends

So this actually leads to not well looking and more memory required solution. If any developer have any other solution, it will be very welcome. But this one, I think, doesn't worth it. I really like to see too, colorized tracks, but it actually isn't possible in simple way as I see ...

PS: or anyone use My Trails and tracks looks nice, are fast and fluent? If so, I can go through their code on google code and search there a little ..
#12957
Other features / Re: MBTiles
April 18, 2011, 09:42:20
uff I spend more then half a day searching for some problems and solution was finally so easy ... so MBT tiles works now. I'll release some testing version (probably today) so test please until final release ...
#12958
marlar - added ;)
#12959
Troubles & Questions / Re: Lost scale bar
April 18, 2011, 07:38:36
when you use map rotate, scale bar is not visible. Isn't this your case?
#12960
Under review / Re: Export to Everytrail
April 18, 2011, 07:12:16
I'll look at it guys. I have also one idea. If here is some android developer, or anyone who want to start or have a little experience, he should create addon for locus with this functionality. I can be simply done. Just create application that will catch some calling from locus with exact data to send to some web server. Same situation opposite. User run addon, select track he want import to locus, addon download tracks and send them to locus. Pretty simple. Main part is communication with web server. So if anyone want to do something like this, this should be more then welcome, so I can invest time to another part of developing ...

hmm another web service ... http://www.runningfreeonline.com/Splash