The Artima Developer Community
Sponsored Link

Java Buzz Forum
Calling javascript in Android Apps

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
Calling javascript in Android Apps Posted: Dec 10, 2008 4:55 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Calling javascript in Android Apps
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies LLC-The Mobile Future

Advertisement
The recommendation is to make wrapper to allow a call such as window.appName.jsFunction for a javascript function that returns some object. I am finding that on the UI libraries that I almost never have to make that call but instead only have to rename the root anonymous fucntion to a named function. For example in this demo:



...there is no call within the html of the form window.AppName.jsfunction although a lot of the js functions in the iUI library return objects.The only thing that I can think of is since these professional UI and other js libs have the returning object js functions as child elements wrapped up in one biug js function that something is different enough in that pattern that to not need such a call.

That means I was calling the CiUI library the wrong way possibly. This is important because there is a speed difference between CiUI an diUI with CiUI being faster,

Read: Calling javascript in Android Apps

Topic: NASA's Mars Laboratory Project Postponed, Records $400 Million Loss Previous Topic   Next Topic Topic: St. Louis λ-Lounge

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use