Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbankier/ticontentresolver
Titanium native android module to resolve content uri to their native path.
https://github.com/dbankier/ticontentresolver
Last synced: about 2 months ago
JSON representation
Titanium native android module to resolve content uri to their native path.
- Host: GitHub
- URL: https://github.com/dbankier/ticontentresolver
- Owner: dbankier
- License: other
- Created: 2013-12-02T22:57:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-13T19:45:29.000Z (about 8 years ago)
- Last Synced: 2024-04-08T16:42:44.582Z (9 months ago)
- Language: Java
- Homepage:
- Size: 242 KB
- Stars: 12
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TiContent for Android
Resolves content uri to their native path.
_Very_ useful when using intents to, e.g. record audio.## Usage
~~~
// if returned something like this from an intent:
var contentUri = "content://media/external/audio/media/635";var Content = require("yy.ticontent");
var nativePath = Content.resolveAudioPath(contentUri);
alert("Native Path: file://" + nativePath);
~~~Supports the following commands:
~~~
Content.resolveAudioPath(contentUri);
Content.resolveImagePath(contentUri);
Content.resolveVideoPath(contentUri);
~~~###Licence: MIT