Skip to main content

Android Application siam dawn a hmanraw pawimawhte leh 1st App Sample:

Chibai le.
A hmasain Android Application siam (develop) tura i mamawh tur te sawi hmasa dawn ila, android application siam tur hian thil chi hrang hrang thiam a ngai tih hriat a tha. Java, Javascript, XML, html, CSS, PHP heng ho hi i thiam viau chuan nal takin application i siam thei dawn a ni.
Application i siam dawn chuan hengte hi i mamawh tur zualpuite an ni.

1. Android Studio
Hei hi android application siamna  bik tura siam a ni. he studio hmang hian android version eng pawh support turin i siam thei a ni. android studio lo hi android application siamna chi hrang hrang a awm bawk. android studio chau hian application i siam theilo tih hria lang. tin, i computer hman Bit a zirin download tur a hnuaiah hian a awm e. ka rawn sawi zau zel turah ngai ang.
2. JDK hei hi android studio a Java programms lo chhiartu a ni. java tello chuan application programme a nung theilo a ni.
I computer bit mil tur i thlang dawn nia.
Windows x86175.98 MB  jdk-8u45-windows-i586.exe
Windows x64180.44 MB  jdk-8u45-windows-x64.exe
3. Android SDK hei hi android system image (system file) te API te hman mai theih tur a awlsam zawka programme duan sa a ni a. android studio te JDK te hna thawhna ah nasa takin a puiin a taksa peng pakhat ti ila a sual tam puilo ang chu maw, veraion/API hrang hrang a awma, i application siam in android version a support tur chin a thliar a ni. SDK tello chuan i android studio in hna a thawk theilo a, i programme chhutsa pawn awmzia a nei lem lo ang.  Android SDK ah hian AVD a awm a, hei hi emulator niin i application siam enchhin zelna tur a siam a ni. hei hi android phone OS ang tho in a lang dawn a ni.
Windowstan "installer_r24.2-windows.exe" hi download tur a ni.
Download
khing a chunga kan tarlan tak te hmang tangkai tur chuan Computer chak tha tak leh internet chak tha panggai tak i mamawh tih hriat a tha.
Application siam thei dinhmunah i dingta e.
***************************************
1st Application
Android Studio software i install tawh chuan hawng(open) rawh le.
1. Start a new Android Studio Project
2. Android Name ah hian i Application hming dah rawh. (hawrawp hmasaber hawrawppui hman tur.)
3. Company Domain ah hian i website link i dah leh ang.
4. Package Name ah hian
example: com.first.app emaw in.first.app ( package name i thlak chuan i apps siamsa a replace theilo ang, package name thlak loh tur.)
package name hi playstore a i dan hunah link ah a lang bawk.
5. Phone and Tablet tick la, a hnuai a minimum sdk ah hian i application API tur ithlang ang. hei hi application phone in a mil dan tur API level i thlang ang. Lollipop version thleng in, a aisang pawh i thlang thei. mahse hetah hian SDK mil tur API i download hmasak angai a ni.
(SDK i install sa kha hawng (open) la, API kha i application siam tur a zirin checkbox kha tick in, i download hmasa dawn nia.)
Next la, i application template tur thlang rawh. Next leh la, activity profile i set zawhah Finish click rawh le.
6. Layout:
Awle, i application ruangam chu hmuh theihin alo awmta a, java te, xml te, CSS etc... i thiamna i hmang tan thei ta, studio chhung a layout i hawn bulah chuan Palette a awm a, heng ho hi i duh chuan i drag lut thei a ni. entirnan: i application layout activity_layout.xml ah khan pawt lut la, a hnuai lama Test tih kha click la, xml file i hmu ang a, i duhdan takin i design thei a ni. tin, dinglamah khan properties a awm a. ta tang khan margin leh text size te, text style-te, background te etc... a awm a, design nan a hman a ni.
example:
RelativeLayout xmlns:android=
              "http://schemas.android.com
                              /apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"  android:paddingLeft=
          "@dimen/activity_horizontal_margin"
android:paddingRight=
          "@dimen/activity_horizontal_margin"
android:paddingTop=
          "@dimen/activity_vertical_margin"
android:paddingBottom=
          "@dimen/activity_vertical_margin"  tools:context=".MainActivity">
<TextView android:text="Hello Android World"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
/>
</RelativeLayout>
7. MainActivity.java khi i hmu anga, khi khi java file chu a ni. activity a tinung a, layout hawngtu leh hna thawkthei a siamtu a ni. menu hrang hrang i dah thei a ni.
example:
package com.first.app;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.NavUtils;
public class MainActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
}
8. menu.xml hi menu folder chhungah a awm anga, activity pakhatah menu hming pakhat zel a awm tur a ni a, i duh chuan pakhat pawh i hman tawm thei a, hei hi java file MainActivity.java ah option menu hawng theitu code i dah a ngai a ni. menu/ option menu atang hian secondactivity.xml pawh i hawng thei. (activity thar pawh i hawn tir thei)
a hnuaia mi code hi option menu code niin MainActivity.java ah a awm tur a ni.
@Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
9. Value folder chhungah hian style.xml te, theme.xml te, attr.xml te string.xml te dahna tur a ni. style leh string te hi application ah chuan dah ngei ngei tur a ni.
a). style khi chu i application theme entirnan holo light emaw holo dark emaw i hmang duh a nih chuan i duh dan a cheimawi nan a dah tur a ni ang.
b). string erawh hi chu i application hming te, i design sa a hlutna ti nghettu leh hmunkhata design entirnan text te, awlsam taka edit zung zung theihna tur a ni.
<resources>
    <string name="app_name"> Application Hming </string>
  <string name="title"> About </string>
</resources>
10. drawable hi i application a image file i dah tur engpawh dahna tur a ni.
example: icon.png te, menu_icon.png button.png etc.... awmna tur te a ni.
(note: png file hi atawp ah hawrawppui in a awm tur a nilo.)
application icon size hi 48 px, 72 px, 96 px, 144 px, 192 px square a ni tur a ni. icon chu heng size hrang hrang square a i dah a nih chuan phone screen te ber atanga lianber thlengin fiah takin amahin a rawn in adjust dawn a ni.
khing a chunga icon size hrang hrang square khi folder hrang hrangah a hnuaia mi ang hian dah tur a ni.
drawable = 48px
drawable-mdpi = 72px
drawable-hdpi = 96px
drawable-xhdpi = 144px
drawable-xxhdpi = 192px
Lampum:
MDPIMedium Pixel Density
HDPI High Pixel Density
XHDPIExtra High Pixel Density
XXHDPIExtra Extra High Pixel Density
11. AndroidManifest.xml hian i application activity hna thawk thei a siamtu, a thiltum ti hlawhtlingtu a ni.
entirnan:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.first.app"
      android:versionCode="20"
      android:versionName="5.6">
    <uses-sdk android:minSdkVersion="4" />
<application android:icon="@drawable/icon" android:label="@string/app_name_label">
        <activity android:name=".MainActivity"
                  android:label="@string/app_name_label"
                  android:configChanges="orientation|keyboardHidden"
                  android:theme="@android:style/AppTheme"
                  >
<intent-filter>
  <action android:name=
          "android.intent.action.MAIN" />
  <category android:name=
          "android.intent.category.LAUNCHER" />
  </intent-filter>
</activity>
    </application>
</manifest>
Activity pakhat aitam hawn theih tura activity dang i dah belh duh chuan a hnuaia mi ang hian.
<activity android:name=".appsecondactivity"
android:label="@string/title"
</activity>
a chung chiah a code khi a chung leh a androidmanifest.xml ah khian ka belh a, a hnuaia mi ang hian, a inan lohna i lo en tawh mai dawn nia.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.first.app"
      android:versionCode="20"
      android:versionName="5.6">
    <uses-sdk android:minSdkVersion="4" />
<application android:icon="@drawable/icon" android:label="@string/app_name_label">
        <activity android:name=".MainActivity"
                  android:label="@string/app_name_label"
                  android:configChanges="orientation|keyboardHidden"
                  android:theme="@android:style/AppTheme"
                  >
<intent-filter>
  <action android:name=
          "android.intent.action.MAIN" />
  <category android:name=
          "android.intent.category.LAUNCHER" />
  </intent-filter>
</activity>
<activity android:name=".appsecondactivity"
android:label="@string/title"
</activity>
    </application>
</manifest>
i duhtawk a i sawngbawl hnuah a chunga Run icon hring kha click la, AVD create la, i application siam chu emulator-ah a rawn lang dawn a ni. a in run zawh chuan i application location folder ah chuan lut la, out tih folder chhungah apk file i hmu ang. (hei hi playstore a dah tur chuan signature pek a ngai a, keystore siam hnuah Build tur a ni.
(note: hei hi phone atanga siam a nih vangin a kimchang lo deuh a ni mai thei. chhiartute in mi hriatthiamna ka ngen a, computer ka neih veleh a kimchang zawkin rawn siam leh a ni ang.)
ka lawm e.

Popular posts from this blog

Eng-Mizo Dictionary leh Mizo-Eng Dictionary Hmandan kimchang.

Eng-Mizo Dictionary leh Mizo-Eng Dictionary hmandan hi hrelo tam tak kan awm niin a lang a, He Dictionary ah hian Word load lo chuan thu tam tak a hmu lo thin a, He Application hi i install veleh hawrawp 'a' hi Eng-Mizo Dictionary-ah hian 1547 search chhuah a ngai a, word load a tang a nih chuan Setting>> Applications >> Manage Application >> Downloads ah dictionary kha data clear a. Word load leh tur a ni. Word load dan: 

RAM lian 1GB RAM chin chunglam tan Vawikhat 'a' word i search a ang, 5minutes i ngak anga. Application close loh tur. 5minutes hnu ah 'a' word tho i search leh ang a. I chawl leh hlek anga. Word a hnuaia mi ang khuan i search chhuak dawn nia. ===================== Eng-Mizo Dictionary 'a' 1547 word
 Mizo-Eng Dictionary V1.4 update 'a' 709 word
https://www.dropbox.com/s/0lehiuxyrcit2e8/Mizo-Eng%20Dictionary.apk?dl=0=====================

I vawikhat search-naah khan search result-ah a chunglamah Number a rawn lang zel a, …

SIM CARD HRANG HRANG AIRTEL,RELIANCE,AIRCEL,BSNL,VODAFONE,IDEA THIL TRANGKAI:

1.AIRTEL:

Main Bal/Int pack/sms pck -*121*2#,
 INT settings - sms 'FUN' or 'MO' to 543210,
 UNSUB(VAS) - 'STOP' 121COMPANY call - START 0 to 1909
SIM no.enna - *282#, BAL Transfer na - Dial*141*1#,
 LOAN pukna - *141*10#,
 BAL atanga internet pck activate na -*567# ,
 Sms pck act na -*444#PUK - sms PUK(Space)i no. To 9862341400,
 Msg centre No. - 919862029007 Internet Setting dilna: MO send to 54321

2.RELIANCE :
Main BAL - *306#
Sms pck/min Bal - *367*2#
INT pck - Sms 'MBAL' to 55333
 INT settings - Sms 'ALL' to 55100
UNSUB(VAS) - 'STOP' to 155223
COMPANY Call - START 0 to 1909
SIM NO.enna - *1#
BAL Transfer na - Dial *367*3#
LOAN pukna - Sms 'YCR' to 51234MSG centre no. - 919863002222 Internet Setting dilna: Aircel type ALL or PI send to 121
3.AIRCEL :
Main BAL - *125# OR *128#INT pack - *129#
INT settings - sms 'PI' or 'ALL' to 121
UNSUB (VAS) - 'STOP' to 15522
3COMPANY call - call 1909
SIM no enna - *234*4#  or *131#or *1#
BAL t…

SETTOP BOX (Willett company) REMOTE SYNC DAN:

Settop box nei tawh ten Remote pahnin pathum hum reng kan peih lo tlangpui ang. Settop box a Volume phei chu 32 thleng a awm a, thenkhat tan chuan a ring tawk lo thei. tin, TV power off dawn a remote pahnih chhawp ziah pawh a ninawm thuai ang. A hnuaia mi ang hian ilo set ve mai dawn a nia. 1. Settop remote leh TV remote kha in sichat in; sensor veve in hawitawn tir la. 2. Settop remote ah khan SET tih (TV control tih chhung a mi) kha hmet vang vang rawh. Light a rawn sen phet ang. 3. Settop Remote a TV control tih chhung a V+ kha hmet lang. 4. TV Remote a volume + hmet leh rawh. a phe kha a muang atanga a phet zeuh zeuh hunah SET tih kha i hmet leh ang. Settop Remote a TV control a V+ kha TV zawnah hmet lang. TV volume a lo ring tawh ang. chu tiang chiah chuan V- te TV-IN (AV1-3) te, TV Power te kha set leh mai tur a ni.