In my project i need to open the url that contain embed audio and video in the same link i try lot of method to open but i cant able to get the output and lot of link for this till it is not clear for this type of problem. I'm using 2.3 version devices
I have used the intent method
Intent newIntent = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://survey.euro.confirmit.com/extwix/test_p1837764731.aspx?__etk=GMYRUFKMQZTQ&ftouch=1679&pin=346"));
startActivity(newIntent);
and i have used the WebView method also till now i cant get it working
web = (WebView) surveyView.findViewById(R.id.webView_survey);
settings = web.getSettings();
settings.setBuiltInZoomControls(true);
settings.setJavaScriptEnabled(true);
settings.setAllowFileAccess(true);
settings.setPluginsEnabled(true);
settings.setGeolocationEnabled(true);
// settings.setJavaScriptCanOpenWindowsAutomatically(true);
// settings.setSupportMultipleWindows(true);
web.requestFocus(View.FOCUS_DOWN);
web.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
case MotionEvent.ACTION_UP:
if (!v.hasFocus()) {
v.requestFocus();
}
break;
}
return false;
}
});
web.loadUrl("http://survey.euro.confirmit.com/extwix/test_p1837764731.aspx?__etk=GMYRUFKMQZTQ&ftouch=1679&pin=346");
}
can any one help me so solve this problem