[android-developers] WebView with setSupportZoom(false) still loses quality on touch event

2011-12-26 Thread Eric
I've a WebView with zoom disabled, however when taping or touching it, it still loses quality: images are dithered, texts become aliased, etc. even though a touch/drap/swype no longer does anything. Is there a way to turn off that behavior *without* losing touch events in JavaScript? Or is there s

[android-developers] WebView and ResponseCache

2011-12-15 Thread ydm
Hello, all! The ResponseCache class is a great tool for performance improvement and bandwidth consumption optimization. Anyway, I'm using it in a slightly different way -- to create something like Resource API (which will be most probably open-sourced soon) to serve app content when device is offl

[android-developers] WebView Polling... Multiple Instances.... Need Some Advice

2011-12-01 Thread cipher_neo
Hi guys, I have an app that uses the WebView. In the webview, I have ajax polling going on. I have coded up an exit button for my app, that calls activity.finish() When this happens, the app closes, and is not present in the "active applications" section of the task manager. However, the app

[android-developers] WebView lost JavaScript update contents after called goBack()

2011-11-21 Thread alex
I have a problem that when I click back button on a WebView, my previous page losts all contents updated by JavaScript. My steps in WebView was below: - after Main page loaded, JavaScript starts update contents, like refresh shoppings with links; - user will see some shopping lists after updated;

[android-developers] WebView lost JavaScript update contents after called goBack()

2011-11-21 Thread alex
I have a problem that when I click back button on a WebView, my previous page losts all contents updated by JavaScript. My steps in WebView was below: - after Main page loaded, JavaScript starts update contents, like refresh shoppings with links; - user will see some shopping lists after updated;

Re: [android-developers] WebView Problem

2011-11-14 Thread sumeet gupta
Hi Sunil Have u given the permission to your app for using internet in menifest? Sumeet On Mon, Nov 14, 2011 at 2:53 PM, Sunil Mishra wrote: > Hi, > > I am trying to load http://www.google.com in webview in emulator. But > it is unable to load the same. > > When i try the same with browser, it

Re: [android-developers] WebView Problem

2011-11-14 Thread Narendra Singh Rathore
Have you taken internet permission in androidmanifest.xml. That may be the problem. What exception are you getting? -- 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

[android-developers] WebView Problem

2011-11-14 Thread Sunil Mishra
Hi, I am trying to load http://www.google.com in webview in emulator. But it is unable to load the same. When i try the same with browser, it works fine! Please help! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] WebView with rounded corners

2011-10-19 Thread Stefan Alder
Is there anyway to create a webview with rounded corners? I've tried creating a drawable with rounded corners and setting that as either the background of the webview, or a parent layout, but the webview always cuts over the rounded corner.I'd really appreciate any ideas. Thanks. -- You rece

Re: [android-developers] Webview is displaying an address bar

2011-09-23 Thread Mark Murphy
Your WebView is not displaying an address bar, as it does not have one. The user is seeing the actual browser application, most likely. A redirect or clicking a link would cause that, if you do not have shouldOverrideUrlLoading() implemented in a WebViewClient. On Thu, Sep 22, 2011 at 11:39 PM, bo

[android-developers] Webview is displaying an address bar

2011-09-22 Thread bob
Someone told me that on their old Android phone, my Webview is displaying an address bar. Anyone know about this? -- 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 u

[android-developers] Webview weird redirect

2011-09-22 Thread yringel
Hey, I've created a WebView, and given him an Open ID url (from Google / Yahoo Open ID). For some reason, after entering the user details, the view redirects to my site behind the scenes - I couldn't catch the redirect in any method - onPageStarted / shouldOverrideUrlLoading and all the other WebV

[android-developers] Webview weird redirect

2011-09-19 Thread yringel
Hey, I've created a WebView, and given him an Open ID url (from Google / Yahoo Open ID). For some reason, after entering the user details, the view redirects to my site behind the scenes - I couldn't catch the redirect in any method - onPageStarted / shouldOverrideUrlLoading and all the other WebV

Re: [android-developers] WebView, WebViewClient and links

2011-09-15 Thread akanksha maggo
no...it won't handle on its own.you have to pas the intent in the OverrideUrlLoading() On Thu, Sep 15, 2011 at 10:22 PM, TreKing wrote: > On Thu, Sep 15, 2011 at 2:15 AM, Ori Harel wrote: > >> Do I need to implement my own WebViewClient in order for my WebView to >> handle common links li

Re: [android-developers] WebView, WebViewClient and links

2011-09-15 Thread TreKing
On Thu, Sep 15, 2011 at 2:15 AM, Ori Harel wrote: > Do I need to implement my own WebViewClient in order for my WebView to > handle common links like geo:, tel: and mailto:? > Can't the WebView handle it on it's own? > Create a page with the aforementioned link types, load it in a webview, and s

[android-developers] WebView, WebViewClient and links

2011-09-15 Thread Ori Harel
Do I need to implement my own WebViewClient in order for my WebView to handle common links like geo:, tel: and mailto:? Can't the WebView handle it on it's own? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Webview problm

2011-09-15 Thread venugopal reddy
Hi Guys, Am using Webview for load the URl(URl contains one page which is stored in the my local server) that psge contians scroll bar also.. Problm is in emulator total page is not display , some page is cutting, abd also scroll bar also not coming.. Can u pls help me -- You received this mes

Re: [android-developers] WebView takes up entire screen, I need it to fit in the remaining space of the layout.

2011-09-13 Thread Mark Murphy
Try pressing the MENU button. If you see the options menu from the browser app, that's because you're in the browser app, and you are not looking at your WebView. That would be because the server issued a redirect, which you did not handle in shouldOverrideUrlLoading() of a WebViewClient. If, OTOH

[android-developers] WebView takes up entire screen, I need it to fit in the remaining space of the layout.

2011-09-13 Thread MCON Dev
Hello All, I am trying to use Webview in a relative layout with a progress bar and some buttons. But as soon as I run webview.loadUrl("my path"), the webview takes over the entire space. I need the webview to fit in the remaining space of my layout. Please help. http://schemas.android.com/apk/r

[android-developers] webview onPause does not stop js setInterval

2011-09-12 Thread Xiaofen Qin
hi, dear all When I create a webview instance to load an url, which call setInterval in Js code, and call webview.onPause() in activity's onPause callback, however, the timer is still working when the webview.onPause() is invoked when the activity is finished. Is it a bug in sdk level 8? Anyone

[android-developers] WebView and URLEncoder

2011-09-12 Thread Francisco Dalla Rosa soares
Hello everyone, Working on a project I noticed a very peculiar behavior with the WebView class: I have mailto:";> link and I'm parsing it through shouldOverrideUrlLoading. When trying to parse the the subject and body parts (in japanese, UTF-8) I noticed that they were being automatically "urlEnc

[android-developers] Webview UTF-8 broken?

2011-09-11 Thread bob
I made a simple test to see if the Webview correctly supports UTF-8: wv.loadData("%E2%80%91", "text/html", "UTF-8"); If it did support UTF-8 correctly, the preceding code should load a single long hyphen. Instead, it loads three weird characters. Did I do this right or am I missing something?

[android-developers] Webview session or how to hold some particular view

2011-09-10 Thread ANKUR GOEL
can anybody help me for maintain the session in webview suppose i am login in some url then i go different activities when i return back to webview it should show the last page only -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Webview android

2011-09-09 Thread Christian Bianchini
I have a problem with webview, I tried to use the http://raphaeljs.com/ library but was working only on my computer. I tried to use the browser and doesn't work as well. I tried to download Firefox on my phone and it's work! Anyone can suggest me any idea? I would like to use a webview of Firefox

[android-developers] Webview with flash video in Android

2011-09-02 Thread deepak
I am calling a webview which contains a flash video and its playing without issues on Android 2.2 onwards. Its not playing in Android 2.1. Wanted to know whether it will play in Android 2.1 Update ? -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] Webview in Droiddraw?

2011-09-01 Thread Mark Murphy
On Thu, Sep 1, 2011 at 10:19 AM, bob wrote: > Are there any decent alternatives to Droiddraw? Current versions of the ADT plugin for Eclipse have drag-and-drop support. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twit

[android-developers] Webview in Droiddraw?

2011-09-01 Thread bob
Am I missing something or is there really no Webview in Droiddraw? Are there any decent alternatives to Droiddraw? -- 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

[android-developers] Webview transparency bugs?

2011-08-27 Thread bob
Has anyone else noticed that sometimes things don't get drawn right when you make a Webview transparent like this? wv.setBackgroundColor(0x); Here's an example of what I'm seeing: http://i1190.photobucket.com/albums/z449/m75214/render2.png -- You received this message because you are s

[android-developers] WebView with Admob Error

2011-08-27 Thread OneaDayJ
Hey guys, Okay, so I am having a heck of a time here doing this app. I am trying to create an app that has the webview up top and admob ads at the bottom. I got the webView aspect to work then when I tried to ad the admob I began getting errors. I first added the manifest and it worked fine, bu

Re: [android-developers] WebView

2011-08-25 Thread Daniel Drozdzewski
On 25 August 2011 09:49, bob wrote: > Anyone know why WebView doesn't like this? Any more details, on how WebView does not like it? Does it say anything, when you feed it? How are you feeding it? Do you specify the MIME type? >        String html = "tr { background- > color: rgba(0, 0, 0, 0.8);

[android-developers] WebView

2011-08-25 Thread bob
Anyone know why WebView doesn't like this? String html = "tr { background- color: rgba(0, 0, 0, 0.8); } tbody.striped tr:nth-child(even) { background-color: rgba(20, 20, 20, 0.8); } tbody.striped tr:nth- child(odd) { background-color: rgba(10, 10, 10, 0.8); } table { width: 100%; } td { pa

[android-developers] Webview

2011-08-19 Thread bob
Does Webview have any known issues with you trying to change the browser data by calling loaddata a few times? It seems like the first call to loaddata works but not the subsequent ones. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Webview with transparent background

2011-08-17 Thread bob
Is there any way to make a Webview have a transparent background? Thanks. -- 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 t

[android-developers] Webview cookie in sqlite db throwing error

2011-08-17 Thread Michael
Hi, I have a Motorola Xoom with Android 3.0.1 loaded and a Webview pointing to my website. It been working great for a month, but then yesterday I am getting this error related to my cookie. I/SqliteDatabaseCpp(21308): sqlite returned: error code = 1, msg = index cookie_times already exists, db=/

[android-developers] Webview - how to detect redirecting URLs

2011-08-11 Thread mahesh vojjala
Hello, I have a question on the Android webview. Assume URL A redirects to URL B at the server side. My android application when it tries to open URL A, webview automatically redirects to URL B. If a URL is being redirected to some other url, I see both these urls are stored in webview history.

[android-developers] WebView Scaling behavior vs UIWebView in iOS

2011-08-10 Thread Mark
I am having some difficulty getting the Android WebView object to properly scale my content. In iOS, the UIWebView object has a "scalesPagesToFit" property which automatically scales content to fit the boundaries of the UIWebView. In my case, the content contains a number of absolutely sized/positi

[android-developers] WebView TextSelection + JavaScript issue in 3.1+ - solution opinions?

2011-08-04 Thread IcedNet
Hello All, Problem domain: WebView based ePub format reader need text highlights which are accessible via JavaScript methods (ie turn em on, turn em off, save them email them, etc) Anyone in the know, please correct me if I'm wrong: During text selection on a WebView -- Basically we are handed a

[android-developers] Webview sliding issue

2011-08-02 Thread pankaj pandey
Hi, I have implemented the webview in my android application. The issue is: when I start typing on edittext of webivew, the web page slide down and hides under the soft keyboard and user cann't see what he/she typing. Would request you to please provide any solution. Thanking you... Regards, Pank

[android-developers] webview can not display twitter page

2011-07-29 Thread Ethan Gao
I am developing an app with twitter sharing feature. User can share information via twitter. After user click the twitter image in app view, a webView is brought up with a twitter share url. But the webview is always a blank page. Only twitter url does not work, facebook url works very well

[android-developers] WebView text selection and persistent highlighting dilemma

2011-07-28 Thread IcedNet
Hello All, I am working on a non-trivial epub format book reader project in 3.1+, implementing it within a WebView. I am stymied at the text selection/highlight phase (luckily ? I have many more operations to polish up and implement). I can , of course highlight text and use the Clipboard manage

Re: [android-developers] WebView & JavaScript

2011-07-26 Thread TreKing
On Thu, Jul 21, 2011 at 8:28 PM, Raj wrote: > I have a webview which loads a url. That page has some javascript functions > that I want to call which return JSON data. What is the best way to do this? > Have you read through the web app documentation? ---

[android-developers] WebView & JavaScript

2011-07-25 Thread Raj
I have a webview which loads a url. That page has some javascript functions that I want to call which return JSON data. What is the best way to do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

[android-developers] Webview out jump to anchor after loadData

2011-07-19 Thread SImplyG2010
Hi! I hope someone can help. Does anyone know if there is a way to get a webview to automatically jump to an anchor on a webview after the webview has been populated using loadData? I don't want the user to have to press a link in order to get it to jump you see I would like to just pass the ancho

[android-developers] WebView Scale

2011-07-15 Thread Mark
I am having trouble manually controlling the scale of a WebView. My Webview is loading html content with a known body size. When the app is rotated and/or pages are loaded, I want to be able to manually control the scale of the WebPage to control how the content is displayed. I am currently using W

[android-developers] WebView - How can I block/deactivate all the links in a WebView after the content is loaded?

2011-07-11 Thread Nicolas Copernico
Hi all, I've got a brief question for you, something is driving me crazy and couldn't find anything after checking Android Devs Reference. I'm using a webView to load a simple html site that has a javascript file. It's all well displayed on the app but the content also has links that I would like

[android-developers] Webview - Resize items

2011-06-29 Thread Rafael Decker
Hi, On my extended webview class i have: @Override public boolean onTouchEvent(MotionEvent ev) { boolean consumed = super.onTouchEvent(ev); if (isClickable()) if (ev.getAction() == MotionEvent.ACTION_DOWN) { this.loadUrl("javascript: updatePoi

[android-developers] WebView broken in SDK 8?

2011-06-24 Thread Brill Pappin
I'm have no end of problems with WebView between SDK 8 (2.2) and SDk 10 (2.3.3). What works perfectly in 10 doesn't work at all in 8. Specifically, in SDK 8 i can't get horizontal scrolling working and links are not clickable... but the same code works perfectly in 10. I remember my Nexus One h

Re: RE: [android-developers] WebView Horizontal Scroll Not Working

2011-06-23 Thread Brill Pappin
Do you want to tell us what the solution was? -- 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+unsubscr

[android-developers] WebView not calling onReceivedError 500 error from server

2011-06-09 Thread Brad
I've got a webview and I've set the webviewclient to my own class where I override the onReceivedError and onPageFinished methods. When my server returns a 500 error code along with an html error message, onPageFinished gets called but onReceviedError does not. I've tried calling a completely bog

[android-developers] WebView content type not working as expected

2011-06-06 Thread Brill Pappin
In SDK level 8. I seem to be having an unexpected issue with WebView. webView.loadData("This will be filled in\nwith the generated data...", "text/plain", "UTF-8"); When setting text/plain as the content type, I'm expecting the webview to display the text as is, however it's ignoring the ne

[android-developers] webview autoclick

2011-05-27 Thread bob
Let's say you have a Webview with a button in it that says "Tweet". Is there a way to automatically click that button? Thanks. -- 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@googlegr

[android-developers] WebView -> Flash overdrawing issue

2011-05-27 Thread Josh Gitter
Has anyone noticed that Flash content within a Webview control overdraws other adjacent controls? It seems that the clipping region of the WebView is not respected. I'm using Adobe Flash 10.3 and a Nexus S. Here is a screen capture of flash content drawing outside of my Webview control. Notice th

Re: [android-developers] WebView

2011-05-13 Thread Mark Murphy
On Fri, May 13, 2011 at 12:53 PM, bob wrote: > When I do this, > > mWebView.loadUrl("http://www.google.com/";); > > the web page loads in the view. I doubt it. This usually pops up the user's choice of browser, due to a redirect. > However, when I do this: > > mWebView.loadUrl("http://twitter.co

[android-developers] WebView

2011-05-13 Thread bob
When I do this, mWebView.loadUrl("http://www.google.com/";); the web page loads in the view. However, when I do this: mWebView.loadUrl("http://twitter.com/intent/tweet?text=just+got+a +hiscore"); it tries to pop up a whole new window. Anyone know why this is? Here's the full code: import

[android-developers] WebView -- preventing pages from being cached

2011-05-12 Thread Jacob
Does WebView.setCacheMode(LOAD_NO_CACHE) also stop pages from being written to cache? Should I also disable (or enable?) the Application Caches API using setAppCacheEnabled? Any other steps? Thanks, Jacob -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] WebView with custom headers (in pre-Froyo)

2011-05-06 Thread Pinheiro
Hi! I made an app that loads URLs dinamically in a WebView. Since I need to add some custom headers I just call webview.loadUrl(url,extraheaders). The problem is that the extraheaders parameter only works in Froyo, not in previous versions. So, how to pass headers on previous versions? Anyone has b

[android-developers] webview loading flash local file problem

2011-05-05 Thread Bdroid
Is there a way to load a flash file from a local file using webview? OR Can I load an intent with the native browser in landscape? I have to load a flash file in landscape because the game requires a "wide" view. In portrait it just doesn't function well. I can load an HTML file using webview la

[android-developers] WebView and Scroll Vertical

2011-05-04 Thread Andrei
Hello. Webviev use to display pages on the Internet. Horizontal scrolling the village works, and the vertical is not. Phone screen twitches and all. How can there be a problem? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

Re: [android-developers] webview form reading

2011-04-27 Thread Miguel Morales
what data? On Wed, Apr 27, 2011 at 4:22 PM, bob wrote: > I load a form into a WebView, but I don't know how to read the data > from it. Anyone know how? > > Thanks. > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to th

[android-developers] webview form reading

2011-04-27 Thread bob
I load a form into a WebView, but I don't know how to read the data from it. Anyone know how? Thanks. -- 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

Re: [android-developers] webview & HttpAuth error 401 Unauthorized

2011-04-25 Thread Mark Murphy
On Sun, Apr 24, 2011 at 1:53 AM, Mike T wrote: > Android 2.2 API 8 > > > I am trying to use my app to send commands to my web camera.  The > command works using curl. > > curl -u user:user http://somesite.com/decoder_control.cgi?command=28 > > returns OK > > When using my app it gives me a 401 Una

[android-developers] webview & HttpAuth error 401 Unauthorized

2011-04-25 Thread Mike T
Android 2.2 API 8 I am trying to use my app to send commands to my web camera. The command works using curl. curl -u user:user http://somesite.com/decoder_control.cgi?command=28 returns OK When using my app it gives me a 401 Unauthorized error. Any help would be greatly appreciated. webview

[android-developers] WebView and geolocation questions

2011-04-23 Thread Moose
I have been attempting for a few days now to get a webview to work with a location based service. Every post I can find seems to say the same thing - create a webchromeclient and override onGeolocationShowPrompt(). I have gone as far as directly creating a copy of this and running it. Code: htt

[android-developers] WebView : Prevent autocorrect on textarea

2011-04-22 Thread xtranophilist
I am developing an Android Application which uses WebView. I don't want Android's autocorrect feature on a textarea field but can't seem to prevent it. For now, I am using this input text method: but not exactly what I want as multiple line input isn't possible with input element! How do I disable

Re: [android-developers] WebView in service.

2011-04-15 Thread Android K
Answer to this one is you can't do it. It's not a good idea to run webview in a service. On Tue, Apr 12, 2011 at 9:24 AM, Newbie wrote: > Hi, > I am trying to run the webview.loadurl() in the service. I have > javascript that sends notification to App asynchronously. Is this > possible to do? >

[android-developers] Webview Certificate

2011-04-15 Thread Valen
In webview,I saw public method setCertificate and getCertificate.Can we use setCertifiacate to add a CA certificate into webview?Will webview use it to check websites' certificate?Or those two methods are used to set and get websites' certificate?Thanks a lot! -- You received this message because

[android-developers] WebView in service.

2011-04-13 Thread Newbie
Hi, I am trying to run the webview.loadurl() in the service. I have javascript that sends notification to App asynchronously. Is this possible to do? I can easily call the javascript from App and App from the javascript. But later doesn't work when running as service. TIA. Newbie! -- You receiv

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Jake Basile
Oh well, thanks for the info. I'll figure something out - probably rolling my own. It does seem like something common enough that it should be in the default widgets, maybe in some future version. -- Jake Basile http://jakebasile.com/ On Tue, Apr 12, 2011 at 7:42 PM, Mark Murphy wrote: > On Tue

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Mark Murphy
On Tue, Apr 12, 2011 at 7:20 PM, Jake Basile wrote: > Ahh, ok. I was checking if there was something I was missing that does that > automatically. Do you know of any open source control that does something > similar, as it seems like a pretty common thing? Off the top of my head, no, sorry. --

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Jake Basile
Ahh, ok. I was checking if there was something I was missing that does that automatically. Do you know of any open source control that does something similar, as it seems like a pretty common thing? -- Jake Basile http://jakebasile.com/ On Tue, Apr 12, 2011 at 6:25 PM, Mark Murphy wrote: > On Tu

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Mark Murphy
On Tue, Apr 12, 2011 at 11:20 AM, Jake Basile wrote: > By tiling the image, do you mean splitting it up and putting it back > together with HTML to display in the WebView? No, I mean splitting it up and showing only the portions that are needed based on the center and zoom levels. See: Google Map

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Jake Basile
By tiling the image, do you mean splitting it up and putting it back together with HTML to display in the WebView? How does this avoid heap size problems? Does WebView do some magic behind the scenes? I'd like to avoid writing my own ImageView zoomer if that is going to open up more problems th

Re: [android-developers] WebView Image Scaling

2011-04-11 Thread Mark Murphy
On Mon, Apr 11, 2011 at 1:42 PM, Jake Basile wrote: > I am writing an image viewer that downloads a PNG from a remote server, > saves it to storage, and then opens it in a WebView so that I get > multi-touch zoom for free. These images are usually going to be documents, > so the user will want to

[android-developers] WebView Image Scaling

2011-04-11 Thread Jake Basile
I am writing an image viewer that downloads a PNG from a remote server, saves it to storage, and then opens it in a WebView so that I get multi-touch zoom for free. These images are usually going to be documents, so the user will want to be able to zoom in very far. I am sending down images o

[android-developers] WebView not responding to KEYCODE_DPAD_CENTER the same way as a Touch

2011-04-08 Thread Dan
I am trying to implement a web browser within my app and using WebView for that. For playing youtube video I used the following resource to start playing the video: http://stackoverflow.com/questions/3815090/webview-and-html5-video This implements basically a webChromeClient and the function onShow

[android-developers] WebView not responding to KEYCODE_DPAD_CENTER the same way as a Touch

2011-04-08 Thread Dan
I am trying to implement a web browser within my app and using WebView for that. For playing youtube video I used the following resource to start playing the video: http://stackoverflow.com/questions/3815090/webview-and-html5-video This implements basically a webChromeClient and the function onShow

Re: [android-developers] webview No cache file for url

2011-04-06 Thread Kostya Vasilyev
06.04.2011 23:57, Stephan Wiesner ?: // didn't work for me without this line webView.getSettings().setAppCachePath("/data/data/ch.gipfelbuch/cache"); Are you sure this path is correct for that particular device / firmware? Does it match what is returned by Context.getCacheDir? http://deve

[android-developers] webview No cache file for url

2011-04-06 Thread Stephan Wiesner
Hi, I have a webview and use caching. This worked fine until now. On my Motorola Defy (Android 2.1) I can not open webpages anymore. I have not changed anything on the code of the webview activity. Under preferences/applications I can see that the cache size is 0. 04-06 21:50:35.452: DEBUG/Alpenka

[android-developers] WebView not receiving events from some soft-keys.

2011-04-04 Thread RobK.pwr
Guys, I've got a webview and a page with input field. I bind to 'keydown/keyup' events using jquery but for certain soft- keys those events never arrive. Key are different for different phones but it happens on every one I've tested. For example on Samsung GT-I5500 soft keys that do not trigger

[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] WebView Animation Problem

2011-03-28 Thread Anas Jaghoub
Hi there, Hope you are fine, Actually this is my first post here, I searched a lot, and tried a lot to find a suitable solution for my problem, but unfortunately could not find the answer for my problem. The problem is: I am developing an android application using html, css and javascript. my appl

Re: [android-developers] webview in tabs

2011-03-23 Thread TreKing
On Tue, Mar 22, 2011 at 6:40 AM, seyma wrote: > SetContentView(Resource.Layout.Main); >web_view = new WebView(this); >web_view = FindViewById(Resource.Id.webview); >web_view.Settings.JavaScriptEnabled = true; >web_view.LoadUrl("http://www.google.com

[android-developers] webview in tabs

2011-03-22 Thread seyma
Hi! I've just started to create monodroid applications. So I'm in trouble about my project. I want to create 2 tabs and when clicks each open a web site. Is it possible ? Here is my code. Tabs already work but when I click nothing happens. [Activity(MainLauncher = true, Label = "@string/app_name"

[android-developers] WebView document.implementation.hasFeature("XPath", "3.0") should not return true.

2011-02-28 Thread Heath Borders
In my WebView, the following javascript returns true: document.implementation.hasFeature("XPath", "3.0") However, the following are undefined: document.evaluate XPathResult I'm running API Level 7 in the emulator. -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Webview cache FALLBACK crash?

2011-02-24 Thread Neil
Hiya I've scoured the net for days, but I can't work this one out. I had a WebView that uses the HTML5 cache manifest file. All seems to work fine, I can view pages offline etc, except when I try and view a page that isn't in the cache, then my app restarts or quits. Any ideas? Perhaps I can c

Re: [android-developers] WebView and Linear Layout

2011-02-22 Thread TreKing
On Sat, Feb 19, 2011 at 12:07 PM, Gareth wrote: > If I then put the WebView in a Linear Layout on its own - the > application crashes on start up saying it was forced to close! > Debug your application and figure out why it's crashing. Then make it not do that! -

[android-developers] WebView and Linear Layout

2011-02-22 Thread Gareth
Hi all I am developing a web app for a tablet. If I just place a WebView in the layout file it works fine except the WebView doesn't fill the whole screen on the tablet. If I then put the WebView in a Linear Layout on its own - the application crashes on start up saying it was forced to close!

[android-developers] WebView not working

2011-02-16 Thread Ganesh Khatal
Hello All, I am stuck at showing a webpage in a WebView. The default browser works fine in the emulator but the webview shows the "Web page not available error". Here is the FeedView.java Activity source : package com.bayer.feedreader; import com.bayer.feedreader.R; import android.app.Activity;

[android-developers] WebView mouseover event

2011-02-16 Thread Rajkumar
Hi folks, Is it possible to enable mouseover event in the Android WebView? Currently :hover pseudo class is not working. Thanks n Regards, Raj. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

Re: [android-developers] WebView Page Not Found Error Trapping

2011-02-15 Thread Jonathan Pettersson
Like Mark said: mWebView.setWebViewClient(new WebViewClient() { public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { //do something on error } }); The WebView will show a default error message and due to a bug in Android, thi

Re: [android-developers] WebView Page Not Found Error Trapping

2011-02-14 Thread Mark Murphy
Implement onReceivedError() in your WebViewClient. On Mon, Feb 14, 2011 at 1:21 PM, Craigbtx wrote: > I am using webview. If the page is not correct or the website is down, > how can I error trap a page not found and show the users an error page > or some > > othe page? > > I am very much a begin

[android-developers] WebView Page Not Found Error Trapping

2011-02-14 Thread Craigbtx
I am using webview. If the page is not correct or the website is down, how can I error trap a page not found and show the users an error page or some othe page? I am very much a beginner so I need examples of code. @Override public void onCreate(Bundle savedInstanceState) { super.o

[android-developers] WebView issue

2011-02-13 Thread Neilz
Hi all - I have a problem with my WebView... I'm using the method setUseWideViewPort(true). Within the view I load a webpage which includes a form. I'm testing on two devices: When I test on the Nexus, I can fill in the form fields as usual. With my Hero, I click into the form fields, and the sof

Re: [android-developers] webview + scrolling

2011-02-05 Thread sagar masuti
Hi Mark, I have implemented a class named WidgetView.java which extends from FrameLayout. This acts as a container for Webview.In my class I handle the touch events according to my specific requirements. Now when i remove FrameLayout and use some other layout I am not able to display any content.

Re: [android-developers] WebView in FrameLayout

2011-02-04 Thread TreKing
On Wed, Feb 2, 2011 at 5:59 AM, avinash kumar wrote: > I have added WebView in a FrameLayout.But I am not able to scroll the page > rendered on the WebView.Any pointers on this will be highly appreciated. > There's no point in adding the view in a FrameLayout - it's already a ViewGroup. Just us

Re: [android-developers] webview + scrolling

2011-02-03 Thread Mark Murphy
On Wed, Feb 2, 2011 at 5:42 AM, sagar masuti wrote: > I am trying to embedded a webview in a framelayout. my launch.xml is > as shown below. > > http://schemas.android.com/apk/res/ > android" >        android:orientation="vertical" >        android:layout_width="fill_parent" >    android:layout_he

[android-developers] WebView in FrameLayout

2011-02-03 Thread avinash kumar
I have added WebView in a FrameLayout.But I am not able to scroll the page rendered on the WebView.Any pointers on this will be highly appreciated. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] webview + scrolling

2011-02-03 Thread sagar masuti
Hi All, I am trying to embedded a webview in a framelayout. my launch.xml is as shown below. http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > I have implemented the WebChro

Re: [android-developers] WebView; SDK

2011-01-25 Thread TreKing
On Fri, Jan 21, 2011 at 11:34 AM, TGundhus wrote: > Here is a link to a tutorial, but I get an error, someone who got > the entire pure source or know it, because it rly does not work for > me (something I'm doing wrong for sure...) > You should explain the error and makes sense if you expect to

[android-developers] WebView; SDK

2011-01-24 Thread TGundhus
Hello! Just started with Eclipse and rly a bad programmer when it comes to java although html and php is all fine.. Anyway, I got some problem with the webview command. Because of my skills all I want is to have an application showing "www.mywebsite.com/home.html".. no buttons, options, or somethi

<    1   2   3   4   5   >