Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse svg with java or javascript? #14

Open
cw opened this issue Feb 2, 2013 · 1 comment
Open

parse svg with java or javascript? #14

cw opened this issue Feb 2, 2013 · 1 comment
Assignees
Labels

Comments

@cw
Copy link
Owner

cw commented Feb 2, 2013

if we just point the webview at a URL we'll have to either parse the SVG with javascript on the already loaded document, or use java to parse the document again, likely with another http request.

which is the best approach?

java - load svg document and cache to device, then load local file to webview

javascript - load webview via url, then maybe expose dom to java for caching/parsing

@ghost ghost assigned cw Feb 2, 2013
@cw
Copy link
Owner Author

cw commented Feb 2, 2013

http://developer.android.com/guide/webapps/webview.html shows how to open an interface between java and javascript in the webview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant