[android-developers] Android Application example

2015-07-30 Thread shiva pendem
Hello,

I need a android application where it will show two routes in first screen
let say the route is from A to B and the second one is from C to D. and
 below that i need a button to which asks for show on map, on clicking the
button  it should show the two route maps in the new screen, here i will be
sending 4 points that is 4 latitudes and 4 longitudes to next screen.

Can any one guide me how can i do this. my main moto or requirement is to
show two routes for 4 different points as explained.

Thanks,
Pendem Shiva Shankar,
Mob:+91-9533024675.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] AssertionError caused by okhttp on Android 5 only

2015-07-30 Thread tar9918


This error only occurred on Android 5, mostly Samsung devices. URI scheme 
is https. com.b.a. in the 2nd sample is Picasso 2.2.


java.lang.AssertionError

at 
com.android.okhttp.OkHttpClient.getDefaultSSLSocketFactory(OkHttpClient.java:532)

at com.android.okhttp.OkHttpClient.copyWithDefaults(OkHttpClient.java:494)

at com.android.okhttp.OkHttpClient.open(OkHttpClient.java:467)

at com.android.okhttp.OkHttpClient.open(OkHttpClient.java:462)

at com.android.okhttp.HttpHandler.openConnection(HttpHandler.java:33)

at java.net.URL.openConnection(URL.java:479)

at com.android.volley.toolbox.k.a(HurlStack.java:102)

at com.android.volley.toolbox.a.a(BasicNetwork.java:96)
at com.android.volley.l.run(NetworkDispatcher.java:112)

Caused by: java.lang.AssertionError

  at 
com.android.okhttp.OkHttpClient.getDefaultSSLSocketFactory(OkHttpClient.java:532)

  at 
com.android.okhttp.OkHttpClient.copyWithDefaults(OkHttpClient.java:494)

  at com.android.okhttp.OkHttpClient.open(OkHttpClient.java:467)

  at com.android.okhttp.OkHttpClient.open(OkHttpClient.java:462)

  at com.android.okhttp.HttpHandler.openConnection(HttpHandler.java:33)

  at java.net.URL.openConnection(URL.java:479)

  at com.b.a.ay.a(UrlConnectionDownloader.java:58)

  at com.b.a.ac.a(NetworkBitmapHunter.java:46)

  at com.b.a.d.b(BitmapHunter.java:123)

  at com.b.a.ar.b(RequestCreator.java:225)

  at com.example.app.bq.a(UserManagerFragment.java:447)

  at com.example.app.bq.doInBackground(UserManagerFragment.java:414)

  at android.os.AsyncTask$2.call(AsyncTask.java:297)

  at java.util.concurrent.FutureTask.run(FutureTask.java:237)

  at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)

  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  at java.lang.Thread.run(Thread.java:818)

Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.