Android :: Possible To Make Cross-domain AJAX Call On Mobile Browsers?

Jul 29, 2010

I have a site which makes SOAP requests to a separate domain using YUI's cross-domain AJAX transport. This is working wonderfully on my site, but unfortunately since mobile browsers don't support flash, I can't get it to work.Does anyone know of a way to make cross-domain AJAX posts on mobile browsers?

Android :: possible to make cross-domain AJAX call on Mobile Browsers?


Android :: Ajax Cross Domain Requests

Nov 7, 2010

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 browser (2.1 and 2.2) instead performs the request, which is received by the remote server (and this is the dangerous part both for data leaking and remote attacks), but the response is not set in the javascript (status of 0 and responseText null)

View 4 Replies View Related

Android :: Intercept AJAX Call From WebView

Oct 15, 2010

I want a HTML/javascript application, running in a WebView, to make AJAX calls that are handled by the Java code. Ideal would be to just intercept the call (easy, just use shouldOverrideUrlLoading()) and 'return' some data. However, I don't find a way to 'return' a response to the WebView, other than calling a javascript function using loadUrl(). This will not work for me, as the HTML/js app is a drop-in application which I don't control. As far as the HTML/js app concerns, it just does an AJAX call and receives some data back.

View 1 Replies View Related

Android :: Best Cross-mobile Javascript Framework

Jan 18, 2010

Id like to create a small cross-mobile javascript application, which consists of a form and a grid as result. I also want to display some images, with something similar to lightbox. I coded an home maded prototype but id like to add 'touch' effects and support multiple screens easyly.I looked at JqTouch but its very slow on my HTC magic/android. Also found XuiJs but cant find any working example.Anyone found something light, nice, and iPhone+Android compatible ?

View 7 Replies View Related

Android :: Developing Cross Platform Mobile Application

Jul 30, 2010

More and more mobile platforms are being launched and sdk's are available to developers. There are various mobile platform are available,Android,iOS,Moblin,Windows mobile 7,RIM,symbian,bada,maemo etc.

And making of corss platform application is headache for developers. I am searching common thing across the platforms which will help to developers who want to port application to all platforms.Like what is the diff screen resolution, input methods, open gl support etc. please share details that you know for the any of platform . or is there possibilities , by writing code in html (widget type of thing) and load it into native application. I know about the android , in which we can add the web view into application. by calling setContentView(view)

Please share the class details where we can add the html view into native application of different type of platforms that you know.

Purpose of this thread is share common details across developers. marking as community wiki.

Cross platform tools & library

View 5 Replies View Related

Android :: Cross Platform Mobile File Upload Possible?

Apr 18, 2010

I need as simple as possible solution for uploading files (eg. photos) to my website from mobile devices (iPhone, Android, BB, Nokia). Is it possible to do it in same way? Using Java or XHTML?

View 2 Replies View Related

Ajax To Call External XML File Using XMLHTTPRequest

Mar 19, 2012

I'm using phonegap with Ajax to call external xml file using XMLHttpRequest. I send the request but response not come.The ready.status comes 403 in android device. what is the problem.... below is the my code. this code work in emulator but not work in android 3.1 tablet...

function appReady(){
var ajax = new XMLHttpRequest();
ajax.open("GET"," [URL]...",true);
ajax.send();

[Code]....

View 3 Replies View Related

Android :: Web Apps For Cross Platform Mobile Software Development?

Feb 8, 2010

I am a C++ programmer interested in developing applications for Android as well as the iPhone platform. I have explored both these platforms by writing simple applications in Java (Android) and Objective-C (iphone). But the fact is that I am not comfortable with either of these languages, and it bothers me that I have to write 2 very different versions of the same application to support both platforms. (And then what do I do to run it on a Nokia phone?)Is using web technologies (JavaScript/HTML/CSS) a viable solution for writing apps which will run on multiple mobile platforms? I have heard of Appcelerator and PhoneGap, but I am not sure how mature these products are. I'd appreciate any feedback from folks who have used web apps as a solution for developing cross platform mobile apps.

View 5 Replies View Related

Android :: Enable WebKit JavaScript Inspector In Mobile Web Browsers?

Nov 17, 2009

I would love to use the Web Inspector development tools that come with webkit on a mobile browser.Does anyone know if it is possible to enable web inspector on say the Android web browser?

View 2 Replies View Related

Android : Method Of Detecting Mobile Browsers With Javascript / Jquery?

Jul 15, 2010

For a site I'm working on I'm implementing image preloading with javascript however i most certainly do not want to call my preload_images() function if someone is on slow bandwidth.

For my market the only people with slow bandwidth are those using mobile Internet on a smartphone.

What's the best approach for detecting these users so i can avoid image preloading for them?

option 1 : detect browser width

if($(window).width() > 960){ preload... }

option 2: detect user-agent with a list of browser to preload for

if($.browser in array safelist){ preload... }

are there any better options?

View 3 Replies View Related

Android :: Comparing Browsers / Pros _ Cons Of Different Browsers

Mar 22, 2010

I've seen plenty of discussion here about different browser apps, but I have yet to see one listing the pros and cons of the different most popular browsers available for android. The main browsers I've been able to identify are the following: If there are any others worth mentioning, please add them to the list. I would love to hear your input regarding the pros and cons of each one.

View 19 Replies View Related

Android :: Google Voice Call Quality -- How A Call Routed If Have GV Make The Call

Feb 11, 2010

I use Google Voice (love it) primarily because of it's visual voicemail on my Droid. I do have a Google Voice number, and I'm trying to decide whether to set the Droid app to "make calls using Google Voice" or not.

I have no problem with giving out a different number, and my placed calls seeing the GV number in caller ID.

My question is, does this affect how the call is actually connected, from a quality standpoint? I tired a call both ways, and the sound quality seemed a little bit different. But then, I am an obsessive compulsive weirdo.

Is there any difference in call quality or routing between making a native Verizon call and a Google Voice call on Droid? (Like, does Google voice actual use 3G to connect to Google server over the internetz, then place the phone call?)

View 3 Replies View Related

Android :: Use Intent Make Outgoing Call - How To Detect The Call State

Jan 19, 2009

I can use this code make outgoing call.

Intent dial = new Intent(Intent.ACTION_CALL); dial.setData(Uri.parse("tel:5556") );

context.startActivity(dial);

But how to detect call pick up the call or refuses to answer?

I tried PhoneStateListener but not working.

View 2 Replies View Related

Android :: Make Call From App And Go Directly Back To App After Call Hangup

Dec 15, 2009

Is it possible to make a call from an activity and make sure the activity doesn't keep running while the call is in session? And, once the user is done with the call (by pressing the hangup button or whatever), the call log screen wouldn't get shown and the user would be directed to a new activity within the application. I know there's ways to detect calls and call hangups through services, but, I'm not sure if it's possible to make an activity from an app pop up as soon as a call is over.

View 2 Replies View Related

Samsung Behold 2 :: Make Voice Call Or Video Call

Jul 28, 2010

I've been using Nimbuzz and fring to make a voice call but fring does not support skype anymore and Nimbuzz somehow mutes itself. I wonder what other BH2 users use to make a voice or video call. If would be really helpful if someone can let me know. I'm in a long-distance(9000km) relationship.

View 3 Replies View Related

Android :: Augmented Ajax / Notifications?

Jun 4, 2009

Can augmented ajax use Notifications? Is this Android 2.0?

View 2 Replies View Related

Android :: Google Api Ajax Webservice

Nov 23, 2010

I have created json parser to parse the data from this http://ajax.googleapis.com/ajax/services/search/local?v=1.0&sll=48.85...

I want to parse this data and wanna show in list view in android.

View 3 Replies View Related

Android :: How To Get Domain Name

Nov 26, 2009

I use webview to address the url link, but I want to know how to get the url's domain name? such as when I link to http://www.yahoo.com, then I can get the "yahoo" domain name, so how to do that?

View 3 Replies View Related

Android :: How AJAX Requests Work On 2.0 / 2.2 Emulators?

Jul 22, 2010

I'm testing out a web page on the Android 2.0 and 2.2 emulators, and the jQuery.ajax() requests that the app makes have slightly different behaviors regarding HTTP Authentication Headers. The server I'm making requests to requires basic authentication, and the ajax requests in 2.2 send the proper auth header. In 2.0, I am debugging with Fiddler, and it seems that the requests do not include the auth header, and the server rejects the request with a 401.2 error. I don't think it matters, but the server is running IIS 7. One interesting thing I noticed while debugging the web requests is that Android 2.2 makes two requests for each resource, whether or not it's an XHR. One does not contain the Auth header, and the second one does. In 2.0, it seems to make 2 requests for everything but XHR's:

Here is the 2.2 header for the first XHR:
GET http://192.168.1.111/sonar/mobileweb/sonar/views/week/init.ejs HTTP/1.1
Host: 192.168.1.111
Accept-Encoding: gzip
Referer: http://192.168.1.111/sonar/mobileweb/sonar/sonar.html
Accept-Language: en-US
User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-us; sdk Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Accept: text/plain, */*
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

The 2.2 header for the second XHR:
GET http://192.168.1.111/sonar/mobileweb/sonar/views/week/init.ejs HTTP/1.1
Host: 192.168.1.111
Accept-Encoding: gzip
Referer: http://192.168.1.111/sonar/mobileweb/sonar/sonar.html
Accept-Language: en-US
User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-us; sdk Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Authorization: Basic cGFyaXZlZGFcZGF2aWQubW9ycmlzOjIzbkx2ZWxsbGw=
Accept: text/plain, */*
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

And the 2.0 header:
GET http://192.168.1.111/app/views/week/init.ejs HTTP/1.1
Host: 192.168.1.111
Accept-Encoding: gzip
Referer: http://192.168.1.111/app/app.html
Accept-Language: en-US
User-Agent: Mozilla/5.0 (Linux; U; Android 2.0; en-us; sdk Build/ECLAIR) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17
Accept: text/plain, */*
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

Has anyone experienced this behavior before? It is basically causing my app to not work at all in version 2.0. Version 2.1 seems to act the same as 2.0.

View 2 Replies View Related

Android :: Using Google's Ajax Local Search API

Oct 6, 2010

i want to use Google's ajax local search API in my android application.

View 5 Replies View Related

Android :: Why Did I Make My Nexus One Be Mobile Web Server?

Nov 4, 2010

About my android smartphone web server,I want to share my private files(contents) over the internet.I want to share the private files(contents) on my smartphone with far away friends over the internet.Normally I can upload them on the internet server and let my friends download them. But I don't want share them public. I can't believe the safety and also can't control the server.Most safe way for this demand is to save the files only on the phone and to let friends access to my phone directly. In other words, I don't need any outer server.So I've looked for a smartphone web server, at last I decided to use the iFMW; GoldenPack's mobile web server application.With the iFMW app, I have own internet URL for my Nexus One and now I can share my private files over the internet directly with special friends desired.

I want to share special files to special friends.I don't want everyone who can access into my phone to look at the same files.For example, I'll share my business files only to the relative officers, and also share my fun contents only to the family members like my wife and sons.So I make several sharing folders individual and put the contents separately. Therefore one group members would be able to access only their folder, because every folder has its own different internet URL and access passcode.iFMW app helps me like this fucking demand.

View 1 Replies View Related

Android :: ASP.NET AJAX CalendarExtender Not Working Properly With Browser

Jan 16, 2010

I'm creating a webapp for Android mobile phones with ASP.NET and the Ajax Control Toolkit. I've included a CalendarExtender-Control which popups a calendar when focusing the associated Textbox-Control. If I select this textbox on my mobile phone, the Android webbrowser highlights it with an orange border. The problem is that this border is shown in front of my Calendar popup. Has anybody any idea how to fix this issue?

View 1 Replies View Related

Android :: More Reliable Than AJAX For Phone / Server Communication?

Dec 21, 2009

I have an application that needs to send messages, repeatedly to the server. I'm currently using AJAX from the phone's browser and it works fairly reliably, but, as with all things cell-phone, not 100%. I'm curious if using Android and opening a socket to the server would give me any additional reliability, or if it would suffer from the same communication troubles that hinder the AJAX transmission.

View 2 Replies View Related

Android :: Domain Name Won't Resolve To An IP Address

Sep 27, 2010

I am working on a program that will connect to a time server (time- a.nist.gov), retrieve the timestamp, and place it in a text field.

However, when I create the socket, I get an UnknownHost Exception for time-a.nist.gov

1. put the <uses-permission android:name="android.permission.INTERNET" /> tag right before the </ manifest> tag. I did this, and the change is still there.

2. use the static InetAddress.getByName() function to convert to an IP address (this still throws the same exception)

When I pass the IP address (129.6.15.28) to the socket constructor, the program works fine. It only breaks when I use the actual domain name.

I have written this program in Java and it works perfectly fine.

View 2 Replies View Related

Android :: WebView For Form Based Local AJAX Application

Feb 18, 2009

I'm thinking of using WebView as a container for "Form" based JavaScript+DHTML applications. This is simple fill-out-forms like you have on the web, but now on mobile like for note taking, order taking, and the like.This is to allow web developers to build the bulk of the application - Javascript will perform validation, computations, etc.On the Java side, I only need to implement database CRUD operations, and a ListView to scroll over the forms.To minimize the learning curve on the JavaScript side, I've been thinking on how to emulate AJAX calls so that the web developers don't need to learn new methods to call on the JavaScript-Java bridge. Of course this isn't possible using XMLHttpRequest, so I'm thinking of adapting JQuery or other Javascript libraries for this purpose.

View 3 Replies View Related

Android :: Sharing Domain Objects Between Activities

Jan 11, 2010

I have written my application logic in domain objects (to enable multiple user interfaces and porting to other platforms), and am now lookng at implementing Activities for the user interface.

Considering that each activity needs to serialise its state, what is the best way to ensure my domain objects are only serialised once?

View 1 Replies View Related

Android : Browser Crashes On Ajax Calls - When Viewport Meta Tag Is Defined

Apr 8, 2010

I am building a web app, which is intended to run on the Android browser. When I have a webpage that contains any kind of viewport meta tag, like this:

<meta name="viewport" content="width=400"/>

My webpage crashes on ajax calls. It happens when using the emulator, the actual browser on my nexus one, and on a droid (all running Android 2.1). Without the meta tag, the ajax calls run as they should.

View 2 Replies View Related

Android :: MS Exchange Error - Does Not Work Outside Company Domain?

Jul 9, 2010

I have Nexus One (Froyo). After a lot of struggle I set up the Email App for MS Exchange. It works fine until I am in Company WiFi zone (company domain). Once I switch to another WiFi zone (@ Home), it stops working and throws an error something like 'no server connection'. Can somebody please help me out resolving this problem?

View 1 Replies View Related

Android :: Remove Cookies Using CookieManager For A Specific Domain?

May 14, 2010

I know about the existince of CookieManager, but how do I remove cookies of a domain only?

View 1 Replies View Related

Android :: Where To Put Layout Resources In Order To Make This For Tablets And Mobile Devices?

Nov 15, 2010

I would like to create different layouts for tablets and for mobile devices in Android. Where should I put the layout resources in order to make this differentiation?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved