android - Problems with layout -


i trying create own phone dialer scratch in eclipse android, did simple phone layout in xml numbers 0-9 , buttons/imagebuttons.

  • basically put buttons , imagebuttons , understand need call setonclicklistener() on them in java code. like:

    button no1 = (button) findviewbyid(r.id.button1); no1.setonclicklistener(new view.onclicklistener() 
  • i did <edittext on top of numbers (buttons , imagebuttons) display numbers. nothing come out when click. not sure miss out cause problem.

  • i did "settings" button in same xml file, upon clicking on button, toast pop out have couple of clickable icons. not sure on how it. did read tutorials mine seems not quite right.
  • hopefully if above-mentioned points can rectified, hope can try make sms characters unicode, can limit lets 50 characters etc.. that's still far-fetched me though. i'll in later part.

i did google research don't quite correct info bits , pieces here , there...

actually want create customized phone dialer intent install in mum's 2.1 froyo phone.

can advise me please? there sample code can check went wrong?

have class implement onclicklistener , make switch(arg0.getid()) , case each number pressed.

every time press number have edittext receive number , when press call button have call numbers in edittext.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -