I am accessing the videos directly from content provider without storing it in my database. But it is giving me 3gp audio file along with other video and 3gp videos. how could i filter only the video files.I am working for API 8
how to differentiate between 3gp audio and 3gp video
1.1k Views Asked by Shakeeb Ayaz At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in MIME-TYPES
- Adding Valid File Types - PHP form
- nginx: how to avoid forced downloads in all wav files?
- Html5 videos not displaying
- Why doesn't the subtype of this custom MIME type specify the particular row (from Content URI) in the table?
- How to properly send a message to outlook with an ics file and calendar part?
- CSV files being saved as XLS or nothing on download
- Why does a GET request for an mp4 file in Safari fail?
- NSURLSession uploadTaskWithRequest with mime type?
- PHP Mail - Multiple or malformed newlines found
- HTML form upload for ODT files / MIME type for *.odt
- Open html file in browser from intent
- Zip sent via email is invalid on first attempt
- Will browsers choke if the response header of a JSONP payload has content type of "application/jsonp"?
- Unable to upload .ppt files even after specifing the mime type
- PDF on S3 Served As image/png
Related Questions in ANDROID-CONTENTPROVIDER
- The difference between authority and scheme in an Android URI
- INSTALL_FAILED_CONFLICTING_PROVIDER with Facebook SDK when I build multiple productFlavors
- ListView won't update even if I call notifyChange(uri, null); though content provider
- CursorLoader with ContentProvider not working
- Get Android contacts with type-to-filter functionality, restricted to a specific account
- Querying relational data from ContentProvider
- Why doesn't the subtype of this custom MIME type specify the particular row (from Content URI) in the table?
- Android Facebook content provider authority
- Why is this variable set to empty string when it is already initialized to an empty string?
- Android Content Resolver takePersistableUriPermission API below 19 no such method
- How to keep count of the times an existing record being inserted in database?
- CotntentProvider mime type clarification
- ProviderTestCase2.getProvider() is null
- SearchRecentSuggestionsProvider DATABASE_MODE_2LINES configures Recent Suggestions to add a second line of text. Where does that text come from?
- How to access main.db of Skype App to display Recent Tab logs in Sample Android Application?
Related Questions in 3GP
- Android 3gp to mp4 converter
- Copy 3gp moov atom from one file to another
- How to tell if .3gp file is audio or video in android
- 3gp file not playing audio in chrome
- Write .3gp file into .wav format python Flask server
- Fix 3GP file after streaming from Android Media Recorder
- How to play mpg/3gp 5 sec video at start of application?
- 3GP video with "jpeg" video codec
- difference between "enum" and "choice" type in ASN1
- iPhone SDK - Converting .mov to .3gp
- Play Youtube video in MPMoviePlayerController or play RTSP - 3GP link
- how to add text watermark and convert video to 3gp with FFMPEG?
- How to make 3gp from audio and image in Android?
- Playing video in Gmail
- Splitting/Merging 3gp files using a java library
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Try this since you are working on API 8, otherwise METADATA_KEY_HAS_VIDEO could have done the job if API level >= 10.
A work around using MediaPlayer. If media has height it means it is a video.
Source