Welcome to the RareWire Community Board. Use the field below to add your own contribution or find answers in existing topics. 
+1

How do I go about creating in-app purchases and what do I need to know to do so?

thillsman 12 years ago updated by sovtek 11 years ago 5
+1
Answered

What type of databases can be used on a local level?

Luska72 11 years ago updated by icahill (Administrator) 11 years ago 1
+1

Is there a textfield + keyboard snippet I can use?

thillsman 12 years ago updated by icahill (Administrator) 12 years ago 1
I'm trying to make a generic textfield that allows the user to type with the native keyboard, but I'm not figuring it out with the documentation. Can you share a basic snippet to do so? Also, when text is entered, is it saved in [object:ALIAS.text]?

Thanks!
+1
Answered

Is there something different I need to do to handle negative numbers in if statements?

thillsman 12 years ago updated 12 years ago 4
I'm coming across a weird issue. I've got an eval statement calculating [var:firstnumber][var:operator][var:secondnumber] where firstnumber and secondnumber are both integers and operation is either + or -.

By using an alert, I can see what the numerical output of the eval statement is, and it's always correct. However, I have code like this:


<if lhs="[var:answer]" operator="e" rhs="4">
<assign property="object:ANSWER.text" value="four" />
</if>
<if lhs="[var:answer]" operator="e" rhs="-4">
<assign property="object:ANSWER.text" value="negative four" />
</if>


What's weird is that the wire puts "four" as the text value in the first instance, but doesn't put "negative four" in the second. In either instance, the alert box showing [var:answer] will show the correct answer: 4 or -4 depending on the situation.
+1
Answered

Dumbed down calculator

JohnWeez 12 years ago updated by icahill (Administrator) 12 years ago 11
Trying to make an educational game that uses counting where a series of sounds play then the user clicks the right object to play the sound the same number of times. Ive got the sounds and everything working great, but I'd like to add a counter that goes up by one every time the object is clicked. Tried using the sample calculator code but it seems a little too complicated for what I'm trying to do. Using a combination of and tags but can never get the desired value to display.
+1
Answered

Change the spotlight name of my during update.

steve 12 years ago updated by icahill (Administrator) 12 years ago 6
I'd like to shorten the name of the app as it appears on the ios desktop below the icon. I checked the apple developer forum and they said that you can do this by changing the bundle display name. Is this possible to adjust in the rarewire studio?
+1
Answered

Free in-app purchases?

steve 12 years ago updated by icahill (Administrator) 12 years ago 1
We want to make one of our in-app purchases free but it appears that itunes connect won't let you charge anything less than 99 cents for an in-app purchase. I'd just throw the in-app purchase into the main app but my main app is already over 90 MBs and the purchase is over 30 MBs so I think that is out. Does anyone have any ideas on how to tackle this?
+1
Answered

Httpmethod and text template to call web services

sstava 12 years ago updated by John Heryer 12 years ago 1
Are there details for the httpmethod attribute for the datasource tag? The documentation just has a "?" :)

Also, an example of using httpmethod in combination with texttemplate to call a webservice would be great!
+1
Answered

I'm having trouble with datasources. Any idea what I'm doing wrong?

thillsman 12 years ago updated by icahill (Administrator) 12 years ago 3
I'm working with using a datasource of an image RSS feed, but I can never get the images to appear. I've tried to distill the datasource gallery sample code to its bare essentials. Here's my code:


<wire>
<datasources>
<datasource name="gallery" source="" query="//item" providertype="xml" parsenamespaces="yes"/>
</datasources>
<styles>
</styles>
<classes>
<class name="image">
<image name="[param:index]" height="100%" align="center" valign="center" contain="yes" source="[param:sourceMain]" _page="[param:index]" />
</class>
</classes>
<main>
<panel name="slides" alias="SLIDES" width="100%" height="100%">
<list name="scroller" width="100%" height="100%" datasource="gallery" orientation="horizontal" paginate="yes" >
<object class="image" index="[param:dataSourceIndex]" sourceMain="[param:url]"/>
</list>
</panel>
</main>
<actions>
<action name="load" oninit="yes" >
<assign property="datasource:gallery.source" value="http://widget.stagram.com/rss/n/thillsman" />
<assign property="var:curPage" value="1"/>
</action>
</actions>
</wire>


The URLs for the images are located at rss/channel/item/url in this XML file: http://widget.stagram.com/rss/n/thill... but my code doesn't seem to find them. Any ideas?
+1
Answered

Do RareWire have Simulator?

mthuong 12 years ago updated by icahill (Administrator) 12 years ago 3
How can I run application on Simulator?
+1
Answered

Link to a url

dpdcreative 12 years ago updated 12 years ago 4
Using the tutorial code as a reference, we have been trying to get the weblink url and toolbar to appear. The tutorial worked when using the constitution pdf but not with our pdf.

How can we get the toolbar and url displaying?

Also can we link this directly to a pdf from our folders with the toolbar above?
+1
Answered

How do I make a youtube feed?

JohnWeez 12 years ago updated by icahill (Administrator) 12 years ago 6
Trying to implement videos in my picture/music gallery
+1
Answered

Using [eval:] within a list

steve 12 years ago updated by icahill (Administrator) 12 years ago 1
I'd like to use a list to grab an rss feed but I only want to grab something like the most recent 10 items. It looks like I can use [eval:] to do this but I'm not quite sure how. Also, if I want to allow the user to grab more items than the first ten, is the best method to create an action that would assign a different number to the [eval:] setup?

Thanks
+1
Answered

onpage

dpdcreative 12 years ago updated by icahill (Administrator) 12 years ago 1
Is it possible to reference multiple pages in onpage? For example not just page 2 but page 2, 3 and 4.
+1
Answered

Creating a more in depth gallery

JohnWeez 12 years ago updated by icahill (Administrator) 12 years ago 10
Using and trying to stack different galleries and sets of tiles vertically. Basically have the simple gallery that scrolls through tiles side to side but also be able to scroll down to another set of tiles. Cant seem to figure it out...
+1
Answered

Can't set style properties?

sstava 12 years ago updated by icahill (Administrator) 12 years ago 6
I am failing at changing style properties, except for background. I have included my code sample. Any help is appreciated. My goal was to make it look like the panel was pressed...then I got caught up in trying to change any style properties.



<wire>
<datasources>
</datasources>

<styles>
<style name="btn-style" borderwidth="2" bordercolor="ffffcc" shadowradius="5" shadowopacity=".5" shadowyoffset="5" background="ffff66" width="90%" height="80%" align="center" valign="center" cornerradius="20"></style>
<style name="btn-style-down" borderwidth="10" bordercolor="000000" shadowradius="0" shadowopacity="0" shadowyoffset="0" background="aabbcc" width="45%" height="45%" align="left" valign="center" cornerradius="20"></style>
</styles>

<classes>
</classes>

<main>
<panel name="styleChange" alias="STYLECHANGE" style="btn-style" onclickup="chg-style">
<text name="callus" text="Style Change" width="90%" height="90%" align="center" valign="center" alignment="center" size="18" font="helvetica">
</text>
</panel>
</main>

<actions>
<action name="chg-style">
<assign property="object:STYLECHANGE.background" value="aabbcc" />
<assign property="object:STYLECHANGE.cornerradius" value="5" />
<assign property="object:STYLECHANGE.shadowyoffset" value="0" />
<assign property="object:STYLECHANGE.shadowopacity" value="0" />
<assign property="object:STYLECHANGE.shadowradius" value="0" />
<assign property="object:STYLECHANGE.borderwidth" value="10" />
<assign property="object:STYLECHANGE.bordercolor" value="000000" />
<assign property="object:STYLECHANGE.width" value="45%" />
<assign property="object:STYLECHANGE.height" value="45%" />
<assign property="object:STYLECHANGE.style" value="btn-style-down" />
</action>
</actions>
</wire>


I saw that height is read-only. I am wondering if the others are as well. I couldn't get to the panel wire definition. It said the page didn't exist...so I thought I would post the question :)
+1
Answered

Is there a way to use an absolute path in a target attribute?

thillsman 12 years ago updated by icahill (Administrator) 12 years ago 1
All the documentation I've seen shows relative paths within the target attribute, but is there a way to write it absolutely, so elements throughout the wire can perform the same action, even if they aren't siblings (or by creating a second action)? Does that make sense?