Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7419685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:06:48+00:00 2026-05-29T08:06:48+00:00

I am writing an android project, and just want to play a specified part

  • 0

I am writing an android project, and just want to play a specified part of a video(eg: 10s-15s), So how to get the data(which I use it and can play from 10s to 15s without the original video file, of course the data contains the video’s 10s-15s data)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:06:49+00:00Added an answer on May 29, 2026 at 8:06 am

    Unfortunately there is no Media Extractor available on android from the SDK to extract the data. You will have to do this offline on a PC using PC tools.

    But you can however implement what you want to do in Android, as follows ..

    • Create a instance of MediaPlayer and set the source to the file you want to play.
    • Prepare the mediaplayer
    • seek to the 10th second.
    • Start the playback using the play
    • Keep querying the mediaplayer for the current time of the playback, when it hits 15 seconds, call stop on the media player.
      Or you can write a delayed message for your handler and stop the playback when you get the delayed message.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an Android application which can enable and disable the Network Data
I am writing an android app. I want to pass some data across the
I am writing an Android project that needs to use the Apache HttpClient from
I am writing an android project which has Native layer helping the java layer,
I'm currently writing an Android application which needs to use OCR within it. To
Well, I am writing an android application and I want to use Socket.IO-Client for
I'm writing an Android project where I'm recording several audio files. Therefore, I'm setting
I am writing an Android application which uses several 3D models. Such a model
I'm writing an Android application that I want to be able to send requests
I'm writing an Android app where users can upload video to Youtube. I'd like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.