JmolAndroid is moving along. We have a preliminary version that is working
on my Samsung Galaxy Tab 10.1
(By the way, Wow! Do I LOVE this little dual-core Galaxy. I am very happy I
didn't jump for an iPad now; this is a real computer, not just a large
iPhone!)
I'm starting to catch on to the tablet idea, and I do think there are some
interesting things we can do with Jmol in this context. For example, the
next thing I'll be adding is accelerometer support. So you should just be
able to shake the tablet to start the model spinning, that sort of thing.
We'll see!
Anyway, this is a neat little project for anyone who wants to help. We need
ideas as well as programming help. So far, we have:
-- menu items "Open" "PDB" "Mol" "Style" and "Command"
-- downloads from RCSB (PDB files) and NCI (by compound name)
-- automatic save of data files to the tablet
-- decent (though a bit slow) rendering.
I think it will take some thought to do this right. But I can imagine making
it quite a bit more interesting than standard app or applet. For example,
Mario has added the capability to search the PDB for an ID code or keyword.
This already looks very good. I've added loading of Mol files, and that
works very nicely as well. But we could do more interesting things, like
first display a page of information about the compound, including a drawing,
with links to useful locations such as Wikipedia and such, and then go to
the 3D rendering. It seems to me we might even be able to load a Proteopedia
page (via a WebView), display it with a JmolAndroid view rather than an
applet. I'm encouraged by this, from
http://developer.android.com/guide/webapps/webview.html:
Using JavaScript in WebView
If the web page you plan to load in your
WebView<http://developer.android.com/reference/android/webkit/WebView.html>use
JavaScript, you must enable JavaScript for your
WebView <http://developer.android.com/reference/android/webkit/WebView.html>.
Once JavaScript is enabled, you can also create interfaces between your
application code and your JavaScript code.
Doesn't that sound interesting??
Bob
On Thu, Oct 20, 2011 at 4:40 PM, Robert Hanson <[email protected]> wrote:
> Now that Mario and I have Jmol running on Android, it would be good to get
> a discussion going as to what to do with it. It's sort of an app and sort of
> an applet, and it certainly doesn't have to do exactly what the applet or
> the application do. What do you think would be good? Here is what it does
> now:
>
> -- user selects DOWNLOAD and indicates a PDB ID or other keyword
> --> list of PDB structures related to that query
> --> user picks one; Jmol displays with cartoons only; color structure
>
> -- user selects OPEN and indicates a file on the tablet
> --> file is loaded as above
>
> -- user selects one of a few standard styles
> --> model is rendered that way
>
> But that's just a starting point. What else do we want it to do?
>
> Bob
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users