<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
> 
<channel>
	<title>Appcelerator Developer Center Q&amp;A Unanswered Questions 20</title> 
	<atom:link href="http://developer.appcelerator.com/questions/feed/unanswered" rel="self" type="application/rss+xml" /> 
	<link>http://developer.appcelerator.com/questions/feed/unanswered</link> 
	<description>Appcelerator Developer Center Q&amp;A Unanswered Questions</description> 
	<lastBuildDate>Thu, 23 May 2013 20:14:35 -0700</lastBuildDate> 
	<pubDate>Thu, 23 May 2013 20:14:35 -0700</pubDate>
	<copyright>Copyright (c) 2008-2013 by Appcelerator Inc.</copyright>
	<webMaster>info@appcelerator.com</webMaster>
	<generator>Appcelerator Developer Center</generator>
	<ttl>5</ttl>
	<language>en</language>
	<item>
		<title>Alloy - property value -1 will cause syntax error in tss</title> 
		<link>http://developer.appcelerator.com/question/152753/alloy---property-value--1-will-cause-syntax-error-in-tss</link>
		<pubDate>Thu, 23 May 2013 03:59:59 -0700</pubDate>
		<dc:creator>Jiale He</dc:creator> 
				<category><![CDATA[alloy]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152753/alloy---property-value--1-will-cause-syntax-error-in-tss</guid>
		<description><![CDATA[See the code snippet below.

~~~
&quot;.line_title&quot;: {
	font: {
		fontSize: 18,
		fontWeight: &quot;bold&quot;,
		fontFamily: &quot;Arial&quot;
	},
	height: 25,
	shadowOffset: {
		x: 0,
		y: -1  //Cause syntax error. &quot;-1&quot; will suppress it
	},
	left: &quot;5%&quot;,
	textAlign: &quot;left&quot;,
	color: &quot;#000000&quot;,
	shadowColor: &quot;#FFFFFF&quot;
}
~~~

A bug?]]></description>
		<content:encoded><![CDATA[<p>See the code snippet below.
<pre class="javascript codeblock"><span class="st0">&quot;.line_title&quot;</span><span class="sy0">:</span> <span class="br0">&#123;</span>
    font<span class="sy0">:</span> <span class="br0">&#123;</span>
        fontSize<span class="sy0">:</span> <span class="nu0">18</span><span class="sy0">,</span>
        fontWeight<span class="sy0">:</span> <span class="st0">&quot;bold&quot;</span><span class="sy0">,</span>
        fontFamily<span class="sy0">:</span> <span class="st0">&quot;Arial&quot;</span>
    <span class="br0">&#125;</span><span class="sy0">,</span>
    height<span class="sy0">:</span> <span class="nu0">25</span><span class="sy0">,</span>
    shadowOffset<span class="sy0">:</span> <span class="br0">&#123;</span>
        x<span class="sy0">:</span> <span class="nu0">0</span><span class="sy0">,</span>
        y<span class="sy0">:</span> <span class="sy0">-</span><span class="nu0">1</span>  <span class="co1">//Cause syntax error. &quot;-1&quot; will suppress it</span>
    <span class="br0">&#125;</span><span class="sy0">,</span>
    left<span class="sy0">:</span> <span class="st0">&quot;5%&quot;</span><span class="sy0">,</span>
    textAlign<span class="sy0">:</span> <span class="st0">&quot;left&quot;</span><span class="sy0">,</span>
    color<span class="sy0">:</span> <span class="st0">&quot;#000000&quot;</span><span class="sy0">,</span>
    shadowColor<span class="sy0">:</span> <span class="st0">&quot;#FFFFFF&quot;</span>
<span class="br0">&#125;</span></pre>
A bug?</p>
]]></content:encoded>
	</item>
	<item>
		<title>how to access custom row(s) data via Alloy ?</title> 
		<link>http://developer.appcelerator.com/question/152697/how-to-access-custom-rows-data-via-alloy-</link>
		<pubDate>Wed, 22 May 2013 01:33:33 -0700</pubDate>
		<dc:creator>Angus Johnston</dc:creator> 
				<category><![CDATA[tableview]]></category> 
				<category><![CDATA[view]]></category> 
				<category><![CDATA[tableviewrow]]></category> 
				<category><![CDATA[row]]></category> 
				<category><![CDATA[alloy]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152697/how-to-access-custom-rows-data-via-alloy-</guid>
		<description><![CDATA[hi, ive tried many/multiple ways to get this to work but just cant as yet, so would appreciate anyone's assistance.

i have a view as follows :

~~~
&quot;LBProw.xml&quot;
&lt;Alloy&gt;
	&lt;TableViewRow id=&quot;LBProw&quot; &gt;
		&lt;ScrollableView id=&quot;sView&quot; &gt;
                	&lt;View id=&quot;view1&quot;  &gt;
                    		&lt;!-- static text labels on the row --&gt;
                    		&lt;Label id=&quot;LBPheading&quot; &gt;  &lt;/Label&gt;
                    		&lt;Label id=&quot;myLabel1&quot; &gt;      &lt;/Label&gt;
                    		&lt;Label id=&quot;myLabel2&quot; &gt;      &lt;/Label&gt;
                	&lt;/View&gt;                     
		&lt;/ScrollableView&gt;
	&lt;/TableViewRow&gt;
&lt;/Alloy&gt;
~~~

- adding rows to the table is working fine. 

- what i cant work out, is how can I loop through the previously created tableview rows, access the rows (custom) fields values, and then do something with those values. I need to access these rows (and their custom row fields) from a different JS file. 

eg.
somelogic.JS   &lt;--- loop thru the table view rows, retrieve the rows custom field values and then use those values (note that $.myTable is directly accessible from this JS file)

as an example, i tried using the following but could not work out how to get the individual rows custom fields values (the label values for &quot;LBPheading&quot;, &quot;myLabel1&quot;, &quot;myLabel2&quot;) :
http://www.appcelerator.com/
~~~
// loop thru the rows
for (i = 0; i &lt; $.myTable.data[0].rows.length; i++) {
	Ti.API.info('row #' + i);
	?? $.myTable.data[0].rows[i].????   &lt;== how can i get the rows (custom) field values ?
}
~~~

I think it has to do with the embedded ScrollableView and View, in the row - but I cant figure out how to reference the Label(s) within that structure.

Really appreciate any assistance/advice.]]></description>
		<content:encoded><![CDATA[<p>hi, ive tried many/multiple ways to get this to work but just cant as yet, so would appreciate anyone's assistance.</p>

<p>i have a view as follows :
<pre class="javascript codeblock"><span class="st0">&quot;LBProw.xml&quot;</span>
<span class="sy0">&lt;</span>Alloy<span class="sy0">&gt;</span>
    <span class="sy0">&lt;</span>TableViewRow id<span class="sy0">=</span><span class="st0">&quot;LBProw&quot;</span> <span class="sy0">&gt;</span>
        <span class="sy0">&lt;</span>ScrollableView id<span class="sy0">=</span><span class="st0">&quot;sView&quot;</span> <span class="sy0">&gt;</span>
                    <span class="sy0">&lt;</span>View id<span class="sy0">=</span><span class="st0">&quot;view1&quot;</span>  <span class="sy0">&gt;</span>
                            <span class="sy0">&lt;!--</span> static text labels on the row <span class="sy0">--&gt;</span>
                            <span class="sy0">&lt;</span>Label id<span class="sy0">=</span><span class="st0">&quot;LBPheading&quot;</span> <span class="sy0">&gt;</span>  <span class="sy0">&lt;/</span>Label<span class="sy0">&gt;</span>
                            <span class="sy0">&lt;</span>Label id<span class="sy0">=</span><span class="st0">&quot;myLabel1&quot;</span> <span class="sy0">&gt;</span>      <span class="sy0">&lt;/</span>Label<span class="sy0">&gt;</span>
                            <span class="sy0">&lt;</span>Label id<span class="sy0">=</span><span class="st0">&quot;myLabel2&quot;</span> <span class="sy0">&gt;</span>      <span class="sy0">&lt;/</span>Label<span class="sy0">&gt;</span>
                    <span class="sy0">&lt;/</span>View<span class="sy0">&gt;</span>                     
        <span class="sy0">&lt;/</span>ScrollableView<span class="sy0">&gt;</span>
    <span class="sy0">&lt;/</span>TableViewRow<span class="sy0">&gt;</span>
<span class="sy0">&lt;/</span>Alloy<span class="sy0">&gt;</span></pre>
- adding rows to the table is working fine.</p>

<ul>
<li>what i cant work out, is how can I loop through the previously created tableview rows, access the rows (custom) fields values, and then do something with those values. I need to access these rows (and their custom row fields) from a different JS file. </li>
</ul>

<p>eg.
somelogic.JS   &lt;--- loop thru the table view rows, retrieve the rows custom field values and then use those values (note that $.myTable is directly accessible from this JS file)</p>

<p>as an example, i tried using the following but could not work out how to get the individual rows custom fields values (the label values for &quot;LBPheading&quot;, &quot;myLabel1&quot;, &quot;myLabel2&quot;) :
http://www.appcelerator.com/<pre class="javascript codeblock"><span class="co1">// loop thru the rows</span>
<span class="kw1">for</span> <span class="br0">&#40;</span>i <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span> i <span class="sy0">&lt;</span> $.<span class="me1">myTable</span>.<span class="me1">data</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span>.<span class="me1">rows</span>.<span class="me1">length</span><span class="sy0">;</span> i<span class="sy0">++</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
    Ti.<span class="me1">API</span>.<span class="me1">info</span><span class="br0">&#40;</span><span class="st0">'row #'</span> <span class="sy0">+</span> i<span class="br0">&#41;</span><span class="sy0">;</span>
    <span class="sy0">??</span> $.<span class="me1">myTable</span>.<span class="me1">data</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span>.<span class="me1">rows</span><span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="sy0">????</span>   <span class="sy0">&lt;==</span> how can i get the rows <span class="br0">&#40;</span>custom<span class="br0">&#41;</span> field values <span class="sy0">?</span>
<span class="br0">&#125;</span></pre>
I think it has to do with the embedded ScrollableView and View, in the row - but I cant figure out how to reference the Label(s) within that structure.</p>

<p>Really appreciate any assistance/advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Titanium Studio keeps asking me to log in</title> 
		<link>http://developer.appcelerator.com/question/152780/titanium-studio-keeps-asking-me-to-log-in</link>
		<pubDate>Thu, 23 May 2013 12:27:58 -0700</pubDate>
		<dc:creator>K T</dc:creator> 
				<category><![CDATA[login]]></category> 
				<category><![CDATA[studio]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152780/titanium-studio-keeps-asking-me-to-log-in</guid>
		<description><![CDATA[This is 3.1.0 on OS X 10.8.3.

I've tried the suggestions (deleting .eclipse, etc.) from other, older Q&amp;As, but nothing has helped.

It's just an irritation to have to always typing in my email and password every. single. time. the IDE launches.]]></description>
		<content:encoded><![CDATA[<p>This is 3.1.0 on OS X 10.8.3.</p>

<p>I've tried the suggestions (deleting .eclipse, etc.) from other, older Q&amp;As, but nothing has helped.</p>

<p>It's just an irritation to have to always typing in my email and password every. single. time. the IDE launches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Uncaught exception in Ti.UI.Android.openPreferences()</title> 
		<link>http://developer.appcelerator.com/question/152781/uncaught-exception-in-tiuiandroidopenpreferences</link>
		<pubDate>Thu, 23 May 2013 12:33:29 -0700</pubDate>
		<dc:creator>K T</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[preferences]]></category> 
				<category><![CDATA[exception]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152781/uncaught-exception-in-tiuiandroidopenpreferences</guid>
		<description><![CDATA[Ever since upgrading to Titanium SDK 3.1.0, my Android build *sometimes* fails on a call to Ti.UI.Android.openPreferences():

~~~
E/TiExceptionHandler( 7640): (main) [44302,44302] ----- Titanium Javascript Runtime Error -----
E/TiExceptionHandler( 7640): (main) [0,44302] - In &lt;sourcefile&gt;.js:2000,19
E/TiExceptionHandler( 7640): (main) [0,44302] - Message: Uncaught Error: Java Exception occurred
E/TiExceptionHandler( 7640): (main) [0,44302] - Source: Ti.UI.Android.openPreferences();
~~~

I can dismiss the JS runtime error dialog, but of course the preferences page doesn't come up.

Again, this only happens some of the time.  But obviously I can't ship an update with this and will have to downgrade back to 2.x.

Has anyone else seen this?]]></description>
		<content:encoded><![CDATA[<p>Ever since upgrading to Titanium SDK 3.1.0, my Android build <em>sometimes</em> fails on a call to Ti.UI.Android.openPreferences():
<pre class="javascript codeblock">E<span class="sy0">/</span>TiExceptionHandler<span class="br0">&#40;</span> <span class="nu0">7640</span><span class="br0">&#41;</span><span class="sy0">:</span> <span class="br0">&#40;</span>main<span class="br0">&#41;</span> <span class="br0">&#91;</span><span class="nu0">44302</span><span class="sy0">,</span><span class="nu0">44302</span><span class="br0">&#93;</span> <span class="sy0">-----</span> Titanium Javascript Runtime Error <span class="sy0">-----</span>
E<span class="sy0">/</span>TiExceptionHandler<span class="br0">&#40;</span> <span class="nu0">7640</span><span class="br0">&#41;</span><span class="sy0">:</span> <span class="br0">&#40;</span>main<span class="br0">&#41;</span> <span class="br0">&#91;</span><span class="nu0">0</span><span class="sy0">,</span><span class="nu0">44302</span><span class="br0">&#93;</span> <span class="sy0">-</span> <span class="kw1">In</span> <span class="sy0">&lt;</span>sourcefile<span class="sy0">&gt;</span>.<span class="me1">js</span><span class="sy0">:</span><span class="nu0">2000</span><span class="sy0">,</span><span class="nu0">19</span>
E<span class="sy0">/</span>TiExceptionHandler<span class="br0">&#40;</span> <span class="nu0">7640</span><span class="br0">&#41;</span><span class="sy0">:</span> <span class="br0">&#40;</span>main<span class="br0">&#41;</span> <span class="br0">&#91;</span><span class="nu0">0</span><span class="sy0">,</span><span class="nu0">44302</span><span class="br0">&#93;</span> <span class="sy0">-</span> Message<span class="sy0">:</span> Uncaught Error<span class="sy0">:</span> Java Exception occurred
E<span class="sy0">/</span>TiExceptionHandler<span class="br0">&#40;</span> <span class="nu0">7640</span><span class="br0">&#41;</span><span class="sy0">:</span> <span class="br0">&#40;</span>main<span class="br0">&#41;</span> <span class="br0">&#91;</span><span class="nu0">0</span><span class="sy0">,</span><span class="nu0">44302</span><span class="br0">&#93;</span> <span class="sy0">-</span> Source<span class="sy0">:</span> Ti.<span class="me1">UI</span>.<span class="me1">Android</span>.<span class="me1">openPreferences</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></pre>
I can dismiss the JS runtime error dialog, but of course the preferences page doesn't come up.</p>

<p>Again, this only happens some of the time.  But obviously I can't ship an update with this and will have to downgrade back to 2.x.</p>

<p>Has anyone else seen this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>web view performance</title> 
		<link>http://developer.appcelerator.com/question/152746/web-view-performance</link>
		<pubDate>Thu, 23 May 2013 01:09:39 -0700</pubDate>
		<dc:creator>Pramod Rauniyar</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[webview]]></category> 
				<category><![CDATA[iphone]]></category> 
				<category><![CDATA[emulator]]></category> 
				<category><![CDATA[titanium]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152746/web-view-performance</guid>
		<description><![CDATA[I wanted to load my jquerymobile website into webview and the first page of the app itself includes ajax call to render the first page. 

so when I use web view to load the my site it takes long time and seems it loads page twice too.If I browse my page in the mobile browser it seems fine but when I wrapped with webview it seems too slow.
But in the emulator also it seems fine.

What can be done to improbe the performance with webview.]]></description>
		<content:encoded><![CDATA[<p>I wanted to load my jquerymobile website into webview and the first page of the app itself includes ajax call to render the first page.</p>

<p>so when I use web view to load the my site it takes long time and seems it loads page twice too.If I browse my page in the mobile browser it seems fine but when I wrapped with webview it seems too slow.
But in the emulator also it seems fine.</p>

<p>What can be done to improbe the performance with webview.</p>
]]></content:encoded>
	</item>
	<item>
		<title>android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. … run time error in titanium app</title> 
		<link>http://developer.appcelerator.com/question/152738/androiddatabasecursorwindowallocationexception-cursor-window-allocation-of-2048-kb-failed--run-time-error-in-titanium-app</link>
		<pubDate>Wed, 22 May 2013 22:43:25 -0700</pubDate>
		<dc:creator>Alok Gupta</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[database]]></category> 
				<category><![CDATA[sqlite]]></category> 
				<category><![CDATA[titanium]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152738/androiddatabasecursorwindowallocationexception-cursor-window-allocation-of-2048-kb-failed--run-time-error-in-titanium-app</guid>
		<description><![CDATA[android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb  failed. # Open Cursors=741 (# cursors opened by this proc=741) run time error in titanium app
this error come when execution time of query or coming data isti too large]]></description>
		<content:encoded><![CDATA[<p>android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb  failed. # Open Cursors=741 (# cursors opened by this proc=741) run time error in titanium app
this error come when execution time of query or coming data isti too large</p>
]]></content:encoded>
	</item>
	<item>
		<title>Remove Android &quot;Settings&quot; on Nav Bar</title> 
		<link>http://developer.appcelerator.com/question/152788/remove-android-settings-on-nav-bar</link>
		<pubDate>Thu, 23 May 2013 15:19:25 -0700</pubDate>
		<dc:creator>Peter Johnson</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[alloy]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152788/remove-android-settings-on-nav-bar</guid>
		<description><![CDATA[I have an Alloy app with a single window.  It is set to navBarHidden:true and fullscreen:true in both the XML window definition and .TSS styles.  On Android 4.2, the nav bar still shows, but more annoyingly there is a settings button (like a colon : but with three dots.)

Is there another way I should be removing the Nav Bar, and if it's just a bug, is there a way to remove the &quot;Settings&quot; button on the Nav Bar?]]></description>
		<content:encoded><![CDATA[<p>I have an Alloy app with a single window.  It is set to navBarHidden:true and fullscreen:true in both the XML window definition and .TSS styles.  On Android 4.2, the nav bar still shows, but more annoyingly there is a settings button (like a colon : but with three dots.)</p>

<p>Is there another way I should be removing the Nav Bar, and if it's just a bug, is there a way to remove the &quot;Settings&quot; button on the Nav Bar?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Titanium Studio crashes on Ubuntu 13</title> 
		<link>http://developer.appcelerator.com/question/152742/titanium-studio-crashes-on-ubuntu-13</link>
		<pubDate>Thu, 23 May 2013 00:34:36 -0700</pubDate>
		<dc:creator>luca capra</dc:creator> 
				<category><![CDATA[ubuntu]]></category> 
				<category><![CDATA[node]]></category> 
				<category><![CDATA[studio]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152742/titanium-studio-crashes-on-ubuntu-13</guid>
		<description><![CDATA[I've followed the various official instructions for setting up Studio but when I launch it it starts but the fails and closes.

It show Initializing ACS to 30% then crash saying SIGSEGV and creates an error dump.
Tried with java6, 7, openjdk7. Tried to update / downgrade node from 0.8 to 0.11 with no success.

Any hint?
Thank you]]></description>
		<content:encoded><![CDATA[<p>I've followed the various official instructions for setting up Studio but when I launch it it starts but the fails and closes.</p>

<p>It show Initializing ACS to 30% then crash saying SIGSEGV and creates an error dump.
Tried with java6, 7, openjdk7. Tried to update / downgrade node from 0.8 to 0.11 with no success.</p>

<p>Any hint?
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>401 Unauthorized request. App key stopped working.</title> 
		<link>http://developer.appcelerator.com/question/152771/401-unauthorized-request-app-key-stopped-working</link>
		<pubDate>Thu, 23 May 2013 09:13:53 -0700</pubDate>
		<dc:creator>Alena McCord-Estes</dc:creator> 
				<category><![CDATA[iphone]]></category> 
				<category><![CDATA[ios]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152771/401-unauthorized-request-app-key-stopped-working</guid>
		<description><![CDATA[I am using this key from 5 months ago. It was working fine. 
But It stopped working suddenly. please help me out.
It is giving this error message on each reqeust : &quot;401 Unauthorized request. Please provide a valid App key or Oauth key.&quot;]]></description>
		<content:encoded><![CDATA[<p>I am using this key from 5 months ago. It was working fine. 
But It stopped working suddenly. please help me out.
It is giving this error message on each reqeust : &quot;401 Unauthorized request. Please provide a valid App key or Oauth key.&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Scroll map automatic</title> 
		<link>http://developer.appcelerator.com/question/152787/scroll-map-automatic</link>
		<pubDate>Thu, 23 May 2013 14:18:07 -0700</pubDate>
		<dc:creator>Celio Azevedo</dc:creator> 
				<category><![CDATA[map]]></category> 
				<category><![CDATA[animation]]></category> 
				<category><![CDATA[scrollview]]></category> 
				<category><![CDATA[roll]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152787/scroll-map-automatic</guid>
		<description><![CDATA[I saw an app in a map that when I would select a country to go, for example I'm in the U.S., and selected the Brazil, it scrolls the map up to Brazil, even in animated form, sliding to the parents that I selected. And do not just play the position. I searched for something to do this animation but not found. can someone tell me how do I animate the transition between points on the map?

grateful]]></description>
		<content:encoded><![CDATA[<p>I saw an app in a map that when I would select a country to go, for example I'm in the U.S., and selected the Brazil, it scrolls the map up to Brazil, even in animated form, sliding to the parents that I selected. And do not just play the position. I searched for something to do this animation but not found. can someone tell me how do I animate the transition between points on the map?</p>

<p>grateful</p>
]]></content:encoded>
	</item>
	<item>
		<title>Potential Newbie - Java to JavaScript Advice Welcome</title> 
		<link>http://developer.appcelerator.com/question/152786/potential-newbie---java-to-javascript-advice-welcome</link>
		<pubDate>Thu, 23 May 2013 14:16:09 -0700</pubDate>
		<dc:creator>Jonathan Lonon</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[java]]></category> 
				<category><![CDATA[json]]></category> 
				<category><![CDATA[server]]></category> 
				<category><![CDATA[migrate]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152786/potential-newbie---java-to-javascript-advice-welcome</guid>
		<description><![CDATA[Background: Using Eclipse (Indigo) I have designed and made decent progress on an Android mobile app. The current design has two projects: 1) server app (the service piece to run on a centos-5-x86_64 OS) written in JAVA with a simple Restlet structure; and client app (also started in JAVA as Android project). In a nutshell, the client sends secure URI requests to the service and the service returns JSON items to the client. The client manipulates and displays information accordingly based on what is returned. The service piece is setup to install on a special dedicated Tomcat host with a MySQL database (both latest versions).

Desire: I want to take advantage of Appcelerator without losing most of the server-side investment and hopefully with the ability to auto-magically translate some client-side Java-based code to JavaScript (if required). I am assuming I can only use JavaScript based on what I have understood so far. It's hard to quickly summarize the question, but I hope the question below will be clear and that someone can give solid advice. Not looking for &quot;shot into the unknown&quot; types of answers. Really want to know feasible solutions (even if some changes, purchases, etc. required), based on real-world knowledge. I don't want to go too much farther than enhancing my JavaScript learning curve as, so far, it seems I will need to do at least that much.

Question: Has anyone had a similar start and successfully migrated from Java-based code to the JavaScript-based Appcelerator platform for the advantages of the Titatium life-cycle, tools, widgets, inherent cloud, cross-op/device releases, etc., and have suggestions regarding migrating my service and client code over?]]></description>
		<content:encoded><![CDATA[<p>Background: Using Eclipse (Indigo) I have designed and made decent progress on an Android mobile app. The current design has two projects: 1) server app (the service piece to run on a centos-5-x86_64 OS) written in JAVA with a simple Restlet structure; and client app (also started in JAVA as Android project). In a nutshell, the client sends secure URI requests to the service and the service returns JSON items to the client. The client manipulates and displays information accordingly based on what is returned. The service piece is setup to install on a special dedicated Tomcat host with a MySQL database (both latest versions).</p>

<p>Desire: I want to take advantage of Appcelerator without losing most of the server-side investment and hopefully with the ability to auto-magically translate some client-side Java-based code to JavaScript (if required). I am assuming I can only use JavaScript based on what I have understood so far. It's hard to quickly summarize the question, but I hope the question below will be clear and that someone can give solid advice. Not looking for &quot;shot into the unknown&quot; types of answers. Really want to know feasible solutions (even if some changes, purchases, etc. required), based on real-world knowledge. I don't want to go too much farther than enhancing my JavaScript learning curve as, so far, it seems I will need to do at least that much.</p>

<p>Question: Has anyone had a similar start and successfully migrated from Java-based code to the JavaScript-based Appcelerator platform for the advantages of the Titatium life-cycle, tools, widgets, inherent cloud, cross-op/device releases, etc., and have suggestions regarding migrating my service and client code over?</p>
]]></content:encoded>
	</item>
	<item>
		<title>PageFlip Module, change flip direction to top-bottom instead of left-right</title> 
		<link>http://developer.appcelerator.com/question/152783/pageflip-module-change-flip-direction-to-top-bottom-instead-of-left-right</link>
		<pubDate>Thu, 23 May 2013 13:17:09 -0700</pubDate>
		<dc:creator>Slim McKinsley</dc:creator> 
				<category><![CDATA[pageflip]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152783/pageflip-module-change-flip-direction-to-top-bottom-instead-of-left-right</guid>
		<description><![CDATA[With the Ti.PageFlip module (https://github.com/appcelerator/titanium_modules/tree/master/pageflip/mobile/ios) is it possible to change the flip direction from left and right to top and bottom? I want to flip pages from the top down to the bottom, or bottom up to the top.

If this functionality is not currently supported by the module, it would be great if a Titanium dev could respond to this post and comment on adding this functionality.]]></description>
		<content:encoded><![CDATA[<p>With the Ti.PageFlip module (https://github.com/appcelerator/titanium_modules/tree/master/pageflip/mobile/ios) is it possible to change the flip direction from left and right to top and bottom? I want to flip pages from the top down to the bottom, or bottom up to the top.</p>

<p>If this functionality is not currently supported by the module, it would be great if a Titanium dev could respond to this post and comment on adding this functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kickfolio and App Launch Demo app.js error</title> 
		<link>http://developer.appcelerator.com/question/152754/kickfolio-and-app-launch-demo-appjs-error</link>
		<pubDate>Thu, 23 May 2013 04:22:07 -0700</pubDate>
		<dc:creator>Ned Turner</dc:creator> 
				<category><![CDATA[error]]></category> 
				<category><![CDATA[simulator]]></category> 
				<category><![CDATA[app.js]]></category> 
				<category><![CDATA[kickfolio]]></category> 
				<category><![CDATA[applaunch]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152754/kickfolio-and-app-launch-demo-appjs-error</guid>
		<description><![CDATA[Hi All

I have signed up to release my app with https://applaunch.us/ any other good resources to get reviews and ratings please let me know.

Within their admin they have a service called kickfolio to allow users to demo the app within the press release. https://kickfolio.com/dashboard/app/mpJcLg

The problem i am having is when i follow the steps for titanium. http://docs.kickfolio.com/uploading/#appcelerator-titanium

~~~
cd ~/Library/Developer/Xcode/DerivedData/YourAppName/Build/Products/Debug-iphonesimulator/

tar Lcf temp.tar appname.app

mv temp.tar ~/Desktop

cd ~/Desktop

untar temp.tar

zip -r appname.app.zip appname.app
~~~

I always get a error 

Application Error

could not find the file app.js

Any help with this please i have contacted the developers and they have sent me this link https://github.com/pieceable/titanium-patches 

But i am not very confident on doing this without some advice from titanium devs??

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi All</p>

<p>I have signed up to release my app with https://applaunch.us/ any other good resources to get reviews and ratings please let me know.</p>

<p>Within their admin they have a service called kickfolio to allow users to demo the app within the press release. https://kickfolio.com/dashboard/app/mpJcLg</p>

<p>The problem i am having is when i follow the steps for titanium. http://docs.kickfolio.com/uploading/#appcelerator-titanium
<pre class="javascript codeblock">cd ~<span class="sy0">/</span>Library<span class="sy0">/</span>Developer<span class="sy0">/</span>Xcode<span class="sy0">/</span>DerivedData<span class="sy0">/</span>YourAppName<span class="sy0">/</span>Build<span class="sy0">/</span>Products<span class="sy0">/</span>Debug<span class="sy0">-</span>iphonesimulator<span class="sy0">/</span>
&nbsp;
tar Lcf temp.<span class="me1">tar</span> appname.<span class="me1">app</span>
&nbsp;
mv temp.<span class="me1">tar</span> ~<span class="sy0">/</span>Desktop
&nbsp;
cd ~<span class="sy0">/</span>Desktop
&nbsp;
untar temp.<span class="me1">tar</span>
&nbsp;
zip <span class="sy0">-</span>r appname.<span class="me1">app</span>.<span class="me1">zip</span> appname.<span class="me1">app</span></pre>
I always get a error</p>

<p>Application Error</p>

<p>could not find the file app.js</p>

<p>Any help with this please i have contacted the developers and they have sent me this link https://github.com/pieceable/titanium-patches</p>

<p>But i am not very confident on doing this without some advice from titanium devs??</p>

<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>how can i create a window with an arrow pointing in Appcelerator titanium</title> 
		<link>http://developer.appcelerator.com/question/152764/how-can-i-create-a-window-with-an-arrow-pointing-in-appcelerator-titanium</link>
		<pubDate>Thu, 23 May 2013 07:26:33 -0700</pubDate>
		<dc:creator>Mose Joseph</dc:creator> 
				<category><![CDATA[mobile, iphone , mac]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152764/how-can-i-create-a-window-with-an-arrow-pointing-in-appcelerator-titanium</guid>
		<description><![CDATA[I want to create a popup window with an arrow pointing to the calling object using javascript]]></description>
		<content:encoded><![CDATA[<p>I want to create a popup window with an arrow pointing to the calling object using javascript</p>
]]></content:encoded>
	</item>
	<item>
		<title>Alloy: Is there any way to have conditional code distinguishing between ad-hoc distribution and app store distribution?</title> 
		<link>http://developer.appcelerator.com/question/152765/alloy-is-there-any-way-to-have-conditional-code-distinguishing-between-ad-hoc-distribution-and-app-store-distribution</link>
		<pubDate>Thu, 23 May 2013 07:54:51 -0700</pubDate>
		<dc:creator>Mirco Vitr</dc:creator> 
				<category><![CDATA[adhoc]]></category> 
				<category><![CDATA[conditional]]></category> 
				<category><![CDATA[app store]]></category> 
				<category><![CDATA[alloy]]></category> 
				<category><![CDATA[env_production]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152765/alloy-is-there-any-way-to-have-conditional-code-distinguishing-between-ad-hoc-distribution-and-app-store-distribution</guid>
		<description><![CDATA[Hi, 

as far as I understand it, the alloy documentation states that you can use ENV_PRODUCTION to determine if the app was build for distribution - no matter if ad hoc or app store. Correct? 

(&quot;ENV_PRODUCTION : true if the current compiler target is built for production (running after a packaged installation)&quot;; http://docs.appcelerator.com/titanium/latest/#!/guide/Alloy_Controllers-section-34636384_AlloyControllers-ConditionalCode)

**Is there any way to distinguish between ad-hoc distribution and app store distribution?** The reason is that I would like to use other analytics methods for ad-hoc users than for app store customers...
Thank you!]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>as far as I understand it, the alloy documentation states that you can use ENV_PRODUCTION to determine if the app was build for distribution - no matter if ad hoc or app store. Correct?</p>

<p>(&quot;ENV_PRODUCTION : true if the current compiler target is built for production (running after a packaged installation)&quot;; http://docs.appcelerator.com/titanium/latest/#!/guide/Alloy_Controllers-section-34636384_AlloyControllers-ConditionalCode)</p>

<p><strong>Is there any way to distinguish between ad-hoc distribution and app store distribution?</strong> The reason is that I would like to use other analytics methods for ad-hoc users than for app store customers...
Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>ACS Push and custom sound</title> 
		<link>http://developer.appcelerator.com/question/152767/acs-push-and-custom-sound</link>
		<pubDate>Thu, 23 May 2013 07:58:35 -0700</pubDate>
		<dc:creator>Joucke Hempenius</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[sound]]></category> 
				<category><![CDATA[push notification]]></category> 
				<category><![CDATA[acs]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152767/acs-push-and-custom-sound</guid>
		<description><![CDATA[I'm having trouble playing a custom sound for my android push notifications.

Here's what I send:

~~~
{
	&quot;alert&quot;:&quot;i am your alert&quot;,
	&quot;title&quot;:&quot;i am your title&quot;,
	&quot;icon&quot;:&quot;your_icon&quot;,
	&quot;sound&quot;:&quot;your_sound.wav&quot;
}
~~~
the icon is working, it's located at `/platform/android/res/drawable-hdpi/your_icon.png` (for hdpi, my test phone).
the sound is not working, it's located at `/platform/android/assets/sound/your_sound.wav`

Where should the sound be, to make it work?]]></description>
		<content:encoded><![CDATA[<p>I'm having trouble playing a custom sound for my android push notifications.</p>

<p>Here's what I send:
<pre class="javascript codeblock"><span class="br0">&#123;</span>
    <span class="st0">&quot;alert&quot;</span><span class="sy0">:</span><span class="st0">&quot;i am your alert&quot;</span><span class="sy0">,</span>
    <span class="st0">&quot;title&quot;</span><span class="sy0">:</span><span class="st0">&quot;i am your title&quot;</span><span class="sy0">,</span>
    <span class="st0">&quot;icon&quot;</span><span class="sy0">:</span><span class="st0">&quot;your_icon&quot;</span><span class="sy0">,</span>
    <span class="st0">&quot;sound&quot;</span><span class="sy0">:</span><span class="st0">&quot;your_sound.wav&quot;</span>
<span class="br0">&#125;</span></pre>the icon is working, it's located at <code class="codeblock codeblock-inline">/platform/android/res/drawable-hdpi/your_icon.png</code> (for hdpi, my test phone).
the sound is not working, it's located at <code class="codeblock codeblock-inline">/platform/android/assets/sound/your_sound.wav</code></p>

<p>Where should the sound be, to make it work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>App Key Suddenly Stopped Working and giving error message to all users</title> 
		<link>http://developer.appcelerator.com/question/152768/app-key-suddenly-stopped-working-and-giving-error-message-to-all-users</link>
		<pubDate>Thu, 23 May 2013 08:45:09 -0700</pubDate>
		<dc:creator>Alena McCord-Estes</dc:creator> 
				<category><![CDATA[iphone app key]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152768/app-key-suddenly-stopped-working-and-giving-error-message-to-all-users</guid>
		<description><![CDATA[When launching my app on all phones, I am receiving this error message - &quot;please provide a valid app key or oath key&quot;.  I have not changed any app keys since launch.  What should we do to correct this issue?]]></description>
		<content:encoded><![CDATA[<p>When launching my app on all phones, I am receiving this error message - &quot;please provide a valid app key or oath key&quot;.  I have not changed any app keys since launch.  What should we do to correct this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Error generating R.java from manifest with fresh install</title> 
		<link>http://developer.appcelerator.com/question/152776/error-generating-rjava-from-manifest-with-fresh-install</link>
		<pubDate>Thu, 23 May 2013 10:23:50 -0700</pubDate>
		<dc:creator>Kyle Parker</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[error]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152776/error-generating-rjava-from-manifest-with-fresh-install</guid>
		<description><![CDATA[I was having some problems previously with getting Kitchen Sink to run, so I did a fresh installation of the Android SDK. Currently I have SDK Tools, Platform-tools, and Build-tools installed, along with 4.2.2, 4.0, 3.0, and 2.2.

I have already gone through and created links for aapt.exe, and dx.bat from the build-tools folder to the platform-tools folder to resolve earlier errors I was having.

Now, I am stuck with &quot;Error generating R.java from manifest&quot;. I am running Titanium Studio as an administrator, and I have made sure that the package name matches the application ID &quot;com.appcelerator.kitchensink&quot;.

Considering I imported this directly from the Titanium Studio dashboard, I would assume it wouldn't be so hard to make it run.

Titanium Studio version 3.1.0 
Titanium SDK version 3.1.0

Any advice would be appreciated.]]></description>
		<content:encoded><![CDATA[<p>I was having some problems previously with getting Kitchen Sink to run, so I did a fresh installation of the Android SDK. Currently I have SDK Tools, Platform-tools, and Build-tools installed, along with 4.2.2, 4.0, 3.0, and 2.2.</p>

<p>I have already gone through and created links for aapt.exe, and dx.bat from the build-tools folder to the platform-tools folder to resolve earlier errors I was having.</p>

<p>Now, I am stuck with &quot;Error generating R.java from manifest&quot;. I am running Titanium Studio as an administrator, and I have made sure that the package name matches the application ID &quot;com.appcelerator.kitchensink&quot;.</p>

<p>Considering I imported this directly from the Titanium Studio dashboard, I would assume it wouldn't be so hard to make it run.</p>

<p>Titanium Studio version 3.1.0 
Titanium SDK version 3.1.0</p>

<p>Any advice would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Why the keystore file i create doesn't work at all?</title> 
		<link>http://developer.appcelerator.com/question/152777/why-the-keystore-file-i-create-doesnt-work-at-all</link>
		<pubDate>Thu, 23 May 2013 11:00:20 -0700</pubDate>
		<dc:creator>Manoj Kumar M</dc:creator> 
				<category><![CDATA[android]]></category> 
				<category><![CDATA[build]]></category> 
				<category><![CDATA[packaging]]></category> 
				<category><![CDATA[apk]]></category> 
				<category><![CDATA[keystore]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152777/why-the-keystore-file-i-create-doesnt-work-at-all</guid>
		<description><![CDATA[I'm building an android app and it has no error and i can debug it both on emulator and device without any problem. When i try to get the package with a keystore created with in titanium sdk using android keystore generator, the APK is failed to install on on device. For now i'm using (Default Dev - Keystore)[http://developer.appcelerator.com/question/123704/what-keystore-does-titanium-studio-use-to-build-android-app-during-development] in titanium for distribution. I'm sure i gave 30 years validity and fill all required fileds then even check it on command line. Everything with keystore seems fine. But the APK built with that keystore is not installed on any device. When i open the APK on device it shows the permission window and when i press intall it tries to install and says &quot;[Application-Name] is not installed&quot;. Any idea about this issue?]]></description>
		<content:encoded><![CDATA[<p>I'm building an android app and it has no error and i can debug it both on emulator and device without any problem. When i try to get the package with a keystore created with in titanium sdk using android keystore generator, the APK is failed to install on on device. For now i'm using (Default Dev - Keystore)[http://developer.appcelerator.com/question/123704/what-keystore-does-titanium-studio-use-to-build-android-app-during-development] in titanium for distribution. I'm sure i gave 30 years validity and fill all required fileds then even check it on command line. Everything with keystore seems fine. But the APK built with that keystore is not installed on any device. When i open the APK on device it shows the permission window and when i press intall it tries to install and says &quot;[Application-Name] is not installed&quot;. Any idea about this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Is it possible to change config.adapter.type of alloy model programmatically during runtime?</title> 
		<link>http://developer.appcelerator.com/question/152772/is-it-possible-to-change-configadaptertype-of-alloy-model-programmatically-during-runtime</link>
		<pubDate>Thu, 23 May 2013 09:17:57 -0700</pubDate>
		<dc:creator>Mirco Vitr</dc:creator> 
				<category><![CDATA[sync]]></category> 
				<category><![CDATA[model]]></category> 
				<category><![CDATA[backbone]]></category> 
				<category><![CDATA[alloy]]></category> 
				<category><![CDATA[config adapter type]]></category> 
				<guid isPermaLink="true">http://developer.appcelerator.com/question/152772/is-it-possible-to-change-configadaptertype-of-alloy-model-programmatically-during-runtime</guid>
		<description><![CDATA[Hello everybody,
what I would like to do is to implement local caching of server data the following way:
1) Define my alloy model once with config.adapter.type = &quot;sql&quot; and create a singleton collection that is used by a tableview (local data storage)

2) Then to update data from the server, create a new instance of the model, change config.adapter.type of the collection instance to my own sync class (and set url property) and then fetch() data from server and add data to the local singelton collection.

Unfortunately, fetch() always fails (error callback). Isn't it possible to change config.adapter.type during runtime? (If I directly define the server settings in the model file, then it works, so it should not be the sync code.)

In my model\message.js I do:
~~~
...
adapter: {
	//LOCAL STORAGE:
	type: &quot;sql&quot;,
	collection_name: &quot;message&quot;,
			
	//SERVER STORAGE:
	//type: 'message_azure',  //custom sync adapter
	//// Passed parameter processed when beforeModelCreate is called
	//base_url: MyApp.ServerBaseUrl + '/api'
}
~~~

Then in controller code I would like to do something like:
~~~
	var messageFeed = Alloy.Collections.message; //access to our locally stored message collection which is defined in the alloy view file of our data-bound table view like this: &lt;Collection src=&quot;message&quot; /&gt;
	
var serverMessages = Alloy.createCollection(&quot;message&quot;);
serverMessages.config.adapter.type = &quot;message_azure&quot;;           
serverMessages.config.adapter.base_url = MyApp.ServerBaseUrl + '/api';    
serverMessages.config.adapter.collection_name = undefined;      
serverMessages.config.adapter.db_name = undefined;    
serverMessages.config.adapter.idAttribute = undefined;
              
serverMessages.fetch({
	success: function(collection,response,options){
	},
	error: function(collection,response,options){
		//this error callback is always called, fetch does not work
	}
});
~~~

Isn't that possible? If not, what is the best way to sync my server data with the local storage (there can be new, changed and deleted data on the server; the client can only change and delete)?

Thank you!]]></description>
		<content:encoded><![CDATA[<p>Hello everybody,
what I would like to do is to implement local caching of server data the following way:
1) Define my alloy model once with config.adapter.type = &quot;sql&quot; and create a singleton collection that is used by a tableview (local data storage)</p>

<p>2) Then to update data from the server, create a new instance of the model, change config.adapter.type of the collection instance to my own sync class (and set url property) and then fetch() data from server and add data to the local singelton collection.</p>

<p>Unfortunately, fetch() always fails (error callback). Isn't it possible to change config.adapter.type during runtime? (If I directly define the server settings in the model file, then it works, so it should not be the sync code.)</p>

<p>In my model\message.js I do:<pre class="javascript codeblock">...
<span class="me1">adapter</span><span class="sy0">:</span> <span class="br0">&#123;</span>
    <span class="co1">//LOCAL STORAGE:</span>
    type<span class="sy0">:</span> <span class="st0">&quot;sql&quot;</span><span class="sy0">,</span>
    collection_name<span class="sy0">:</span> <span class="st0">&quot;message&quot;</span><span class="sy0">,</span>
&nbsp;
    <span class="co1">//SERVER STORAGE:</span>
    <span class="co1">//type: 'message_azure',  //custom sync adapter</span>
    <span class="co1">//// Passed parameter processed when beforeModelCreate is called</span>
    <span class="co1">//base_url: MyApp.ServerBaseUrl + '/api'</span>
<span class="br0">&#125;</span></pre>
Then in controller code I would like to do something like:<pre class="javascript codeblock"><span class="kw2">var</span> messageFeed <span class="sy0">=</span> Alloy.<span class="me1">Collections</span>.<span class="me1">message</span><span class="sy0">;</span> <span class="co1">//access to our locally stored message collection which is defined in the alloy view file of our data-bound table view like this: &lt;Collection src=&quot;message&quot; /&gt;</span>
&nbsp;
<span class="kw2">var</span> serverMessages <span class="sy0">=</span> Alloy.<span class="me1">createCollection</span><span class="br0">&#40;</span><span class="st0">&quot;message&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
serverMessages.<span class="me1">config</span>.<span class="me1">adapter</span>.<span class="me1">type</span> <span class="sy0">=</span> <span class="st0">&quot;message_azure&quot;</span><span class="sy0">;</span>           
serverMessages.<span class="me1">config</span>.<span class="me1">adapter</span>.<span class="me1">base_url</span> <span class="sy0">=</span> MyApp.<span class="me1">ServerBaseUrl</span> <span class="sy0">+</span> <span class="st0">'/api'</span><span class="sy0">;</span>    
serverMessages.<span class="me1">config</span>.<span class="me1">adapter</span>.<span class="me1">collection_name</span> <span class="sy0">=</span> undefined<span class="sy0">;</span>      
serverMessages.<span class="me1">config</span>.<span class="me1">adapter</span>.<span class="me1">db_name</span> <span class="sy0">=</span> undefined<span class="sy0">;</span>    
serverMessages.<span class="me1">config</span>.<span class="me1">adapter</span>.<span class="me1">idAttribute</span> <span class="sy0">=</span> undefined<span class="sy0">;</span>
&nbsp;
serverMessages.<span class="me1">fetch</span><span class="br0">&#40;</span><span class="br0">&#123;</span>
    success<span class="sy0">:</span> <span class="kw2">function</span><span class="br0">&#40;</span>collection<span class="sy0">,</span>response<span class="sy0">,</span>options<span class="br0">&#41;</span><span class="br0">&#123;</span>
    <span class="br0">&#125;</span><span class="sy0">,</span>
    error<span class="sy0">:</span> <span class="kw2">function</span><span class="br0">&#40;</span>collection<span class="sy0">,</span>response<span class="sy0">,</span>options<span class="br0">&#41;</span><span class="br0">&#123;</span>
        <span class="co1">//this error callback is always called, fetch does not work</span>
    <span class="br0">&#125;</span>
<span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span></pre>
Isn't that possible? If not, what is the best way to sync my server data with the local storage (there can be new, changed and deleted data on the server; the client can only change and delete)?</p>

<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>