[android-developers] Re: Ajax cross domain requests

2010-11-13 Thread ff
while it shouldn't (it becomes possible to use it for distributed dos attacks). And while jsonp is just an hack, CORS is the standard solutions implemented by all modern browsers... Bye, ff -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Ajax cross domain requests

2010-11-08 Thread ff
Hi, the behavior of XMLHttpRequests in Android is very odd when doing cross domain requests. The browser should either fail with an error and not perform the request, or it should follow CORS (http:// www.w3.org/TR/access-control/) and start with an OPTIONS request to the remote domain. The

[android-developers] Re: XMLHttpRequest on Android 2.1 repeats itself after 14 seconds

2010-11-06 Thread ff
On Sep 16, 3:12 pm, Chaitanya Gupta m...@chaitanyagupta.com wrote: Hi, There is a weird behaviour withXMLHttpRequestthat I have noticed in the default browser on Android 2.1: if the server takes a long time to respond to an AJAX request (more than 14 seconds), then the browser sends another

[android-developers] RTSP streaming - how to do redirects

2010-10-01 Thread ff
Hi, Android developers! I've recently tried to make some kind of load balancer for RTSP streaming. It worked with Quicktime player, however didn't work with android (2.2). My load balancer is quite simple - when it receives something like this: OPTIONS rtsp://ip.ip.ip.ip/vod/path/file.mp4

[android-developers] DOMStorage and application upgrade

2010-08-19 Thread ff
Hi I'm saving data in the DOMStorage of a WebView, but it seems that after any application upgrade the storage is deleted. Is there a way to make it persistent? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Custom component rare exception: Parser is not a BridgeXmlBlockParser!

2009-08-17 Thread ff
Oh, I see, when I use new Button(getContext(), attrs), where attrs are got from one of the overloaded constructors, then everything is all right.. What makes it impossible to create button simply with new Button (getContext()) ? On 16 авг, 18:04, ff rshme...@gmail.com wrote: Hi! I've created

[android-developers] Custom component rare exception: Parser is not a BridgeXmlBlockParser!

2009-08-16 Thread ff
Hi! I've created custom compound component and observe very strange exception (google says nothing about it). It is very simple: public class MyTabber extends LinearLayout { .. public MyTabber(Context context) { super(context); Init(context); } ..+2 overloads Button x = null;

[android-developers] Re: felix OSGi Container and Android

2009-02-19 Thread ff
: ...  javax.net.ssl; \ android.content.res; \  ${dalvik-1.0.0-m3-r22a} This will make the package available via the system bundle and your bundle should be able to resolve. Feel free to ask felix related questions on the felix mailinglist as well :-) regards, Karl On Wed, Feb 18, 2009 at 3:37 PM, ff

[android-developers] felix OSGi Container and Android

2009-02-18 Thread ff
Hi, I try felix OSGi on android it works fine... until i try to embed an activity. now some package are missing: Unresolved constraint in bundle 4: package; (package=android.content.res)) i'm unable to find where is this package... I think i must customize bootclasspath but how ? I launch

[android-developers] Defining Themes in Android

2009-01-05 Thread ff
Hi! I'm trying to study Themes and found the following poor piece of code: style name=ThemeNew item name=windowFrame@drawable/screen_frame/item item name=windowBackground@drawable/screen_background_white/ item item name=panelForegroundColor#FF00/item item