Hello Ramon, first thank you in advance for these answers. Well once I start I miss a mess with this really: I'll try yourself explain as best I can.
I have created a database sqlite data, which have saved the direction or path to a photograph (in addition to other fields) or what I do is a query to the database, the response I get the path and turn this path stick it Extras as an intent to launch another activity until here everything well.
I want to clarify that the photograph in question is in the internal SD device, in a file created by me for this app.
This is the path = file: ///storage/emulated/0/Pictures/Fotos_Lugar/Lugar_20140930_142116.JPG
Now when I try to convert the file in this path into a bitmap is when tells me nothing.
-
BitmapFactory.Options options = new BitmapFactory.Options();
-
options.inPreferredConfig = Config.ARGB_8888;
-
Bitmap imagen = BitmapFactory.decodeFile(path_de_la_ruta_donde_esta_la_foto, options);
I'm thinking that maybe this activity is not part of the same answer. If so how could he replied happen? .That Method ?, could use anything you can think of me would come good. I said thank you very much. A greeting.