PC Zone > Programming
Android Programming Tutorial
(1/24) > >>
aldrin22: 07-06-14 10:14 AM
Good Day!
This is an ANDROID Developing or Programming Tutorial.. Have Fun

I'm Not a professional so please do correct my mistakes

THE TUTORIAL IS 100% FREE!! SIMPLE THANKS MIGHT BE ENOUGH!

What is ANDROID?
go here:  http://m.pinoyden.com.ph/index.php?topic=164500.0;imode

What App Should I Used?
A. If you have a PC at Home you will need an application called ECLIPSE.
B. If you don't have a PC at home, then use your android phone. Yes your Android Phone! Use an app called AIDE.
Go here:  http://m.pinoyden.com.ph/index.php?topic=333811.0;imode


You will definitely have a hard time understanding this if you don't have any programming experience. This Books might be useful. Take Some time to read this.

Go Here: 
http://m.pinoyden.com.ph/index.php?topic=273921.0;imode
Quote:
Ok in this Tutorial I will train you on how to make an Android Project.

Using Eclipse
   1. Open Ecllipse.
   2. Right Click , Choose New > Other > Android folder > Android App Project.
   3. Name Your App For Example "MyFirstApp".
   4. Click next until finish. Done

Using AIDE
   1. Open AIDE
   2. Tap Menu ON the upper-left side.
   3. Choose For Experts> Tap Create new Project here.. >New App
   4. Name Your App For Example "MyFirstApp".
   5. Done.


As you can see. There are many folders created inside your project. I will post a definition of the folders.

Quote:
SRC folder :
   Ito ang naghahawak ng mga *.class files ng application mo.

Quote:
GEN :
   Naglalaman ng "2 Auto Generated Folders". SHOULDN'T BE TOUCHED!!.
      > BuildConfig.java - The basic configuration file.
      > R.java - It provides access to resources in you App. Each resource has an especific identity.

Quote:
ASSETS :
   Naglalaman ng mga text files at ng iba pang mga data files na kelangan o gagamitin ng app.

Quote:
LIBS :
   (Library) Naglalaman ng file na "android.support-v4"
      > android.support-v4 is the Android API that allows us to use newest API.

Quote:
RES :
   Sa loob nito may makikita tayong mga folders na drawable blah..blah.. Sa mga folder na yan nakalagay yung mga images na gusto mong gamitin example is yung (ic_launcher.png) icon ng app. Kung mapapansin mo iba-iba ang resolution nung icon. Oo. Dahil hindi naman magkakatulad ang mga resolution ng ating mga phones o tablet.
Quote:
RECOMMENDED SIZE NG ICONS. (in dp format)
   xlarge(xhdpi) - 960dp x 720dp
   large - 640dp x 480dp
   normal - 470dp x 320

   Sa loob ng RES may layout folder. Eto naman yung nag dedefine sa UI (User Interface) by editing the activity_main.xml.
Quote:
FOUR KINDS OF LAYOUTS :

RelativeLayout
   Makes elements relative to other elements by the word itself

LinearLayout
   Align all elements in one direction (horizontally or vertically) .

GridLayout
   Lay out elements in a series of rows and columns.
   
FrameLayout
   Frames Elements.

Quote:
BIN :
   Contains files built by ADT.
      > Makikita mo rin dito yung mismong installer ng app mo which is *.apk . APK ang file format ng mga app na maari nating ma install sa Android. APK stands for Application Package File) .

Quote:
AndroidManifest.xml (its a file)
   Defines the APP NAME, APP ICON, ACTIVITY USED, PERMISSION THAT MAY REQUIRED, and "android.intent.action.MAIN" eto yung magsisilbing entry point ng app.



THIS IS JUST AN EXPLANATION. REAL TUTORIAL TO BE FOLLOWED





Keywords:
Android programming, android, java programming, java., how to, how to make android app , android app, eclipse, Aide, programming

List of Tutorials
Page 1
*Table Layout
--
Page 2
* Run your Android Project to your Phone
* Debug your Android App
* Export your Android Application (APK)
--
Page 3
*Simple Input and output
--
Page 4
* Log in Sample (two xml)
Quote:


Video Tutorials (RECOMMENDED)

1. Beginners to Advance by TheNewBoston (Youtube)
-------------
2. Android Development Tutorial Basic2Advance By Derek Banas (Youtube)
knighthue816: 07-06-14 08:41 PM
Pasubscribe! Thanks sa effort ts. Ilabas na ang next lesson.
angelofmercy: 07-07-14 08:56 AM
pa subscribe nga rin ako dito. mukhang maganda ito.
justdropdeadx: 07-07-14 06:55 PM
pa subaybay din.
05316: 07-08-14 02:39 AM
pasubaybay
palitz14: 07-08-14 03:09 AM
pasubaybay din...
johnsora: 07-08-14 11:29 PM
salamat ts pa bookmark muna
mystiko: 07-09-14 06:00 AM
pa bookmark din
mobile_master: 07-09-14 07:29 AM
Tnx, otor gagawa po kasi ako ng clearance system tapos gusto ko e implement sa android this thread is really a good resources. . .up lang natin palage. . .
cherlen: 07-09-14 08:14 AM
Pa subscribe ts
yuchee14: 07-12-14 06:06 AM
saktong sakto android programming gagamitin namin sa thesis namin sana
marami akong mapulot na kaalamam dito since nagsisimula palang akong mag aral ng android prog.
edit:
sir penge code sa paggawa ng table sa android
aldrin22: 07-12-14 07:33 AM
Posted by: yuchee14 on 07-12-14 06:06 AM
saktong sakto android programming gagamitin namin sa thesis namin sana
marami akong mapulot na kaalamam dito since nagsisimula palang akong mag aral ng android prog.
edit:
sir penge code sa paggawa ng table sa android





// Yung First Table Row Display natin yung title
Quote:
<TableRow
        android:id="@+id/tableRow1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal" >

        <TextView
            android:id="@+id/textView11"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_span="6"
            android:gravity="center"
            android:text="Weather Report"
            android:textSize="18dp"
            android:textStyle="bold" >
        </TextView>
    </TableRow>
Quote:
In the second TableRow, we can display the dates in a familiar calendar-like format.

In the third TableRow, we can display a Daily High temperature information.

In the fourth TableRow, we can display a Daily Low temperature information.

In the fifth TableRow, we can display graphics to identify the weather conditions, such as rain, snow, sun, or cloudy with a chance of meatballs.




[/quote]



Explanation:
Quote:


Quote:
@+id/tableRow1 - ito ang id ng TR1.  Dito mag didisplay yung "weather report" na text which is the title. Isa lang text view nya.

@+id/tableRow2 - Id of TR2. Displays weeks and days. Six TV

@+id/tableRow3 - Id of TR3. Displays High Temp. of the day. Six TextView

@+id/tableRow4 - Id of TR4. Displays Low Temp of the day. Six TV

@+id/tableRow5 - Id of TR5. Displays the icon of the weather. May 1 TV at 5 Image View.
Eto yung code ng TR5:
Quote:
   <TableRow
        android:id="@+id/tableRow5"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center" >

        <TextView
            android:id="@+id/textView8"
            android:text="Conditions"
            android:textStyle="bold" >
        </TextView>

        <ImageView
            android:id="@+id/imageView1"
            android:src="@drawable/monday" >
        </ImageView>

        <ImageView
            android:id="@+id/imageView2"
            android:src="@drawable/tuesday" >
        </ImageView>

        <ImageView
            android:id="@+id/imageView3"
            android:src="@drawable/wednesday" >
        </ImageView>

        <ImageView
            android:id="@+id/imageView4"
            android:src="@drawable/thursday" >
        </ImageView>

        <ImageView
            android:id="@+id/imageView5"
            android:src="@drawable/friday" >
        </ImageView>
    </TableRow>




Sana nagets mo hehe. Madali lang yan open mo lang source code upload ko. Wala pa kasi laptop ko eh kaya di ako makagawa ng mas clear na Tut

Kung gusto mo ng fit lagay mo to sa mainActivity.java
Quote:
table.setStretchAllColumns(true);
table.setShrinkAllColumns(true);

yuchee14: 07-12-14 03:50 PM
salamat sir sa tut
lnoskhen: 07-27-14 06:18 PM
Dito ko po ipopost yung mga tutorial ko, from Basic to Advanced
with APK + Source code and Screenshots

Table of Contents


Get text from EditView
Palindrome - ichecheck ang na-input na word kung equals parin sila kahit pinagbaliktad.


View URL from browser
Yan, may mini browser na kayo

Updating...

Tuwing Saturday at Sunday po ang free time ko kaya mag-uupdate po ako sa mga araw na yan simula ngayon

Post lang po kayo kung anong example po ang gusto niyo, based po sa kung saan na po ang topic natin.
Hindi po ako nag-eentertain ng mga request tulad ng "Pagawa po ng app na to kailangan lang po" etc..

Tulad ng thread sa PyS60, lahat po kami nagsimula sa wala
Newbie lang ako kaya lahat tayo magsisimula sa simula
aldrin22: 07-27-14 06:52 PM
Posted by: lnoskhen on 07-27-14 06:18 PM
Dito ko po ipopost yung mga tutorial ko, from Basic to Advanced
with APK + Source code and Screenshots

Table of Contents


Get text from EditView
Palindrome - ichecheck ang na-input na word kung equals parin sila kahit pinagbaliktad.


Updating...

Tuwing Saturday at Sunday po ang free time ko kaya mag-uupdate po ako sa mga araw na yan simual ngayon

Post lang po kayo kung anong example po ang gusto niyo, based po sa kung saan na po ang topic natin.
Hindi po ako nag-eentertain ng mga request tulad ng "Pagawa po ng app na to kailangan lang po" etc..

Tulad ng thread sa PyS60, lahat po kami nagsimula sa wala
Newbie lang ako kaya lahat tayo magsisimula sa simula

andito na pla si idol hehe. sana dumami pa tayong magpopost dito.
medyo basic pa lang napost ko eh hehe
Pages: [1] 2 3 4 ... 24
Back

WEB VERSION CLICK HERE
Home | Search
Page created in 0.26