Twoje komentarze

Make sure that you have set a target device from the settings page of your App. Without this one check, the App does not know what fusebox it is allowed to be installed on.

Have you had a chance to check out our fusebox tutorial?

http://content.rarewire.com/wordpress...
Ok a few things. First of all, I am testing this on an Ad-Hoc build. Also it seems as if a few of these properties need to be set using assign tags. This is something I will have to review in the documentation.

Here is a sample that works:


<wire>
<datasources>
<datasource name="geo" source="standard" query="something" providertype="location"/>
</datasources>
<main>
<map name="map" alias="MAP" width="100%" height="100%" datasource="geo" currentlocation="yes" showuser="yes"></map>
</main>
<actions>
<action name="setmaplocation" oninit="yes">
<sync>
<assign property="datasource:geo.eventDuration" value="5"/>
<assign property="datasource:geo.distanceFilter" value="5"/>
<assign property="datasource:geo.location" value="on"/>
<assign property="object:MAP.region" value="[object:MAP.gpslatitude] [object:MAP.gpslongitude] [object:MAP.gpslatitude] [object:MAP.gpslongitude]"/>
</sync>
</action>
<action name="updatedlocation" datasource="geo" datasourceevent="locationupdate">
<alert message="Location changed!" />
</action>
</actions>
</wire>
icahill@rarewire.com will work just fine.

The trouble here is that we have a panel over all the other objects so it is the first line of contact with a touch. We may have to consider another method if you want to use both action triggers. We could set it to ignore touches but then it wouldn't move onhover....hm.
Have you tried onclickup? Onclick will probably get overwritten. If that doesn't work, if you want to invite me to the portfolio I can have a look.
We actually just submitted a new version of fusebox that will contain release notes. I am going to get those placed into the Developer Resources section sometime in the near future as well. I will post an update here in the community when I do.
UPDATE:

In the default JS engine, you can use this JS function:

[eval:new Date().getTime();]

If you want to format it, you can use something like XDate or dateConverter to make it look pretty if you want to display it. I think dataConverter is in there by default as well. Ex. [eval: dateConverter('[datasource:news.[eval: [param:dataSourceIndex] + 1].pubDate]','mmmm dS yyyy') ]

Any converter will need to be added to your functions.html file.
Let's try a few more things.

First, change your source on the datasource from standard to Significant-Change.

Then you will also want to turn on your location tracking on the datasource. For testing you can just add it to the datasource as location="yes". This will drain the battery on the device if you leave it on all the time, so you probably only want to turn it on when you show the map or something and turn it off when you navigate away. See the assign below.


<assign property="datasource:Geo.location" value="on" />
It does work in 1.3!

I have updated the documentation to inclue capture.
http://content.rarewire.com/wordpress...

The path starts at the root, but since it is stored on a unique device, it doesn't really matter where you put it, the folder structure will be created and stored inside that individual app's files if it doesn't already exist. And since you can't access the file structure once the App is installed, it is kind of like an invisible file, only you can reuse the captured file in the App again.

To save to the camera roll. We haven't quite gotten there, but I will submit a request for that.
Can you show me the datasource tag you are using?

This feature is available in the WIRE engine 1.3, so we should be able to get it working for you.
Also if these images are in In-App purchases, then it will speed up those downloads as well.