Monday, September 28, 2015

Lesson 3

Lesson 3 Input Functions. . .
lesson 2 မွာေတာ့ Activity ေပၚကို View ေတဘလို ေခၚထည့္ႏိုင္လဲဆိုတာကို ေျပာျပပီးပါပီ
Lesson 3 က ေတာ့ InputBox ေတကေန Value ေတကို ရယူႏိုင္တာကို ေျပာပါမယ္။
ံုပံုမွာ ေတာ့ View Panel မွာ Label တခုရယ္ Button တခုရယ္ကို ထည့္ေပးထားပါတယ္။ Event Panel ကို သြားရင္ Button Click မွာ
InputBox တခုနဲ႕ျပခိုင္းပီးေတာ့ ရလာတဲ႕ GetInput ကို
Label ရဲ႕ စာသားေနရာမွာ လွမ္းသံုးေပးတာကို ျမင္ႏိုင္ပါတယ္။
GetText တို႕နဲ႕
InPutBox အေၾကာင္းေတကို ေတာ့ App ထဲက Guide ေတမွာ ဖတ္ႏိုင္ပါတယ္။
if u need example sources - http://pc.cd/uV2rtalK



---------------------------------------------
Basic4Android Myanmar Programmers

No comments:

Post a Comment