Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toy Bluey Bingo
anil1961
Updated:
Monday at 3:55 PM
Colombo
Dahua POE Switch 8 Ports (DH-PFS3010-8ET-65)
hashaz2012
Updated:
Monday at 11:56 AM
Ad icon
Singapore V2Ray VPN for Tunneling
hu KANNA
Updated:
Friday at 10:01 AM
Dating Website & Online Chat Room
hotvideo
Updated:
Jul 30, 2026
DJI Mini 4 Pro Drone Combo Plus
Hawaka
Updated:
Jul 30, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Android Programmer කෙනෙක් වෙමු 03(GUI Designing )
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Gayan_BC" data-source="post: 13168675" data-attributes="member: 390099"><p><strong>Android Programmer කෙනෙක් වෙමු 03(GUI Designing )</strong></p><p></p><p style="text-align: center"><u><span style="font-size: 22px"><span style="color: DarkRed"><strong>[FONT=&quot]Android Programmer [/FONT]</strong><strong>[FONT=&quot]කෙනෙක් වෙමු [/FONT]</strong><strong>[FONT=&quot]<img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /> <img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /> 03 <img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" />[/FONT]</strong></span></span></u><strong>[FONT=&quot][/FONT]</strong></p><p> <strong>[FONT=&quot] [/FONT]</strong></p><p> <strong>[FONT=&quot]<span style="font-size: 22px"><span style="color: Navy">ඔ</span></span><span style="font-size: 15px"><span style="color: Green">න්න අද මම අපෙ කට්ටියට කියල දෙන්නයි යන්නේ කොහොමද <span style="color: DarkRed">android app</span> එකක මුලික කොටස් ටික සහ කොහොමද <span style="color: DarkRed">android</span> වලින් එකක්එහෙම නැත්නම් එකක් හදා ගන්නේ කියල බල්නයි.වැඩේ නම් හරිම ලෙසයි..පහසුයි..මම හිතනවා කටිටිය දැන් වැඩ පටන් අරන් කරගෙන යනවා ඇති කියල.මොනවා හරි ගැටළුවක් තියනවනම් අනිවරෙන් ඇ ගැන කියල මෙතනම පොස්ට් කරන්න කියල යාලුවෝ හැමෝගෙන්ම මම ඉල්ලා සිටිනවා.</span></span>[/FONT]</strong></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <span style="font-size: 18px"><span style="color: Blue"><strong>[FONT=&quot]වැඩි කතා ඕන නැහැ අපි එහනම් එක්මනින් වැඩේට බහිමුකො.මම ඔයාලට පහල දල තියන <span style="color: DarkRed">screen shot</span> එකෙන් මම ඔයාලට කියල දෙන්නම් <span style="color: DarkRed">android project</span> එකක් අපිට හම්බෙන මුලික කොටස් ටික මොනවද කියල..ඒවා වලින් සම්පුර්ණ අවබෝදයක් අරන් වැඩේට බහිමු.එතකොට අපිට පුලවන් වෙයි එක්මන් කරලා වැඩ ටික ඉස්සර හටම කරගෙන යන්න..අපේ එළකිරි සෙට් එකේ උනන්දුව සහ මේ වැඩේට තියන කැමැත්ත මත අපි ඉසරහටම විවිඩ මාතෘකා ඔස්සේ වැඩේ කරගෙන යමු..[/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></span></span></p><p> <span style="font-size: 18px"><span style="color: Blue"><strong>[FONT=&quot]එහෙනම් අපි දැන් වැඩේ කරගෙන යමු[/FONT]</strong></span></span></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <p style="text-align: center"><span style="font-size: 18px"><span style="color: DarkRed"><strong>[FONT=&quot]මම මුලින්ම ඔයාලට මම මේ නම් කරලා තියන ඒවා ටික මොනවද කියල දැනගන්න දානම්.[/FONT]</strong></span></span></p> <p style="text-align: center"><span style="font-size: 18px"><span style="color: DarkRed"><strong>[FONT=&quot]</strong></span></span></p> <p style="text-align: center"><span style="font-size: 18px"><span style="color: DarkRed"><strong>[/FONT]</strong></span></span></p> <p style="text-align: center"></p> <p style="text-align: center"></p> <p style="text-align: center"> <img src="http://img687.imageshack.us/img687/9300/eclips.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <span style="font-size: 15px"><span style="color: Navy"><strong>[FONT=&quot]01.මේක තමයි අපේ <span style="color: DarkRed">activity File</span> ටික අපි මොනවා හරි අපේ <span style="color: DarkRed">android app</span> එකට අදාලව ක්රියාකාරකමක් කර ගන්න ඕන නම් <span style="color: DarkRed">java file</span> එකක් මෙතන හදල තමයි වැඩේට බහින්න ඕන.මන් හිතනවා පැහැදිලි ඇති කියල.[/FONT]</strong></span></span></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <span style="font-size: 15px"><span style="color: Navy"><strong>[FONT=&quot]02.මෙතන තියෙනේ <span style="color: DarkRed">android</span> මගින් අපේ <span style="color: DarkRed">programme</span> එකට එහම නැත්නම් අපේ <span style="color: DarkRed">app</span> එකට අදලාව ස්වයං නිර්මාණය වන <span style="color: DarkRed">file</span> වගයක් අපිට තේරෙන විදිහට කියනවනම් “[/FONT]</strong><span style="color: #3F5FBF"><span style="font-family: 'Consolas'">/** Automatically generated file. DO NOT MODIFY */</span></span><strong>[FONT=&quot]” මෙන්න මේ තියන වචන ටික මෙහෙමම ඔයාලට ඔය <span style="color: DarkRed">file </span>එක <span style="color: DarkRed">open</span> කරාම (අදාල <span style="color: DarkRed">file</span> එක ලගට ගිහින්<span style="color: DarkRed"> double click </span>කලාම කර ගන්න පුළුවන්.)බලා ගන්න පුළුවන්.මන් හිතනවා දැන් නම් වැඩේ කට්ටියට තේරුම් යන්න ඇති කියල.[/FONT]</strong></span></span></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <strong>[FONT=&quot]<span style="font-size: 15px"><span style="color: Navy">03.මෙතන තියෙනේ අපේ වැඩවලට අදාලව ඕන කරන <span style="color: DarkRed">lib file</span> ටික.ඒවා ගොඩක් වෙලාවට projet එක හදනකොටම එයාල අපිට දෙනවා..අලුතෙන් <span style="color: DarkRed">projet</span> එකක් i<span style="color: DarkRed">mport</span> කරනකොට නම් අපිට ඒවා <span style="color: DarkRed">add</span> කර ගන්න වෙනවා ඇ දේවල් ගැන මම ඔයාලට දන ගන්න දානම්.ඇ වගේම ඔතන පහලින් තියන <span style="color: DarkRed">“assets”</span> එකටත් අපි කරන්න අපිට අවශ්ය අමතර දේවල් තියනවනම් දමා ගන්න එකයි. </span></span></strong></p><p><strong>[/FONT]</strong></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <span style="font-size: 15px"><span style="color: Navy"><strong>[FONT=&quot]04.මෙතනට තමයි අපි අපේ <span style="color: DarkRed">android app</span> එක කරාම අපේ <span style="color: DarkRed">phone</span> එකට දා ගන්න ඕන කරන <span style="color: DarkRed">file </span>(ඔය තියෙනේ <span style="color: DarkRed">.apk</span> එකක්) එක සහ ඊට අදාල වන දේවල් ඇත්නම් තියා ගන්නේ.[/FONT]</strong></span></span></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <span style="font-size: 15px"><span style="color: Navy"><strong>[FONT=&quot]05.මෙතැනත් ගොඩක් විශේෂ තැනක්.මෙතන තමයි අපි<span style="color: DarkRed"> GUI</span> එහෙම නැත්නම් <span style="color: DarkRed">graphical user interface </span>එකක් කරනකොට හරියට අලුතෙන් <span style="color: DarkRed">frame</span> එකක් <span style="color: DarkRed">add</span> කරනවා වගේ වැඩ වලට යොදා ගනු ලන තැන.මෙතන තියන [/FONT]</strong><span style="color: DarkRed"><strong>[FONT=&quot]drawable-hdpi[/FONT]</strong><strong>[FONT=&quot],[/FONT]</strong> <strong>[FONT=&quot]drawable-[/FONT]</strong><strong>[FONT=&quot]l[/FONT]</strong><strong>[FONT=&quot]dpi[/FONT]</strong><strong>[FONT=&quot],[/FONT]</strong> <strong>[FONT=&quot]drawable-[/FONT]</strong><strong>[FONT=&quot]m[/FONT]</strong><strong>[FONT=&quot]dpi[/FONT]</strong><strong>[FONT=&quot],[/FONT]</strong></span><span style="color: DarkRed"> <strong>[FONT=&quot]drawable-[/FONT]</strong><strong>[FONT=&quot]xhd[/FONT]</strong><strong>[FONT=&quot]pi[/FONT]</strong></span><strong>[FONT=&quot]<span style="color: DarkRed"> folders</span> වලට අපිට අවශ්ය කරන පින්තුර වගේ දේවල් දැන්මම එකිනෙකට වෙනස් [/FONT]</strong><strong>[FONT=&quot]<span style="color: DarkRed">resolution</span> [/FONT]</strong><strong>[FONT=&quot]වලින් අපිට පින්තුර අපේ android <span style="color: DarkRed">app</span> එකට <span style="color: DarkRed">add</span> කර ගන්න පුළුවන්.ඒ කියන්නේ එකම පින්තුරය උනත් මේ <span style="color: DarkRed">folders</span> වල දල අපේ වැඩේට යොදා ගානකොට ඊට අදාලව [/FONT]</strong><span style="color: DarkRed"><strong>[FONT=&quot]resolution[/FONT]</strong></span><strong>[FONT=&quot] වෙනස් වෙලා තමයි අපිට ලැබෙන්නේ..මන් කියනවට අමතරව දෙයක් මේවා වල තියනව නම් මෙතනම එක පොස්ට් කරන්න කියලත් මම ඉල්ලා සිටිනවා.අපි ඔය කිව කතාව තව ඉසරහට තියන පාඩමකින් පින්තුර ඇතුලත් කරලම බලමුකෝ..[/FONT]</strong></span></span></p><p></p><p><strong>[FONT=&quot][/FONT]</strong></p><p><strong>[FONT=&quot]</strong></p><p><strong>[/FONT]</strong></p><p> <span style="font-size: 15px"><span style="color: Navy"><strong>[FONT=&quot]06.මෙතන ටියෙනෙත් <span style="color: DarkRed">android</span> වල හදවත වගේ තැනක්.අපි හදන <span style="color: DarkRed">app </span>එකට අදාල වෙන තොරතුරු තියා ගන්න ඔතන තියන [/FONT]</strong><span style="color: DarkRed"><strong>[FONT=&quot]AndroidManifest.xml[/FONT]</strong></span><strong>[FONT=&quot] එක එහෙම යොදා ගන්නවා..ඒවා සේරම ගැන දැන් හොද අවදානෙන් මතකතියා ගන්න.ඒවා වලින් වැඩ කරන හැටි අපි ඉදිරි පාඩම් වලින් ඉගෙන ගනිමු.[/FONT]</strong></span></span></p><p><strong>[FONT=&quot]</strong></p><p><strong>[/FONT]</strong></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <span style="font-size: 15px"><span style="color: Navy"><strong>[FONT=&quot]07.මේ තියෙනේ ප්රදාන <span style="color: DarkRed">Activity java file</span> එක පිහිටලා තියන ආකාරය.ඇ ගැන පොදක් අවදානෙන් බලල අදහසක් ගන්න.මේ සේරමත් අපි <span style="color: DarkRed">app</span> එක හද ගතහම ස්වයං නිර්මාණය වන දේවල් තමයි.[/FONT]</strong></span></span></p><p></p><p></p><p><span style="font-size: 18px"><span style="color: DarkRed"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkRed"></span></span></p><p style="text-align: center"><span style="font-size: 18px"><span style="color: DarkRed"><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></span></span></p> <p style="text-align: center"> </p> <p style="text-align: center"><span style="font-size: 18px"><span style="color: DarkRed"><strong>[FONT=&quot]එහෙනම් අපි ඊලගට බලමු කොහොමද UI එකක් හද ගන්නේ කියල[/FONT]</strong></span></span></p><p></p><p></p><p></p><p><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></p><p> <strong>[FONT=&quot]<span style="font-size: 26px"><span style="color: Navy">ඔ</span></span><span style="font-size: 15px"><span style="color: DarkGreen">යාලට පස්වෙනි<span style="color: DarkRed">(5)</span> අංකය යටතේ මම විස්තර කරලා තියන තැන පෙනෙනවානේ..එතන තියන <span style="color: DarkRed">layout</span> කියන <span style="color: DarkRed">folder</span> එක ඇතුලේ තියන <span style="color: DarkRed">main.xml </span>එක මගින් තමයි අපි අපේ ප්රදාන වන <span style="color: DarkRed">gui</span> එක නිර්මාණය කර ගන්නේ.එතනට ගිහින් එක <span style="color: DarkRed">double click</span> කරලා බල්ලන්න.එතකොට පහත දැක්වෙන විදිහට <span style="color: DarkRed">open</span> වෙනවනේ..මම පෙන්වල තියන tag ඔබල මොකද වෙන්නේ බල්ලන.මෙතැනදී ඇත්තමට වෙන්නේ අපි නිර්මාණය කරන ලබන <span style="color: DarkRed">gui </span>එකට අදාලව <span style="color: DarkRed">xml file</span> එකක් හදා ගන්න එකෙයි<span style="color: DarkRed">.xml code</span> කරන්න දක්ෂයි නම් අපිට <span style="color: DarkRed">hard cord </span>කරලත් පුළුවන්.හැබෙයි ඊක අර අඩුව ටියනවකොට අතපුච්ඡ ගානවා වගේ වැඩක් තමයි.ඔයාල <span style="color: DarkRed">open</span> කර ගන්න තැන තියන <span style="color: DarkRed">Graphicl Layout tag</span> එකට ගහින් ඕන කරන දෙවල් අදාල දාගෙන ඔයාලගේ <span style="color: DarkRed">gui</span> එක ඔයාලට ඌන කරන විදිහට වෙනස් කර ගන්න පුළුවන්..ඕන කරන තැන වලින් <span style="color: DarkRed">componen</span>t තියා ගන්න බැරි නම් ඔයාලට පුළුවන් එතන තියන <span style="color: DarkRed">frame</span> එක උද <span style="color: DarkRed">right click</span> කරලා >> <span style="color: DarkRed">change layout</span> ගිහින් එතන තියන <span style="color: DarkRed">combo box</span> එකෙන් </span></span>[/FONT]</strong><span style="font-size: 15px"><span style="color: DarkGreen"><strong>[FONT=&quot]<span style="color: DarkRed">Absolute </span><span style="color: DarkRed">layout</span> [/FONT]</strong><strong>[FONT=&quot]කියන එක තෝරලා <span style="color: DarkRed">ok</span> කර ගන්න.ඊට පස්සේ ඉතින් බඩුම තමයි.ඔයාලට ඌනම තැනක <span style="color: DarkRed">componet</span> ටික තියල ලස්සනට <span style="color: DarkRed">gui </span>හදා ගන්න පුල්වන්.[/FONT]</strong><strong>[FONT=&quot] [/FONT]</strong><strong>[FONT=&quot]ඔයාලම කරලා හොද <span style="color: DarkRed">gui</span> ටිකක් නිර්මාණය කරන්කෝ..[/FONT]</strong></span></span></p><p></p><p></p><p style="text-align: center"></p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://img14.imageshack.us/img14/1786/mainhu.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"><span style="font-size: 15px"><span style="color: DarkGreen"><strong>[FONT=&quot][/FONT]</strong></span></span><strong>[FONT=&quot][/FONT]</strong></p><p> <strong>[FONT=&quot] [/FONT]</strong></p><p><strong>[FONT=&quot]</strong></p><p><strong>[/FONT]</strong></p><p> <span style="font-size: 12px"><span style="color: Indigo"><strong>[FONT=&quot]ඔයාල නිර්මාණය කරන <span style="color: DarkRed">GUI</span> කැමතිනම් අනිත් යටත් බලා ගන්න මෙතන <span style="color: DarkRed">post </span>කරන්න අමතක කරනත් එපා.මොනවා හරි ප්රස්නයක් උනොත් මෙතනම අහන්න..ඒ වගේම එලාග පාඩමෙන් අපිම හදා ගත්ත <span style="color: DarkRed">gui </span>එකක<span style="color: DarkRed">ට code</span> කරලා සරල l<span style="color: DarkRed">ogin</span> එකක් හදා ගන්නේ කොහොමද කියල බලමු.කැටිය මේක පොදක් අත පත ගාල හොදට පුරුදු වෙන්නකෝ.එතකොට අපිට වැදගත් විදිහට අපේ <span style="color: DarkRed">app</span> එක නිර්මාණය කර ගන්න පුළුවන්.[/FONT]</strong></span></span><strong>[FONT=&quot][/FONT]</strong></p><p> <strong>[FONT=&quot] [/FONT]</strong></p><p> <span style="font-size: 12px"><span style="color: DarkSlateGray"><strong>[FONT=&quot]එහනම් මම ගිය.<span style="color: DarkRed">bump</span> එකකින් මේ පාඩම් කරන් යන්න දෙන ඔයාලගේ සහය ගොඩක් වටිනවා.වෙලාව එකයි හතයි පාන්දර..මගේ හිතට තියන හොදම සතුට ඔයාල අරගෙන එන අලුත් අදහස් තායි.මගේ පරණ <span style="color: DarkRed">thread </span>වල ලින්ක් ටිකත් එහෙනම් මම ඔන් දැන්ම නොදැක්ක යට බලල වැඩේට අත ගහන්න.ඕනෑම අව්ලකදී <span style="color: DarkRed">pm</span> එකක් දල හරි අහන්න.කවදාවත් උදව් නොකර ඉන් නැහැ..හැමෝටම සුබම සුබ දවසක්..[/FONT]</strong></span></span></p><p></p><p></p><p><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /></p><p><span style="font-size: 12px"><span style="color: DarkSlateGray"><strong>[FONT=&quot][/FONT]</strong><strong>[FONT=&quot][/FONT]</strong></span></span></p><p> <span style="font-size: 12px"><span style="color: DarkSlateGray"><strong>[FONT=&quot] [/FONT]</strong></span></span></p><p><span style="font-size: 12px"><span style="color: DarkOrange"><strong>[FONT=&quot]මේ සම්බන්දයෙන් මගේ අනිත් thread වල link[/FONT]</strong></span></span></p><p><a href="http://www.elakiri.com/forum/showthread.php?t=1467420" target="_blank"><span style="font-size: 12px"><span style="color: DarkSlateGray"><strong>[FONT=&quot]</strong></span></span></a></p><p><a href="http://www.elakiri.com/forum/showthread.php?t=1467420" target="_blank"><span style="font-size: 12px"><span style="color: DarkSlateGray"><strong>[/FONT]</strong></span></span></a></p><p> <a href="http://www.elakiri.com/forum/showthread.php?t=1467420" target="_blank"><strong>[FONT=&quot] Android Programmer කෙනෙක් වෙමු 01[/FONT]</strong></a></p><p><a href="http://www.elakiri.com/forum/showthread.php?t=1468240" target="_blank"></a></p><p><a href="http://www.elakiri.com/forum/showthread.php?t=1468240" target="_blank"><strong>[FONT=&quot][/FONT]</strong></a></p><p><strong>[FONT=&quot]<a href="http://www.elakiri.com/forum/showthread.php?t=1468240" target="_blank">Android Programmer කෙනෙක් වෙමු 02</a></strong></p><p><strong>[/FONT]</strong></p><p> </p></blockquote><p></p>
[QUOTE="Gayan_BC, post: 13168675, member: 390099"] [b]Android Programmer කෙනෙක් වෙමු 03(GUI Designing )[/b] [CENTER][U][SIZE=6][COLOR=DarkRed][B][FONT="]Android Programmer [/FONT][/B][B][FONT="]කෙනෙක් වෙමු [/FONT][/B][B][FONT="]:lol::lol::lol: :lol: 03 :lol::lol::lol:[/FONT][/B][/COLOR][/SIZE][/U][B][FONT="][/FONT][/B][/CENTER] [B][FONT="] [/FONT][/B] [B][FONT="][SIZE=6][COLOR=Navy]ඔ[/COLOR][/SIZE][SIZE=4][COLOR=Green]න්න අද මම අපෙ කට්ටියට කියල දෙන්නයි යන්නේ කොහොමද [COLOR=DarkRed]android app[/COLOR] එකක මුලික කොටස් ටික සහ කොහොමද [COLOR=DarkRed]android[/COLOR] වලින් එකක්එහෙම නැත්නම් එකක් හදා ගන්නේ කියල බල්නයි.වැඩේ නම් හරිම ලෙසයි..පහසුයි..මම හිතනවා කටිටිය දැන් වැඩ පටන් අරන් කරගෙන යනවා ඇති කියල.මොනවා හරි ගැටළුවක් තියනවනම් අනිවරෙන් ඇ ගැන කියල මෙතනම පොස්ට් කරන්න කියල යාලුවෝ හැමෝගෙන්ම මම ඉල්ලා සිටිනවා.[/COLOR][/SIZE][/FONT][/B] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [SIZE=5][COLOR=Blue][B][FONT="]වැඩි කතා ඕන නැහැ අපි එහනම් එක්මනින් වැඩේට බහිමුකො.මම ඔයාලට පහල දල තියන [COLOR=DarkRed]screen shot[/COLOR] එකෙන් මම ඔයාලට කියල දෙන්නම් [COLOR=DarkRed]android project[/COLOR] එකක් අපිට හම්බෙන මුලික කොටස් ටික මොනවද කියල..ඒවා වලින් සම්පුර්ණ අවබෝදයක් අරන් වැඩේට බහිමු.එතකොට අපිට පුලවන් වෙයි එක්මන් කරලා වැඩ ටික ඉස්සර හටම කරගෙන යන්න..අපේ එළකිරි සෙට් එකේ උනන්දුව සහ මේ වැඩේට තියන කැමැත්ත මත අපි ඉසරහටම විවිඩ මාතෘකා ඔස්සේ වැඩේ කරගෙන යමු..[/FONT][/B][B][FONT="][/FONT][/B][/COLOR][/SIZE] [SIZE=5][COLOR=Blue][B][FONT="]එහෙනම් අපි දැන් වැඩේ කරගෙන යමු[/FONT][/B][/COLOR][/SIZE] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [CENTER][SIZE=5][COLOR=DarkRed][B][FONT="]මම මුලින්ම ඔයාලට මම මේ නම් කරලා තියන ඒවා ටික මොනවද කියල දැනගන්න දානම්.[/FONT][/B][/COLOR][/SIZE] [SIZE=5][COLOR=DarkRed][B][FONT="] [/FONT][/B][/COLOR][/SIZE] [IMG]http://img687.imageshack.us/img687/9300/eclips.jpg[/IMG] [/CENTER] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [SIZE=4][COLOR=Navy][B][FONT="]01.මේක තමයි අපේ [COLOR=DarkRed]activity File[/COLOR] ටික අපි මොනවා හරි අපේ [COLOR=DarkRed]android app[/COLOR] එකට අදාලව ක්රියාකාරකමක් කර ගන්න ඕන නම් [COLOR=DarkRed]java file[/COLOR] එකක් මෙතන හදල තමයි වැඩේට බහින්න ඕන.මන් හිතනවා පැහැදිලි ඇති කියල.[/FONT][/B][/COLOR][/SIZE] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [SIZE=4][COLOR=Navy][B][FONT="]02.මෙතන තියෙනේ [COLOR=DarkRed]android[/COLOR] මගින් අපේ [COLOR=DarkRed]programme[/COLOR] එකට එහම නැත්නම් අපේ [COLOR=DarkRed]app[/COLOR] එකට අදලාව ස්වයං නිර්මාණය වන [COLOR=DarkRed]file[/COLOR] වගයක් අපිට තේරෙන විදිහට කියනවනම් “[/FONT][/B][COLOR=#3F5FBF][FONT=Consolas]/** Automatically generated file. DO NOT MODIFY */[/FONT][/COLOR][B][FONT="]” මෙන්න මේ තියන වචන ටික මෙහෙමම ඔයාලට ඔය [COLOR=DarkRed]file [/COLOR]එක [COLOR=DarkRed]open[/COLOR] කරාම (අදාල [COLOR=DarkRed]file[/COLOR] එක ලගට ගිහින්[COLOR=DarkRed] double click [/COLOR]කලාම කර ගන්න පුළුවන්.)බලා ගන්න පුළුවන්.මන් හිතනවා දැන් නම් වැඩේ කට්ටියට තේරුම් යන්න ඇති කියල.[/FONT][/B][/COLOR][/SIZE] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [B][FONT="][SIZE=4][COLOR=Navy]03.මෙතන තියෙනේ අපේ වැඩවලට අදාලව ඕන කරන [COLOR=DarkRed]lib file[/COLOR] ටික.ඒවා ගොඩක් වෙලාවට projet එක හදනකොටම එයාල අපිට දෙනවා..අලුතෙන් [COLOR=DarkRed]projet[/COLOR] එකක් i[COLOR=DarkRed]mport[/COLOR] කරනකොට නම් අපිට ඒවා [COLOR=DarkRed]add[/COLOR][COLOR=DarkRed] [/COLOR] කර ගන්න වෙනවා ඇ දේවල් ගැන මම ඔයාලට දන ගන්න දානම්.ඇ වගේම ඔතන පහලින් තියන [COLOR=DarkRed]“assets”[/COLOR] එකටත් අපි කරන්න අපිට අවශ්ය අමතර දේවල් තියනවනම් දමා ගන්න එකයි. [/COLOR][/SIZE] [/FONT][/B] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [SIZE=4][COLOR=Navy][B][FONT="]04.මෙතනට තමයි අපි අපේ [COLOR=DarkRed]android app[/COLOR] එක කරාම අපේ [COLOR=DarkRed]phone[/COLOR] එකට දා ගන්න ඕන කරන [COLOR=DarkRed]file [/COLOR](ඔය තියෙනේ [COLOR=DarkRed].apk[/COLOR] එකක්) එක සහ ඊට අදාල වන දේවල් ඇත්නම් තියා ගන්නේ.[/FONT][/B][/COLOR][/SIZE] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [SIZE=4][COLOR=Navy][B][FONT="]05.මෙතැනත් ගොඩක් විශේෂ තැනක්.මෙතන තමයි අපි[COLOR=DarkRed] GUI[/COLOR] එහෙම නැත්නම් [COLOR=DarkRed]graphical user interface [/COLOR]එකක් කරනකොට හරියට අලුතෙන් [COLOR=DarkRed]frame[/COLOR] එකක් [COLOR=DarkRed]add[/COLOR] කරනවා වගේ වැඩ වලට යොදා ගනු ලන තැන.මෙතන තියන [/FONT][/B][COLOR=DarkRed][B][FONT="]drawable-hdpi[/FONT][/B][B][FONT="],[/FONT][/B] [B][FONT="]drawable-[/FONT][/B][B][FONT="]l[/FONT][/B][B][FONT="]dpi[/FONT][/B][B][FONT="],[/FONT][/B] [B][FONT="]drawable-[/FONT][/B][B][FONT="]m[/FONT][/B][B][FONT="]dpi[/FONT][/B][B][FONT="],[/FONT][/B][/COLOR][COLOR=DarkRed] [B][FONT="]drawable-[/FONT][/B][B][FONT="]xhd[/FONT][/B][B][FONT="]pi[/FONT][/B][/COLOR][B][FONT="][COLOR=DarkRed] folders[/COLOR] වලට අපිට අවශ්ය කරන පින්තුර වගේ දේවල් දැන්මම එකිනෙකට වෙනස් [/FONT][/B][B][FONT="][COLOR=DarkRed]resolution[/COLOR] [/FONT][/B][B][FONT="]වලින් අපිට පින්තුර අපේ android [COLOR=DarkRed]app[/COLOR] එකට [COLOR=DarkRed]add[/COLOR] කර ගන්න පුළුවන්.ඒ කියන්නේ එකම පින්තුරය උනත් මේ [COLOR=DarkRed]folders[/COLOR] වල දල අපේ වැඩේට යොදා ගානකොට ඊට අදාලව [/FONT][/B][COLOR=DarkRed][B][FONT="]resolution[/FONT][/B][/COLOR][B][FONT="] වෙනස් වෙලා තමයි අපිට ලැබෙන්නේ..මන් කියනවට අමතරව දෙයක් මේවා වල තියනව නම් මෙතනම එක පොස්ට් කරන්න කියලත් මම ඉල්ලා සිටිනවා.අපි ඔය කිව කතාව තව ඉසරහට තියන පාඩමකින් පින්තුර ඇතුලත් කරලම බලමුකෝ..[/FONT][/B][/COLOR][/SIZE] [B][FONT="][/FONT][/B] [B][FONT="] [/FONT][/B] [SIZE=4][COLOR=Navy][B][FONT="]06.මෙතන ටියෙනෙත් [COLOR=DarkRed]android[/COLOR] වල හදවත වගේ තැනක්.අපි හදන [COLOR=DarkRed]app [/COLOR]එකට අදාල වෙන තොරතුරු තියා ගන්න ඔතන තියන [/FONT][/B][COLOR=DarkRed][B][FONT="]AndroidManifest.xml[/FONT][/B][/COLOR][B][FONT="] එක එහෙම යොදා ගන්නවා..ඒවා සේරම ගැන දැන් හොද අවදානෙන් මතකතියා ගන්න.ඒවා වලින් වැඩ කරන හැටි අපි ඉදිරි පාඩම් වලින් ඉගෙන ගනිමු.[/FONT][/B][/COLOR][/SIZE] [B][FONT="] [/FONT][/B] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [SIZE=4][COLOR=Navy][B][FONT="]07.මේ තියෙනේ ප්රදාන [COLOR=DarkRed]Activity java file[/COLOR] එක පිහිටලා තියන ආකාරය.ඇ ගැන පොදක් අවදානෙන් බලල අදහසක් ගන්න.මේ සේරමත් අපි [COLOR=DarkRed]app[/COLOR] එක හද ගතහම ස්වයං නිර්මාණය වන දේවල් තමයි.[/FONT][/B][/COLOR][/SIZE] [SIZE=5][COLOR=DarkRed] [/COLOR][/SIZE] [CENTER][SIZE=5][COLOR=DarkRed][B][FONT="][/FONT][/B][B][FONT="][/FONT][/B][/COLOR][/SIZE] [SIZE=5][COLOR=DarkRed][B][FONT="]එහෙනම් අපි ඊලගට බලමු කොහොමද UI එකක් හද ගන්නේ කියල[/FONT][/B][/COLOR][/SIZE][/CENTER] [B][FONT="][/FONT][/B][B][FONT="][/FONT][/B] [B][FONT="][SIZE=7][COLOR=Navy]ඔ[/COLOR][/SIZE][SIZE=4][COLOR=DarkGreen]යාලට පස්වෙනි[COLOR=DarkRed](5)[/COLOR] අංකය යටතේ මම විස්තර කරලා තියන තැන පෙනෙනවානේ..එතන තියන [COLOR=DarkRed]layout[/COLOR] කියන [COLOR=DarkRed]folder[/COLOR] එක ඇතුලේ තියන [COLOR=DarkRed]main.xml [/COLOR]එක මගින් තමයි අපි අපේ ප්රදාන වන [COLOR=DarkRed]gui[/COLOR] එක නිර්මාණය කර ගන්නේ.එතනට ගිහින් එක [COLOR=DarkRed]double click[/COLOR] කරලා බල්ලන්න.එතකොට පහත දැක්වෙන විදිහට [COLOR=DarkRed]open[/COLOR] වෙනවනේ..මම පෙන්වල තියන tag ඔබල මොකද වෙන්නේ බල්ලන.මෙතැනදී ඇත්තමට වෙන්නේ අපි නිර්මාණය කරන ලබන [COLOR=DarkRed]gui [/COLOR]එකට අදාලව [COLOR=DarkRed]xml file[/COLOR] එකක් හදා ගන්න එකෙයි[COLOR=DarkRed].xml code[/COLOR] කරන්න දක්ෂයි නම් අපිට [COLOR=DarkRed]hard cord [/COLOR]කරලත් පුළුවන්.හැබෙයි ඊක අර අඩුව ටියනවකොට අතපුච්ඡ ගානවා වගේ වැඩක් තමයි.ඔයාල [COLOR=DarkRed]open[/COLOR] කර ගන්න තැන තියන [COLOR=DarkRed]Graphicl Layout tag[/COLOR] එකට ගහින් ඕන කරන දෙවල් අදාල දාගෙන ඔයාලගේ [COLOR=DarkRed]gui[/COLOR] එක ඔයාලට ඌන කරන විදිහට වෙනස් කර ගන්න පුළුවන්..ඕන කරන තැන වලින් [COLOR=DarkRed]componen[/COLOR]t තියා ගන්න බැරි නම් ඔයාලට පුළුවන් එතන තියන [COLOR=DarkRed]frame[/COLOR] එක උද [COLOR=DarkRed]right click[/COLOR] කරලා >> [COLOR=DarkRed]change layout[/COLOR] ගිහින් එතන තියන [COLOR=DarkRed]combo box[/COLOR] එකෙන් [/COLOR][/SIZE][/FONT][/B][SIZE=4][COLOR=DarkGreen][B][FONT="][COLOR=DarkRed]Absolute [/COLOR][COLOR=DarkRed]layout[/COLOR] [/FONT][/B][B][FONT="]කියන එක තෝරලා [COLOR=DarkRed]ok[/COLOR] කර ගන්න.ඊට පස්සේ ඉතින් බඩුම තමයි.ඔයාලට ඌනම තැනක [COLOR=DarkRed]componet[/COLOR] ටික තියල ලස්සනට [COLOR=DarkRed]gui [/COLOR]හදා ගන්න පුල්වන්.[/FONT][/B][B][FONT="] [/FONT][/B][B][FONT="]ඔයාලම කරලා හොද [COLOR=DarkRed]gui[/COLOR] ටිකක් නිර්මාණය කරන්කෝ..[/FONT][/B][/COLOR][/SIZE] [CENTER] [IMG]http://img14.imageshack.us/img14/1786/mainhu.jpg[/IMG] [SIZE=4][COLOR=DarkGreen][B][FONT="][/FONT][/B][/COLOR][/SIZE][B][FONT="][/FONT][/B][/CENTER] [B][FONT="] [/FONT][/B] [B][FONT="] [/FONT][/B] [SIZE=3][COLOR=Indigo][B][FONT="]ඔයාල නිර්මාණය කරන [COLOR=DarkRed]GUI[/COLOR] කැමතිනම් අනිත් යටත් බලා ගන්න මෙතන [COLOR=DarkRed]post [/COLOR]කරන්න අමතක කරනත් එපා.මොනවා හරි ප්රස්නයක් උනොත් මෙතනම අහන්න..ඒ වගේම එලාග පාඩමෙන් අපිම හදා ගත්ත [COLOR=DarkRed]gui [/COLOR]එකක[COLOR=DarkRed]ට code[/COLOR] කරලා සරල l[COLOR=DarkRed]ogin[/COLOR] එකක් හදා ගන්නේ කොහොමද කියල බලමු.කැටිය මේක පොදක් අත පත ගාල හොදට පුරුදු වෙන්නකෝ.එතකොට අපිට වැදගත් විදිහට අපේ [COLOR=DarkRed]app[/COLOR] එක නිර්මාණය කර ගන්න පුළුවන්.[/FONT][/B][/COLOR][/SIZE][B][FONT="][/FONT][/B] [B][FONT="] [/FONT][/B] [SIZE=3][COLOR=DarkSlateGray][B][FONT="]එහනම් මම ගිය.[COLOR=DarkRed]bump[/COLOR] එකකින් මේ පාඩම් කරන් යන්න දෙන ඔයාලගේ සහය ගොඩක් වටිනවා.වෙලාව එකයි හතයි පාන්දර..මගේ හිතට තියන හොදම සතුට ඔයාල අරගෙන එන අලුත් අදහස් තායි.මගේ පරණ [COLOR=DarkRed]thread [/COLOR]වල ලින්ක් ටිකත් එහෙනම් මම ඔන් දැන්ම නොදැක්ක යට බලල වැඩේට අත ගහන්න.ඕනෑම අව්ලකදී [COLOR=DarkRed]pm[/COLOR] එකක් දල හරි අහන්න.කවදාවත් උදව් නොකර ඉන් නැහැ..හැමෝටම සුබම සුබ දවසක්..[/FONT][/B][/COLOR][/SIZE] :lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol: [SIZE=3][COLOR=DarkSlateGray][B][FONT="][/FONT][/B][B][FONT="][/FONT][/B][/COLOR][/SIZE] [SIZE=3][COLOR=DarkSlateGray][B][FONT="] [/FONT][/B][/COLOR][/SIZE] [SIZE=3][COLOR=DarkOrange][B][FONT="]මේ සම්බන්දයෙන් මගේ අනිත් thread වල link[/FONT][/B][/COLOR][/SIZE] [URL="http://www.elakiri.com/forum/showthread.php?t=1467420"][SIZE=3][COLOR=DarkSlateGray][B][FONT="] [/FONT][/B][/COLOR][/SIZE][/URL] [URL="http://www.elakiri.com/forum/showthread.php?t=1467420"][B][FONT="] Android Programmer කෙනෙක් වෙමු 01[/FONT][/B][/URL] [URL="http://www.elakiri.com/forum/showthread.php?t=1468240"] [B][FONT="][/FONT][/B][/URL] [B][FONT="][URL="http://www.elakiri.com/forum/showthread.php?t=1468240"]Android Programmer කෙනෙක් වෙමු 02[/URL] [/FONT][/B] [B] [/B] [/QUOTE]
Insert quotes…
Verification
Hathara warak wissa keeyada? (Hathara wadi karanna 20)
Post reply
Top
Bottom