Skip to content

Commit

Permalink
File Path
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeinnumer committed Mar 7, 2021
1 parent 6782665 commit 0b535a5
Show file tree
Hide file tree
Showing 4 changed files with 389 additions and 1 deletion.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</h1>

<p align="center">
<a><img src="https://img.shields.io/badge/Version-1.0.0-brightgreen.svg?style=flat"></a>
<a><img src="https://img.shields.io/badge/Version-1.1.0-brightgreen.svg?style=flat"></a>
<a><img src="https://img.shields.io/badge/ID-gzeinnumer-blue.svg?style=flat"></a>
<a><img src="https://img.shields.io/badge/Java-Suport-green?logo=java&style=flat"></a>
<a><img src="https://img.shields.io/badge/kotlin-Suport-green?logo=kotlin&style=flat"></a>
Expand Down Expand Up @@ -203,6 +203,15 @@ Log.d(TAG, "onCreate_7: "+ result_7); // 663219154.png
//Remove Extension
String result_8 = MBUtilsString.removeExtension(result_7);
Log.d(TAG, "onCreate_8: "+ result_8); // 663219154

//Remove Extension
Uri fileUri = data.getData();
String filePath = null;
try {
filePath = MBUtilsString.getPath(getApplicationContext(), fileUri);
} catch (Exception e) {
Toast.makeText(getApplicationContext(), "Error: " + e, Toast.LENGTH_SHORT).show();
}
```

#
Expand All @@ -224,6 +233,8 @@ Log.d(TAG, "onCreate_9: "+ result_8); // data:image/jpeg;base64,kasgfkaghaksfa
- convertToBase64FromPath
- **1.0.0**
- Support SDK 16
- **1.1.0**
- Get File Path

---

Expand Down
Loading

0 comments on commit 0b535a5

Please sign in to comment.