dashcode

iPhone web applications, templates, frameworks?

Does anyone have any good starting points for me when looking at making web pages/sites/applications specifically for viewing on the iPhone? I've looked at templates like the one Joe Hewitt has made, and also seen some templates I can purchase, which I haven't done yet. I figured someone else had already started on this track and decid...

Help on website optimization for iPhone

We re trying to work on making a mobile version for one of our asp.net web applications, however we would like to make iPhone specific. Are there any resources out there which provide best practice guidelines: UI Guidelines, any .net control libraries which are iPhone specific. Security guidelines - anything special that the iPhone ...

What are possible/good ways to prototype iPhone applications?

This is intentionally left broad. If you wanted to show users what iPhone/mobile applications could to for them. The more interactive the better, but it must be quick to build as you can't code up every idea. Let us assume real-time games are out of scope. Throw out ideas or state which approach would be best. Here are some of my id...

HTTP GET request in Javascript?

I need to do an HTTP GET request in JS, what's the best way to do that? Thanks EDIT: I need to do this in a Mac OS X dashcode widget ...

ready-to-use xmlRequest snippet returns status code 0 on a call

I'm creating a very basic dashcode widget. I'm using customized snippets from Apple: xmlRequest setup and xmlLoaded. Below is my code function sendURL(){ // Values you provide var textField = document.getElementById("searchqeue"); // replace with ID of text field var textFieldValue = textField.value; var feedURL = "feed...

Multiple Dashboard widget instances don't survive widget update. Any way to prevent this?

I've written a Mac OS X Dashboard to show the StackOverflow flair of yourself and other people. My problem is that whenever I update that widget to a new version, all previous instances are removed and a single new instance is created on the Dashboard. So if you previously followed the flair of 4 people you'll have to recreate the widge...

Where are Dashboard Widget preferences actually saved?

This is a followup question to my other widget-related question. I'd like to check what's actually written into the preferences of the widget. Where is that data actually stored? ...

Is it possible to create new widget instances from within a Dashboard widget?

This is a followup to this question. It seems to be impossible to to simply keep already configured dashboard widget instances. An alternative way would be to recreate previous instances. Is it possible to create new Dashboard widget instances from within another widget? I couldn't find anything about this topic, yet. ...

A Dashcode project without a Dashcode project package

Dashcode keeps source files in a ".dcproj" project file, which is really a package to OS X, which in turn is actually nothing more than a directory structure. I'd like to continue to use Dashcode but without the "convenience" of the ".dcproj" structure. Why? I want to... check the source code into Mercurial use TextMate when develop...

Can I use Dashcode to develop an application that can be sold in the app store?

Can I use Dashcode to develop an application that can be sold in the app store? ...

iPhone 3.0 SDK freely availible?

In the United States, is the iPhone 3.0 SDK freely available like how the iPhone 2.x SDK was? I have an application that I wrote in Dashcode and I would like to update it to see if it solves any of the bugs. ...

Dashcode List - OnClick

I have created a project in Dashcode, inserted a List control, enabled a dynamic list, created a JSON object and associated it with the control. The code looks like this ... var stations = { _rowData: ["Mitchelton", "Gaythorne", "Albion", "Central", "Burpengary", "Petrie", "Morayfield", "Caboolture", "Ferny Grove"], numbe...

Can I make my iphone app created in xcode into a web application?

I made an application for the iphone in Xcode, but as a result of recent developments, I now need to make it into a web application. I know that Dashcode creates web applications suitable for the iphone. Can I somehow import my Xcode project into Dashcode? Or can I use Xcode to make it into web app without completely re-writing the ...

Dashcode newbie question: Change a button's label programmatically

Hi all! I'm new to Mac OS X Dashboard developement. Now, I have a button with id b_start. When that button is clicked, I want the label of the button to change to "Round". Now I have tried these, but none of them work: document.getElementById("b_start").label = "Round"; document.getElementById("b_start").text = "Round"; document.getEl...

Slider in dashcode web app?

I am trying to make a web app in Dashcode that uses a range slider. I see that the code library has code for "get range slider value" and "set range slider value," but there is no range slider part. So how do I make a range slider? I'm very new to Javascript. ...

iPhone dashcode xmlhttprequest no response

I'm developing an iPhone web app with dashcode. My app runs fine when I browse it with the iphone simulator. When I deploy it to a web-server, I never get a response from XMLHttpRequests. Here's the code I use: function get(feedURL, handler) { var onloadHandler = function() { handler(xmlRequest); }; var xmlRequest = new XMLH...

Dashcode 3.0, data sources + non-form POST request?

Question in brief: In Dashcode 3.0, how do I tell a Data Source to send a POST request like: url: https://example.com/xml method: POST HTTPBody: <?xml version='1.0'?> <request command='list'> <parameter keyword='id' value='trogdor' /> </request> The new Dashcode 3.0 in Snow Leopard is fantastic....

how to prompt a numpad in an iphone web app?

I'm developing a web app for iphone using dashcode. I'm stuck where user needs to enter zip code or phone number and the app doesn't show the numpads but the regular keyboard. any help would be appreciated. thanks ...

First widget works in Dashcode but not when deployed

Hi all, My widget does not work once deployed even though it shows no errors in Dashcode. Apologies in advance for my inarticulartness with the terminology. I am a newbie. To create the widget, I deleted the default .js file and pasted the JavaScript plus XHTML into the HTML page and created the accompanying CSS file. The only code ...

iPhone web app from dashcode rss feed template works deployed on simulator but not on iphone

iPhone web app from dashcode rss feed template works deployed on simulator but not on iphone. The web app is deployed at; http://www.alila.se/wordpress/index.html If i run the simulator and enter that adress, it fetches the rss feed and displays it. Everything fine. When i enter the adress into my iphone, same os 3.1.2 as the simul...