Welcome to the RareWire Community Board. Use the field below to add your own contribution or find answers in existing topics.
No similar topics found.
+1
Adding Sound to a map annotation
Ian,
I have figured out how to change images etc... Now I would like to be able to play an audio clip when i click the pin... played with the tag action and cant get it to work, program shuts down on click...
It is in my android app, if you want to look at wire...
Thanks
Greg
I have figured out how to change images etc... Now I would like to be able to play an audio clip when i click the pin... played with the tag action and cant get it to work, program shuts down on click...
It is in my android app, if you want to look at wire...
Thanks
Greg
+1
Answered
escaping single quotes
How do I escape the single quotes out of a text string so that I can put it into a SQL Database?
+1
PDF wont load...
I have a wire called android, dont know if you can see it, but I am creating an app for middle schoolers on quantrills raid. Making progress but now a pdf wont load, called the quantrillsraidmap... Do I have to put it on a panel?
+1
Answered
How can I modify version numbers?
I've got my Apple Developer Account and I've produced an ad-hoc build, but I've noticed that my app version number is 2.3.1. How can I tweak that? I'm not sure if it's a Studio thing or an Apple thing.
+1
Twitter API
I have found that some of the Twitter API calls are not working. I'll try to list them in this thread along with the error messages and any workarounds.
1. saved_searches/create
providertype="twitter"
source="https://api.twitter.com/1.1/saved_sea..."
Twitter Error: message: Could not authenticate you, code: 32
providertype="twitter"
source="https://api.twitter.com/1/saved_searc..."
Twitter Error: Could not authenticate with OAuth.
No Workaround Found.
1. saved_searches/create
<wire>
<datasources>
<datasource name="twitter-savesearch" source="" query="/" providertype="twitter"/>
</datasources>
<main>
<panel name="searchPanel" width="70%" height="10%" background="#FFFFFF" align="center" cornerradius="15" clip="yes" borderwidth="1" bordercolor="FFFFFF" >
<text name="saveButton" width="20%" height="100%" align="right" alignment="center" font="helvetica" background="2222AA" color="ffffff" size="14" text="Save" clip="yes" onclickup="SaveTwitterSearch" ></text>
<textfield name="SearchText" alias="FIELD" height="90%" width="75%" rightof="Searchicon" padding-left="3" valign="center" placeholder="Search" autocorrect="no" color="#000000" alignment="left" valignment="center"/>
</panel>
</main>
<actions>
<action name="SaveTwitterSearch">
<assign property="datasource:twitter-savesearch.source" value="https://api.twitter.com/1/saved_searches/create.json?query=[object:FIELD.encodedtext]" />
</action>
<action name="ActionTwitterSaveSearch" datasource="twitter-savesearch" datasourceevent="querycomplete">
<if lhs="[datasource:twitter-savesearch.1.errors]" operator="ne" rhs="">
<alert message="SS [datasource:twitter-savesearch.dataSourceResultCount] Twitter Error. 1: [datasource:twitter-savesearch.1.errors]"/>
</if>
<if lhs="[datasource:twitter-savesearch.1.error]" operator="ne" rhs="">
<alert message="SS [datasource:twitter-savesearch.dataSourceResultCount] Twitter Error. [datasource:twitter-savesearch.1.error]"/>
</if>
</action>
</actions>
</wire>
providertype="twitter"
source="https://api.twitter.com/1.1/saved_sea..."
Twitter Error: message: Could not authenticate you, code: 32
providertype="twitter"
source="https://api.twitter.com/1/saved_searc..."
Twitter Error: Could not authenticate with OAuth.
No Workaround Found.
+1
Answered
Can you display a PDF from a server (not locally stored)?
I want my app to grab a PDF off a webserver. I know that with the image tag, you have to use "source=" for local files and "url=" for remote hosted files. But in the pdf tag documentation "source=" is the only option listed. I've tried both but it doesn't want to show me my PDF. Any special tips?
+1
Answered
What's up with launch images and how do I get them to show up?
So I'm putting the finishing touches on an app and adding some app icons and launch images in the Studio. How do I tell the app to show the launch image on launch? How do I define how long it will stay up (or which element to wait for)? Just a general knowledge question...
+1
MAP usage
At CAPS we are creating an interactive app for a high school field trip. How can I make a GPS enabled map and use it? I have played with the map tutorial and cant get it to do what I want. IS there some sample wire to show how to for example annotate a map of Lawrence KS?
+1
Answered
Pagination Circles & Pager Dot Nav
Has anyone made Pagination Circles or Dot Navigation in Wire? This could be used when paginate="yes" on a \pager>, \list> or \tableview> object to display which page you are currently on or even to navigate between pages.
They are great for small cell phone screens because they don't take up a lot of space and let the user quickly visualize the number of pages and which one they are on.
They are great for small cell phone screens because they don't take up a lot of space and let the user quickly visualize the number of pages and which one they are on.
+1
Answered
Just checking on the status of the maps URL for the load tag
So I've been reading through the load tag documentation (http://content.rarewire.com/wordpress...) and it's pretty awesome. But I just wanted to check on the status of the maps URL. It says it's not working in iOS 6 yet, but I was wondering when it might, or if there was a workaround to open an address in the maps app.
+1
Using regionenter and regionexit on actions and datasources
Are these datasourceevents out of beta? If so, how do you use them? I am tinkering around with the map stuff and I can't seem to get it to work. I have tried:
And:
I can't seem to get either to work. Am I way off?
<wire>
<datasources>
<datasource name="geo" source="significant-change" query="something" providertype="location"/>
<datasource name="range" source="significant-change" 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:range.eventDuration" value="5"/>
<assign property="datasource:range.distanceFilter" value="5"/>
<assign property="datasource:range.location" value="on"/>
<assign property="datasource:range.regionenter" value="39.014426 -94.43163"/>
</sync>
</action>
<action name="enterregion" datasource="range" datasourceevent="regionenter">
<alert message="Entered Region" />
</action>
</actions>
</wire>
And:
<wire>
<datasources>
<datasource name="geo" source="significant-change" query="something" providertype="location"/>
<datasource name="range" source="significant-change" 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:range.region" value="39.014393 -94.431786 39.01427 -94.431454"/>
<assign property="datasource:range.eventDuration" value="5"/>
<assign property="datasource:range.distanceFilter" value="5"/>
<assign property="datasource:range.location" value="on"/>
</sync>
</action>
<action name="enterregion" datasource="range" datasourceevent="regionenter">
<alert message="Entered Region" />
</action>
</actions>
</wire>
I can't seem to get either to work. Am I way off?
+1
Answered
Display : Iphone or TV Screen
How to play the video in the TV Video out? (composite, VGA or HDMI)?.
And more : How to choose the display? I want sometimes show a picture, video or Text in the Iphone display, But using a TV Cable I want to show this things in the TV Screeen.
Thanks
Jorge
And more : How to choose the display? I want sometimes show a picture, video or Text in the Iphone display, But using a TV Cable I want to show this things in the TV Screeen.
Thanks
Jorge
+1
How do I delete files from my app?
Ok, so I've been playing with the capture tag and making images inside my app. But I'm sure it's starting to take up plenty of file space. It's easy to delete an app element, but how would I go about deleting an actual file that the app creates?
+1
Slow loading PDF
I have a couple of pdf's that are painting really slowly, slowly enough that users will abandon the content. Is there something I can do about it?
+2
Аяқталған
Tile Background Image
I created this code to tile the backgroud I found here:
http://subtlepatterns.com/simple-hori...
note: It only tiles horizontally and takes a few seconds to tile down the page.
http://subtlepatterns.com/simple-hori...
note: It only tiles horizontally and takes a few seconds to tile down the page.
<classes>
<class name="bgimage">
<image name="[param:name]" width="100%" height="4" source="images/shl.png" />
</class>
</classes>
<main>
<!-- background -->
<pager name="background" alias="BACKGROUND" ypos="0%" width="100%" lwidth="100%" height="100%" orientation="vertical" paginate="no" >
</pager>
</main>
<actions>
<action name="startup" oninit="yes">
<assign property="var:yback" value="120" />
<play action="addtobackground" />
</action>
<action name="addtobackground">
<if lhs="[var:yback]" operator="gt" rhs="0">
<create name="image[var:yback]" class="bgimage" target="BACKGROUND" />
<!--<alert message="imgH [object:BACKGROUND/image[var:yback].height] imgW [object:BACKGROUND/image[var:yback].width] h [object:BACKGROUND.height] w [object:BACKGROUND.width]"/> --> <!-- & [object:image[var:yback].heigth] -->
<assign property="var:yback" value="[eval:[var:yback]-1]" />
<play action="addtobackground" />
</if>
</action>
</actions>
Customer support service by UserEcho