http://developer.android.com/reference/java/net/URLEncoder.html

On Sun, Sep 11, 2011 at 1:19 AM, bob <[email protected]> wrote:
> I'm looking at this WebView function:
>
> public void loadData (String data, String mimeType, String encoding)
> Since: API Level 1
> Load the given data into the WebView. This will load the data into
> WebView using the data: scheme. Content loaded through this mechanism
> does not have the ability to load content from the network.
> Parameters
> data
> A String of data in the given encoding. The date must be URI-escaped
> -- '#', '%', '\', '?' should be replaced by %23, %25, %27, %3f
> respectively.
> mimeType
> The MIMEType of the data. i.e. text/html, image/jpeg
> encoding
> The encoding of the data. i.e. utf-8, base64
>
>
> I just noticed the "data must be URI-escaped".  Is there a function
> for this?
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
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

Reply via email to