Convert file path to Uri
File externalFile = new File(Environment.getExternalStorageDirectory(),"image.png");
Uri external = Uri.fromFile(externalFile);
Uri to file convert.
File f = new File(uri.toString());
File externalFile = new File(Environment.getExternalStorageDirectory(),"image.png");
Uri external = Uri.fromFile(externalFile);
Uri to file convert.
File f = new File(uri.toString());
Thank You So... Much :)
ReplyDeleteI love you man :D hahah spent whole day in it !!
ReplyDelete"Master interactive dashboards and analytics through structured tableau software learning and hands-on practice."
ReplyDeleteNice explanation of mobile apps.iOS development requires Swift skills.Practice improves learning.This iOS app development course focuses on real applications.
ReplyDelete"Enroll in the salesforce administrator course online to master CRM management and automation tools. Learn at your own pace and gain skills to advance your career in Salesforce administration."
ReplyDelete"Learn from experts with our salesforce developer classes designed to teach hands-on skills for building and customizing Salesforce applications."
ReplyDelete