> myweb.setDownloadListener(new DownloadListener() {
> public void onDownloadStart(String url, String userAgent,
> String contentDisposition, String mimetype,
> long contentLength) {
> Intent intent = new Intent(Intent.ACTION_VIEW);
> intent.setData(Uri.parse(url));
> intent.setType(MIME_TYPE_RAR);
> startActivity(intent);
>
> }
> });
>
> but the MIME_TYPE_RAR shows as a error in Eclipse am I doing something
> wrong?
>
Where did you come up with MIME_TYPE_RAR? I googled it and only got
this conversation.
Kris
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment