maybe try your intent this way:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(url), "video/mp4");
view.getContext().startActivity(intent);
On Aug 2, 4:58 pm, Kyle wrote:
> Here is my code that I'm currently using:
> final clas
Here is my code that I'm currently using:
final class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String
url) {
if (url.endsWith(".mp4")) {
Intent intent = new
Intent("an
Are you calling intent.setDataAndType(Uri Data, String Type)
?
Sometimes specifying the right mime type makes a big difference.
On Aug 2, 1:26 am, Kyle wrote:
> Hey,
> I've created a WebView which loads a webpage and will play any file
> that ends in mp4 on click. The problem is, is that when
3 matches
Mail list logo