thank you very much. I changed the destination and it worked. Good. It means the API key works.
Bad. It means there is a mistake in my code. I got a csv. It needs to read the file, show destinations from the file, the user selects a destination from the file and it shows the way. I will have another look at Read file based on location maybe it helps.
Sorry, another question. I noted in your aias you have Android 5+, Anroid 3..., iOS... How do you get it? If I get iOS can an iPhone connect to the AI Companion or Emulator? Sorry 2 questions.
What? The Map component was placed within the VA and all this stuff (look at the aia) . Actually, these components can be placed anywhere you want in your app.
You must fill in TextBox1 with destination you want using the app.
If the default destination is not on the same continent as your device you will notice error messages.
The Blocks image you posted is blurry. Sorry I can not read it so I do not understand what you are talking about.
What is the problem with the gps? I don't understand your problem. Could you explain in more detail? The gps takes up to a minute to determine where your device is located; it must get a satellite fix.
The actual use of Navigate is easy, the tutorial shows several options that make it appear complicated.
The error message indicates ORS cannot generate a route between your GPS location and the other location. Why I cannot tell; it is possibly because your GPS is not getting a location fix. What
[quote="SteveJG, post:10, topic:5900, full:true"]
The aia works fine for me.
Are you using the latest Companion 2.66?
You say you are in North America. Check the
value of the StartMarker and the EndMarker using DoIt debugger. What are they?
You get Error 4003: Routing service failed with status 400 Bad Request since you don't live in North America and select "use current Location" and click Find Route. I expect ORS possibly cannot provide a route to Hollywood because it cannot navigate the Panama Canal and no roads . Change the Destination Address from Universal Studios Hollywood to something else like Lima Peru. What happens?
. Replace Universal Studios Hollywood with Lima Peru and it should work for you (unless your location is not on an OSM road and cannot 'connect'.
Although Navigate provides a 'route' the free service is not very smart and does not optimize the route. It works best for short distances. In my opinion, ORS is a toy.
hi
This bug causes navigation to not work when building the .apk. And the companion is an older version than the current companion. A companion upgrade is needed quickly. How can I solve problems with companion upgrade and build?
This is a component release which includes bugfixes and improvements. It includes a new Android MIT AI2 Companion versions 2.71 (from Google Play) and 2.71u (directly downloaded from MIT App Inventor).
Features:
New user interface. Go to Settings > User Interface Settings > Neo to try it out
ChatBot component adds a new block, ConverseWithImage to ask questions about images (API key needs payment for gpt-4)
Palette categories can be independently expanded/collapsed
The main body of MIT App Inventor now loads via the CloudFlare content delivery network. This should result in faster startup of MIT App Inventor.
Note: Sites with restrictive firewalls will need to unblock access to https://.appinv.net (where the “” means any site name). This domain (appinv.net) is used exclusively to distribute the code of MIT App Inventor. Different host names are used for different versions.
You can now set the “Origin” of Image Sprites. The origin is used to calculate when a Sprite is involved in a collision as well as the point it rotates around.
Bug Fixes:
Fix a 404 error in the Navigation component Internals