Unfortunately you can't use an universal URI to represent two geo points.
You can specify a single point and pass it to the chooser like:
String uri = String.format(Locale.ENGLISH, "geo:%f,%f", lat, lng);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
context.startActivity(Intent.createChooser(intent, "Select your maps app"));
However to get directions, unfortunately, you'll need to use:
Single URL:
The best choice in my opinion. You should use a single map supplier and use its URL as the URI. That way the directions you get are consistent, compatible with multiple devices and most importantly easy to use/get.
Plain old URLs:
You can use different URL's for different map suppliers.
For example, Citymapper:
https://citymapper.com/london/superrouter?start=LAT_START,LNG_START&end=LAT_END,LNG_END
However others aren't that friendly, e.g. Yandex:
http://maps.yandex.com/?rtext=59.326460%2C12.699889~57.386826%2C12.348327&sll=12.941588%2C56.517713&sspn=34.716797%2C12.029728&rtm=atm&source=route&ll=12.941588%2C56.517713&spn=34.716797%2C12.029728&z=6&l=map
Maybe you can decode that url yourself :)
Integrated Maps API
Integrate e.g. Google Maps API into your app and show the directions from there.
You would need to get directions in the format of lat-lng points from the Directions API in a JSON format. Then you would use those points to draw a polyline.