Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7531085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:05:11+00:00 2026-05-30T05:05:11+00:00

i am new App Developer with Titanium. i want to create a window base

  • 0

i am new App Developer with Titanium. i want to create a window base application. whose run on iphone or ipad or android platform.
When i run application on iphone than run properly, but when i run on Android than it show a msg (Unexpected Error) and after this it is close.

var win1 = Titanium.UI.createWindow({   
   backgroundColor : '#f0f0f0',      
}); 

var view1 = Titanium.UI.createView({    
height  : 100,  
width   : 100,  
backgroundColor : '#ff0000',
borderColor  : '#000',

}); 

var scrollView1 = Titanium.UI.createScrollView({    
contentHeight   : 150,  
backgroundColor : '#00ff00',

});

var abc = new Array();

abc[0] = 'images/img.png',

abc[1] = 'images/img1.png',

scrollView1.add(abc); 

view1.add(scrollView1); 

win1.add(view1);

win1.open();

how i add Array in my scroll view.
in array i store (images path)

please help me,

Thanks in advance,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:05:12+00:00Added an answer on May 30, 2026 at 5:05 am

    Try This,

    var array = new Array();
    array[0] = 'image path';
    array[1] = 'image path';
    
    for(a = 0; a<array.length;a++){
    var lab1            = Titanium.UI.createLabel({
       backgroundImage      : array1[a],
       height           : 75,
       width            : 75,
       backgroundColor          : '#712347',
       borderRadius         : '10',
       zIndex           : 11,
       });
    
    scrLabel.add(lab1);
    }
    

    I, Think this is supported, for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im new developer and making my firt iPhone app ,and i want to make
fairly new iPhone developer here. Building an app to send RS232 commands to a
The new Android in-app billing (http://developer.android.com/guide/market/billing/billing_testing.html) page says: To test in-app billing in an
hi i am a new android developer. In my app i have created a
I am a relatively new iPhone app developer so my knowledge is a little
I'm a newbie Android App Developer, also new with xml. I was just wondering
4 java developers are new to iPod Touch/iPhone app development. They have an idea
I am new to iphone development. I am trying to develop an alarm app,
I'm creating my first ROR application. Details: creating new app -> rails new simple_cms
Background: I am an intermediate web app developer working on the .Net Platform. Most

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.