Dashcode

Hi,
I'm totally stuck with creating a HTML widget.
In iBooks Author I placed a HTML widget.
Started Dashcode and created an empty dashboard widget (resulting in "Hello World" example).
Exported as ".wdgt" file.
When trying to import to my previously created HTML widget an error message popping up:
In German "Die HTML-Dashcode-Datei „TestWidget“ wurde nicht hinzugefügt. Sie erfordert unzulässigen Dateizugriff."
In English "The HTML-Dashcode-File "TestWidget“ has not been added. It required an illegal file access".
Any idea what I'm doing wrong?
Regards Berni

Repair permissions did the trick!

Similar Messages

  • Dashcode is not working in Mountain Lion. I tried updating to Xcode 4.4 and it still did not work . . .

    Dashcode is not working in Mountain Lion. I tried updating to Xcode 4.4 and it still did not work . . .
    I use dashcode for most of my coding needs, so it is very important to me!

    I have the same problem too. dashcode shows up in the finder but its just a question mark (see screenshot). Anyone found a way to address this?
    Thanks!

  • 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.

  • Dashcode no longer works with Lion

    Snow Leopard 64 with Dashcode - no problems.
    Updated to Lion - Dashcode now no longer works.
    Any ideas people?

    Found the 3.2 but wont works!
    I've extract and copied the 3.2 Simulator SDK right alongside the 4.3 (Path where I copied the 3.2 folder: Developer, Platforms, iPhoneSimulator.platform, Developer, SDKs),  but won't works! Now I have in Dashcode the option to switch to 3.2 (Ipad) but an error occurres when the ipad try to open: "The simulator can't find the SDK KIT. You need to reinstall it." :-(

  • How do you create a login page using dashcode for the iPhone's mobile safari that will transfer you to the next page?

         Hey I have created a login page in Dashcode for a mobile safari app (aka iphone web app) and I am having trouble since I can not find any useful info about multiple pages. I don't want to use a stack layout view because it is only a login page and I need to check with a database to make sure the user's login info is correct. Right now I have it set up so that it loads another iphone web app project once it validates the info.
         The only problem with this is I am having a good bit of trouble trying to pass values from my php code to javascript or html. For some reason calling the javascript inside the php code makes the actual code inside the app not be called and same with the echo statment for the html.
    So I would like to be able to create the app in this way:
    Login page > PHP > MS SQL > PHP > UNKNOWN (if I can't get the javascript or html to output both) > Secure info on the next page
         I believe It would be a lot easier if I had the option for a multiple page but instead I am having to load up an entirely new dashcode project. If anyone knows a better way please let me know. Or if anyone knows a link to good information on passing values from php to javascript, because I couldn't get any of the code I tried to work, I would really appreciate it.

    Addendum to previous reply:
    OK.  This is weird--but I should be used to that, and just grateful that it seems to work (for now).
    What I had done is FTPd some image files to my site using Filezilla, but when I had tried to access them, I was unsuccessful.  I am almost sure that I used the same url (and variations of it) as you suggested, namely,  http://mysite.verizon.net/username/filename , and it either did not work, or gave me the "Page under construction", or, in some cases asked me for my username and password.
    But, when I did it this time, it worked.  So I probably had something off, but I can now do what I want.
    By the way, if you'll permit another question, while on the site-builder site, it said that there was a "Web Photo Manager", and said that "To download the Web Photo Manager: Open the Site Builder application and go to the All My Sites page. Click on the Web Photo Manager link (listed under Advanced Building Tools )."  I can't find it--would you happen to know where it is?
    In any case, thanks a lot for all your help--it solved my problem. 

  • How to use Dashcode to make HTML Widgets in iBooks Author?

    I'm writing books on iBooks Author, and I got a problem:
    I wanna add some HTML Widgets to my books, and I was told I should use Dashcode to make them. So I downloaded the Xcode, but I don't know how to open the Dashcode on my Mac. I really hope someone could give me some lessons, I would be very grateful!

    Start here: iBooks Author: About HTML widget creation

  • How to create buttons and link them to various views in Dashcode?

    I am a big noob so try to make it easy to understand. How do get a button to link to a different view in Dashcode?
    e.g.
    Button 1 would link to view 1
    Button 2 would link to view 2 and so on.

    I Worked it out!
    I just added this code which is provided in the library.
    // Set the current view of a StackLayout
    var stackLayout = document.getElementById('stackLayout').object; // Replace with id of StackLayout
    stackLayout.setCurrentView('view2'); // Replace with id of new view (or the view element itself)

  • Implement the Application using DASHCODE

    Hi All,
    We have TimeTracker intra net software, where employee enter there daily project report times in that software. But some time employees are out of intra network, so they have to wait get in to network for enter there time. So can we achieve this kind of functionality using iPhone web Application i.e. DASHCODE tool where user can see there time entry and also able to enter there daily time on TimeTracker, so Employee is always get connect to TimeTracker.
    If yes, can you please tell me how to get connect to database and how to update that database using the dashCode and how to show that updated data back to on page.
    Thanks in advance
    Vikram

    Doesn't the bit of the docs you quoted - in particular the second point - kind of answer your own question?
    Adam

  • Dashcode quits at the startup, Incompatible library version

    Hi all, I'm on Snow Leopard (10.6.8) and I have a problem with Dashcode.
    It quits at the startup because:
    Dyld Error Message:   Library not loaded: /usr/lib/libcurl.4.dylib  
    Referenced from: /Applications/Utilities/Dashcode.app/Contents/MacOS/../Frameworks/CYKit.
    Reason: Incompatible library version: CYKit requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
    How do I do?
    Is it possible to update this Library?
    Sorry if the question is dummy, I'm totally newbie...
    thank you in advance for your help

    Hi! no one can give me some help? please...

  • Dashcode And iWeb(mobileme) upload problem

    Long story, short, I'm trying to make my Mobile Me Blog RSS feed into an iphone web app. In Dashcode I have the rss template set up and in the Application attributes URL Feed I have : http://web.me.com/username/MyAnnouncesments.rss.xml.
    I have already uploaded the site in iWeb.
    When I try uploading (deploying) the webapp in DashCode I get this error:
    The deploy domain “idisk.me.com” is different from “web.me.com” used by data source “feedDataSource”. This can cause the web application to not function properly.
    What is wrong? They are both mobile me hosted so I don't see the problem.
    How Do I fix this?

    For some reason, iWeb thinks I own the domain name www.katiehughes.com and tries to post the pages there.
    It doesn't actually try to "post the pages there." The only place it can post your pages is web.me.com/username, even when it says otherwise down at the bottom. So it really doesn't matter as far as what is happening to your site.
    But go to your MobileMe account settings/personal domain and delete anything which is in there. If nothing is there, you might put in a nonsense url and see if that will replace katiehughes, and then delete that later.

  • Custom Dashcode widget works fine on mac, but not in iBooks

    I wrote a dashcode widget that works fine on my mac but not in iBooks, what am I doing wrong?
    I am trying to create a widget that performs a specific calculation when the user inputs the 2 variables. However when I go to preview it on my iPad, the button that performs the calculation disapears. It is visible in the thumbnail, but once you launch to full size... bye bye...
    Help is appreciated. Are buttons not allowed?

    tk0us wrote:
    it sets the size of the widget when displayed as a widget full screen or whatever size the png is
    That is not correct. What sets the size of the widget when it runs is the canvas size of the widget, not Default.png.
    At the link below, you can find a widget with a Default.png of 140x200 pixels. When you run the widget, it displays at 900x607 pixels.
    http://www.triodia.com/staff/michi/drumming/RopeCalc.zip
    This demonstrates that Default.png has nothing to do with the size of the widget when it runs. Default.png need not even have the same aspect ratio as the widget canvas.
    Michi.

  • Dashcode for application like iPhone User Guide

    Apple's iPhone User Guide at http://help.apple.com/iphone/guide was created, at least in part, using Dashcode. This is evident when you examine the source code.
    However, I've not figured out what they might have used to create the XML files that make up the contents of the book. Lines like *<object type="CONTENTS" id="z129">* look like a Core Data database; I wonder if it's a custom Mac OS application they wrote to author the books.
    Does anyone know more about this? I'm trying to make a "Help" section for my iPhone app which has an embedded Safari web browser and would like to do something similar to the iPhone User Guide.

    It's not useless if you take the time to actually read it...
    To accomplish what you want, go into your contacts, open the contact, tap "Edit", scroll down until you see the field for "Ringtone". Tap it and choose the ringtone you want for that contact.

  • Dashcode DataSource Computed Properties/Bindings

    Hi guys. I've been working with Dashcode widgets for a while now, but since moving to 3.0 and being introduced to the Data Source/Binding model, I'm still unconvinced that it can do what I need it to. I've read through the documentation but it does not provide much in the way of any explanation.
    What I want to do it concatenate two input values from the XML results that I receive and place them into one field. I have tried binding two fields to one input, but that's not allowed. I have also investigated and considered creating my own transformer for the value, but this is only applicable to a single object.
    Is there a simple way to do this (I'd think) relatively common task? Perhaps I need to set up a binding for the entire object that is returned to create the new value? Still seems a bit much and a little unclear there. Any suggestions?

    I too need to create a computed field from a datasource, anyone have any information on how to do this?

  • Dashcode widget info button with eBooks Author on iPad

    I've created a simple widget using Dashcode. The widget work fine, both in Dashboard and in an eBook I created with iBooks Author, except for the standard info button.
    When I deploy the widget to my Dashboard, the info button works just fine, flips the widget over, and does all the right things.
    When I deploy the exact same widget into my eBook, the widget also works find, but the info button does not show. When I tap where the info button should be, a small rectangle the size of the button appears, but not the button image. Tapping on the rectangle does nothing.
    Does anyone know a solution for this?
    Thanks,
    Michi.

    You might try asking in one of the more general OS X forums.

  • Dashcode Podcast Widget coding

    I saw that Anomac had a problem with a Dashcode created widget, so I thought I would try:
    I created an RSS feed with no problem, but I am less successful with the podcast one. When I use Run, it always comes up with the same fault:
    "Object (result of expression load) does not allow calls" and refers to podcast.html, line 22
    That line shows me this"
    <body onload="load();" id="body">
    so I guess that something is missing in the parentheses. Could anyone make a suggestion, please?

    Hello G.M.C, I'm not familiar with enhanced podcasts or widgets but do you see any way to do something like this:
    window.size.x = image.size.x
    window.size.y = image.size.y
    (or maybe canvas.size etc)

Maybe you are looking for

  • How do I get rid of the unnecessary animations everywhere?

    I've just uopgraded and have found a few irritating animations i want to get rid of. In the past if I clicked a button there would a fraction of a delay and your command would happen, now you have to wait a good 2-3 seconds while the computer gears u

  • JSC - Javascript Exception in body onLoad

    I wasn't real sure where to post this question, but here goes: Does anyone know how I could perform a "less than" operation in Javascript in the <body onLoad=""> tag. I'm getting this error message: Exception Details: org.apache.jasper.JasperExceptio

  • Problems with XMLP's XSLT engine

    Hi, To work around the limitations of the XMLP's builtin crosstab support, I have included a XSL file like <?import: file:///C:MakeTheTable.xsl?> and used <xsl:call-template name="myTable"> to invoke the template and generate the XSL-FO directly. Now

  • How to dial phone number with extension using phoneCallTask ?

    Hi, Can we dial phone number with extension ? I mean suppose if there is auto answering machine where we need to dial some extension number after the beep, can we provide it with phoneCallTask.PhoneNumber property like we can do it in iphone ? Thanks

  • Starting up a New Verizon Contract for Iphone 4s

    So I've been wanting to switch carriers to Verizon and buy the Iphone 4S. The problem is, I want to be a familyshare plan and the rest of my family wants free new Verizon phones or whatever phone discounts Verizon has to offer as well. Will my family