Customization of native android components in Titanium appcelerotor

You must Login before you can answer or comment on any questions.

I am experienced android developer but newbie in Tiatanium appcelerator. I want to develop an android app using Titanium Appcelerator. My questions are as follows.

Can we customize the native android components(like RelativeLayout,Button,etc..) ? for example I want to develop some custom view like pull-to-refreshlistview by extending ListView class or I want my own custom ImageView by extending the ImageView class is it possible with appcelerator platform?

Can I create a my own mediaplayer/videoplayer using appcelerator platform?

NOTE :: I am using Titanium Studio IDE to develop my android apps.

1 Answer

Accepted Answer

Most Titanium components are highly customizable. Take a look to the Titanium UI API to see the properties of each component and try KitchenSink, the main Titanium demo sample. You can of course customize buttons, create mediaplayers and so on.

Moreover, if you are android developer, you can create your own native modules in Java to extend the Titanium capabilities in your projects, look for open source modules in GitHub or for commercial modules in the Appcelerator MarketPlace.

Specifically for the pull-to-refresh list view, not sure if is possible to do only with titanium or would require some native development.

— answered 10 months ago by Javier Rayon
answer permalink
3 Comments
  • Javier thanks for your answer but I didn't get understood what you are trying to say by mentioning below mentioned line

    "if you are android developer, you can create your own native modules in Java to extend the Titanium capabilities in your projects"

    — commented 10 months ago by Ashwin Bhanushali

  • Titanium let's you create pieces of code in native language (Java in case of android). You may want to do this to fill gaps in Titanium API. This pieces of code are called modules. There is an Android Module Development Guide, take a look to it.

    — commented 10 months ago by Javier Rayon

  • Thanks I appreciate your continuous support.

    — commented 10 months ago by Ashwin Bhanushali

Your Answer

Think you can help? Login to answer this question!