Open YouKu application via URL

278 Views Asked by At

This code takes me to the browser if I don't have the YouKu application, does anybody know the code if I have the YouKu application?

This code takes to the browser, it happens if the YouKu application wasn't installed

film.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View arg0) {
                Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://v.youku.com/v_show/id_XMTQ4OTQ5Nzc2OA==_ev_2.html?from=y1.3-idx-uhome-1519-20887.205805-205902.2-1"));
                startActivity(browserIntent);
            }
        });

I hope Chinese are here!

1

There are 1 best solutions below

2
On