Pakistan's Urdu Forum For IT Education
 

Go Back   www.itilm.com > Mobile Zone > Android World
Forgot Password? Join Us!

Android World Android World


Thread Title


Android App Development - Class 1 (Using Button)

Android World


Reply
Thread Starter Awais King Replies 16 Views 1403  Show Printable Version | Email this Page | Subscription
share |
share topic
 
Thread Tools
  #1  
Old 06-23-2013, 07:08 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Android App Development - Class 1 (Using Button)

Sponsored Links


Assalam-o-alaikum!

Kaise hain sab?
Sab theek hi honge.


Aaj main aap sab ko Android ki applications ko develop karna sikhaunga.


Requirements:
1. SDK with ADT Bundle (Download here: http://developer.android.com/sdk/index.html)
2. And a little knowledge to Java development


Here is basic information about Android:
Q.1: Android kia hai?
Android Linux-base operating system hai, jo touchscreen mobile devices jaise smartphones aur tablet computers ke liye bani hai.
Q.2: Android SDK kia hai?
Q.2(a): What is SDK
SDK ka full form Software Development Kit hai. Is ke through aap kisi operating system ke liye softwares bana sakte hain.
Q.2(b): [I]What is Android SDK[/]
Android SDK ke through aap Android operating system ke liye nayi applications bana sakte hain. Android applications aam tor par Java main banai jati hain, lekin ab Android applications doosri languages main bhi banai ja sakti hain (like Python, C, C++, C#, Perl, etc)

Ab start karte hain
Sab se pahle aap Eclipse ko open karen. Phir neeche diye hoe steps ko follow kijiye:

1: File option par click kijiye -> ]New.
2: Phir Android Application Project par click kijiye.

1: Yahan 'Application Name' dijiye, ye install karne ke baad Launcher main show hoga
2: Yahan 'Project Name' dijiye, ye Eclipse ke Project Explorer main show hoga.
3: Yahan 'Package Name' dijiye, ye APK file ka package name hai isi se us ki pachan hogi.

Is step main aap Next button par click kijiye.

Aap chahen to apni custom icon bhi set kar sakte hain (only PNG files are supported), is ke liye aap Browse button par click kijiye.
Phir aap Next button par click kijiye.

1: Pahle aap Create Activity ko check karden.
2: Phir Blank Activity select kijiye.
3: Phir Next button par click kijiye.

Continues to PART 2
__________________
Reply With Quote
Sponsored Links
  #2  
Old 06-23-2013, 07:08 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Android App Development - Class 1 - Part 2


1: Yahan 'Activity Name(Class Name)' set kijiye.
2: Yahan 'Layout File Name' set kijiye.
3: Phir Next button par click kijiye.

1: Ye aap ka Activity Name(Class Name) hai, jo hum ne pichhle step main set kia tha.
2: Ye aap ka Layout File Name hai, jo hum ne pichhle step main set kia tha.

Yahan maine 3 Buttons aur 1 TextView(Label) add kardi hain, jin ki Layout IDs, Right side ke panel main dekh sakte hain.
Main 'Change Text' button ka tutorial bata raha hoon, ke kaise hum kisi TextView(Label) ka Text change kar sakte hain.

Is step main maine Activity Class File khola hai, aur us main kuch code lines likhi hain.
Yahan onCreate(Bundle savedInstanceState) action hai, ke jab Application show ho to ye bhi show ho jae.
And setContentView(R.layout.main_layout) means, ye CLASS file main_layout se connected hai.

Yahan aap dekh sakte hain ke pahle main import android.widget.* likha hai, ye elements ke actions ko CLASS file se connect kar deta hai.
Ab neeche main 'Button btnChangeText = (Button) findViewById(R.id.button1)' likha hai, aap us ki information image main dekh sakte hain.

Yahan aap dekh sakte hain, ke main textView1 ki ID ko txtChangeText se conect kia hai.
Jaisa ki aap image main dekh sakte hain, kaise textView1 ka text change karte hain.

Phir usko Run kijiye (Hotkey: CTRL+F11)
1: Android Application ko select kijiye.
2: OK button par click kijiye.

Continues to PART 3
__________________
Reply With Quote
  #3  
Old 06-23-2013, 07:09 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Android App Development - Class 1 - Part 3 (Last)


1: Yes par click kijiye.
2: Phir aik dialogue show hoga jahan aap ko New button par click karna hai.

Name:  9299506_568x519.jpg
Views: 280
Size:  46.7 KB
Aap apne hisab se yahan settings kar sakte hain, uske baad OK par click kijiye.
Phir se usko Run kijiye (Hotkey: CTRL+F11)

Phir aap ki application aik Android Emulator main kuch der ke baad open ho jae gi.
Test karne ke liye aap Change Text button par click kar ke check kar sakte hain.


Before clicking Change Text button:

Before clicking Change Text button:

__________________

Last edited by M IMRAN; 06-23-2013 at 07:30 AM. Reason: image Change
Reply With Quote
  #4  
Old 06-23-2013, 07:31 AM
M IMRAN's Avatar
M IMRAN M IMRAN is offline
Mobile Expert
 
Join Date: Nov 2012
Location: فتح جنگ (FATEH JANG)
Posts: 12,112 -- Threads: 712
Rep Power: 20
M IMRAN will become famous soon enough
Default Re: Android App Development - Class 1 (Using Button)

Achi Sharing hai
.........

Reply With Quote
  #5  
Old 06-23-2013, 07:40 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Quote:
Originally Posted by M IMRAN View Post
Achi Sharing hai
.........

Thank you bro!
__________________
Reply With Quote
  #6  
Old 06-23-2013, 08:40 AM
The Bot's Avatar
The Bot The Bot is offline
V.I.P
 
Join Date: Apr 2013
Location: Islamabad
Age: 23
Posts: 4,160 -- Threads: 108
Rep Power: 11
The Bot is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

good sharing,
keep it up.
Reply With Quote
  #7  
Old 06-23-2013, 11:19 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Quote:
Originally Posted by The Bot View Post
good sharing,
keep it up.
Thank you bro!
__________________
Reply With Quote
  #8  
Old 07-11-2013, 07:44 PM
zafar bhutta's Avatar
zafar bhutta zafar bhutta is offline
Senior Member
 
Join Date: Apr 2011
Location: Rahim Yar Khan
Age: 34
Posts: 6,348 -- Threads: 120
Rep Power: 15
zafar bhutta will become famous soon enough
Default Re: Android App Development - Class 1 (Using Button)

nice
Reply With Quote
  #9  
Old 07-11-2013, 07:47 PM
Asif Chaudhary's Avatar
Asif Chaudhary Asif Chaudhary is offline
Senior Member
 
Join Date: Mar 2013
Location: Anonymous City
Age: 21
Posts: 4,235 -- Threads: 289
Rep Power: 11
Asif Chaudhary is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Shukria bro
Reply With Quote
  #10  
Old 07-11-2013, 08:07 PM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Quote:
Originally Posted by zafar bhutta View Post
nice
Quote:
Originally Posted by Asif Chaudhary View Post
Shukria bro
Aap dono ka buht buht shukria!
__________________
Reply With Quote
  #11  
Old 08-29-2013, 08:06 PM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Quote:
Originally Posted by sumbal View Post
Nice sharing thanks
You're welcome!
__________________
Reply With Quote
  #12  
Old 09-15-2013, 07:12 PM
Sniper's Avatar
Sniper Sniper is offline
Senior Member
 
Join Date: Jul 2012
Location: Lahore
Age: 28
Posts: 591 -- Threads: 74
Rep Power: 8
Sniper is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Sharing tu achi hai but spam post hai. Kisi dosre form ka watermark dekha ja sakta hai.
__________________
Reply With Quote
  #13  
Old 04-30-2014, 10:19 AM
smartyounus's Avatar
smartyounus smartyounus is offline
(♥ Owner ♥)
 
Join Date: May 2010
Location: کرا چی
Posts: 24,097 -- Threads: 1963
Rep Power: 10
smartyounus will become famous soon enough
Default Re: Android App Development - Class 1 (Using Button)


بہت اچھی شیئرنگ کی ہے آ پ نے جا ری رکھیں شکر یہ آ پ اگلی شیئرنگ کا انتظا ر ہے گا

__________________

You Are Being Observed

Reply With Quote
  #14  
Old 05-03-2014, 11:41 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Quote:
Originally Posted by smartyounus View Post

بہت اچھی شیئرنگ کی ہے آ پ نے جا ری رکھیں شکر یہ آ پ اگلی شیئرنگ کا انتظا ر ہے گا

Thank you very much bro!
__________________
Reply With Quote
  #15  
Old 05-13-2014, 07:52 PM
Moqaddas Ali Moqaddas Ali is offline
Member
 
Join Date: May 2014
Posts: 51 -- Threads: 11
Rep Power: 6
Moqaddas Ali is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Very nice.
Reply With Quote
  #16  
Old 05-23-2014, 11:17 AM
Awais King's Avatar
Awais King Awais King is offline
Senior Member
 
Join Date: Jun 2013
Location: Pakistan, Sindh, Hala New
Age: 21
Posts: 158 -- Threads: 21
Rep Power: 7
Awais King is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

Quote:
Originally Posted by Moqaddas Ali View Post
Very nice.
Thank you
__________________
Reply With Quote
  #17  
Old 02-09-2015, 10:19 AM
TariqRaheel's Avatar
TariqRaheel TariqRaheel is offline
Senior Member
 
Join Date: Aug 2010
Location: Karachi
Age: 34
Posts: 339 -- Threads: 19
Rep Power: 10
TariqRaheel is on a distinguished road
Default Re: Android App Development - Class 1 (Using Button)

اچھی شییئرنگ کی آپ نے
شکریہ
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning JavaScript and CSS Development with jQuery (7MB) Riddl3r E-Books 4 04-11-2015 09:03 AM
Beginning PHP 6 Apache MySQL Web Development qasimali E-Books 5 05-10-2014 11:05 AM
Lifts K Button Toilet k button se 40 guna ziada gandy Abdullah330 General Knowledge 12 01-04-2013 12:46 PM


Tags
1, android, app, button, class, development


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

(View-All Members who have read this thread : 36
786Waqas, ahmad4u, Asif Chaudhary, Awais King, Aziz_moody2015, choti rani, dani141, hafiz609, Hot520, ikram78, IMRAN HAIDER, IT╬EXPERT, khattab.baloch, M Ali Shabbir, M IMRAN, mittho83, Moqaddas Ali, Mubeen Lodhi, Munir kharal, Rehan0767, roses4u, s4saad, saeedjutt215, Saghir, saleem987, Shafiq4u, sikandar1969, smartyounus, Sniper, sumbal, TariqRaheel, tauqeer zaid, The Bot, youngerboy, zafar bhutta, zahid99d
Thread Tools


Login

Flag Counter


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright © 2010- 2020, Itilm.com, All Rights Reserved