Remove All Ads from XDA

if anyone could help would be great (if or else statement)

1 posts
Thanks Meter: 0
By midnightenvy, Junior Member on 13th April 2017, 09:58 PM
Post Reply Email Thread
i have been designing my own android app and have fell into a problem
im trying to call all avi, mp4, m3u8 and mkv files from my server this is my code i have but im unable to set it up to call all 4 i can only call the the other 2 file formats

PHP Code:
protected void onStart() {

boolean isMxPlayerInstalled=isAppInstalled(PlayerActivty.this,MX_PLAYER_PACKAGE_NAME);

        try {
isMxPlayerInstalled) {
Intent intent = new Intent(Intent.ACTION_VIEW);
String username getIntent().getStringExtra("USERNAME");
String password getIntent().getStringExtra("PASSWORD");
String mode getIntent().getStringExtra("stream_type");
String stream_id getIntent().getStringExtra("stream_id");
String action getIntent().getStringExtra("action");
                if (
action.equalsIgnoreCase("get_vod_streams")) {
extension ".mp4";
                } else {
extension ".avi";
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes