Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Android


Advertisements:








Android :: Best Cross-mobile Javascript Framework


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 Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Android :: Which Javascript Framework?
I am going to develop an app runs on both Android and desktop, so UI will be built on html , javascript, css. User experience is very important, I am looking for a javascript UI framework has great UI, animation and response time. A great UI framework but slow (cause user annoying) is not acceptable in my case.There are many javascript frameworks available. Can you guys share the experience of how they behave on Android ?

View Replies!   View Related
Android :: Developing Cross Platform Mobile Application
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 Replies!   View Related
Android :: Cross Platform Mobile File Upload Possible?
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 Replies!   View Related
Android :: Web Apps For Cross Platform Mobile Software Development?
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 Replies!   View Related
Android :: Possible To Make Cross-domain AJAX Call On Mobile Browsers?
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?

View Replies!   View Related
Android :: JavaScript Code After App Is Compiled Using Titanium Mobile
I installed Titanium from appcelerator and built the "KitchenSink" example application.All works well, I'm just wondering where does the javascript code ends up in a built app.I grep-ed the Xcode project and also the result application as I found it in Library/Application Support/iPhone Simulator/KitchenSink.app, but I can't find any function names from .js files, not even string texts used within the application. Nearest information I found is an answer here : How Does Appcelerator Titanium Mobile Work? but I do not understand clearly how the process works.Is the javascript code being compiled into a binary code (what compiler is used then?), or is it just transformed in some special data-format and interpreted in a running application ?

View Replies!   View Related
Android :: Need Specific JS Framework To Support All Mobile Os
I am going to transform my website to mobile phone supported. My website consists of lots of java script and ajax stuffs so looked for a specific JS framework to support all the mobile os (android,ios,windows and blackberry).I googled and found some frame works like phonegap, sencha touch,JQTouch and appcelerator titanium. Can you people help me to find out the right one which will be suitable for my needs.

View Replies!   View Related
Android :: Anyway To Get Javascript Error / Iphone Mobile Webkit Browser?
I have built a website for mobile webkit browsers, there is an interval update to refresh data. But it turns out that the pooling refresh will stop at some time after run for a while (some minutes or hours, different by each time).I thought there may be something error occurred in my refresh data functions, but it works well in my laptop browser. I also tried to listen window.onerror event, but webkit browser seems do not support that event. What else can I do?And I am also doubting is there any problem with setTimeout and setInterval functions in mobile webkit browser?

View Replies!   View Related
Android :: Enable WebKit JavaScript Inspector In Mobile Web Browsers?
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 Replies!   View Related
Android : Method Of Detecting Mobile Browsers With Javascript / Jquery?
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 Replies!   View Related
Android :: Mobile Application Upgrade / Update Framework
I am developing a few mobile apps for different platforms including Blackberry, Windows Mobile, Android and Symbian S60.I want my mobile apps to have the capability of checking for updates before starting and in case a new version is available, prompt the user to upgrade. Moreover in certain cases (like security patches), the user must be forced to update or the app won't work.Surely I can cook some code to achieve the task but I was wondering if there are already existing framework to serve the purpose so that I don't have to re-invent the wheel and test all over?

View Replies!   View Related
Android : Good Javascript Frameworks Toolkits Compatible With Mobile OSes
I was recently hired to work on mobile Ajax applications. This is the first time I do this, as I always worked on usual Ajax sites on common web browsers. I'd need a framework and possibly a toolkit that works both on IPhone and Android... capable of abstracting the mobile browser the same way jQuery does with desktop browsers. I've seen JQTOUCH, but it seems very much IPhone oriented. I'd like something more cross platform and lighter. Do you have any idea?

View Replies!   View Related
Android :: Mobile 'Web Wrapper' Framework Allowing Device Access To A Remote Site?
When I first ran across PhoneGap, I was excited because I envisioned simply dropping in the URL of a mobile site and simply updating the mobile site to use the devices capabilities when available.

Alas, it seems it is not that easy.

From what I understand (and I could be incorrect), any HTML/JS access to the device's hardware is limited to local 'pages'. So essentially create a HTML/JS local 'web' app to access the 'real' mobile web app by AJAX like calls. It seems a little redundant (at least to me) when the point is to simply extend the interface an existing mobile site.

Not trying to knock PhoneGap here, just wondering if there's a similar framework that allows a remote site to access the phone's hardware directly. Or if I've missed how that can be done with PhoneGap.

(Sure, I know "allows a remote site to access the phone's hardware directly" sounds scary - but the URL is hard-coded in the app, and HTTPS could provide authenticity. Of course, security is probably why this isn't supported by PhoneGap.)

View Replies!   View Related
Android :: Cross Platform IM?
Is there any decent application for cross platform instant messaging? My wife has an iPhone and I have a Samsung Captivate.I really don't see the point in using SMS to send quick messages back and forth while I'm at work or wherever when we could easily use some IM client.

View Replies!   View Related
Android :: SDK Over Cross Platform
I am trying to install Android on Beagleboard (TI's OMAP35x chip). They have provided toolchain to build the OS and port it on the chip. Now the next question is developing Android apps. I am interested in knowing about the Java SDK for android. So can I use the standard SDK provided by google, so far I cannot find any SDK provided by TI for Java.Putting it in simple terms, will an application developed on standard Android SDK work on beagleboard.

View Replies!   View Related
Android :: Cross Platform Java?
We have a desktop/web java application and also getting into Android development.Ideally we would like one app that runs both on desktop and android.From what we can tell, it's not much possible to run normal java apps on android. But wondering if it can do it the other way? That is, run android apps easily on the desktop (without the user install the sdk or android emulator)?In a prefect world we'd like one app for both platforms. Realistically though it seems like we're going to have to have one app with two front ends?

View Replies!   View Related
Android :: Cross Activity Listeners
Can I have one Activity listen for a message from another?I have a TabActivity and I need to call a function/send a message to the associated tabs.How do I go about doing that?

View Replies!   View Related
Android :: Way To Collaborate On Notes / Cross-platform?
I'm looking for a way to collaborate on a "note" with a friend of mine on a Palm Pre. In our case, we want to maintain a collection of quotes together. It'd be nice if we could maintain updates in the same place and have them be in sync. Not necessarily looking for an "app," but a mobile site that would let us accomplish this would work as well. Does anyone have any ideas?

View Replies!   View Related
Android :: Cross Platform Video Chat (EVO To PC)
i need an app that has a pc counterpart for video chat. i want top be able to get in touch with my momma via my EVO as soon as i get out of Basic Training. i have been trying every app. fring does not have a working pc app, qik does not seem to plan on this either. skype just released a app who only supports Voip phone calls no video(fail) and none of the conventional im apps are supporting video either: aim, talk, yahoo. did i miss something? is there one?

View Replies!   View Related
Android :: Lightweight Cross Platform C GUI (OpenGL)
I am looking for a lightweight cross platform GUI library for different signal-processing applications. An ANSI-C program must be statically linked with it and the size matters. A finished application must have the same look on any platform like iPad, iPhone, Android, Ubuntu, Leopard, Windows, etc.Qt is not appropriate, because it is C++, too big, and doesn't work on iOS devices. I lean toward OpenGL-based GUI library, because OpenGL is supported by every modern target platform and an OpenGL application will have the same look and feel on every device. Preferably, such GUI must support forms definitions using the declarative semantics, e.g. from C strings or from external textual files.

View Replies!   View Related
Android :: Bluetooth Cross Platform Interoperability
I have a Bluetooth service that I programmed for .Net on a Windows machine and I would like my Android 2.1 phone to connect to it. The server is listening for the same UUID which the Android is using to connect. But the connection is failing.When I try to connect to devices that are not listening for that UUID, I get an exception with the message "Service discovery failed", but when I try to connect to the server that is listening for the right UUID a message box pops up saying:"There was a problem pairing with bluetooth device."And I get an exception with the message "Connection timed out." So it looks like the server and the Android are communicating, but there is some sort of failure during handshaking. I know that the Android requires that the server is paired with the phone and also encrypts the communication channel. Does anyone know which specifications are used to do this? I would love to get my server to respond properly to the connection attempt.

View Replies!   View Related
Android :: Objective-C To Java Cross Compiler
It is clear that cross compilers will not be allowed by the Apple App Store, so a developer will need to be familiar with Objective-C to create applications for the iPhone.I was wondering, is there a cross compiler that will take Objective-C application code and rebuild it into a similar Java application that can be packaged for Android? That way, a developer could still learn just one language (obj-c) but put out applications on many devices.I understand that the Java port would be less optimal than a natively coded application, but could conceivably save a developer some time.

View Replies!   View Related
Android :: Ajax Cross Domain Requests
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 Replies!   View Related
Android :: IPhone Single Codebase Cross Development
Is there a way, apart from using HTML and JavaScript on a web control, to have an (almost) single codebase for an application that should run on iOS and Android?The big issue is of course that they use a different language (Java for Android, Objective-C for iOS) for application development. It would be nice to have some sort of meta-language that will be translated in Java and in Objective-C.What about Flash? Adobe wasn't supposed to release a tool to create flash-based apps in iOS?

View Replies!   View Related
Android :: Setup Scratchbox Cross Compilation For Droid
How to we setup scratchbox for android to do cross compilation?What type of target do we choose?

View Replies!   View Related
Android :: Static Logger For Cross-plattform - E.g. Java - Applet
I want to use somthing like: MyLogger.e("MyApp","I have an error.");

In a cross-plattform project, where MyLogger should be static to make it available in the whole project.

So I was trying something like:

CODE:.........

The compiler complains about the static. How do I do this? Is it possible at all? If not, what's the right approach?

View Replies!   View Related
Games :: Chrono Cross Is Gltichy With PSX4Droid
The item menu called up by pressing square immediately disappears after opening...I haven't spent time to get far enough but if that menu doesn't work at certain moments....the story can't progress. Pretty bad glitch. i'm running the 1001 bios, should i try a different one?

View Replies!   View Related
Games :: IPhone MMOG Pocket Legends To Go Cross-Platform
iPhone MMOG Pocket Legends To Go Cross-Platform News can be found there. Finally is all I can say.For those who don't want to read it it doesn't list a date that it should be ready by but it does indeed say Android will be one of the platforms they are porting to.

View Replies!   View Related
Android :: WebView And Javascript
I have a WebView in my activity opening html file, containing a simple javascript. My problem is that the webview opens the html file, but doesn't execute the javascript. When i open the file from web browser, and not from my app, it executes the javascript correctly. What could be the difference? Are there any different settings for running javascript?

Here is my file:

CODE:.......

View Replies!   View Related
Android :: Need Code For Javascript
Does somebody send me code of using javascript with android and how to use wallpaper in android?

View Replies!   View Related
Android : How To Use JavaScript In Droid?
Is it possible to use JavaScript in Android?? if so, how? Please provide some examples.

View Replies!   View Related
Android : Get Return Value From Javascript?
I want to get a return value from javascript in webkit.

View Replies!   View Related
Android :: How To Communicate From Javascript Back To An App?
I'm loading up a webview with some locally generated html and javascript.It makes calls to app methods just fine.But what's the right way to get data from Javascript back to the application? It's simple to have javascript call app methods, but any parameters specified in the call on the javascript side don't survive the trip (I just get null in the app).Gross hacks seem obvious (open a url and encode the data in the url), but that can't be 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 android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View Replies!   View Related
Android :: Detect Javascript Features On 1.5
I'm trying to write a code that can run on Android 1.5 and 2.0.1, but I have issues with the javascript engine used on Android 1.5. alert(localStorage); just hang on v1.5 while on v2.0.1 it alerts correctly. is there an unblocking way to do it or to detect the version of Android with javascript?

View Replies!   View Related
Android :: Catch Exception In JavaScript
My application uses WebView to load javascript which calls into Java class (through webview javascript iterface). Can the JavaScript catch exceptions thrown from Java?

View Replies!   View Related
Android :: JavaScript Problem In Webview
I have a JavaScript function which returns a value and i want to use that value in my Android program.

View Replies!   View Related
Android :: Webview Javascript Injection
I'd like to call a JavaScript function out of Java.

Well, the following source code works fine for me (http:// whyandroid.com/android/206-using-webviews.html):

This is not called on the UI thread. Post a runnable to invoke  

CODE:............

My problem now is to use a parameter for the JavaScript function.

Let's assume I've got some XML (just like AJAX somehow).

I need to escape it just like the iPhone / Objective-C command stringByEvaluatingJavaScriptFromString does.

View Replies!   View Related
Android :: Better JavaScript Debugging For WebView
I'm debugging a Javascript+HTML app. All the content is in ./assets.

The app works fine in Firefox, Safari and iPhone (over the web).

But in the WebView, I only get: D/WebCore (626): Console: undefined line: 0 source: undefined

I need to debug this code. Could I either: - enable more debugging in the WebView? though I think this needs to be done in the framework. or: - set up a desktop WebView equivalent where I can run a Javascript debugging tool?

View Replies!   View Related
Android :: Return Value From Javascript In Webview
I want to get a return value from javascript in android. With Iphone, i can do it, but Android, i can't. I use loadUrl but return void not object.

View Replies!   View Related
Android :: Webview Cannot Handle Javascript
My android application displays webpages(i used webview for it). .but javascript onthe wepage is not running in a webview .If i visit the same webpage through the Browser,javascript is running . How to run javascript in an application(using a webview)?

View Replies!   View Related
Android :: Evaluate Javascript Value On WebView
I open a webview page that page have:

CODE:.............

These javascript
When I press a button on the webview I have to read the "iPhoneStatus" value and close the webview screen and decide the result.

I wrote these codes in my .java class

CODE:..........

But it never go in the onJsAlert method, is there any way to evaluate the value of GetStatus()

View Replies!   View Related
Android : Way To Allow Use Of Droid's 9-patches In Javascript?
I'd like a Javascript library that will stretch/scale 9-patch images correctly. Know of one?

View Replies!   View Related
Android : Javascript Not Working In Droid / How To Fix?
I have a webview in my program. I loaded a string into this webview that contains javascript function. When i loaded it in the emulator it's not working i.e if I write a simple alert the webView won't display the alert. I have enabled the javascript. But then also its not working.

View Replies!   View Related
Android :: Add JavaScript Interface To A Browser?
Is it possible to add a JavaScript interface to the Android Browser the same way one can be added to the WebView Component as illustrated in this demo. My particular use case only needs JavaScript -> android so that I can send it back to the previous activity.

View Replies!   View Related
Android :: Image Included Javascript Not Appear In WebView
I used webView to show javaScript,one image was included in the javaScrip,but the webView not run the image on the contrary appear a "?"image.

My code:

CODE:..............

I put android_normal.png and android_waving.png in the assets and drawable folder

View Replies!   View Related
Android :: Can't Load Image In WebView Via Javascript
My app uses a WebView widget to load ads from Google AdManager. AdManager gives you an HTML snippet, which is 90% javascript to call their server for the image to load.

I put their html snippet into a string and use String.format to add in several variables that AdManager requires.

I enable javascript on the WebView (webView.getSettings().setJavaScriptEnabled(true);)

I load the string into the WebView (webView.loadData(myString, "text/html", "UTF-8");

result: the ad never loads (although the WebViewClient shows serveral .js resources loading).

If I take that exact string and create a file and then use webView.loadUrl("file:///android_asset/test.html"), the image loads properly.

Why would loadUrl work but loadData does not?

I've verified that javascript is running. I injected a little script to write out a text string and it works.

View Replies!   View Related
Android :: Opening Page With Javascript Pop Ups In Webview
I am very new to both android webkit and javascript. I have a web page with 3 links (say A,B,C). When I open that page on my PC browser(Chrome), and click on the links, A opens in the same browser window whereas B and C pops up a new window. In my application I am loading the original URL in a WebView. I have implemented my WebViewClient and overridden the shouldOverrideUrlLoading. I am getting the call to shouldOverrideUrlLoading whenever I click on A, but not getting it when I click on B or C?

View Replies!   View Related
Android :: Where JavaScript Exceptions Displayed When Using WebView
I have this simple HTML that I load into an Android WebView (SDK version 1.5)-

<html>
<body onload="nomethod()">
<h1>Hello World</h1>
</body>
</html>

Function nomethod() doesn't exist but the LogCat doesn't display any error. It seems that any exception that isn't caught cannot be traced. how can I handle or trace uncaught exceptions?

View Replies!   View Related
Android :: JavaScript Sometimes Doesn't Work In Webview
I put a webview in my application to visit a webpage which includes some javascript functions, my purpose is when users click a link in the webpage, it will start a new activity in the application. I've written "webSettings.setJavaScriptEnabled(true);" in my source codes.

It works well in most of the time, however sometimes it doesn't work, there is no response when users click, and I don't know why because the environment is not changed at all.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved