Tuesday, 2 September 2014

Launching Google Maps Directions via an intent on Android



Intent intent = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("http://maps.google.com/maps?saddr=17.428323,78.412567&daddr=28.6454414,77.0907573"));
intent.setClassName("com.google.android.apps.maps","com.google.android.maps.MapsActivity");
startActivity(intent);




RecyclerView using Kotlin

A Simple example to create a RecyclerView using Kotlin Language. build.gradle [under app folder] ============ apply plugin: &#...