Android Question NumberPicker

Discussion in 'Android Questions' started by fireday, Jul 25, 2015.

  1. fireday

    fireday Member Licensed User

    hi all

    where i can take NumberPicker, like on a picture ?
    [​IMG]

    and, pls, give link to tutorial on how to create my own control

    p.s. sry for my eng

    p.p.s. i already try to find solve by searching on forum
     
    Last edited: Jul 25, 2015
  2. fireday

    fireday Member Licensed User

    already found example of Custom View (CustomViewDemo in user guide)

    now i have first question, where is NumberPicker and another controls ?

    As I know NumberPicker its android API 11

    how i can use API controls ?
     
  3. NJDude

    NJDude Expert Licensed User

    You could search the forums for "views", HERE is what you're looking for.
     
    fireday likes this.
  4. fireday

    fireday Member Licensed User

    Last edited: Jul 26, 2015
  5. NJDude

    NJDude Expert Licensed User

    I think you should READ the thread I posted, the answer is there.
     
    fireday likes this.
  6. fireday

    fireday Member Licensed User

    sry, u all right, - i have troubles with attention in the analysis of the English text, my mistake

    good dialogs!

    but, i anyway want see basic android controls, how i can use it?

    [​IMG]
     
    Last edited: Jul 25, 2015
  7. fireday

    fireday Member Licensed User

    why no answer ?

    i think i have basic question - how to create API android controls? ...
    its very important, is it ?
     
  8. DonManfred

    DonManfred Expert Licensed User

    To create a control which does not exist you need to write a java wrapper/library which creates such a NEW view you want...

    No
     
    fireday likes this.
  9. fireday

    fireday Member Licensed User

    whats about this http://www.b4x.com/android/forum/threads/javaobject-library.34486/ ?

    You want say - NumberPicker is not helpful control??



    oh... I'm tired today. need to rest...
     
  10. DonManfred

    DonManfred Expert Licensed User

    With javaobject you can access views, yes. BUT the must exists and in fact there is no such view you could access.

    So i guess javaobject will not help here.

    Use two buttons. one for + one for - and a label between them... on + you increase the value shown, on # you decrease...
     
    fireday likes this.
  11. fireday

    fireday Member Licensed User

    I think - i probably understand, thx

    yes, i know. but its not good solution, becouse i need more then one control, and, in future maybe its need one more time
    how i can create own controls? i see u make many libs, cool libs! pls tell me how do it, and i will try to write NumberPiker lib and share it. thx
     
  12. DonManfred

    DonManfred Expert Licensed User

    RandomCoder and fireday like this.
  13. klaus

    klaus Expert Licensed User

    Look at chapter Class modules in the User's Guide.
     
    RandomCoder and fireday like this.
Loading...