Before starting the navigation I wanted to show Alternative routes for the user and I will watch selection from "onMapObjectsSelected". I saw this "new RouteOptions().setRouteCount(mutltipleroutecount)" instead of this do we have any other method.enter image description here
As HERE Support has already requested, we need to see the example code or your code to suggest our help.
Related
I'm trying to display all available download country list like the image
i had try the getMapPackages (), and i can get a "True" as result, but i have no idea how to perform next steps.
Not sure if you already checked the documentation.
https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/maps-offline.html
After getMapPackages() , you can show the list on UI as you like and then user selects a Package, you can pass the Id into installMapPackages() method to download the map.You will need to add listner as well as mentioned in the link above.
Hope it Helps !
As Jithin has mentioned you need to add a MapLoader.Listener object by way of the MapLoader#addListener() method. There is example code demonstrating this on the MapLoader documentation page. https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/maps-offline.html
Once you have added a MapLoader.Listener object, when you call MapLoader#getMapPackages() you will get a callback to MapLoader.Listener#onGetMapPackagesComplete. From here you can use the returned MapPackage object to find the names of the packages available for installation. API documentation for the MapPackage object can be found here: https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics_api_nlp_hybrid_plus/com-here-android-mpa-odml-mappackage.html
Hello i am using MIT App Inventor 2 to make an app that runs on an old (spare) android phone to display the folder.jpg of currently playing movie (later on I also want to do that with music).
I can't filter the path to use, for example this is the result of the json:
{"id":"VideoGetItem","jsonrpc":"2.0","result":{"item":{"id":1,"label":"2012","thumbnail":"image://F%3a%5cMovies%5c2012%5cfolder.jpg/","type":"movie"}}}
I want to keep: image://F%3a%5cMovies%5c2012%5cfolder.jpg which is the dvd cover (and maybe the label: 2012 which is the title of the movie).
I tried various options like making a list but then I still get text with lot of params between '()'
Can someone help me with this?
Thanks
Use the JSON decode block together with the lookup in pairs block. As you can see, it helps to use Do it...
I have something that is doing it for me for starters.
I see a flaw but that's in Kodi(.tv) itself (I am not a fan of the library system in kodi, so I put a folder.jpg in every drawer of a movie, but sometimes kodi doesn't display it and presents me with a video preview of the movie, I have to sort that out with kodi developers)
For now I am glad I have it working,
solution picture
Hi here is my code to get videos list.
YouTube.Videos.List listVideosRequest = youtube.videos().list("snippet, contentDetails");
listVideosRequest.setKey(apiKey);
I am not able to find a way to set chart parameter( one of the Filter option ). Actually i wanna retrieve videos list of Most popular in my region. Thanks in advance
Try like this.
First check whether you included proper lib or not in your project. Because some times it may not show all methods. for updated library click here.
Once you have updated library then
YouTube.Videos.List listVideosRequest = youtube.videos().list("snippet, contentDetails");
listVideosRequest.setChart("mostPopular");
listVideosRequest.setKey(apiKey);
I wrote a code to get a news RSS feed for a specific university and I want to add a new feature for my application which is getting a notification if a new item added to the xml file ... if there is a new news , I mean some thing like this :
can any one help me by giving me a sample code or project for something like this or any link for an article or tutorial ?
Well, that's not a notification. That's a widget. I think this would be very helpfull. Widget tut
Have you considered using a real notification? The widget update is only visible when you look at the Home screen, while the notification is always visible.
Just a thought.
In my app i want to use augmented reality to show some predefined POIs . When user click on the POI object, i want to show more detail about that store / object.
As i was looking for free AR framework , i came across Droidar. I saw its wiki and samples and have got an idea about structure. I understood how to add POIs. I need help on making them as clickable and adding an event on click.
Please share any tutorials if you know.
Also what is the link for droidar documentations.
You could always attach a setOnClickCommand to your POI
poiObj.gObj.setOnClickCommand(new POIDisplayCommand(getActivity(), poiObj));
In the above case I have a POI object poiObj which has a GeoObj member gObj. By using the setOnClickCommand I have called a POIDisplayCommand which loads a new Activity which displays the details about the clicked POI. The POIDispplayCommand is a class that extends the commands.Command
If you need more on the above method you could always check the StaticDemoSetup.java in de.rwth.setups package of the DroidAR library in your IDE.