Android Question Creating Dynamic View from a Table

Discussion in 'Android Questions' started by hibrid0, Jun 16, 2015.

  1. hibrid0

    hibrid0 Active Member Licensed User

    Hi everybody, I try to make some views loaded from a table create on Excel.

    My plan is show a form with a lot of labels, editboxes and buttons. In the table I try to define the text, text size, height, width and hint.
    The user put the answer and then save to a Xls file.

    The excel library has RowsCount, and with it I get the number of rows, but inside a for I compare with an IF if is button, label or edittext.
    Then if I set a number in rowcount on "For i=1 to RowsCount -1" my test not crash, but I dont get all views.

    How can I make it better?

    I upload an small project.
    suggestions, comments, improvements, and teasing are welcome

    I making it in base of this:

    http://www.b4x.com/android/forum/th...eved-from-a-database-php-mysql.48705/#content

    Libraries Requiered:
    http://www.b4x.com/android/forum/threads/read-write-excel-files-on-android.25632/
    http://sourceforge.net/projects/jexcelapi/files/jexcelapi/2.6.12/jexcelapi_2_6_12.zip/download

    jxl.jar from the last zip and copy to your B4A libraries.
     

    Attached Files:

    Last edited: Jun 16, 2015
  2. hibrid0

    hibrid0 Active Member Licensed User

    Solved problem, the label, button and edittext array make more bigger, no more!!

    For Sorex!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice