Zum Inhalt

FAQ

How do I have to implement my intent so that it opens the Localion Navigator without first opening the app selection?

Android allows you to specify a specific target package. The intent would therefore have to be expanded to include the following, additional call on any intent builder:

intentBuilder.setIntentTarget(false);

If you are using the Playstore-Version of the navigator the following call must be used on any intent builder:

intentBuilder.setIntentTarget(true);

Is it possible to check if the Logiball Navigator is installed?

Following code snippet can be used:

Intent intent = new Intent(Intent.ACTION_SEND);
intent.setPackage ("de.logiball.navigator");
if (intent.resolveActivity(getPackageManager()) != null) {
    startActivity(intent);
} else {
    Log.d(getClass().getName(), "No Activity found to handle Intent");
}
If you are using the Playstore-Version of the navigator following code snippet can be used:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setPackage ("de.logiball.businessnavigator");
if (intent.resolveActivity(getPackageManager()) != null) {
    startActivity(intent);
} else {
    Log.d(getClass().getName(), "No Activity found to handle Intent");
}

Does the intent require the flag FLAG_ACTIVITY_NEW_TASK?

No. Usually the flag FLAG_ACTIVITY_BROUGHT_TO_FRONT is sufficient, because since version 0.6.31 the Navigator handles the activity creation by itself. If there is an existing Navigator instance, it is brought to front, otherwise the instance will be created. Besides you can choose between resuming an existing navigation process and starting a new one on app start (if a navigation process was started before)

Why is the navigation delay value not applied?

The navigation delay value has no effect for the appstates 0, 1, 2, 3, 31. The navigation delay defines the time of the automatically navigation start and only can be applied if a specific navigation mode was set (appstates 4 and 41).


A feature is missing?

Contact us and we will discuss the implementation of your request.