Using Google GWT to create (Dashcode) widgets for iBook Author  I would like to embed interactive widgets in iBooks using iBookAuthor. The widgets in question started life in Java but GWT has allowed them to be converted to javascript and to run on web pa

I would like to embed interactive widgets in iBooks using iBookAuthor. The widgets in question started life in Java but GWT has allowed them to be converted to javascript and to run on web pages (for example, http://softoption.us/content/node/437 scroll to the bottom). In theory, iBookAuthor can bring in most html5, and much javascript. The technique is to wrap the html in a folder, with 2 extra files, a plist and a default png and then change the extension of the folder to ‘.wdgt’. This is the technique for making Dashboard widgets for the Mac, and Apple even have the Dashcode software to do it. So what you really do is to make a Dashboard widget, then iBookAuthor can import it.  So far, so good. And some  folk have been doing this, for example http://www.prweb.com/releases/2012/2/prweb9242432.htm http://www.panophoto.org/forums/viewtopic.php?f=64&t=10417&p=158330#p158423 However, if you start with GWT and create a single page with one button and a Hello World, compile it, and get the WAR file (I use Eclipse here)… the Safari browser and others will run it properly (even on an iPad). Then if you wrap it, a proper Dashboard widget is created, which runs properly on a Mac. Then if you go to iBookAuthor and put a custom widget in the Text, then drag it in. It is accepted by the text and shown as being there. However, if you use Preview to look at it on an iPad, it is gone (or was never there in the first place). Anyone any ideas on this? [And iBook Author seems to give no warnings.] The widget is at https://dl.dropbox.com/u/46713473/Test6.wdgt.zip I have bells and whistles that I’d like to get into an iBook!
Thanks for any insights.
Martin

I do have a little to add, which might help someone. Indeed, opening a blank page and dragging the widget straight in seems good in difficult cases. But, actually, I was also able to insert successfully from the Toolbar especially to blank pages. So, it may have been something to do with the columns and stuff like that. Anyway back then the insertion would show in iBooks Author but not in the Preview on the iPad. I moved on to actual Google Web Toolkit output javascript. Basically I had three at hand to try: a Hello World with a button which went straight it, one of moderate complexity, (for example with a built in Lisp interpreter), which also went straight in, and finally a more complex one that initially was rejected by iBook Author. Author complained that there was an unsupported media file (of course, Author does not tell you which one it is, that would be too easy). [Remember, this was a proper working Dashboard widget which could be installed on a Mac]. Among other things I had read remarks about .gif files. When looking through the GWT war directory at the actual javascript etc files, I noticed there were two gifs there one called ‘clear.cache.gif ‘  and a second one called  ‘0F89659FF3F324AE4116F700257E32BD.cache.gif’. (Now, there is obfuscation so the numbers here may be different from case to case.) The clear.cache.gif did not seem to be anything special. But the other one is an animation. It is three little boxes that twinkle (rather like a waiting spinning cursor).  So, I opened that file and saved it to itself (that picks the top frame of the animation and saves only that, leaving you with an unanimated gif). The resulting widget drags and drops into iBooks Author (and seems to work properly at a quick glance). So, if you are having trouble with ‘unsupported media files’ converting animated gifs into unanimated gifs might help in some cases.

Similar Messages

  • Can you use Google SketchUp to create 3D models for Motion

    Can Google's SketchUp Pro be used to create 3D models for use in Motion?
    I'm having problems finding the file types that SketchUp produces and Motion requires.
    Thanks for any help in this.

    Zaxwerks Pro Animator does a pretty good job of creating a 2 3/4D models.   That is it appears to be 3D as you move around the object until you cross the objects plane. Then it looks 2D.   Kinda like moving around particles that are set to 3D.
    ProAnimator would be alright but it's rather difficult to texture and I was just wondering if SketchUp Pro would be importable into Motion.
    Thanks for the responce.
    DH

  • Can I access a user guide for 5.1.1 while using my iPad?? I will not have the internet for 10 days so would like to download something.

    Can I access a user guide for 5.1.1 while using my iPad?? I will not have the internet for 10 days so would like to download something before I leave!

    Download the fee iBooks app from the app store if you don't already have it.  Then download the .pdf here: iPad User Guide (For iOS 5.1 Software).  Next, import it to your iTunes library (iTunes>File>Add to Library).  Then sync it to your iPad by selecting it on the Books tab of your iTunes sync settings and syncing your iPad.  It will availble in iBooks in the PDFs section (tap Collections on the top left, then tap PDF's).

  • HT2798 I have a Mac OS 10.6.8 server in my classroom that I have networked to each student's account.  How do I create a folder that allows them to place their finished assignments in it, but does not allow them to go in and remove anything from that fold

    I have a Mac OS 10.6.8 server in my classroom that I have networked to student accounts on the iMacs in the room.  How do I create a folder that allows studnts to place their finished assignments in it, but does not allow them to go in and remove anything from that folder?

    You want a "Drop Box" style folder. You should be able to achieve this by creating a folder and giving it permissions similar to the "Drop Box" folder in your users Public Folder (i.e. write only permissions.)

  • I have just bought a hdmi tv and would like to view very high quality images, using apple tv, stored on my external hard drive. I also have blue ray movies stored on my external hd. will i be able to stream these to my tv and view them in 1080p?

    I have just bought a hdmi tv and would like to view very high quality images, using apple tv, stored on my external hard drive. I also have blue ray movies stored on my external hd. will i be able to stream these to my tv and view them in 1080p?

    sorry, why isn't correct?
    i try convert video with quick time to apple tv, import in itunes( that's ok)  but is impossible to synchronize my apple tv ( unsupported file).
    where I wrong?
    please could you explain me the correct procedure?
    i have some video ( holiday movie an photo movie in mpeg2 full HD) to convert for apple tv, and from 2 years some video editing with imovie.
    normally I prepare my video with Imovie, create a file .mov full hd (like master)  and with roxio convert file for apple TV.
    apple world is new for me, after 25 years with microsoft!
    thank so much
    mauro

  • I took some videos using my iPhone 5c and uploaded them to my computer.  I can play the videos in iPhoto, but when I open them in QuickTime, they are dark and silent.  Why can't I see them in QuickTime?

    I took some videos using my iPhone 5c and uploaded them to my computer.  I can play the videos in iPhoto, but when I open them in QuickTime, they are dark and silent.  Why can't I see them in QuickTime?

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • I have created a new partition on the Mac HD for Lion as I would like to dual boot. Do I need to install Snow Leopard on that partition before installing Lion? If so, can I use one of my Time Machine backups to do this?

    I have created a new partition on the Mac HD for Lion as I would like to dual boot. Do I need to install Snow Leopard on that partition before installing Lion? If so, can I use one of my Time Machine backups to do this?

    zoominnana wrote:
    Can I set up 2 different time capsule backups? one for the lion partition and one for the snow leopard partition?
    No, you can't partition a Time Capsule's internal HD.  Both partitions will back up to the same sparse bundle. keeping the backups for each partition separate.
    Time Machine will not take the two OSX partitions as two different computers, but for best results, exclude the Snow Leopard drive from backups on the Lion partition, and exclude the Lion partition from backups on the Snow Leopard partition.
    There may be some files on the Lion partition that Time Machine on Snow Leopard won't like, among other things.  See #10 in  Time Machine - Frequently Asked Questions for details.

  • I have a 4 gen Time Caps. and a 2nd Gen Airport Extreme I would like to extend my TC network to use the Extreme for the purpose of having internet available to my TV box wired.  Is this possible and how to I get them to work together?

    I have a 4 gen Time Caps. and a 2nd Gen Airport Extreme I would like to extend my TC network to use the Extreme for the purpose of having internet available to my TV box wired.  Is this possible and how to I get them to work together?
    How can I get my Time Cap (TC 4 gen) to recognise my 2gen Airport Extreem (AE)
    Frank

    Thanks for the info, this really helps.
    Power up the AirPort Extreme for a few minutes, then hold in the reset button on the back of the Extreme for 10 seconds and release. Allow a full minute for the Extreme to restart to a slow, blinking amber light.
    It might be possible to use wireless to configure the Extreme, but I recommend using a wired connection. Temporarily, connect an Ethernet cable from your Mac to one of the LAN <-> ports on the Extreme.
    Click the AirPort icon at the top of the Mac's screen and wait a few seconds for a listing of New AirPort Base Station to appear. Just below that, click on  AirPort Extreme.
    The illustration below shows an AirPort Express. You will see AirPort Extreme on your screen.
    AirPort Setup will open up automatically and take a minute to analyze the network, then announce that the Extreme will be configured to extend the Time Capsule network.
    Enter a device name that you want to use for the Extreme and click Next
    Wait a minute while AirPort Setup configures things for you. When you see the message of Setup Complete, click Done.
    You can disconnect the Ethernet cable that you used for the set up now. Things should be working. The Extreme is providing additional wireless coverage the the Ethernet ports are enabled. You can connect to any port that you want since they all operate the same in this type of setup.

  • My mom helped me to create my iTunes account and load it with a 50$ gift card and now I wanted to purchase a one month subscription at the AYI dating web service but apple never let them take money from my account and I was declined,don't know why?

    My mom helped me to create my iTunes account and load it with a 50$ gift card and now I wanted to purchase a one month subscription at the AYI dating web service but apple never let them take money from my account and I was declined,don't know why?

    You have posted to the iTunes Match forum, which your question is not related to. I suggest you contact the web site from whom you wish to purchase the subscription.

  • I created a form for our band parents to fill out.  How are they able to save the forms as pdfs?

    I created a form for our band parents to fill out.  How are they able to save the forms as pdfs and be able to go back and view them?  I see the Save Submission-Enabled PDF on the Distribution page but there is no option when they go in to the first page of the form to save.
    Thank you very much for your help.

    If you are distributing a PDF using the save submission enabled pdf option, then respondents can save it using the Adobe Reader. They save it just like any other file - File menu -> save (or save icon on toolbar).
    Randy

  • I have an iphone 3gs, i bought it with the carrier Orange in Mauritius and i would like to know if it is possible to unlock the iphone so that i can use another carrier.

    i have an iphone 3gs, i bought it with the carrier Orange in Mauritius and i would like to know if it is possible to unlock the iphone so that i can use another carrier. thanks

    Only the carrier can authorise unlocking. You need to contact them.

  • How can I get a ai. file? I've made a drawing for a company who would like to use it on a shirt. But they need the ai file. I made it with adobe illustrator for ipad.

    How can I get the ai. file? I've made a drawing for a company who would like to use it on a shirt. But they need the ai file. I made it with adobe illustrator for ipad.

    Unfortunately logging into your account won't help, because then I don't have access to Illustrator.
    I was just trying around a little if you could share it with me, but unfortunately sharing doesn't seem to work with Draw files. You could try and find someone near you who also has an iPad and Illustrator and then try to send it to them via AirDrop. But I don't know if that actually shares the file or just a PNG.
    Maybe someone on the Draw forum has an idea how you could send the file to someone else.
    Adobe Illustrator Draw

  • How to create sql query for item master with operator LIKE with variables?

    hi all,
    How to create sql query for item master with
    operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
    Jeyakanthan

    Hi Jeyakanthan,
    here is an example (put the like statement into the where field)
    SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
    The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
    Regards Steffen

  • I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.   I have been searching every other day for over a month trying to find a fix in Windows Safari with n

    I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.
    I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy.  I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval.  Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
    Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
    the funny behaviour of the trackpad/cursor still persists. any suggestion???
    thanks again

  • I just upgraded to the latest software for my pages.  When I opened an old document it stripped out all the images I had in my tables.  How do I get them back

    I just upgraded to the latest software for my pages.  When I opened an old document it stripped out all the images I had in my tables.  How do I get them back

    Don't save. Close the documents.
    Pages '09 should still be in your Applications/iWork folder.
    Pages 5 will damage/alter older files, something Apple didn't tell its users.
    Pages 5 is a severely stripped down version with over 90+ features removed.
    We recommend trashing/archiving Pages 5 after Exporting any files you may have saved back to Pages '09.
    Also rate/review Pages 5 in the App store.
    Peter

Maybe you are looking for

  • Need help in unix regular expressions

    Hi All, I'm new to shell scripting. Please help me in achieving this I am trying to a find regular expression that need to pick a file with begin with the below format and mask variable is called in xml file. currently the script accepts: mask="CLIEN

  • Not able to login after installing htmldb 1.6

    I've got Oracle 10g 10.1.0.3 installed and a database up on Redhat AS 3.0. I installed htmldb 1.6 per the otn instructions, but it never actually allowed me to login, every time I hit the submit button on the login page, I got nothing. Tried it from

  • PI to genrate excel sheet as output

    Hello All, Interface is outbound. The mode of communicaiton from SAP ECC to SAP PI is through Proxy XML. And from SAP PI to Target application the mode of communication is Excel sheet. PI has to generate Excel sheet to the target system read.PI versi

  • Refurbished 15" 1.83  vs waiting for merom

    i'm on the fence guys and would appreciate any insight. after i ran a custom quartz composer test with both machines, i decided to go mbp over the mb. the online apple store has mbp's at a great price right now for 1599. i am thinking of pulling the

  • Internal drive locked

    I bought a new iMac in February this year and as a result my MacBook Pro has not been used since. I recharged the battery this week but when I tried to boot it up it would only partially start and then just shut itself down. I planned to give the Mac