On Thu, Aug 18, 2011 at 10:36 PM, Raziel23x <[email protected]> wrote: > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

