[android-developers] Webview memory optimization

2018-02-14 Thread VIJAY PRAKASH YADAV
Hi, I am using webview and load website in webview. but its taking too much memory so how can reduce this memory usage and one more thing is that if my app in background then free all resources and webview. Please help me. Thanks -- You received this message because you are subscribed to

[android-developers] webView not loading game android 4.4.2 only in lollipop and mashmallow

2016-11-01 Thread osilva
Hello friends, I've been fighting with this for several days maybe someone has an idea of how to solve it, my issue is that I am trying to load a game from an external source embeded inside a webView in android 4.4.2 (kitkat) i've been testing the code with other url's that run javascript and

[android-developers] Webview issue

2016-09-08 Thread rakesh babu
Hi all, I,Rakesh babu app developer I am developing Video based website app.For this I m using webview class. .I am facing with one error msg while chking my app thru emulator n samsung smart phone. too so pls give some suggestions to resolve this issue *"net::ERR_CACHE_MISS " * *For ur

[android-developers] WebView Not loading Issue

2016-08-28 Thread Laxmikant Nuchchi
Hi, I am facing a weired issue with Android Webview. I am loading a content around more than 30 pages. Once i scroll down to the last position and reopening the activity again quickly by closing it webview is not getting loaded its totally blank. Please let me know if any solution to be made.

[android-developers] WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253
I have an example code that creates WebView for HTML5 video and it allows to enable fullscreen (actually there is also a problem with hiding status bar, but it's not the main problem now). public class MainActivity extends AppCompatActivity { private MyWebChromeClient mWebChromeClient =

[android-developers] Webview holding active session

2016-07-30 Thread Joshua Ivy
So one of my tabs is a chat that i use webview to display. Is their a way to keep it active even as users switch between different sections? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop

[android-developers] webview shouldInterceptRequest does not work on Android 5.0

2016-05-20 Thread Carlos Farrington
Hi I am developing an App that intercepts the request and process them and then updates send the WebResourcesResponse. The code works with no issues on 4.2 but when I try it in 5.0 the function shouldInterceptRequest never sees the request. I know that there was an update on the library

[android-developers] WebView behaves weird when setting pivot point to rotate WebView

2016-05-17 Thread Pavel Vasilyev
Hi all, I'm trying to rotate WebView (actually don't think there is a difference with any Views) by rotation gesture with two fingers. I use the following code: mView.animate().rotation(-mCurrentAngle).setDuration(0).start(); I get fingers' relative coordinates by

[android-developers] WebView

2016-04-13 Thread TwoPlayers
I'm using webview to make an app for my website, this app enters the URL, plus the upload system does not work I click anything happens I need help please! I'll leave the code I used below, thanks! String url ="http://www.SiteHere.cf;; WebView view=(WebView) this.findViewById(R.id.webView);

Re: [android-developers] webview violation ? - websites's owner permission

2016-04-05 Thread TreKing
On Wed, Mar 30, 2016 at 2:02 PM, erik llerena wrote: > Can somebody in this community help me. Nope. Try creating a real app, maybe? And not just wrapping a website in a webview? If someone wanted that, they could just create a shortcut to your website, no?

[android-developers] webview violation ? - websites's owner permission

2016-03-30 Thread erik llerena
Can anybody give a hand here. I'm creating a very simple app. I'm loading the content of **my OWN website** in a webview. I've done the very same in iphone and it got approved. But wen loaded in the google play store it got rejected. The email I got was so nasty but that is a different topic. I

[android-developers] WebView Slow Page Load

2015-12-20 Thread Parimal Muli
Hi, I am using a webview in my app. The problem is that it takes a lot of time (10-25 secs) for the sites to render in the webview. Can you please suggest some methods to improve the webview page load time? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] webview load page in background

2015-09-24 Thread Streets Of Boston
WebViews are only rendered if they are attached (to the Window) and if they are not 'View.GONE'. This means you have to add a WebView to your Activity's hierarchy somehow and either set it to View.INVISIBLE or set its alpha to 0 (make it transparent). There are 'optimizations' in the WebView

Re: [android-developers] webview load page in background

2015-09-23 Thread TreKing
On Tue, Sep 22, 2015 at 2:44 AM, Jags wrote: > thanks, is it the only way ? > I don't know, probably not, but that's the first thing that came to mind. > i can not put it as content, because, there is already a visible content > (another list) i am replacing that content

Re: [android-developers] webview load page in background

2015-09-22 Thread Jags
thanks, is it the only way ? i can not put it as content, because, there is already a visible content (another list) i am replacing that content with webview when required. i am surprised why content is not rendered when the webview instance is not set as a content ! On Tuesday, September 22,

Re: [android-developers] webview load page in background

2015-09-21 Thread Jags
> > Thanks for showing interest. My question is, how to achieve this ? > when i try below approach webview objwv = new WebView(this); objwv.loadUrl("index.html"); and on button click, say setContentLayout(objwv); i see blank page, the page is not rendered. but when the setcontentview is

Re: [android-developers] webview load page in background

2015-09-21 Thread TreKing
On Mon, Sep 21, 2015 at 2:07 AM, Jags wrote: > i see blank page, the page is not rendered. but when the setcontentview is > called before loadurl, (i.e it is visible), the page loads and renders with > a white flash. > > to avoid this white flas, i want to load it while it is

[android-developers] webview load page in background

2015-09-19 Thread Jags
Hi, i need a functionality, that webview (programmatically created) loads an html file from assets and renders (when not visible, i.e is not the current layout.) , i want the page rendered already, and only make it visible / setCurrentLayout on some event. thanks jags -- You received this

Re: [android-developers] webview load page in background

2015-09-19 Thread TreKing
On Sat, Sep 19, 2015 at 12:47 PM, Jags wrote: > Hi, i need a functionality, that webview (programmatically created) loads > an html file from assets and renders (when not visible, i.e is not the > current layout.) , i want the page rendered already, and only make it > visible /

[android-developers] webview loadurl oncreate

2015-08-27 Thread Jags
hi all, i use webview in my android app to be used later (on click of menu) the problem is, when i do loadurl, there is a flicker and delay. i wanted to load the url in the beginning, and only show the ebview when required (on click) when i do objWebView.loadUrl(help.html); inside oncreate

[android-developers] webview affected by accessibility

2015-08-17 Thread Jags
hi all, i have a native application which contains some ui wrapped in webview. in galaxy s6, when i go to accessibility settings and change font size to small / large, text size in webview becomes small or large respectively. what are the ways to stop this ? -- You received this message

[android-developers] WebView and ConnectivityManager.requestNetwork

2014-12-12 Thread Krystian Lewandowski
Hi, I'm trying to update ConnectivityManager.requestRouteToHost implementation from deprecated one to ConnectivityManager.requestNetwork introduced in Lollipop. It supports Sockets, SocketFactories, URLConnections - this is fine. The only thing missing at the moment is WebView support.

Re: [android-developers] WebView and ConnectivityManager.requestNetwork

2014-12-12 Thread 'Robert Greenwalt' via Android Developers
I think the WebView API may need to be made multinetwork aware. On Fri, Dec 12, 2014 at 12:15 PM, Krystian Lewandowski krystian@gmail.com wrote: Hi, I'm trying to update ConnectivityManager.requestRouteToHost implementation from deprecated one to ConnectivityManager.requestNetwork

[android-developers] WebView Unable to display

2014-04-19 Thread Dilip Kumar Chaudhary
I'm trying to load twitter widget.but Unable to follow throwing following error *Refused to display 'https://twitter.com/SanjeevKapoor?original_referer=http%3A%2F%2Fzenga001.s3.amazonaws.com%2Fsanjeev_xml%2Ftwitter%2FSanjeevKapoor.htmlprofile_id=56363343tw_p=embeddedtimelinetw_w=456719461332967424

[android-developers] WebView Html Scrolling issue

2013-10-21 Thread Rahul Kaushik
Hi, I have an html file is showing scrolling in browser but not showing in webview in android Please suggest Thanks RK -- 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

Re: [android-developers] WebView Html Scrolling issue

2013-10-21 Thread Michael Banzon
Debug. On Oct 21, 2013 8:44 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: Hi, I have an html file is showing scrolling in browser but not showing in webview in android Please suggest Thanks RK -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] WebView Html Scrolling issue

2013-10-21 Thread Rahul Kaushik
how to debug html scrolling?? On Mon, Oct 21, 2013 at 12:18 PM, Michael Banzon mich...@banzon.dk wrote: Debug. On Oct 21, 2013 8:44 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: Hi, I have an html file is showing scrolling in browser but not showing in webview in android Please

Re: [android-developers] WebView Html Scrolling issue

2013-10-21 Thread Michael Banzon
I suspect that the setup you are testing is complex. Try with the smallest example you can thank of and apply layers until it fail. I can assure you that scrolling in webviews in fact does work*. *In most cases. On Oct 21, 2013 9:00 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: how to

[android-developers] WebView Problem showing Google Maps

2013-08-03 Thread Gary Blakely
Consider the following code... LocateBrowser = (WebView)findViewById(R.id.locatebrowser); LocateBrowser.setWebViewClient(new WebViewClient()); LocateBrowser.loadUrl(http://maps.google.com/maps?z=17t=hq=loc:31.8526,-110.9959;); The Google maps page shows in the WebView with a Loading . . .

[android-developers] WebView - can't set its position..

2013-07-07 Thread AmitNHB
Hello, I feel this should be very basic but I can't seem to be able to set the position of a WebView. I have a my surface (which extends SurfaceView) and an AdView at the bottom and now I want to add a WebView and position it at a certain height on the screen. I do this, trying to position my

[android-developers] WebView can not login into a http website with login. Phone navigator can do it

2013-07-03 Thread saex
I need to show a webview that let the user enter this website: http://m.orange.es/area_clientes/ If i try to enter to that website and login with my user with the phone navigator, it works fine, and the navigator ask me to accept a certificate. If i try to enter that website and login with

[android-developers] WebView Download

2013-05-27 Thread Rahul Kaushik
i have an webview app ,when i click on attachments in my webview it opens an browser saying you are not login please login first Now 1)if i login in browser and go back to my app,and click on any attachment it starts download without opening browser instance 2)if don't login in browser and close

[android-developers] WebView inside SherlockFragment - FragmentTransaction.Detach() or Remove() does not remove the webview when fragment is removed.

2013-05-02 Thread Puneet Maloo
I am using ActionBarSherlock's action bar tabs in my application with each tab populated by a single fragment inside a SherlockActivity Tabs. One of my Tabs contains a fragment, FragmentHome, with a list of news articles. When an article is selected, FragmentHome is replaced by another fragment,

[android-developers] WebView FileUploader

2013-05-02 Thread Rahul Kaushik
Hi, I am using Webview as container for a website,Web site have an option Upload File ,this button is not working for me am using Android Version(3.0.1) Any Suggestions?? Thanks RK -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Webview with video playing. on notifyDataSetChange gets stuck

2013-04-23 Thread Jayu Sagar
Hi, need help in understanding the following behavior, I have a WebView (Say instance *'A' *) which plays a Video is being placed as one of the Item in ListView plays the video smoothly, whereas when I call notifyDataSetChange for showing some changes. the webView gets stuck i.e. the Video will

[android-developers] WebView Canvas rendering issue in 4.2.2

2013-04-23 Thread Zach Babb
I have an app that uses a local html page to render images to a canvas element. My code works in both the default browser and Chrome, but when I try to run that code in a WebView in my app it doesn't render. In fact, none of the canvas drawing I tried (fillRect, strokeRect) worked. The release

[android-developers] Webview

2013-04-03 Thread Arun Kumar K
Hi, How to display the JSP page in webview i m having the jsp page in my local host how can i display -- *Thanks Regards* *K.Arun Kumar* -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Webview

2013-04-03 Thread Roland Mueller
Hello, JSP is a server-side technology. What is arriving to the HTTP client - regardsless it's an Android device using webview or something else - is the normal HTML documents. Thus, to display the JSP page you have to direct the client to the same URL as any other browser. BR, Roland

[android-developers] Webview - Embedding Video(or as an overlay) on custom screen area for rtsp live video streaming

2013-02-05 Thread Ash
Hi, I have a Webview based Android Application that works with my own application webserver. The application webserver provides HTML5 contents for each user. The content could be rich text, image or any multimedia content. In one of my requirement I want to play live rtsp based stream on

[android-developers] webview inside popup window

2013-01-24 Thread Mr cool
in my application i have to show the popup page in webview,i use javainterface for showing the popup,but i got the popup window but the page was not display i got the empty popup window in main page i call the javainterface method to show pop,i have cretaed the popup like this public void

[android-developers] webview in android

2013-01-07 Thread laxman k
how to clear previously loaded content of webview in android -- 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] WebView - Flash overlap issues in Android

2012-11-21 Thread James
platform: ARM7 based device android version: ICS4.0 browser: android default browser I am testing flash websites on android browser and observing that flash is always overlapping over webview. So if any website contains any list view/menu which falls above flash, always goes behind the flash

Re: [android-developers] WebView setRotateX()/Y() glitch

2012-10-29 Thread Avetik Kazhoyan
Sorry for late reply. I tried hardware layers, WebViews render content incorrectly esp. divs with position: fixed. Software layers are better but UI gets quite slow if there are multiple WebViews. So I used usual OpenGL to show web page textures in 3D, and switched to 2D / WebViews for user

[android-developers] WebView - requestFileSystem causes Fatal signal 11 (SIGSEGV)

2012-10-16 Thread Marvin Brach
I'm developing an offline app where I have to save files in html5 fs-sandbox. At desktop in Chrome everything works fine. But my android device (Samsung Galaxy Tab 10.1 - OS 4.0.4) is crashing with 10-12 10:49:53.953: A/libc(9231): Fatal signal 11 (SIGSEGV) at 0x (code=1)until I'm

[android-developers] WebView setRotateX()/Y() glitch

2012-10-12 Thread Avetik Kazhoyan
Hi, I'm trying to rotate WebViews with setRotateX()/Y(). The view rotates but web page contents get cropped / messed up. Are setRotate methods applicable to WebViews? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] WebView setRotateX()/Y() glitch

2012-10-12 Thread Romain Guy
A way to do this is to set a hardware layer on your WebView. On Oct 12, 2012 1:40 AM, Avetik Kazhoyan kazho...@gmail.com wrote: Hi, I'm trying to rotate WebViews with setRotateX()/Y(). The view rotates but web page contents get cropped / messed up. Are setRotate methods applicable to

[android-developers] WebView findAll

2012-10-12 Thread Kris G
Hello all, I have a question about the findAll function in WebViews. I know that it is deprecated, in eclipse this comes up The method findAll(String) from the type WebView is deprecated. I am targeting 4.1 (API 16) with a minimum of 2.2 (API 8). This is the code I have: public boolean

[android-developers] Webview shows white blank page in Ice Cream Sandwitch

2012-10-05 Thread Power Android
In my webview I have loaded a URL which have an embeded video player of a tv channel live stream. It is working correctly in all the OS version of Android except ICS(4). First time It plays the video well, but when I go back and come again in that page containing the video then the video

[android-developers] WebView zoom

2012-09-29 Thread AnyWay
Hello, I'm using a WebView and I'd like to keep zoom value, after the user changed it using pinch-to-zoom or visual controls. To do it, I'm restoring zoom value in this way: public void onPageFinished(WebView webView, String url) { webView.loadUrl(javascript:(function() { +

[android-developers] WebView and shouldInterceptRequest()

2012-09-04 Thread Fritz Sicher
hey, i know i can intercept webview and return my own ressource via an override of shouldInterceptRequest() - but i have to return the ResourceRespons within that call. i have a native-lib which is using curl to get http-responses. i want to collect the requests that trigger

[android-developers] WebView in Android Direct Download Support

2012-08-27 Thread Martin Eliáš
Hi gals and guys! I've came across many unsolved issues regarding WebView with support for downloading files in Android. Here's the code (whole MainActivity.java) for simple WebView: package com.webview.downloader; import android.annotation.SuppressLint; import android.app.Activity; import

[android-developers] WEBVIEW

2012-08-27 Thread rags
can i use webview to display a website on my page ?? for ex if i am using www.google.com and i make a small search engine app..i simple use webview load url (http:www.google.com); in that case will google sue me.. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] WEBVIEW

2012-08-27 Thread Ika Balzam
You are creating a web-browser. As long as you're not saying Welcome to my site, google - I believe you're fine... otherwise we wouldn't have any web-browsers :) On Sat, Aug 25, 2012 at 8:15 PM, rags rages...@gmail.com wrote: can i use webview to display a website on my page ?? for ex if i am

[android-developers] Webview render page remain fragment

2012-08-25 Thread Zhao Rong
Dears, When I let a div show and hide on webview, it always remain fragment on screen util I touch the screen. for example, when click a button, show a div, however, the div is not show completely, it only show half, if I touch the screen, the left part showed.

[android-developers] Webview question - text selection and highlighting

2012-08-07 Thread Mike Jones
I have an Android app that does text selection and text highlighting using javascript and CSS. It's a scripture reading/marking app for the LDS Church (https://play.google.com/store/apps/details?id=org.lds.ldssa). Users can long press on text in a webview to get an annotation menu where they

[android-developers] webview client, that intercepts img requests on API 8

2012-08-05 Thread Gelonida N
Hi, I'm having an HTC desire (Android2.2.2 Froyo API 8) and I wanted to create a custom browser (using WebViewclient), that intercepts some url requests (img tags) and skips loading these images. public WebResourceResponse shouldInterceptRequest (WebView view, String url) seems to be what

Re: [android-developers] webview client, that intercepts img requests on API 8

2012-08-05 Thread Kristopher Micinski
I doubt it, I tried to find a way to proxy traffic, but there's no easy hook. I.e., if you need something that is in 11 and you're on 8 you're just plain out of luck. There is one solution, but implementing it accurately would be dumb because of how much ajax stuff (and related) there is now:

[android-developers] WEBVIEW

2012-07-26 Thread Rahul Kaushik
Hi, How to fit a webpage on android screen(WebView)?? Thanks RK -- 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] WebView - fit to screen and avoid extra space

2012-07-26 Thread nishma
Hi, In the default the email application (ICS), the content of the email is displayed in a WebView (actual view used is RigidWebview). There are couple of issues which I am trying to resolve. 1. As the message view is zoomed in completely, the height of the webview increases accordingly. After

Re: [android-developers] WebView - fit to screen and avoid extra space

2012-07-26 Thread Kostya Vasilyev
For your last item, get rid of the wide viewport. Don't know about the rest. 26.07.2012 17:26 пользователь nishma muthamma8...@gmail.com написал: Hi, In the default the email application (ICS), the content of the email is displayed in a WebView (actual view used is RigidWebview). There are

[android-developers] WebView in android 4.1.1 crashes for URLs with a non-standard separation of query parameters

2012-07-17 Thread sven
Hi Guys, another problem with the new WebView in Jelly Bean (4.1.1): An app using the WebView crashes, when opening an URL that separates its query parameters not using the ampersand character ('') but e.g. a semi colon (';'). Reproduce: 1) Call the following URL in a WebView:

Re: [android-developers] WebView in android 4.1.1 crashes for URLs with a non-standard separation of query parameters

2012-07-17 Thread Mark Murphy
You are welcome to file this as a bug report/feature request on b.android.com. On Tue, Jul 17, 2012 at 9:22 AM, sven sven.span...@googlemail.com wrote: Hi Guys, another problem with the new WebView in Jelly Bean (4.1.1): An app using the WebView crashes, when opening an URL that separates its

Re: [android-developers] WebView in android 4.1.1 crashes for URLs with a non-standard separation of query parameters

2012-07-17 Thread sven
Hi Mark, sorry for posting at the wrong place. I've created issue 35100 (http://code.google.com/p/android/issues/detail?id=35100) Best regards Sven -- 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] WebView / JavaScriptInterface / String []

2012-07-13 Thread Pent
I'm trying to return a String [] from a function call in my JavaScriptInterface object: public String [] test() { return new String [] { 'flowers' }; } When I call this in the WebView javascript, it just stops at that point. Is this just not supported ? Has anyone managed to get it

[android-developers] WebView in Andoird 3.x and 4.x does not load JavaScript files

2012-07-11 Thread rhansen
Hey, We are currently developing an app by using HTML5, JavaScript and CSS in order to have some platform independence. On Android we do the following: We created a webview which downloads an HTML5 webpage from a server. The HTML5 file includes round about 40 JavaScript files. But somehow in

[android-developers] Webview capture picture picture returns a blank(white) page

2012-06-25 Thread Asi Mugrabi
calling capturePicture in Webview onDraw returns blank picture for facebook mobile compatible site and google's search images tab. (this mechanism works for other pages such as news and browsing to non mobile compatible sites) At google's search images tab: I receive the number of

[android-developers] WebView and Menu poblems.

2012-06-12 Thread Nathaniel Waggoner
Hi Eveyone I've got a question about webviews. I've been doing some wok with one, displaying various things through them (images, text, some fancy spinners (or pickers in our lingo i suppose)) and I've run into a very interesting problem which I haven't been able to sort out. The first is a

[android-developers] Webview not showing flash

2012-06-04 Thread Amit Gupta
Hi, I am trying to open a html page with embedded flash object using webview. It is not showing the flash object. Could you please help me? I am using sdk api 10. my code is like package com.test5; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public

[android-developers] webview and javascript in android 2.3

2012-05-15 Thread alex b
Been going round and round with a webview and javascript in android 2.3. I understand the javascriptinterface doesn't work in this version of android, fine. Are there also issues with javascript? I can get the webchromeclient to return alerts from the page using .LoadUrl() pointed to a local

[android-developers] WebView does not show formatted html properly

2012-05-03 Thread Golan Shay
Help! I'm trying to display an html file (attacehd below using webView but it doesn't show properly. For example: On iPhone, on Chrome the table is highlighted red but on android I get pure text, no formatting at all The code to display the String:

[android-developers] Webview not using cache

2012-04-23 Thread darrinps
I am having a problem with Webview in that it will not use the cache. I start my app up, load the HTML5 page, then back out of the page, enter airplane mode on the phone, then try to go to the web page again. It should be cached, but I get a message saying that the URL could not be retrieved.

[android-developers] webview cookie sometimes null

2012-03-23 Thread emada.adame
I have an app that is trying to log into a site and get the cookie then show me the cookie in a toast but most of the time it fails to get the cookie, is there some timeout issue here or something im hitting? here is my code public void showPage(){ try{ String server =

[android-developers] Webview masking onclick events

2012-03-22 Thread riv
I have a simple page [www/index.html]: body div data-role=page id=page1 div data-role=content a id=btnSave data-role=button data- transition=fade data-theme=b href=# Button /a /div /div script

[android-developers] webview transitions using viewflipper

2012-03-18 Thread Josh Starrett
So I have been working on using transitions with my webapp using viewfipper. I am using two webview called mWebView and mWebView2. I also have a viewFipper called flip. I have mWebView loading the first webpage. My code looks like this: mWebView.setWebViewClient(new FWebViewClient());

[android-developers] WebView Transitions using FlipView. Getting: The specified child already has a parent. You must call removeView() on the child's parent first.

2012-03-16 Thread Josh Starrett
Hi I am very new to android development. I am currently working on a webapp for an android tablet. I am trying to implement transitions between pages using FlipView. However, every time I launch the app, the process crashes. If anyone can take a look at my code and tell me what I am doing wrong I

Re: [android-developers] WebView Transitions using FlipView. Getting: The specified child already has a parent. You must call removeView() on the child's parent first.

2012-03-16 Thread TreKing
On Thu, Mar 15, 2012 at 1:02 PM, Josh Starrett starret...@gmail.com wrote: Hi I am very new to android development. Please take the time to read the documentation section on debugging. However, every time I launch the app, the process crashes. Look at your stack trace, see where the crash

[android-developers] WebView, JavaScriptand WebViewClient.shouldOverrideUrlLoading()

2012-03-16 Thread kronos
I tried the other day to use WebView to allow users to surf web content within my application. The user would do at most 3 clicks on that environment. As soon as a link the user clicked showed a particular pattern for a file type, the application could come back and process that file. The

Re: [android-developers] WebView, JavaScriptand WebViewClient.shouldOverrideUrlLoading()

2012-03-16 Thread Mark Murphy
On Fri, Mar 16, 2012 at 3:08 PM, kronos jeremyvillalo...@gmail.com wrote: When I enabled javascript on the webview, the method overloading shouldOverrideUrlLoading() from WebViewClient would no longer be triggered by user clicks. shouldOverrideUrlLoading() should cover ordinary link clicks

Re: [android-developers] WebView Transitions using FlipView. Getting: The specified child already has a parent. You must call removeView() on the child's parent first.

2012-03-16 Thread Josh Starrett
Thanks for the feedback. Sorry I didn't realize The specified child already has a parent was such a common error. I thought that was narrowed down. On Friday, March 16, 2012 2:41:48 PM UTC-4, TreKing wrote: On Thu, Mar 15, 2012 at 1:02 PM, Josh Starrett starret...@gmail.comwrote: Hi I am

[android-developers] WebView Encoding Problem

2012-03-14 Thread Mobile Programer
Hello, In my program I used WebView to load a URL. The problem is one of my users mentioned that the page displayed with wrong characters. The application is tested on 3 different Android version on simulator and on some real phones but the above encoding problem could not be simulated.

[android-developers] webview problem

2012-03-13 Thread harshita agrawal
we pass url to open in new browser like that .. Intent in = new Intent (Intent.ACTION_VIEW ,Uri.parse(url)); startActivity(in); Now i have html content(not have url) and want to open in new browser. how can i do that. plz tell me if u have any

Re: [android-developers] webview problem

2012-03-13 Thread Narendra Singh Rathore
On Tue, Mar 13, 2012 at 3:25 PM, harshita agrawal harshitaagrawa...@gmail.com wrote: we pass url to open in new browser like that .. Intent in = new Intent (Intent.ACTION_VIEW ,Uri.parse(url)); startActivity(in); Now i have html content(not

[android-developers] WebView Java script function

2012-03-05 Thread Amit
Hi, I am exposing java script function from my webview. This Java script function is called by webcore thread on-page-loading inside webview. Is there any way to retrieve current loaded url inside called Java script function? Thanks, -- You received this message because you are subscribed

Re: [android-developers] WebView Java script function

2012-03-05 Thread ANKUR GOEL
chk this one, will u in getting the url client = new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { return true; } }; On Mon, Mar 5, 2012 at 6:03 PM, Amit agrawalamit2...@gmail.com

Re: [android-developers] WebView Java script function

2012-03-05 Thread Amit
shouldOverrideUrlLoading() is called in webview thread and androdi calls JS function webviewcorethread. there is no guarantee that shouldOverrideUrlLoading() is called prior to JS call even though JS function is called on onload(). Infact in Android3.0/3.1, shouldOverrideUrlLoading() is

[android-developers] WebView + MediaPlayer Error but what mean this error

2012-02-24 Thread sen
Hi, I try to develop an very Simpel app. Just open some html files over a WebView the files are located in the asset folder. I want to play videos via HTML5. I have implemented with the following code: video id=my_video_1 class=video-js vjs-default-skin width=480 height=320 poster=img/p.jpg

[android-developers] WebView bug in 4.0?

2012-02-23 Thread Brad
One of my apps uses a WebView to present an html form which contains text fields. On my 4.0.2 device, when the user sets the focus to a text field, the text within the field is duplicated on the screen with the copy being offset appx +100,+40 (x,y in px). There are two cursors blinking at the

[android-developers] Webview inner link problem

2012-02-23 Thread kalandar
hi friends, android webview can trigger the event shouldOverrideUrlLoading when we click the external url (like http://www.google.com). but the problem was with inner link. this event does not trigger when we click the inner link. but i want to fire some process when click the inner

[android-developers] Webview moves up when keyboard hides

2012-02-15 Thread androidgoyo
Hi all, The issue happens in an application whith a linear layout that divides the screen in two parts, the upper part is a simple View and the lower part is a WebView that loads google.com. The WebView takes the 60% of the space and the View the other 40%. In that scenario I touch the google

[android-developers] Webview explicit page unload or stop previous page java script activities

2012-02-10 Thread Ash
Hi all, I have a web based application which uses Webview, it connects to a remote HTTP Server and brings HTML pages to be rendered in Webview. Each HTML page have some controls and every control action triggers a HTTP POST ajax request to the server. When the page loads, it first issues HTTP

[android-developers] webview resets when I change orientation

2012-02-08 Thread Felipe Valdez
I have a webview that shows an html page, this page runsa a javascript when I tilt the devce ideways, the webview resets. this behavior is not desired is there a way to: a) make it so it onl works in one orientation or b) make it so it shows the same view contents, regadless of it's orietation

Re: [android-developers] webview resets when I change orientation

2012-02-08 Thread Kristopher Micinski
This is because of what happens when you change orientation. In this case, your application actually gets restarted. You can read about the process a little here: http://developer.android.com/guide/topics/resources/runtime-changes.html There is also a flag you can put in your manifest to force

[android-developers] WebView using Assets

2012-01-31 Thread atcal
I'd like to use html (with images, btw) to provide documentation for my app. I thought to store my documentation pages in assets and use webview but I cannot find a way to link the webview to the assets. Does anyone know if this is possible? -- You received this message because you are

Re: [android-developers] WebView using Assets

2012-01-31 Thread Mark Murphy
On Tue, Jan 31, 2012 at 5:31 AM, atcal alan.williams...@ya.com wrote: I'd like to use html (with images, btw) to provide documentation for my app. I thought to store my documentation pages in assets and use webview but I cannot find a way to link the webview to the assets. Does anyone know if

[android-developers] WebView problem with youtube video

2012-01-29 Thread drenda
Hi, i made a simple example in order to display in my app some youtube's video of a playlist. I created a WebView: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try {

[android-developers] webview with transparent background

2012-01-23 Thread أحمد العصيمي
Hello Android Developers .. I have webview in my application and I want to make the background transparent color .. Can anybody help please? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] webview with transparent background

2012-01-23 Thread TreKing
On Sun, Jan 22, 2012 at 8:41 AM, أحمد العصيمي a.a.o.1...@gmail.com wrote: I have webview in my application and I want to make the background transparent color .. Can anybody help please? What have you tried?

[android-developers] WebView error

2012-01-19 Thread Raneez
i get some error when i try to display the contents of a url. The error shown by log cat is : 01-19 17:33:00.999: E/webkit(838): illegal format for expires: Thursday, 19-January-2012 12:11:30 GMT -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] WebView error

2012-01-19 Thread Mark Murphy
Off the cuff, it sounds like a misconfigured Web server. That is not a valid format for the HTTP Expires header: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html On Thu, Jan 19, 2012 at 7:03 AM, Raneez rane...@gmail.com wrote: i get some error when i try to display the contents of a url.

[android-developers] WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-15 Thread Ori Harel
I have a web view that in it's HTML/Javascript makes an Http call with Put/Delete methods. those calls seems to be ignored (I test them on chrome and they work fine). Any idea? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

  1   2   3   4   5   >