Author Topic: [DEV] - Locus API (since Locus 2.7.3)  (Read 44662 times)

Offline Voldik

  • More than Newbie
  • *
  • Posts: 20
    • View Profile
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #30 on: March 27, 2014, 10:47:17 »
Yes, you are right, the exception is cought. Intent is not null, so I suppose that is it thrown in Location() constructor. Unfortunately I'm using LocusAPI.jar so I don't have its source code.

Do you use real device or emulator?
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12335
  • Thanked: 714 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #31 on: March 27, 2014, 11:20:12 »
only real device. I have some problems with emulators, so I don't use them at all

You use Jar file from here http://code.google.com/p/android-locus-map/downloads/list ? I remember there were some problems with it right? Because if so, this JAR is more then year old and I highly recommend to use latest source code for API
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline Voldik

  • More than Newbie
  • *
  • Posts: 20
    • View Profile
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #32 on: March 27, 2014, 11:30:48 »
I use Jar file you sent me recently. I'll try the source code.
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12335
  • Thanked: 714 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #33 on: March 27, 2014, 11:33:30 »
damn, it should be fine then.

Anyway I'm unable to simulate this. If it happen with your addon always, I'll try it with it also
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline berkley

  • Expert
  • Master of Locus
  • ****
  • Posts: 900
  • Thanked: 1 times
    • View Profile
  • Device: 1+1, N7
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #34 on: July 12, 2014, 20:18:09 »
Hi,
can't import Locus_API wether to Eclipse nor to Android Studio. Locus_API_android works fine.
Couldn't figure out a problem.
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12335
  • Thanked: 714 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #35 on: July 13, 2014, 20:50:35 »
Hello Matthias,

hope this helps you http://docs.locusmap.eu/doku.php?id=manual:locus_api:installation

If there will be any problem, write me and I'll improve this manual
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline berkley

  • Expert
  • Master of Locus
  • ****
  • Posts: 900
  • Thanked: 1 times
    • View Profile
  • Device: 1+1, N7
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #36 on: July 14, 2014, 11:15:43 »
Thanks, I'll give it a try on the next rainy day :-)
You don't want to create a jar file every time you publish changes?
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12335
  • Thanked: 714 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: [DEV] - Locus API (since Locus 2.7.3)
« Reply #37 on: July 14, 2014, 13:08:55 »
Sure, you're welcome.

And no, I see no reason for this. Also Jar files are possible for simple java libraries like Locus API, but for Android library project like Locus API - Android it's not possible to create simple jar file. It's required to import it as a whole library to your project.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download