Different ways of loading BCR file

PTV's mobile solution based on off-line maps - standard application and SDK
Post Reply
Dominykas
Posts: 7
Joined: Tue Aug 09, 2016 2:05 pm

Different ways of loading BCR file

Post by Dominykas »

Hello,

We are experiencing inconsistencies when using different ways to load BCR routes into Navigator.
For a while, we've been using an Android intent method (kind of like 'open as') which was working fine (with some problems that we have discussed before):

Code: Select all

Intent testIntent = new Intent();
testIntent.setAction(Intent.ACTION_VIEW);
testIntent.setDataAndType(Uri.fromFile(tempFile), "application/octet-stream");
startActivity(testIntent);
Recently we've tried using Navigator's API Interface method, called "Download a BCR file from an arbitrary URL and start the navigation with it" (MSG_RI_DOWNLOAD_AND_START_BCR = 307). After using it for a while we are approaching a conclusion that when route is loaded using this method, the detailed route (segmentcenters) of the file doesn't have any effect, the route is completely re-calculated when it is loaded.

Any insight if that might be the case and if this behaviour is intended?

Kind regards,
Dominykas Viečas
Dominykas
Posts: 7
Joined: Tue Aug 09, 2016 2:05 pm

Re: Different ways of loading BCR file

Post by Dominykas »

Hello, are there any updates on this matter? Maybe I should provide more details etc?
Making the Navigator follow the provided BCR route exactly as planned is our first priority and we would really prefer using Navigator RI's methods to load them, but currently they don't seem to take into account "segmentcenters" at all. (Both MSG_RI_LOAD_BCR = 304 and MSG_RI_DOWNLOAD_AND_START_BCR = 307)

Kind regards,
Dominykas Viečas
Dominykas
Posts: 7
Joined: Tue Aug 09, 2016 2:05 pm

Re: Different ways of loading BCR file

Post by Dominykas »

As I haven't received any replies in more than two weeks, I am wondering if someone could suggest a person I could contact who would be qualified to talk about this (PTV Navigator / Remote Interface)? Thanks in advance!

Best wishes,
Dominykas Viečas
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Different ways of loading BCR file

Post by Bernd Welter »

Hello Dominykas,

first of all I'm very sorry for the lack of response - looks like the subscription of the category didn't work properly.
I therefore forwarded this thread to our NAVIGATOR forum administrators manually.
They will surely take care of the question asap.

Best regards Bernd

PS: As I'm a global moderator but not a navigator expert I can't process the topic on my own - sorry for that
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Michael.Hubschneider
Posts: 20
Joined: Fri Jun 24, 2016 11:03 am
Location: Karlsruhe / Germany

Re: Different ways of loading BCR file

Post by Michael.Hubschneider »

Sorry for the late answer, subscription is working well

We are at the moment in progress to reproduce the example,
but we are currently under quite high load in development,
so it is taking some time, I expect a result next week.

Best regards
Michael
Michael Hubschneider
Senior Product Manager Navigation Products
PTV GERMANY
Dominykas
Posts: 7
Joined: Tue Aug 09, 2016 2:05 pm

Re: Different ways of loading BCR file

Post by Dominykas »

Thanks! I will try to reproduce the issue again and will post the results (with .bcr files)

Kind regards,
Dominykas
User avatar
Michael.Hubschneider
Posts: 20
Joined: Fri Jun 24, 2016 11:03 am
Location: Karlsruhe / Germany

Re: Different ways of loading BCR file

Post by Michael.Hubschneider »

yes, great, that helps!
Michael Hubschneider
Senior Product Manager Navigation Products
PTV GERMANY
Post Reply