Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

which approaches is best to support same code for both android and ios?

$
0
0

Hi All

Actually I am new to Titanium.

I have developed app for android using titnaium in window envronment.

Now I am trying to convert my existing app for IOS through titanium in mac envronment.

While executing same app in simulator UI totally changed.

After gone through some titanium guidlines , I am figure out approaches lke below

1.Keep all the .xml,.tss and .js files in platform folders like below image.

alt text

2.Keep required(limited) .xml,.tss and .js file in platform folders.

3.Write the code in golbal files like inside conroller/view/style folder files having condition based. like Controller Conditional code and View Conditional Code.

Can you help me out which approche is best for supporting both IOS and Android apps.

I want suppot common code for both IOS and andriod.

I want reduce the rework to develop the code for suppoting both IOS and anroid.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>