Beginning Android Web Apps Development 1st ed. Edition Jon Westfalldownload
Beginning Android Web Apps Development 1st ed. Edition Jon Westfalldownload
or textbooks at https://ebookultra.com
https://ebookultra.com/download/beginning-android-web-apps-
development-1st-ed-edition-jon-westfall/
https://ebookultra.com/download/beginning-android-5th-edition-get-
started-building-apps-for-the-android-platform-grant-allen/
Pro Android Web Apps Develop for Android Using HTML5 CSS3
JavaScript 1st Edition Damon Oehlman
https://ebookultra.com/download/pro-android-web-apps-develop-for-
android-using-html5-css3-javascript-1st-edition-damon-oehlman/
https://ebookultra.com/download/the-business-of-android-apps-
development-1st-edition-mark-rollins/
https://ebookultra.com/download/beginning-android-application-
development-1st-edition-wei-meng-lee/
Beginning Android C Game Development 1st Edition Bruce
Sutherland (Auth.)
https://ebookultra.com/download/beginning-android-c-game-
development-1st-edition-bruce-sutherland-auth/
https://ebookultra.com/download/android-development-with-kotlin-1st-
ed-edition-moskala/
https://ebookultra.com/download/beginning-jsp-jsf-and-tomcat-web-
development-1st-edition-giulio-zambon/
https://ebookultra.com/download/amazing-android-apps-for-dummies-1st-
edition-daniel-a-begun/
Beginning Android Web Apps Development 1st ed.
Edition Jon Westfall Digital Instant Download
Author(s): Jon Westfall, Rocco Augusto, Grant Allen
ISBN(s): 9781430239581, 1430239581
Edition: 1st ed.
File Details: PDF, 14.08 MB
Year: 2012
Language: english
www.allitebooks.com
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
www.allitebooks.com
Contents at a Glance
Contents .............................................................................................................. v
About the Authors .............................................................................................. ix
About the Technical Reviewer ............................................................................ x
Acknowledgments ............................................................................................. xi
Introduction ...................................................................................................... xii
■Chapter 1: Harnessing the Power of the Mobile Web ...................................... 1
■Chapter 2: Twitter Applications: Who's That Tweet? .................................... 21
■Chapter 3: Twitter Applications: I Love Ham ................................................. 39
■Chapter 4: Basic Planning and Structuring of Your Application ................... 49
■Chapter 5: Handling Multiple Screen Resolutions with CSS 3 ....................... 65
■Chapter 6: Handling Different Browser Platforms ......................................... 85
■Chapter 7: Building an Impressive User Experience with jQuery Mobile ...... 99
■Chapter 8: Building Visually Rich Internet Applications.............................. 121
■Chapter 9: HTML5 Location-Based Applications ......................................... 145
■Chapter 10: Using Cloud Services: A Transport Application........................ 167
■Chapter 11: Pushing the Limits with Audio and Video ................................ 187
■Chapter 12: Supercharging the User Experience with AJAX ....................... 211
■Chapter 13: PackagingYour Applications .................................................... 233
Index ............................................................................................................... 261
iv
www.allitebooks.com
Introduction
Both of the first author’s (Jon’s) parents were artists. They each could draw fantastical pictures
that resembled real life, and were shocked to see that their son could barely muster up a stick
figure. If you’ve always felt that your inner artist was best expressed through what you could build
with the help of a computer and the Internet, then this book can guide your virtual paintbrush.
The finished product? A mobile web application for Android devices, which can in turn inspire
creativity and productivity in millions of prospective users. It is our hope that this book will give
you all that you need to get up and running and creating your masterpieces in no time.
xii
www.allitebooks.com
■ CONTENTS
xiii
www.allitebooks.com
Chapter 1
Harnessing the Power of
the Mobile Web
Welcome to the first chapter of this book. In this chapter, we’ll endeavor to not only tell
you about what you’ll find in this book, but to also compare it to what has come before.
You see, quite simply, it is only now that the true power of mobile web applications and
mobile-optimized websites is being realized, despite the existence of the “web” on
mobile phones in some form for 10 years.
Before we show off the neat stuff we have planned for this book, it’s probably best to
make sure everyone is on the same page, lingo-wise. So we’ll start talking about the
basic terms in web design. In the second section, we’ll talk about the precursors to
today’s mobile web. And finally, in the last section, we’ll talk about the concepts that will
guide this book and give you a sneak peek at some of the applications we’ll be
developing!
1
www.allitebooks.com
2 CHAPTER 1: Harnessing the Power of the Mobile Web
web server can be any sort of computer that makes a list of files available to other
computers on the network over something called HyperText Transport Protocol (HTTP,
as in http:// at the beginning of web addresses, which are also called URLs). Browsers
download these HTML files over HTTP and read them, looking for special features
known as tags. These tags function in the same way as tags in older word processor
programs did—specifying how text and other elements of the page should look when
displayed in the viewer. Consider the web page in Figure 1–1.
Let’s look at the HTML code that made up the page shown in Listing 1–1:
Listing 1–1. hello.html
<html>
<head>
<title>This is the text that appears in the browser's Title bar!</title>
</head>
<body>
This is normal text. However let's get fancy and make <strong>this bold</strong> (this
is <em>italicized</em>).
<br /> The tag to the left just made this a new line.
<p> The tag to the left here just made this a new paragraph.</p>
</body>
</html>
The code might look a bit strange, but let’s walk through it line by line. The first line,
which simply reads <html>, lets the browser know that it’s reading an HTML document.
You’ll notice that the last line of the document, </html>, is similar. This line “finishes” the
HTML object—closing the tag and telling the browser that the page is over. By having
sets of tags like this, the browser knows what formatting to apply and where to stop
applying it.
The second through fourth lines of the code are known as the page header. This is
where programmers store important information that the browser needs to know in order
to format the page properly. In this case, the only tag I’ve placed within the header is a
title tag, which specifies what should be shown in the title bar of the user’s web
browser. The header would be the location where one would most commonly finds
certain documents, such as Cascading Style Sheets, JavaScript, and META information
for search engine optimization, special instructions for different browsers, favicons
(those little icons that appear next to a bookmark entry in your browser), and other
important information about the page that is not related to the documents’content,
which brings us to line 5 - the bodytag.
The bodytag tells the browser that the content to display to the user is about to be given.
From here, we see straight text—the same that’s in the rendered page shown in Figure 1–1.
However, you’ll notice a few special tags we’ve added in. The first, <strong>, tells the
browser that the text between it and its end tag </strong> should be in bold to give it a
www.allitebooks.com
CHAPTER 1: Harnessing the Power of the Mobile Web 3
stronger visual oomph. A second tag, <em>, does the same by emphasizing the content
orby making the content italic.1 A third tag, <br />, starts a new line (br stands for line
break!). The <br /> tag is a little different than most HTML tags. Since the tag does not
require itself to enclose content on the page in the same thatthe <strong> and <em> tags
do, this tag closes on itself. Finally, the <p> tag starts a new paragraph.
At their cores, all web pages are some form of HTML, although most we’ll discuss in this
book are much more complicated. Thankfully, we’ll walk you through them, so you won’t
be overwhelmed!
If this is your first outing into the world of HTML and web applications, then it would
probably be a good idea to familiarize yourself with the basics of HTML before jumping
full on into the book. One of the best resources on the Internet for learning HTML and
browsing through basic code examples can be found at the W3Schools
(http://www.w3schools.com/). Once you've gotten your feet a little wet with HTML, or in
case you're already soaked from the neck down, it would be time to move on to some of
the more intermediate portions of web application design and technologies that we will
be using in this book.
By just glancing at the finished product, there does not appear to be a lot going on
here.We have a standard boring black and white document that completely lacks any style
or individuality. Let us take a look at the code behind the scenes shown in Listing 1–2.
Listing 1–2. chores.html
<html>
<head>
<title> Family Chore List </title>
</head>
<body>
<h1>Family Chore List</h1>
1
It’s worth noting that the <b> and <i> tags you may be used to were used in HTML 4
for the same purpose as <strong> and <em> respectively. Their use has been
deprecated in HTML5 in favor of the tags above.
www.allitebooks.com
4 CHAPTER 1: Harnessing the Power of the Mobile Web
<ul>
<li><strong>Tommy</strong>: Take out the trash</li>
<li><strong>Beth</strong>: Clean out the fridge. </li>
<li><strong>Mittens</strong>: catch mice. </li>
</ul>
</body>
</html>
Let us break down the teensy morsel of code within the bodyelement. Here, the
unordered list on the page is created using the ul tag. An unordered list is great to use
anytime you want to create a bulleted list of items. If your list requires a little more
order,you might opt to use the ol, or ordered list,HTML tag.
While the page is fairly nice and simple, you might want to spice it up. Perhaps around
Christmas time, you’d like splash some color on your family chores page that would
make even the most bah humbug elf smile with glee (see Figure 1–3).
Figure 1–3.Christmas Chore List with green and red adding a holiday feel
Perhaps on the Fourth of July, you might want to fill your family with patriotic gusto (see
Figure 1–4).
Figure 1–4. Patriotic Chore List with the red, white, and blue
Each time we change the colors, we modify the HTML source code by adding in
appropriate tags. Take a look at the patriotic version of chores.html in Listing 1–3.
Listing 1–3. patriotic chores.html
<html>
<head>
<title> Family Chore List </title>
</head>
<body bgcolor=blue>
<font color=red><h1>Family Chore List</h1></font>
<font color=white>
<ul>
<li><strong>Tommy</strong>: Take out the trash</li>
<li><strong>Beth</strong>: Clean out the fridge. </li>
<li><strong>Mittens</strong>: catch mice. </li>
</ul>
www.allitebooks.com
CHAPTER 1: Harnessing the Power of the Mobile Web 5
</font>
</body>
</html>
Making modifications straight to the HTML is fine for small pages. However, imagine
how much time adding those font tags might take if there were 12 children and
countless pets to coordinate. Or perhaps you have multiple pages, one for each child
and you don’t want them to feel left out if their sibling has nice color combinations and
they don’t. Never fear–we can use something called a Cascading Style Sheet, or CSS, to
keep it all in check. Basically, a CSS file is a small document consisting of a set of styles
to be applied to an HTML document that can be changed at anytime, affecting every
page it is connected to, without ever having to edit the original HTML document(s).
Listing 1–4 provides an example CSS file.
Listing 1–4. patriotic.css
body {background-color: blue}
h1 {color: white}
li {color: red}
Notice how the format of the file is simply the HTML tag you wish to edit (H1 for example
and the attributes you’d like to give it). In this case, we want the color of text within h1 to
be white.We can simplify chores.html to include a link to this CSS file, as shown in the
code of Listing 1–5.
Listing 1–5. chores.html with CSS reference
<html>
<head>
<title> Family Chore List </title>
<link rel="stylesheet" type="text/css" href="patriotic.css" />
</head>
<body>
<h1>Family Chore List</h1>
<ul>
<li><strong>Tommy</strong>: Take out the trash</li>
<li><strong>Beth</strong>: Clean out the fridge. </li>
<li><strong>Mittens</strong>: catch mice. </li>
</ul>
</body>
</html>
We’ll get exactly the same output as is shown in Figure 1–4. Now, imagine how this
works if we scale upward. First of all, the parents no longer need to edit the HTML tags
directly to change styles. Depending on the holiday, they simply could have multiple
CSS files they could link to (simply changing the fourth line of the code in Listing 1–5).
Second, they could extend the CSS even further to specify spacing, fonts (Mittens hates
serifs), and more. Finally, if they have more than one page, they could simply link the
CSS sheet at the top of each page to their current “theme” and all the pages would look
alike. While the examples above are extremely simple, they illustrate the power of CSS.
We’ll examine CSS inmore detail as we continue through the book!
www.allitebooks.com
6 CHAPTER 1: Harnessing the Power of the Mobile Web
Typically, you see these messages while filling out a forms page or perhaps in an online
shopping cart telling you that your item is out of stock or some such annoying message.
While you might be used to seeing these messages on web pages on your computer,
they can also be shown in a mobile web browser (see Figure 1–6).
The code that creates these messages is remarkably simple. Listing 1–6 integrated the
code into the chores.html page we saw in the CSS example above.
Listing 1–6. chores.html with JavaScript reference
<html>
<head>
<title> Family Chore List </title>
<link rel="stylesheet" type="text/css" href="patriotic.css" />
<script type="text/javascript">
function ShowWarning() {
alert("Mittens - your mousing numbers are down this week - NO CATNIP FOR YOU");
}
</script>
</head>
<body onload=ShowWarning();>
<h1>Family Chore List</h1>
<ul>
<li><strong>Tommy</strong>: Take out the trash</li>
<li><strong>Beth</strong>: Clean out the fridge. </li>
<li><strong>Mittens</strong>: catch mice. </li>
</ul>
</body>
</html>
Let’s start by talking about the new section of code right below the CSS link, inside the
headsection, with the tag script. The scripttag tells the browser that a section of
scripting code (in this case, of the type text/javascript) is about to be given. The
browser then interprets the code. Since it’s in the headsection, the browser simply stores
this code for later use. This piece of code is called a function, which you can think of as
a list of commands wrapped up in a “shortcut”. Here the command is another function
named alert. As you can imagine, JavaScript functions can get quite complex, with
functions including other functions and interacting with user input.
Once the function is loaded into the browser’s menu, we need to tell the browser when
we want to execute it. In this case, I’ve changed the bodytag to include the line
onload=ShowWarning();. This tells the browser that, when the page is loaded, I want it to
run the function ShowWarning. The two parentheses indicate a spot where I could include
information to pass to the function. This becomes useful for creating things like
calculators or for checking input in a form. For example, I could write up something like
Listing 1–7.
Listing 1–7. chores.html with JavaScript reference passing a variable
<html>
<head>
<title> Family Chore List </title>
<link rel="stylesheet" type="text/css" href="patriotic.css" />
<script type="text/javascript">
function ShowWarning(catname) {
alert(catname + " - your mousing numbers are down this week - NO CATNIP FOR YOU");
}
</script>
</head>
<body onload=ShowWarning("Mittens");>
<h1>Family Chore List</h1>
8 CHAPTER 1: Harnessing the Power of the Mobile Web
<ul>
<li><strong>Tommy</strong>: Take out the trash</li>
<li><strong>Beth</strong>: Clean out the fridge. </li>
<li><strong>Mittens</strong>: catch mice. </li>
</ul>
</body>
</html>
The code in Listing 1–7 will produce the exact same message as the code in Listing 1–6.
However, in Listing 1–7, I’ve passed the feline’s name as a variable. The function
ShowWarning now expects that I’ll pass a variable to be named “catname”, and it can use
that information in its code. When I call ShowWarning() in the bodytag, I simply add the
cat’s name to be passed to the function. I can pass more than one thing, if I want to. As
mentioned, this could get quite complex, depending on how much I want to chastise
poor Mittens.
As you can see, coupling JavaScript along with HTML and CSS can produce pages that
look good, are easy to update, and can interact with the user. But sometimes you might
need to produce a document that doesn’t give style information–it just gives general
information. A prime example of this is given in the next section, as we start to get into
the wonderful world of XML!
This little orange icon tells the reader about an RSS feed that the current website has
available. RSS feeds look pretty uninteresting and unintelligible to a user (take a look at
Figure 1–8 for the start of an RSS feed). However, other web pages and scripts can use
them to grab a lot of information from one source and display it in different ways to the
user.
CHAPTER 1: Harnessing the Power of the Mobile Web 9
For example, Figure 1–9 is the beginning of the RSS feed for my personal blog. Each
element contains a variety of data that isn’t very pretty to look at but provides all the
information one might want to view my blog in a special piece of software called an RSS
reader. While certain applications, like Microsoft Outlook, have built-in RSS readers,
many prefer to use a dedicated reader client. One popular RSS reader is Google Reader,
which can take the link to my RSS feed and produce a nice view of my blog so that the
Google Reader user can quickly see` what articles I’ve posted recently.
Now, you might be asking why I’d want people to view my website somewhere other
than at its usual web address. The simple answer is that it might be more convenient for
my users to view all the blogs they read (mine and others) within one piece of software.
Software, such as Google Reader, can keep track of hundreds of RSS feeds, from news
sources, blogs, and even just simple status updates like my Twitter feed. All of these
pieces of information are retrieved by Google Reader in a format known as Extensible
Markup Language (XML). XML isn’t a format you’d want to have your human viewers
see, but it is one that you’d want to use if you were sharing information between web
pages or between web services.
While the example above shows XML as an output, the web application that powers my
blog (WordPress) produces the XML so other sites like Google Reader can use it. XML
can also be used as an input. For example, I might want to take data (such as sports
scores) and display them on my webpage. Most likely, those sports scores will be
available in XML, which my web page can then open and parse. Parsing is simply a
fancy term that means “read, interpret, and display”. My webpage will read the scores,
interpret them if necessary (i.e., calculate something, aggregate something), and then
display them to the user in some meaningful way.
So to recap, we’ve now seen how to build a basic webpage, how to make it look pretty
(easily), and how to make it interact with a user. Finally, we talked about how webpages
and programs get data between each other by using XML. As we move through the
book, we’ll talk in depth about each of these areas and give you plenty of examples of
how to use them. In fact, coming up in Chapter 2, we’ll discuss how to get data from a
very popular web service and display it in the first full application we’ll create!
The light that emanates from a glow-worm is the resultant of the action of
the sympathetic medium of the insect itself on a centre of phosphorescent
matter, which is included in its structure. The resultant of the two conditions
are quite different, but they are governed by the same laws of sympathetic
percussion.
Radiation is the term used to express the reaching out of the thermal
element, after its liberation from its corpuscular imprisonment, to be re-
absorbed or returned again to its sympathetic environment; teaching us a
lesson in the equation of disturbance of sympathetic equilibrium.
Force.
“By what means is force exerted, and what definitely is force? Given that
force can be exerted by an act of will, do we understand the mechanism by
which this is done? And if there is a gap in our knowledge between the
conscious idea of a motion and the liberation of muscular energy needed to
accomplish it, how do we know that a body may not be moved without
ordinary material contact by an act of will?” These questions were asked by
Professor Lodge in his paper on “Time;” and as Keely contends that all
metallic substances after having been subjected to a certain order of
vibration may be so moved, let us see how he would answer these
questions. When Faraday endeavoured to elaborate some of his
“unscientific notions in regard to force and matter,” men of science then
said that Faraday’s writings were not translatable into scientific language.
The same has been said of Keely’s writings. Pierson says, “The very fact
that there is about the product of another’s genius what you and I cannot
understand is a proof of genius, i.e., of a superior order of faculties.” Keely,
who claims to have discovered the existence of hidden energy in all
aggregations of matter, imprisoned there by the infinite velocity of
molecular rotation, asserts that “physicists in their mental rambles in the
realm of analytical chemistry, analytical as understood by them, have failed
to discover the key-note which is associated with the flow of the mental
element;” that “they have antagonized or subverted all the conditions,” in
this unexplored territory of negative research, which he has demonstrated as
existing in reference to latent energy locked in corpuscular space. These
antagonisms might have been sooner removed had those physicists who
witnessed some of Keely’s experiments, while he was still working
blindfold as it were, in past years, not belonged to that class of scientists
“who only see what they want to see, and who array facts and figures
adroitly on the side of preconceived opinion.” Since the last meeting of the
British Association, Keely, in writing of some of the addresses delivered,
says: “It delights me to find that physicists are verging rapidly toward a
region which, when they reach, will enable them to declare to the scientific
world what they now deny; viz., that immense volumes of energy exist in all
conditions of corpuscular spaces. My demonstrations of this truth have
been ignored by them and now they must find it out for themselves. I do not
doubt that they will reach it in their own way. I accept Professor Stoney’s
idea that an apsidal motion might be caused by an interaction between high
and low tenuous matter; but such conditions, even of the highest accelerated
motion, are too far down below the etheric realm to influence it
sympathetically, even in the most remote way. I mean by this that no
corpuscular action, nor interaction can disturb or change the character of
etheric vibrations. The conception of the molecule disturbing the ether, by
electrical discharges from its parts, is not correct; as the highest conditions
associated with electricity come under the fourth descending order of
sympathetic condensation, and consequently its corpuscular realm is too
remote to take any part towards etheric disturbance. Hypothesis is one thing
and actual experimental demonstration is another; one being as remote from
the other as the electrical discharges from the recesses of the molecule are
from the tenuous condition of the universal ether. The conjecture as regards
the motion being a series of harmonic elliptic ones, accompanied by a slow
apsidal one, I believe to be correct …. The combination of these motions
would necessarily produce two circular motions of different amplitudes
whose differing periods might correspond to two lines of the spectrum, as
conjectured, and lead the experimenter, perhaps, into a position
corresponding to an ocular illusion. Every line of the spectrum, I think,
consists not of two close lines, but of compound triple lines: though not
until an instrument has been constructed, which is as perfect in its parts as is
the sympathetic field that environs matter, can any truthful conclusion be
arrived at from demonstration.”
In the same way that the mind flow induces motion on the physical
organism, sympathetic flows on molecular masses induce motion on the
molecular. The motion of the molecules in all vegetable and mineral forms
in nature are the results of the sympathetic force of the celestial mind flow,
or the etheric luminous, over terrestrial matter. This celestial flow is the
controlling medium of the universe, and one of its closest associates is
gravity …. The molecule is a world in itself, carrying with it all the ruling
sympathetic conditions which govern the greatest of the planetary masses. It
oscillates within its etheric rotating envelope with an inconceivable
velocity, without percussing its nearest attendant, and is always held within
its sphere of action by the fixed gravital power of its neutral centre, in the
same sympathetic order that exists between the planetary worlds. The
dissociation of aggregated molecules by intermolecular vibration does not
disturb even to an atomic degree these fixed neutral points. Each molecule
contributes its quota to the latent electrical force, which shows up by
explosion after its gathering in the storm clouds, and then it returns to the
molecular embrace it originally occupied. You may call this return,
absorption; but it gets there first during corpuscular aggregation, and comes
from there, or shows itself, during sympathetic disturbance of equilibrium.
There are three kinds of electricity, the harmonic and enharmonic, which,
with their leader, the dominant, form the first triple. Their sympathetic
associations evolve the energy of matter. The dominant is electricity
luminous, or propulsive positive. The harmonic, or the magnetic, which is
the attractive, with its wonderful sympathetic outreach, is the negative
current of the triune stream. The enharmonic, or high neutral, acts as the
assimilative towards the reinstatement of sympathetic disturbance. In
electric lighting, the velocity of the dynamos accumulates only the
harmonic current—by atomic and inter-atomic conflict—transferring one
two hundred thousandth of the light that the dominant current would give, if
it were possible to construct a device whereby it could be concentrated and
dispersed. But this supreme portion can never be handled by any finite
mode. Each of these currents has its triple flow, representing the true lines
of the sympathetic forces that are constantly assimilating with the polar
terrestrial envelope. The rotation of the earth is one of the exciters that
disturbs the equilibrium of these sensitive streams. The alternate light and
darkness induced by this motion helps to keep up the activity of these
streams, and the consequent assimilation and dissimilation. The light zone
being ever followed by the dark zone, holds the sympathetic polar wave
constant in its fluctuations. This fact may be looked upon as the foundation
of the fable that the world rests upon a tortoise. The rotation of the earth is
controlled and continued by the action of the positive and negative
sympathetic celestial streams. Its pure and steady motion, so free from
intermitting impulses, is governed to the most minute mathematical nicety
by the mobility of the aqueous portion of its structure, i.e., its oceans and
ocean’s anastomosis. There is said to be a grain of truth in the wildest fable,
and herein we have the elephant that the tortoise stands on. The fixed
gravital centres of neutrality, the sympathetic concordants to the celestial
outreach, that exist in the inter-atomic position, are the connective
sympathetic links whereby the terrestrial is held in independent suspension.
We cannot say that this corresponds to what the elephant stands upon, but
we can say, “This is the power whereby the elephant is sympathetically
suspended.”
The Atom.
Sympathetic Outreach
The sympathetic envelope of our earth owes its volume and its activity
entirely to celestial radiating forces. Reception and dispersion are kept up
by atomic and inter-atomic conflict, as between the dominant and
enharmonic.
Silver represents the 3rd, gold the 6th, and platina the 9th, in their links of
association, one to the other, in the molecular range of their motions, when
submitted to vibratory impulses.
Magnetism is not polar negative attraction, any more than polar negative
attraction is magnetism; for polar negative attraction shows positive
sympathetic outreach, of a high order; which is a condition entirely foreign
to magnetism.
Hydrogen.
The horizon of matter, which has been thought to rest over attenuated
hydrogen, may extend to infinite reaches beyond, including stuffs or
substances which have never been revealed to the senses. Beings fashioned
of this attenuated substance might walk by our side unseen, nor cast a
shadow in the noon-day sun.—Hudson Tuttle.
Again, November 4th, Mr. Keely says: The proper system for the treatment
of cerebral differentiation is not yet known to the physician of to-day. The
dissimilarities of opinion existing, with regard to any case, are confounding.
When the true system is recognized, the vast number of physical
experimentalists, now torturing humanity, will die a natural death. Until this
climax is reached, physical suffering must go on multiplying at the same
ratio that experimentalists increase. Molecular differentiation is the fiend
that wrecks the physical world, using the seat of the cerebral forces as its
intermediate transmitter. It is the devastating dragon of the universe, and
will continue to devastate until a St. George arises to destroy it. The system
of equating molecular differentiation is the St. George that will conquer.
New York Truth, 15th May, 1890, in commenting upon Keely’s claims to
have “annihilated gravity and turned the mysterious polar current to a mill-
race,” continues: “I sincerely hope that Mr. Keely may prove, AS FROM
LATE DEVELOPMENTS HE IS LIKE TO DO, that the hidden spirit of the
Cosmos, which men call Deity, First Cause, Nature, and other sonorous but
indefinite names, has manifested itself to him; that the music of the spheres
is a truth, not an imagination, and that vibration, which is sight, hearing,
taste and smell, is in serious verity, all else. The fable of Orpheus and Arion
may have a foundation in actual physics, the harmonies that move our souls
to grief or joy as music, may be the same as those that govern and impel the
stars in their courses, cause molecules to crystallize into symmetry, and
from symmetry into life. Who shall say? If the accounts of Keely’s late
achievements be true, and they are honestly vouched for by men of
worth and note, then the secret is laid bare, the core of being is
opened out. In this age of dawning reason the candle cannot always be
hidden under a bushel; some enterprising hand will lift the obstruction and
let the light shine before men.”
Two years have nearly passed away since this was written, during which
time Mr. Keely has been engaged in perfecting his system for aerial
navigation. He has, one by one, overcome all obstacles, and so far gained
control, of the mysterious polar current, that he has been able to exhibit on
the thirds, or molecular graduation of the propeller of his air-ship, 120
revolutions in a minute; and on the sixths, or atomic graduation, 360
revolutions in a minute. He still has the etheric field to conquer; but those
who know how many years he has been making his mistakes stepping-
stones in his upward progress, surmounting obstacle after obstacle which
would have dismayed a less courageous soul, feel little doubt that he will
“make the race,” which he has timed for life, and reach the goal a
conqueror, notwithstanding he is still so often “handicapped.”
In using the word celestial, Keely refers to the air, in the same sense that
terrestrial refers to the earth.
Percival.
Browning.
Physics and chemistry walk hand in hand. Scientists cannot cut the tie that
joins them together in experimental science. Physics treats of the changes of
matter without regard to its internal constitution. The laws of gravitation
and cohesion belong to physical science. They concern matter without
reference to its composition. Chemistry makes us acquainted with the
constituents of the different forms of matter, their proportions and the
changes which they are capable of bringing about in each other. But
notwithstanding the lessons of the past, both chemistry and physics are
blind to what the future has in store for them. Scientists have erected
barriers to progress, building them so as to appear of solid masonry on the
ground of false hypotheses; but, when the hour is ripe, these will be swept
away as if by a cyclone, leaving not one stone on another. It was Boyle who
overthrew the so-called Aristotelian doctrine, and Paracelsus’s teachings of
the three constitutents of matter, disputed first by Van Helmont. Boyle
taught that chemical combination consists of an approximation of the
smallest particles of matter, and that a decomposition takes place when a
third body is present, capable of exerting on the particles of the one element
a greater attraction than is exercised by the particles of the element with
which it is combined. In this conjecture there is just a hint of the grand
potentialities in the unknown realm which is now being explored by Keely,
the discoverer of the order of vibration that releases the latent force held in
the interstitial spaces of the constituents of water; one order of vibration,
being more in sympathy with one of the elements of water than with the
other, possesses a greater attraction for that element and thereby raptures its
atoms, showing up new elements. Not all men of science are willing to
admit the atomic theory; although it explains satisfactorily all the known
laws of chemical combination. Dalton, accepting the teachings of the
ancients as to the atomic constitution of matter, was the first to propound a
truly chemical atomic theory; a quantitative theory, declaring that the atoms
of the different elements are not of the same weight, and that the relative
atomic weights of the elements are the proportions, by weight, in which the
elements combine. All previous theories, or suggestions, had been simply
qualitative. Berzelius, the renowned Swedish chemist, advancing Dalton’s
atomic theory, laid the foundation stones of chemical science, as it now
exists. Since his day, by the new methods of spectrum analysis, elements
unknown before have been discovered; and researchers in this field are now
boldly questioning whether all the supposed elements are really
undecomposable substances, and are conjecturing that they are not. On this
subject Sir Henry Roscoe says:—
What the chemist’s retort has failed to accomplish has been effected by the
discoverer of latent force existing in all forms of matter, where it is held
locked in the interstitial spaces, until released by a certain order of
vibration. As yet, the order of vibration which releases this force, has not
been discovered in any forms of matter, excepting in the constituents of
gunpowder, dynamite, and water. The Chinese are supposed to have
invented, centuries before the birth of Christ, the explosive compound
gunpowder, which requires that order of vibration known as heat to bring
about a rupture of the molecules of the nitre, sulphur, and charcoal, of
which it is composed. Dynamite requires another order of vibration—
concussion—to release the latent force held in the molecular embrace of its
constituents. The order of vibration discovered by Keely, which causes the
rupture of the molecular and atomic capsules of the constituents of water,
must remain—though in one point only—a secret with the discoverer, until
he has completed his system for science, and some one patentable
invention. Let physicists be incredulous or cautious, it matters not to him.
He has proved to his own satisfaction the actual existence of atoms and
their divisibility—and, to the satisfaction of thousands capable of forming
an opinion, the existence of an unknown force. Men of science have not
been in any haste to aid him, either with money or with sympathy, in his
researches; and he will take his own time to bestow upon them the fruit of
those researches.
Those who have not clear ideas as to the nature of elementary bodies—
molecules and atoms—may like to know that elements are defined as
simple substances, out of which no other two or more essentially differing
substances have been obtained. Compounds are bodies out of which two or
more essentially differing substances have been obtained. A molecule is the
smallest part of a compound or element that is capable of existence in a free
state. Atoms are set down, by those who believe in the atomic theory, as the
indivisible constituents of molecules. Thus, an element is a substance made
up of atoms of the same kind; a compound is a substance made up of atoms
of unlike kind.
Had Keely been better understood, science might have been marching with
giant strides across this unknown realm during the many years in which
men of learning have refused to witness the operation of the dissociation of
water, because one of their number decided, in 1876, that Keely was using
compressed air. Fixing bounds to human knowledge, she still refuses to
listen to the suggestion that what she has declared as truth may be as
grossly erroneous as were her teachings in the days when the rotation of the
earth was denied; this denial being based upon the assertions of all the great
authorities of more than one thousand years, that the earth could not move
because it was flat and stationary. Herodotus ridiculed those who did not
believe this. For two thousand years after the daily rotation of the earth was
first suggested, the idea was disputed and derided. The history of the past,
says General Drayson, who claims to have discovered a third movement of
the earth, teaches us that erroneous theories were accepted as grand truths
by all the scientific authorities of the whole world during more than five
thousand years.2 Although the daily rotation of the earth and its annual
revolution around the sun had been received as facts by the few advanced
minds, some five hundred years before Christ, yet the obstructions caused
by ignorance and prejudice prevented these truths from being generally
accepted until about three hundred years ago, when Copernicus first, and
afterwards Galileo, revived the theory of the earth’s two principal
movements. Human nature is the same as in the days when Seneca said that
men would rather cling to an error than admit they were in the wrong; so it
is not strange that General Drayson, as the discoverer of a third movement,
has not received the attention that he deserves, although his mathematical
demonstrations seem to be beyond dispute.
With Keely’s claim, that latent force exists in all forms of matter, it is
different; for it is susceptible of proof by experiment. In the days when the
sphericity of the earth was denied, for the asserted reason that the waters of
the oceans and seas on its surface would be thrown off in its revolutions
were it so, because water could not stay on a round ball, the statement could
not be disputed; the theory of the laws of gravitation being then unknown.
Copernicus and Galileo had nothing but theories to offer; consequently it
took long years to overcome the bigotry and the baneful influence of the
great authorities of the time. It is otherwise with Keely, who, for fifteen
years and more, has been demonstrating this discovery to thousands of men;
some of whom, but not all, were competent to form an opinion as to
whether he was “humbugging with compressed air,” or with a concealed
dynamo, or, still more absurd, with tricks in suction, as I asserted by a
learned professor.
Now that some of our men of science have consented to form their opinions
from observation, without interfering with the lines of progressive
experimental research which the discoverer is pursuing, there seems to be
no doubt as to the result; nor of the protection of the discovery by science.
Truth is mighty, and must in the end prevail over mere authority.
It has been said that we need nothing more than the history of astronomy to
teach us how obstinately the strongholds of error are clung to by
incompetent reasoners; but when a stronghold is demolished, there is
nothing left to cling to. Sir John Lubbock says:—The great lesson which
science teaches is how little we yet know, and how much we have still to
learn. To which it might be added, and how much we have to unlearn!
All mysteries are said to be either truths concealing deeper truths, or errors
concealing deeper errors; and thus, as the mysteries unfold, truth or error
will show itself in a gradually clearer light, enabling us to distinguish
between the two. It is now left for men of science to decide as to the nature
of the mysteries which Keely is slowly unfolding, and whether his
demonstrations substantiate his theories. They have been invited to follow
him in his experimental research, step by step; to bestow upon him
sympathy and encouragement, so long withheld, until he reaches that stage
where he will no longer need their protection. Then, if science is satisfied
that he has gained a treasure for her, in his years of dead-work, she must
step aside and wait patiently until he has fulfilled his obligations to those
who organized themselves into a company to aid him, long before she came
forward to interest herself in his behalf. Those men of science who have
refused to countenance this great work, even by witnessing experiments
made to prove the discovery of an unknown force, are men who attempt no
explanation of the miracles of nature by which we are surrounded,
assuming that no explanation can be given; but, as Bacon has said, he is a
bad mariner, who concludes, when all is sea around him, that there is no
land beyond.
If the multitude of so-called laws of nature could be resolved into one grand
universal law, would it not be considered a great step in the progress of
scientific knowledge? This is what our pioneer claims for his discoveries,
one law working throughout nature, in all things; for, as Macvicar says, the
productive and conservative agency in creation, as it exists and acts, does
not consist of two things, “idea” and “power”; but of a unity embracing
both, for which there is no special name. The relation between the Creator
and the Creation, the First Cause and what he has effected, is altogether
inscrutable; but intelligence acting analytically, as it cannot be kept from
doing, insists on these two elements in the problem, viz. idea and power.
“The law of the universe is a distinct dualism while the creative energies are
at work; and of a compound union when at rest.”
Here we have a clue to the Thirds, Sixths and Ninths of Keely’s theories, in
the operation of his polar negative attractor. The conception of the
Pythagoreans of music, as the principle of the creation’s order, and the
mainstay and supporter of the material world, is strictly in accordance with
the marvellous truths which are now being unfolded to science. Rightly
divined Browning when he wrote of
It is this principle which has been discovered by Keely. Let his theories be
disputed as they have been, and as they still may be, the time has come in
which his supporters claim that he is able to demonstrate what he teaches; is
able to show how superficial are the foundations of the strongholds to
which physicists are clinging; and able to prove purity of conditions in
physical science which not even the philosophers and poets of the past have
so much as dreamed of in their hours of inspiration.
Of him who will not believe in Soul because his scalpel cannot detect it,
Browning wrote:
But there are no boundaries set to knowledge in the life of the Soul, and
these discoveries reach out so far towards the Infinite, that we are led by
them to realize how much there is left for science to explore in the supposed
unfathomable depths of the etheric domain, whence proceeds the influence
that connects us with that infinite and eternal energy from which all things
proceed.
The attitude of willingness to receive truths, of whatever nature, now
manifested by men of science in regard to Keely’s experimental research, is
shared by all who are not “wise in their own conceit.” They stand ready to
welcome, while waiting for proof, the discovery of Darwin’s grand-niece,
Mrs. F. J. Hughes, as now demonstrated by Keely, viz., that the laws which
develop and control harmonies, develop and control the universe; and they
will rejoice to be convinced (as Keely teaches) that all corpuscular
aggregation absorbs energy, holding it latent in its embrace until liberated
by a certain order of vibration; that nature does not aggregate one form of
matter under one law, and another form of matter under another law. When
this has been demonstrated, to their entire satisfaction, they will
acknowledge that Faraday’s speculations on the nature of force and matter
pointed the way to Keely’s discoveries. Some broad-minded men have been
pursuing lines of research which give evidence of their desire to solve the
problem for themselves as to the mode of rupturing the atom, which science
declares to be indivisible. Before any great scientific principle receives
distinct enunciation, says Tyndall, it has dwelt more or less clearly in many
minds. The intellectual plateau is already high, and our discoverers are
those who, like peaks above the plateau, rise over the general level of
thought at the time. If, as Browning has said,
’Tis not what man does which exalts him, but what man would do,
surely this discoverer merits the sympathy and the admiration of all men,
whether he succeeds commercially or not, for his persistent efforts to make
his discoveries of use to the world. Keely has always said that scientists
would never be able to understand his discoveries until he had reached
some practical or commercial result. Only now he sees an interest
awakened among men of science, which is as gratifying to him as it is
unexpected. For the first time in his life, he is working with the appreciation
of men competent to comprehend what he has done in the past, and what
remains to be done in the future, without one aspiration on their part for
monetary results.
Foremost among these men was the late Joseph Leidy, Professor of Biology
in the University of Pennsylvania; but physicists were not satisfied to take
the opinion of this great man, because he was a biologist. What better
preparation than the study of the science of life could a man have to qualify
him for discriminating between laws of nature as conjectured by physicists,
and Nature’s operations as demonstrated by Keely?
1 It will be a matter of interest to those who have given attention to the laws of heredity
to know that John Ernst Worrell Keely is a grandson of a German composer, Ernst, who led
the Baden-Baden orchestra in his day; and that Keely’s experiments in vibration had their
origin in his knowledge of music, and were commenced in his childhood. ↑
2 See “Untrodden Ground in Astronomy and Geology.” ↑
CHAPTER XIX.
LATENT FORCE IN INTERSTITIAL SPACES—
ELECTRO-MAGNETIC RADIATION—MOLECULAR
DISSOCIATION.
Latent Force.
The question arises, How is this sympathetic power held in the interstitial
corpuscular condition?
If a bar of steel or iron is brought into contact with a magnet, the latent
force that the steel or iron is impregnated with is aroused, and shows its
interstitial latent action by still holding another bar. But this experiment
does not give the most remote idea of the immensity of the force that would
show itself on more progressive exciters. Enough alternate active energy
could be evolved, by the proper sympathetic exciter, in one cubic inch of
steel to do the work of a horse, by its sympathetic association with the polar
force in alternate polarization and depolarization.
This is the power that I am now getting under control (using the proper
exciters as associated with the mechanical media) to do commercial work.
In other words, I am making a sympathetic harness for the polar terrestrial
force: first, by exciting the sympathetic concordant force that exists in the
corpuscular interstitial domain, which is concordant to it; and secondly,
after the concordance is established, by negatizing the thirds, sixths, and
ninths of this concordance, thereby inducing high velocities with great
power by intermittent negation, as associated with the dominant thirds.
Again: Take away the sympathetic latent force that all matter is
impregnated with, the connective link between the finite and the infinite
would be dissociated, and gravity would be neutralized; bringing all visible
and invisible aggregations back into the great etheric realm.
Here let me ask, What does the term cohesion mean? What is the power that
holds molecules together, but electro-magnetic negative attraction? What is
the state that is brought about by certain conditions of sympathetic
vibration, causing molecules to repel each other, but electro-magnetic
radiation?
It must not be understood that the character of the action of the latent force
liberated from liquids and gases is the same, in its evolution, as that of the
latent force existing in metals. The former shows up an elastic energy,
which emanates from the breaking up of their rotating envelopes;
increasing, at the same time, the range of their corpuscular action: thus
giving, under confinement, elastic forces of an almost infinite character. By
liberation from the tube it is confined in, it seeks its medium of concordant
tenuity with a velocity greater than that of light.
In metals, the latent force, as excited by the same sympathizer, extends its
range of neutral sympathetic attraction without corpuscular rupture, and
reaches out as it were to link itself with its harmonic sympathizer, as long as
its exciter is kept in action. When its exciter is dissociated, its outreach
nestles back again into the corpuscular embrace of the molecular mass that
has been acted upon.4
This is the polar sympathetic harness, as between metallic mediums and the
polar dominant current,—the leader of the triune stream of the terrestrial
flow. (See Appendix II.)
If the evolution of the power of a volition be set down as one, what number
would that represent in the power evolved by such volition on the physical
organism? To answer this we must first be able, mentally, to get down to the
neutral central depths of the corpuscular atoms, where gravity ceases, to get
its unit; and in the second place we must be able to weigh it as against the
force physically evolved.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookultra.com