Mb there is no need to override onBackPressed in fragment
because onHideCustomView is being called when I press back button anyway,
but I as said the app crashes and I don't really understand why
--
You received this message because you are subscribed to the Google Groups
"Android Developers"
Mb there is no need to override onBackPressed in fragment
because onHideCustomView is being called when I press back button anyway,
but I as said the crashes and I don't really understand why
--
You received this message because you are subscribed to the Google Groups
"Android Developers"
On Sunday, August 21, 2016 at 10:02:11 PM UTC+3, AndroidUser253 wrote:
>
> 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
I found my problem. Apparently in Android 5.0 shouldInterceptRequest will
not be run if their is a problem with the url being loaded. I was
using loadDataWithBaseURL("foobar://, data, encoding, null) to load first
page. Since foobar:// is not a known prefix to a url or file the request
was
Here is the code I use:
private class RotationGestureDetector {
private static final int INVALID_POINTER_ID = -1;
private float fX, fY, sX, sY;
private int ptrID1, ptrID2;
private float mCurrentAngle = 0f;
private View mView;
public RotationGestureDetector(View view) {
ok tanks!!
Em quinta-feira, 14 de abril de 2016 05:52:02 UTC-3, Matthew Delong
escreveu:
>
> i used this page to assist on making a site within webview and worked
> really well. Hope it helps
>
> https://developer.chrome.com/multidevice/webview/gettingstarted
>
> On Thursday, April 14, 2016 at
Hello Wendel,
I am still facing this issue for device lower than L.
On Saturday, 16 October 2010 02:59:15 UTC+5:30, Wendel Assis wrote:
>
> Hi all,
>
> I'm using webview to display local html content. The text fits the
> screen width, but the user is able to navigate horizontally where
i used this page to assist on making a site within webview and worked
really well. Hope it helps
https://developer.chrome.com/multidevice/webview/gettingstarted
On Thursday, April 14, 2016 at 3:29:37 AM UTC+1, TwoPlayers wrote:
>
> I'm using webview to make an app for my website, this app
Hi,
use the Chrome Custom Tabs,it is very faster then webview,Custom Tabs Are
customizable
For More Information :
http://android-developers.blogspot.in/2015/09/chrome-custom-tabs-smooth-transition.html
https://developer.chrome.com/multidevice/android/customtabs
Are you going to just view web page or modified a page content?
On Monday, December 21, 2015 at 2:09:28 AM UTC-5, Parimal Muli wrote:
>
> 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
Hi,
No, I am not modifying the page content. I am simply loading a site eg.
news article in my app in a webview.
THanks,
Parimal.
On 22 December 2015 at 01:18, Jonathan S wrote:
> Are you going to just view web page or modified a page content?
>
> On Monday, December 21,
Hi Parimal
Please try this
webview.getSettings().setRenderPriority(RenderPriority.HIGH);
On Monday, December 21, 2015 at 12:39:28 PM UTC+5:30, Parimal Muli wrote:
>
> 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
It's been a long time since I've been active on it, but I believe you can
intercept everything that passes through a url, both what would be loaded
by navigation, image, and ajax. Give it a try and implement all the
callbacks exposed by webview, log a simple message, and see how it goes.
Doug
Hi Doug,
I mean, I can get the page and there is onLoadResource I missed last time,
but another question is - even if I get a resource, how to inject it?
Callbacks, in this case, serve kind of notification purpose there is no way
to replace loaded resource (whatever it actually is) or inject
Did you actually try WebViewClient.shouldInterceptRequest? I'm looking
through old code of mine that suggests it will work. Also, you should try
searching for WebViewClient shouldInterceptRequest to see what places
like StackOverflow say.
Doug
On Sunday, December 14, 2014 10:39:21 AM UTC-8,
Hi,
the problem is that it is possible to get HTML skeleton (or whatever it is,
because we do not control remote side) via specific route with additional
implementation in shouldInterceptRequest. It is possible to inject loaded
the content via WebView.loadDataWithBaseURL, but that's it. The
OK, that's very different than what you first asked.
You will have to write shim to connect your app and the webview. The page
hosting the webview will have to provide a function to call that makes the
necessary adjustments. Then on the app side you call loadUrl with a
javascript url to call
You could use a WebViewClient to intercept everything a WebView is trying
to fetch and fetch it yourself using whatever API suits your needs.
Doug
On Friday, December 12, 2014 12:15:35 PM UTC-8, Krystian Lewandowski wrote:
Hi,
I'm trying to update ConnectivityManager.requestRouteToHost
Thank you for the idea. Though, I don't think it will work. What about
AJAX, objects, images requests? I assume shouldInterceptRequest isn't
called for these.
Krystian
W dniu sobota, 13 grudnia 2014 22:14:33 UTC+1 użytkownik Doug napisał:
You could use a WebViewClient to intercept everything
Yes, thanks, no idea, I think it's working now, probably there was a period
of time where the HTML (written by someone else) was incorrect.
Am Mittwoch, 5. Juni 2013 18:22:00 UTC+2 schrieb MagouyaWare:
I don't know if this will help in your case or not, but I found this after
doing some
Just a guess, maybe Google Maps is trying to (incorrectly) redirect to the
mobile version of the page and cannot find the correct link. Did you also
enable JavaScript in your WebView?
On Saturday, August 3, 2013 4:40:52 PM UTC-5, Gary Blakely wrote:
Consider the following code...
No, I had not enabled javascript. So, I tried that and it now works.
Thanks, so much.
Gary
On Saturday, August 3, 2013 2:52:19 PM UTC-7, Nobu Games wrote:
Just a guess, maybe Google Maps is trying to (incorrectly) redirect to the
mobile version of the page and cannot find the correct link.
Please ignore this line:
*webView**.setVisibility(View.GONE**);*
I'm setting it back to visible later on and like I said, the view starts at the
very top instead of at 120.
On Monday, July 8, 2013 3:59:37 AM UTC+3, AmitNHB wrote:
Hello, I feel this should be very basic but I can't seem to
OK, got it:
*webView = new WebView(this);
webView.setWebViewClient(new WebViewClient());RelativeLayout.LayoutParams
webViewParams= new RelativeLayout.LayoutParams(800, 240);
webViewParams.addRule(RelativeLayout.CENTER_IN_PARENT);*
On Monday, July 8, 2013 3:59:37 AM UTC+3, AmitNHB wrote:
I don't know if this will help in your case or not, but I found this after
doing some searching on google:
http://stackoverflow.com/questions/8333117/is-there-a-way-to-have-a-masked-numeric-input-field
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On
Hi,
Solution is passing cookie to the webview
For Brief See:
http://call-me-early.blogspot.in/2013/03/android-passing-webview-cookie-to.html
http://call-me-early.blogspot.in/2013/03/android-webview-download-pdf-generated.html
Thanks
RK
On Mon, May 27, 2013 at 6:23 PM, Rahul Kaushik
Any update on this? I have input fields in webview with type=number but
still get normal soft keyboard - showing letters first.
Am Freitag, 14. Januar 2011 15:14:39 UTC+1 schrieb linhadiretalipe:
Hi,
I have a input in a WebView and I would like to know how can
I call keyboard
AnyOne???
On Thu, May 2, 2013 at 3:17 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:
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
The website is expecting a Windows or OSX computer at the other end, and
has no idea how to handle an Android file system. (Well, Linux, but same
difference)
On Friday, May 3, 2013 4:11:10 AM UTC-4, rahul kaushik wrote:
AnyOne???
On Thu, May 2, 2013 at 3:17 PM, Rahul Kaushik
useless replies tbh
On Tuesday, September 13, 2011 4:34:41 PM UTC+3, Conny wrote:
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
Maybe
webview.clearView()
?
On Monday, January 7, 2013 3:17:07 AM UTC-6, laxman k wrote:
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
I also encountered this issue.
I'd like to know if you have find the root cause and a walk around solution
for this issue.
Can you please share your solution on this?
Thanks.
On Thursday, April 7, 2011 3:57:06 AM UTC+8, Stephan Wiesner wrote:
Hi,
I have a webview and use caching. This
Webviews support redirecting without an issue.
other than the suggestions on StackOverflow, i'd also check SSL certificate
exception (i recall getting one on android versions below 2.3.3)
To verify you could either use the proper handler to catch those or just
open the link in your native
Looks like this can be fixed by setting the user-agent:
webView.getSettings().setUserAgentString(Mozilla/5.0 (Linux; U; Android 2.0;
en-us; Droid Build/ESD20) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0
Mobile Safari/530.17);
See also:
I am use ListView and each cell is WebView. So, I see that I must place
WebView.loadURL directly in GetView! And it is calling every time when I
scrolling! So how can I cache WebView to call LoadURL only one time? Or may
be I would be save Inflated view in array and return in GetView only view
Maybe this will be of help:
http://stackoverflow.com/questions/6058843/android-how-to-select-texts-from-webview/11952553#11952553
On Friday, October 12, 2012 8:27:29 AM UTC-4, Bijaya wrote:
hi Mike Jones,
i ran through your post, i have also working on web view text selection
and
hi Mike Jones,
i ran through your post, i have also working on web view text selection and
highlighting. i am not understand how to implement this.
i need some idea or sample example. can u please help me.
Thank you for your work
Bijaya Guin
--
You received this message because you are
This github project is very similar to what I'm doing in my app:
https://github.com/btate/BTAndroidWebViewSelection
On Fri, Oct 12, 2012 at 6:27 AM, Bijaya bijaya.g...@impelsys.co.in wrote:
hi Mike Jones,
i ran through your post, i have also working on web view text selection
and
Did calling .destroy() fix your issue? I too am getting a blank white
page on all repeat visits to my app (which uses a webview).
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Try this: Try call webtv.*destroy()* in your onDestroy() method. I'm just
guessing here, but it's worth a try.
On a side-note: Don't call 'this.finish()' in your onPause() method. That
is usually bad news.
On Friday, October 5, 2012 1:41:37 PM UTC-4, Power Android wrote:
In my webview I
Strangely, the exact same problem happened to me today. Was testing my map
embedded in a webview on android 4.0.4...and around 3 times out of 4, it
was showing a blank page...don't really understand why.
I'll try to call the destroy() method on the onDestroy() and see if it
helps...
What is
it was my understanding the webview.load(url) would get the cookie,
everything else is just to make sure the webview can accept cookies. Which
it dose do some times and other not so much. What would you recommend?
On Thursday, September 13, 2012 11:00:26 AM UTC-5, bob wrote:
The issue is
If you are calling Webview.loadUrl, *and* the URL is completely loaded, I
would think the cookie would be there.
On Friday, September 14, 2012 9:18:08 AM UTC-5, emada.adame wrote:
it was my understanding the webview.load(url) would get the cookie,
everything else is just to make sure
Yeah I'm still having this issue, can anyone help? any ideas? Here is my
new updated code:
String server = settings.getString(server, );
String user = settings.getString(username, );
String passwd = settings.getString(passwd, );
webview = new WebView(this);
WebSettings
The issue is probably that the cookie is not necessarily there. I don't
see anywhere in your code where you load any URL.
I'm pretty sure this function doesn't load anything:
public String getCookie (String url)
It probably just looks in a cookie cache.
On Thursday, September 13,
Did u come up with an anwser for this issue?
On Friday, November 18, 2011 6:23:32 PM UTC+8, alex wrote:
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
I think WebView stops firing onTouch event once the zoom-controls are shown
on web-view.
I receive touch events even after using pinch zoom, provided zoom-controls
are not shown yet.
If it is not must to also show the on-screen zoom-controls, following can
be used to solve the issue.
Hi Chris,
On 08/06/2012 01:33 AM, Kristopher Micinski wrote:
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
Yes, but implementing this proxy would require rooting the device.
For the second question you're asking, I had hoped to imply that this
was my plan, and the answer is that I believe you cannot do so.
kris
On Mon, Aug 6, 2012 at 4:54 PM, Gelonida N gelon...@gmail.com wrote:
Hi Chris,
On
2012/8/7 Kristopher Micinski krismicin...@gmail.com
Yes, but implementing this proxy would require rooting the device.
Not necessarily - if the WebView is under the developer's control (i.e.
there is no intention to do this system-wide), then it should be possible
to feed the WebView a URL
Yes, but to intercept the requests to the browser using a proxy (as
the OP suggests) requires rooting the device.
Sure, redirecting the links is one thing if you have control of the
webview, for arbitrary ajax traffic it's a no.
kris
On Mon, Aug 6, 2012 at 5:32 PM, Kostya Vasilyev
2012/8/7 Kristopher Micinski krismicin...@gmail.com
Yes, but to intercept the requests to the browser using a proxy (as
the OP suggests) requires rooting the device.
Feeding a WebView that's in your own app a URL like
localhost:1234?src=www.foo.bar requires rooting?
Processing the received
On Mon, Aug 6, 2012 at 5:46 PM, Kostya Vasilyev kmans...@gmail.com wrote:
2012/8/7 Kristopher Micinski krismicin...@gmail.com
Yes, but to intercept the requests to the browser using a proxy (as
the OP suggests) requires rooting the device.
Feeding a WebView that's in your own app a URL like
On 08/06/2012 11:52 PM, Kristopher Micinski wrote:
On Mon, Aug 6, 2012 at 5:46 PM, Kostya Vasilyev kmans...@gmail.com wrote:
2012/8/7 Kristopher Micinski krismicin...@gmail.com
Yes, but to intercept the requests to the browser using a proxy (as
the OP suggests) requires rooting the device.
Oddly enough, String [] is accepted as a parameter without problem,
just not a return value.
Feels a bit buggy or forgotten.
Pent
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
The WebView has it's own built-in JSON processing functions so no real need
for an external javascript library.
var jsonObject=JSON.parse(jsonString);
Martin.
On Tuesday, July 17, 2012 6:57:26 AM UTC+1, Doug wrote:
If you need to return something more complex, you could always generate a
If you need to return something more complex, you could always generate a
serialized JSON data structure from JS using your favorite library, return
it as a string, and then parse the results using Android's JSONObject.
Doug
On Friday, July 13, 2012 6:46:57 AM UTC-7, Pent wrote:
I thought
in webview you can try this code
webView.getSettings().setJavaScriptEnabled(true);
--
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
I don't think it is supported.
In our code, we communicate arrays of data by plain Strings, calling
'join()' on the JavaScript array and then parsing out the String into an
array again on the Java side.
On Friday, July 13, 2012 8:21:06 AM UTC-4, Pent wrote:
I'm trying to return a String []
I thought that might turn out to be necessary, thanks for confirming.
Pent
--
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
Are you seeing any lines written in the LogCat (generated by the browser)
that could indicate what is going on?
Also, try set a WebChromeClient on the WebView and override
onConsoleMessage.
On the other hand, I've been working with WebView and JS for the last
few weeks and it's often
Thanks for your anwsers,
@MathieuB
Yeah, this would be an option for testing but not for the final release. At
least I will try that although its some effort.
@Streets Of Boston
Unfortunately the LogCat does not show anything suspicious. I have
overriden almost all functions of WebView and
Do you absolutely need to load the files from a server? You could put them
in the asset folder.
--
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
Are you seeing any lines written in the LogCat (generated by the browser)
that could indicate what is going on?
On Wednesday, July 11, 2012 9:37:27 AM UTC-4, rhansen wrote:
Hey,
We are currently developing an app by using HTML5, JavaScript and CSS in
order to have some platform
Another gentle bump. Testing seems to show that design view sort of works
- you can enter text, but no cursor shows which makes it almost impossible
to navigate. Also, selecting text and changing it does not work (though I
read on stackoverflow that text selection is handled in a different
To load a HTML5 webpage try following settings on client side(in webview) :
myWebView = new HTML5WebView(context);
myWebView.clearFormData();
myWebView.clearHistory();
myWebView.clearCache(true);
myWebView.getSettings().setAppCacheEnabled(true);
I have the same problem .. did you found a solution for this ?
On Friday, May 27, 2011 10:50:44 AM UTC+2, Josh Gitter wrote:
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.
that is interesting! I can't say I've personally seen this issue. You may
want to make sure that the WebView container has the focusable attributes
set to true.
http://developer.android.com/reference/android/view/View.html#attr_android:focusable
Hope this helps!
-Matt
www.sep.com/mcterry
On Tue, Mar 13, 2012 at 5:17 PM, harshita agrawal
harshitaagrawa...@gmail.com wrote:
i think ,it can be solve by writing html content in a file of local
folder.can i show file in default web browser.
On Mar 13, 4:35 pm, Narendra Singh Rathore nsr.curi...@gmail.com
wrote:
On Tue, Mar 13,
You can use android WebView widget to load html
like this,
*WebViewObject.loadData(html string content);*
i hope this will help you...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
actually , there is more link in webpage .and i am not able to maintain
history of web page.so i have to show in default browser.
On Tue, Mar 13, 2012 at 4:42 PM, kalandar kasimk...@gmail.com wrote:
You can use android WebView widget to load html
like this,
*WebViewObject.loadData(html
On Tue, Mar 13, 2012 at 5:00 PM, harshita agrawal
harshitaagrawa...@gmail.com wrote:
actually , there is more link in webpage .and i am not able to maintain
history of web page.so i have to show in default browser.
Read WebView documentation for that.
i think ,it can be solve by writing html content in a file of local
folder.can i show file in default web browser.
On Mar 13, 4:35 pm, Narendra Singh Rathore nsr.curi...@gmail.com
wrote:
On Tue, Mar 13, 2012 at 5:00 PM, harshita agrawal
harshitaagrawa...@gmail.com wrote:
actually , there
u want to open any url in default browser right?
--
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
On Tue, Mar 13, 2012 at 5:17 PM, harshita agrawal
harshitaagrawa...@gmail.com wrote:
i think ,it can be solve by writing html content in a file of local
folder.can i show file in default web browser.
No, you cannot.
--
You received this message because you are subscribed to the Google
Amit,
WebViewClient.onPageStarted() is the most reliable and does not depend on
JS.
-John
On Wednesday, March 7, 2012 7:22:47 AM UTC-5, Amit wrote:
Thanks John for response.
With my response It is not necessary to be same url as it being loaded
from. I didn't mean variable url in
Thanks John for response.
With my response It is not necessary to be same url as it being loaded
from. I didn't mean variable url in Moktarul's solution can contain wrong
value. I was meant: for callback, this info is passed as string variable.
This argument carries actual url value, if
Amit,
But i think, if android API provides this infromation, it will be reliable
information as android known which url it is currently loading.
This is incorrect, *webkit* knows what url is authoritatively being loaded
(not necessarily Android). The webkit/JS container bridge is
Hi Amit.
in html header
script
function onload(){
var url = window.loacation;
alert(url);
Android.currentUrl(url);
}
/script
body onload=onload()
Moktarul
On Monday, 5 March 2012 18:03:30 UTC+5:30, Amit wrote:
Hi,
I am exposing java script function from my webview. This Java
I think you code snippet has currentUrl() as JS exposed function. Is there
anyway to get urk infromation from android API. Android.currentUrl(url),
caller can pass anystring. It is not necessary to be same url as it being
loaded from.
But i think, if android API provides this infromation, it
No one knows this error?
On 24 Feb., 12:44, sen i...@linstrap.com wrote:
...
02-24 11:12:27.080: V/webview(4682): singleCursorHandlerTouchEvent -
getEditableSupport FASLE
02-24 11:12:27.680: I/MediaPlayer(4682): prepareAsync called in state
4
02-24 11:12:27.680: E/MediaPlayer(4682): error
Hi Kalandar,
In webview there s something JavaScriptInterface funda. From webview
browser u can call activity method from here
See this link: http://developer.android.com/guide/webapps/webview.html
Enjoy
Moktarul anam
On Feb 24, 11:37 am, kalandar kasimk...@gmail.com wrote:
hi friends,
Technically, the Activity is shutdown and a new Activity is started
for the new orientation. You can prevent orientation changes
altogether as Kris stated.
If you do switch to a full Application instead of your Activity, you
may be able to store your state outside of your activity so when the
Hi all,
any news about this problem?
On 2 Feb, 13:55, drenda daniele.re...@gmail.com wrote:
Hi John,
I don't understand the meaning of video needs special handling. Is
there a tutorial or some examples that work with youtube's videos?
Thanks!
Best regards
Daniele
On 2 Feb, 10:40, John
Yep, you can do either. you have to manage it
On Feb 8, 7:16 am, Felipe Valdez data...@gmail.com wrote:
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
Danielle,
If you look at the src (android-3.2.2_r2 is what I'm looking at), it's
crashing in the custom view. Unless you've implemented the code I
mentioned before, this will be the case.
John
On Jan 31, 3:42 pm, drenda daniele.re...@gmail.com wrote:
Hi John,
thanks for your replay.
I'm
Hi John,
I don't understand the meaning of video needs special handling. Is
there a tutorial or some examples that work with youtube's videos?
Thanks!
Best regards
Daniele
On 2 Feb, 10:40, John Purcell jsp...@gmail.com wrote:
Danielle,
If you look at the src (android-3.2.2_r2 is what I'm
You have to use loadData applied on webview and you can retrieve your
assets using getAssetManager
--
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
In general, the loading of the URL should come last (right now you've
got plugins and Javascript enabled messages being sent to the webcore
after you send a url request).
Is this on Honeycomb or ICS? (I'm guessing ICS due to the 'normal'
errors you posted above). Keep in mind that video needs
Hi John,
thanks for your replay.
I'm usign Honeycomb on a tablet.
Unfortunally the order of the loading url don't resolve the problem.
I'm try with this code:
setContentView(R.layout.video);
final WebView webView = (WebView) findViewById(R.id.video_webview);
Thanks. It was the form of URL I was missing.
On Jan 31, 1:19 pm, Mark Murphy mmur...@commonsware.com wrote:
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
PLease,
someone has some ideas?
Thanks!
On 29 Gen, 22:38, drenda daniele.re...@gmail.com wrote:
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) {
I just tested on ICS emulator and it works there. why is it not working on
earlier versions?
--
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
Also, here's the JS code inside the WebView:
var req = new Backbone.Model(auth);
$.ajax({
type: PUT,
url: 'some_url',
data: JSON.stringify(req)
});
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
AFAIK, $.ajax is not part of Android. It is part of some JavaScript
library that you are using (e.g., jQuery). Please ask the authors of
that library what the requirements are of the browser to support
PUT/DELETE operations.
On Tue, Jan 17, 2012 at 5:12 AM, Ori Harel ori.ha...@gmail.com wrote:
Those are not part of Android, but the problem exist only in Android
WebView.
Anyway, I solved it by forcing the WebView to ignore the cache by:
$.ajax({
type: methode,
url: 'some_url?d' + new Date().getTime(),
data: JSON.stringify(req),
You might look at setCacheMode() on WebSettings, if caching seems to
be your issue.
On Tue, Jan 17, 2012 at 8:35 AM, Ori Harel ori.ha...@gmail.com wrote:
Those are not part of Android, but the problem exist only in Android
WebView.
Anyway, I solved it by forcing the WebView to ignore the cache
...or look at cash control on the server side:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
On 17 January 2012 13:38, Mark Murphy mmur...@commonsware.com wrote:
You might look at setCacheMode() on WebSettings, if caching seems to
be your issue.
On Tue, Jan 17, 2012 at
Hi,
I want to enable javascript using method webview.loaddatawithbaseURL();
webView.loadDataWithBaseURL(, webData, , UTF-8, ); can anyone
help me on this
On Thu, Nov 24, 2011 at 4:19 PM, alex medicibusin...@gmail.com wrote:
seems the page was reloaded after call goBack(), is there any
I would like the exit button to completely kill the app off.
Android decides when to fully terminate the app process, not the
developer. This is just the way things work -- Google it.
The bigger problem then, is that the next time I launch the app, there are
now two threads of ajax polling,
1 - 100 of 575 matches
Mail list logo