wpt.setName(String) not working

Started by berkley, January 10, 2016, 08:57:18

0 Members and 1 Guest are viewing this topic.

berkley

Hi ;)

Just playing around with the API, I noticed that adding something like
wpt.setName("My POI is now called something else");
to that line doesn't update the name of POIs in Locus DB. 
https://bitbucket.org/asamm/locus-api-android-sample/src/1fad202e6166239b6e424f03bac79f0000f8eb6d/src/main/java/menion/android/locus/api/sample/MainActivity.java?at=default&fileviewer=file-view-default#MainActivity.java-241
Temporary Points like the random ones that come with the sample do get the update.

In addition updating the description like it is done in the sample seems to only update the description, if there has been a description before. It doesn't create a new one.
Location works nice.

Well, just playing. Nothing serious.
Although I'm curious, if it's an error or misunderstanding on my side.

Cheers  :)
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
  •