[android-developers] Re: WebView as map

2011-04-04 Thread hEngi
Maybe i will use assets folder^^ On Apr 4, 10:28 am, hEngi wrote: > Hi, > I'm new in android. > I'd like to use a picture as a map. The easiest way is WebView. There > is zoom and i can pull the image etc. But i have a problem. I cannot > use my picture from res/drawab

[android-developers] WebView as map

2011-04-04 Thread hEngi
Hi, I'm new in android. I'd like to use a picture as a map. The easiest way is WebView. There is zoom and i can pull the image etc. But i have a problem. I cannot use my picture from res/drawable. I need to store it in the phone cause i need an url to it. Is there any way to load picture from res/

[android-developers] Pictur zoom in and out in webView

2011-03-30 Thread hEngi
Hi, I try to make a little app with picture zoom in and out. I think i find the easiest way with WebView. Code: WebView web = (WebView) new WebView(context); web.loadUrl("file:///sdcard/pic.jpg"); web.getSettings().setBuiltInZoomControls(true); web.setBackgroundColor(0); web.setVisibility(ImageVi