osmandapp / osmand-api-demo

Example of usage OsmAnd API
87 stars 43 forks source link

Example Usage #74

Closed fre391 closed 6 months ago

fre391 commented 6 months ago

Hi, Im trying to run the osmand-api-demo in combination with OSMAND I had already installed on my mobile phone.

  1. When I start the demo app a dialog comes up, rquesting to install OsmAnd, but I have installen OSMAND already. I dont use OSMAND Plus for now. Is that a normal behaviour? However, most part of the demo app seems to work.
  2. Also I noticed, that at least one import seems to be unresoved. Unresolved reference: OsmAndAidlHelper The default package of the file OsmAndAidlHelper.java is still unchanged package main.java.net.osmand.osmandapidemo;
  3. When registering for updates or nav updates, the listner seems not be working? That might be related to 2?

Thankx for some starting help...

fre391 commented 6 months ago

Found some answers by myself already:

  1. Per default the demo app is looking for OSMAND PLUS. You can change it in class OsmAndAidlHelper by private static final String OSMAND_PACKAGE_NAME = OSMAND_FREE_PACKAGE_NAME;
  2. not yet clear yet, may be editor related only
  3. The update was working normally. I guess it was indeed related to 1, cause binding was not ready?
fre391 commented 6 months ago

closed