[android-developers] Is there any way to look for an image using the path? MediaStore.Images.Thumbnails (Android)
Hi, I'm using MediaStore.Images.Thumbnails in order to show the images the user have. But i'm not able to get an image through its path. Is there any way to look for an image using the path? String [] proj={MediaStore.Images.Thumbnails._ID, MediaStore.Images.Thumbnails.IMAGE_ID, MediaStore.Images.Media.DATA}; String selection = MediaStore.Images.Media.DATA + like '%path%'; // this doesn't work cursor = managedQuery( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, proj, // Which columns to return selection, // WHERE clause; null, null); // Order-by clause Best regards! -- 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
[android-developers] Broken pipe
Hi there, I'm trying to use sockets. I'm trying to use the java client of gearman, gearman.org, the applications throws: 09-28 12:38:55.805: WARN/logger(1134): java.net.SocketException: Broken pipe 09-28 12:38:55.805: WARN/logger(1134): at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl (Native Method) 09-28 12:38:55.805: WARN/logger(1134): at org.apache.harmony.luni.platform.OSNetworkSystem.write (OSNetworkSystem.java:105) Do anyone know what's wrong? This exception is thrown when it tries to write into the socketChannel: serverConnection.write(bytesToSend); --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] GeoCoder getFromLocationName search for business doesn't work
Hi, I've googled a lot about this, everybody is like me, no answers. Can we search for business using Android (Google Apis 1.5)? or it's only a thing for the native application GoogleMaps Geocoder geoCode = new Geocoder(getApplicationContext(), Locale.getDefault()); ListAddress addresses = null; try { addresses = geoCode.getFromLocationName(Pizza, Salamanca, Spain, 5); } catch (IOException e3) { } --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---