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.

Messages - menion

Pages: 1 ... 682 683 [684] 685 686 ... 749
Information / [MANUAL] - creating custom screen
« on: May 11, 2011, 12:32:04 »
SAMPLE PACK FROM LOCUS VERSION 1.8.2 - download here

So, simple and short description.

Recommended way ho to create this. This is very short explanation, sorry for that. Better will come later. Also this is mainly for people familiar with Android developing. If you're not, better is to use already created skins and look at them. To edit, use just simple NotePad! Much easier!!

1. download and install whole eclipse and Android SDK tools from here
2. after all works, create new android project. This will create base data structure. You'll not need anything program
3. project contains res/layout/main.xml file, that's our target. Learn with Eclipse GUI builder and edit this file
4. put resources (best to use 9-patch images) into res folders (supported, drawable, drawable-hdpi, drawable-mdpi, drawable-ldpi)
5. after compilation, take mail.xml file and image resources from compiled source (this is because of 9-patch images. If you want to use basic png files, you can add them directly into result. 9-patch have to be precompiled!).

You do not have to do previous steps. You can edit xml file directly in any editor. Previous steps are just recommended way for easy "Drag and drop" creating and also only way to support 9-patch images

And how to get actually all this works?
Locus/data/customScreen/   (root directory)

create ZIP file that containt this structure

  • /assets/ - for custom fonts
  • /drawable/ - (9-patch, or universal)
  • /drawable-hdpi/
  • /drawable-ldpi/
  • /drawable-mdpi/
  • /layout/ - for layout specification (for landscape and portrait or ... below ... for separate by orientation)
  • /layout-land/
  • /layout-port/
  • /values/ (supported colors.xml, styles.xml)

Place your main layout file into layout directory (or two files, one to layout-land, second to layout-port) and rename it to main.xml. That is important, because main.xml file is gate to whole layout, it have to be included!

also in root of you ZIP file, you can place these files (optional)
  • icon.png - small (48x48px) logo of your skin
  • info.html - HTML page that will contain description of you skin (some links, donate button or similar is possible)

Finally, place this zip file, into root directory described above!

Active Views, you can use (warning, only limited functionality on almost all items - still in develop) and Actions you can apply are described in topics below

Implemented / Re: Customizable screen for GPS data
« on: May 11, 2011, 10:45:41 »
hmm so first working example is here ...

there is actually no working APK file and no documentation for this. I just wanted to let you know that I works on it :). So what variables and features are most needed? I should add few more and then release some testing version for you also ...

anyway, customization is done by Android layout xml file with some small modification. So no drag and drop editing inside application possible now

Implemented / Re: Track settings by profiles
« on: May 11, 2011, 10:13:06 »
yes you can. I have this feature still in my mind. To be true, it's on first place in my mind. But I cannot find solution how to simply implement this :). There is a little problem with settings all stuff in settings screen dynamically. Only solution for me is some next subscreen level in track recording settings screen, where you will be able to edit settings of single profile. I have to figure out by some way ... grrr ... this request gives me crazy and it looks so simply :)

Troubles & Questions / Re: Bug while downloading offline maps
« on: May 11, 2011, 08:55:19 »
ONLYONE who have troubles from mass downloading is ME ... here ... 8590.html!!

Now on all servers, Locus is very easily identified, so I don't really want to get message from google ... sorry, you app takes to much tiles from our server, we had to delete it! Too much data by Google earth by few minutes?? Are you kidding? 25 000 tiles is large city (cca 20 x 20 km) in very good resolution. Good enough I think ...

USE older version of Mobac or Locus, if you have problems with this. Anyway it's current situation and it will stay like this for a while. Dot.

Troubles & Questions / Re: Bug while downloading offline maps
« on: May 11, 2011, 01:16:22 »
yes, this is limitation in locus and cannot be changed by any tool. 10%? hmm, you have what to do in next ten days if you want download so big map ;)

Implemented / Re: Customizable screen for GPS data
« on: May 10, 2011, 18:46:05 »
fine guys, will you help me to develop this? Simple process ... I'll be slowly create new features that should be used in custom screen and you'll be testing :D ...

I have simply idea. Are you familiar with basics of android screen XML layout documents? If not, you should try to study. There is not possibility to parse these layouts files directly, so I'll be creating some modified and working version ... OK? ;)

EDIT: hmm ... I was thinking about it a little ... maybe MaleSmurf's idea isn't so bad ... should it be really useful to be able create fully customizable screen or just placing somw "widgets" on screen should be enough? If you prefer CMS, then I will need some simple examples to start ...

no to je pěkný, a děje se to jen na tabletu že? hm ... už to začíná být zase jako na j2ME, co kus, to originál ... chjo. no něco s tím vymyslíme. Asi ti pošlu nějakou verzi na otest, která mi něco vypíše. Jen dotaz .. tohle muselo zlobit už předtím, můžeš to potvrdit?

Troubles & Questions / Re: Bug while downloading offline maps
« on: May 10, 2011, 16:06:28 »
No Google do not allow me this, and looks that never will. Solid way? I personally cannot help a much, but try to search, any way surely exist ... ;)

Discussion/New features / Re: WMS recommended maps
« on: May 10, 2011, 10:20:59 »
you should try some examples that are already in application. go to map manager screen, tab WMS, and at bottom click on first button. You'll see some recommended maps, just click on any you want (or add own by second button on WMS tab). If map will be added, check it, and tap on it and select "Select layers" and choose layers you want to see. Use Online maps or Offline SQlite maps to see them ...

Troubles & Questions / Re: Bug while downloading offline maps
« on: May 10, 2011, 09:29:09 »
  I'm sure I was already fixing this issue. Do you have last version of Locus? If so, please tell me exact place you try to download and I'll look at it ...

Under review / Re: OSM data upload/edit support
« on: May 10, 2011, 08:00:55 »
hmm sound interesting. Only problem is that here do not exist any Locus API. I'm developing Locus as closed source project and addons are created in very simple way. They are only based on "Intents", so addon is only registered on some intent-filter and works only by calling this, together with some data. This is also reason why I released support for My Maps as part of application and not as separate addon. My Maps support is very deeply integrated into Locus and after more then day of trying, I decided that much better should be leave it as is, then creating separate addon. Similar way should be with addon for OSM editing. I can of course  create something that will call addon that allow uploading or downloading points and tracks on web. This is not a problem. Problem is create addon that will support some extensive editing features. If something like this should be really really useful, I'll rather do by myself as part of Locus.

ahoj, no to je pěkný ale v importu se nic nezměnilo co by tohle mohlo ovlivnit. jsi si jist že to předtím bylo v pořádku? u mě na DHD to šlape jak má ...

Implemented / Re: Wishes for Locus to use
« on: May 09, 2011, 21:11:47 »
hi rob,
  maps you noticed cannot be added to locus. When you click on bottom "Terms of use" you'll see that they use same terms as Google maps, so I cannot use them

about downloading maps along track, this is already there. On download screen, click "Select path" and you should select "create new by yourself" or use any of you already loaded or recorded in locus ...

Sure, hope dies last you know ...

this is really serious problem. I do not noticed similar problem on my phone, but truth is that I'm not using this function a lot. I mostly sit before my computer at home. But summer comes :). Question remain, how to determine, where is source of problem? hmm .. when app crash in normal way, you can see dialog "Force close" and phone still run, so you can run some LogCat program and get information from log that should help a lot. But in this case, whole system is stuck and no log can be taken ... damn ... any ideas?

what ROM are you using? Did you tried any other ROM when you have rooted desire phone? ...

Implemented / Re: Wishes for Locus to use
« on: May 09, 2011, 16:12:35 »
so first easy part completed .. three maps added

I'll look on second part later. Sounds good so there is chance I'll do it soon ...

Pages: 1 ... 682 683 [684] 685 686 ... 749