HLS Video Player - App
FeedbackNemosofts
  • 🏠Welcome
  • Admin Panel
    • Getting Started
    • Database
    • Installation Process
    • SMTP Config
  • Android Studio
    • Getting Started
    • Open Project
    • Firebase
    • Push Notification
    • Application ID
    • Verify Purchase Code
    • BASE URL & Encryption Key
    • Change Logo
    • Change Color
    • Change Text
  • Ad Networks
  • Google Play
    • Release Version
    • Generate Signed Bundle / APK
    • Data Safety Form
    • Advertising ID
  • Player Send Intent
  • Troubleshooting
  • Rating and Support
  • License
  • FAQ
Powered by GitBook
On this page

Player Send Intent

You need to add this Code in your live tv or movie app. After that your app will able to push data to our HLS player app

String player_applicationId = "com.online.player"; // Your App ApplicationId (HLS Video Player Android App)
try {
    Intent sendIntent = new Intent(Intent.ACTION_SEARCH);
    sendIntent.setPackage(player_applicationId);
    sendIntent.putExtra("video_title", "Sample_videos");
    sendIntent.putExtra("video_url", "https://download.nemosofts.com/sample_videos.mp4");
    sendIntent.putExtra("video_agent", "");
    // videoType = normal or youtube or webview
    sendIntent.putExtra("video_type", "normal");
    sendIntent.setType("text/plain");
    sendIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    startActivity(sendIntent);
} catch (Exception e) {
    e.printStackTrace();
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://play.google.com/store/apps/details?id=" + player_applicationId)));
}
PreviousAdvertising IDNextTroubleshooting

Last updated 1 year ago