Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

New Forums: Nexus Player | Nexus 9
test: Reply
LinkBack Thread Tools
Old November 3rd, 2012, 09:37 AM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Nov 2012
Posts: 3
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default help please

Hey guys,
I totally new for android programming I just wanna know what the whole functions means cause I saw many codes and I understand most of the code but the functions I don't get it just like : setGravity, contentEquals, Intent, putExtra etc.
so can anyone help me please
thanks in advance

sarasaad is offline  
Reply With Quote
sponsored links
Old November 3rd, 2012, 07:40 PM   #2 (permalink)
Senior Member
jonbonazza's Avatar
Join Date: Jul 2010
Gender: Male
Posts: 1,935
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts

This might help: http://en.wikipedia.org/wiki/Method_(computer_programming)
My blog, Inverted Keystrokes, is looking for aspiring developers (not necessarily with Android) to post articles. If you have any development experience and are interested in participating, please PM me. =)
jonbonazza is offline  
Reply With Quote
Old November 14th, 2012, 02:48 PM   #3 (permalink)
Junior Member
Join Date: Feb 2011
Location: Orange County
Gender: Male
Posts: 91
Device(s): Google/Asus Nexus 7
Carrier: Not Provided

Thanks: 7
Thanked 0 Times in 0 Posts

Think of a function as a mini-program that works when it is triggered to start. For instance, you can have a function that tells the app to return to the previous page. But it doesn't actually take place until the user touches a Back button.

This is a function called goBack(), which tells the app to go back to the previous page:

function goBack()

On a page, this Back button is all set to call, or execute, the goBack() function:

<input type='button' value='Back' onclick='goBack()'>

Hope this little example helps you understand functions.
StevenHu is offline  
Reply With Quote

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 05:25 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.