Monday, February 3, 2014

How to Install Android on Ubuntu Linux With Eclipse Ide

You must have Oracle Java JDK or OpenJDK on your system before installing Android SDK. OpenJDK (aka Open Java Development Kit) is a free and open source implementation of the Java programming language Moreover, you will learn how to:
  1. Prepare your development environment and ensure it meets the system requirements.
  2. Install the Android Software Development Kit (SDK)s
  3. Download and Configure the Eclipse Integrated Development Environment (IDE)
  4. Install the Android Development Tool (ADT) Plugin for Eclipse IDE
  5. Add Android platforms and other components to your SDK
  6. Create your Android Virtual Device (AVD)
Method 1 of 6: Prepare your Development Environment


1
Prepare your Ubuntu Linux development environment and ensure it meets the system requirements. First, boot up Ubuntu Linux,make sure you have an implementation of the Java JDK installed on your system, whether it is OpenJDK or Oracle Java JDK, which lays the foundation for the Android SDK. If you don't have the Java JDK installed on your system please install it, you can obtain the Oracle Java JDK from Download the Oracle Java JDK,for more information on:
  • How to Install Oracle Java on Ubuntu Linux or to install the OpenJDK and OpenJRE open up a terminal on your system and run the following commands
  • Type/Copy/Paste: sudo apt-get install openjdk-7-jdk
    • This command installs OpenJDK on your system
  • Type/Copy/Paste: sudo apt-get install openjdk-7-jre
    • this command installs OpenJDK JRE( Java Runtime Environment ) on your system
  • You have choice between installing OpenJDK or installing Oracle Java. I strongly recommend installing Oracle Java because it is usually the most well maintained and up to date version of Java.
  1. 2
    If you are running a 64-bit distribution of Android SDK on your development machine, you need to install the ia32-libs:
    • Type/Copy/Paste: sudo apt-get install ia32-libs
      • This command installs additional libraries needed for development with the Android SDK
    • Type/Copy/Paste: javac -version
    • this command checks for the Java JDK on your system:
      • It should respond back with:
        • javac 1.7.0
        • or something very similiar
    • Type/Copy/Paste: java -version
      • this command checks for the Java JRE ( Java Runtine Environment ) on your system
Method 2 of 6: Download and Configure Eclipse Integrated Development Environment (IDE)

  1. 1
    You want to make sure you have the Eclipse Integrated Development Environment (IDE) installed on your system,for example select Eclipse Classic, and download the version for your system architecture such as 32bit or 64 bit version for Linux. If your computer system has 4GB or more of memory most likely it is a 64 bit computer. You can tell if your Ubuntu Linux operating system is 32 or 64 bit by opening up a terminal and running the following command:
    • Type/Copy/Paste: file /sbin/init
    • Download Eclipse IDE it will download into your /home/"your_user_name"/Downloads
      • Select the correct bit version for your corresponding system architecture. For example, if you are on 32-bit Ubuntu Linux select 32-bit Eclipse IDE and if you are on 64-bit Ubuntu Linux select 64-bit Eclipse IDE.
  2. 2
    This is an example of a 64-bit Eclipse IDE setup on 64-bit Ubuntu Linux operating system.
    • Type/Copy/Paste: cd /home/"your_user_name"/Downloads
      • this will change you in your Downloads directory
    • Type/Copy/Paste: sudo -s cp -r eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz /usr/local
      • this will copy your Eclipse IDE to the /usr/local directory
    • Type/Copy/Paste: cd /usr/local
      • this will change you into the eclipse directory
    • Type/Copy/Paste: sudo -s chmod a+x eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
      • this command makes the eclipse binaries executable for all on the system
    • Type/Copy/Paste: sudo -s tar xvzf eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
      • this unpacks your Eclipse IDE compressed binaries
    • Type/Copy/Paste: exit
      • this command takes you out of root user
  3. 3
    Open up a terminal and enter the following commands:
    • Type/Copy/Paste: cd /home/"your_user_name"/Desktop
      • this will change you into your user Desktop, make sure you are not root
    • Type/Copy/Paste: ln -s /usr/local/eclipse/eclipse
    • Type/Copy/Paste: chown "your_user_name" eclipse
      • this will make the Eclipse symbolic link located on your desktop belong to the user
      • Important, make sure you are not root when you create this symbolic link from your Eclipse IDE /usr/local/eclipse directory to your Desktop /home/"your_user_name"/Desktop
Method 3 of 6: Download, Install and Configure the Android SDK

  1. 1
    Download the Android SDK, click on the Linux tarball, android-sdk_r22-linux.tgz and save it to your /home/"your_user_name"/Downloads directory, open up a terminal and run the following commands:
    • Type/Copy/Paste: cd /home/"your_user_name"/Downloads
      • this will change you into your Downloads directory
    • Type/Copy/Paste: sudo cp -r android-sdk_r22-linux.tgz /opt
      • this will copy the android sdk to /opt
    • Type/Copy/Paste: cd /opt
      • this will change you into the Android working directory
    • Type/Copy/Paste: sudo tar xvzf android-sdk_r22-linux.tgz
      • this will unpack your Android SDK
    • Type/Copy/Paste: sudo -s chmod -R 755 /opt/android-sdk-linux
      • this will make the /opt directory and the Android SDK writable and executable for all users on the system.
  2. 2
    When these steps are complete you will have Android SDK located at:/opt/android-sdk-linux on your Ubuntu Linux system.
  3. 3
    Also, open up a terminal and add Android SDK to your system wide PATH on Ubuntu Linux
    • Type/Copy/Paste: sudo nano /etc/profile
    • or
    • Type/Copy/Paste: sudo gedit /etc/profile
    • Add the following lines below to the end of the system PATH file
    • Type/Copy/Paste: export PATH=${PATH}:/opt/android-sdk-linux/tools
    • Type/Copy/Paste: export PATH=${PATH}:/opt/android-sdk-linux/platform-tools
  4. 4
    Save the /etc/profile file and exit
  5. 5
    Reload your system PATH /etc/profile by issuing the following command
    • Type/Copy/Paste: . /etc/profile
      • this informs the Linux system of the location of the Android SDK development tools
Method 4 of 6: Install the Android Development Tool (ADT) Plugin for Eclipse IDE

In order to install the Android Development Tool (ADT), you will have to install the Android ADT tool for the Eclipse IDE as root:
  1. 1
    Type/Copy/Paste: sudo -s /usr/local/eclipse/eclipse
    • this will install the ADT plugin tool for all users on the system
  2. 2
    Install the ADT Plugin for Eclipse, the ADT is a plugin for the Eclipse IDE.Before you can install or use ADT, you must have a compatible version of Eclipse installed on your development computer. Start Eclipse, then select Help > Install New Software. Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location
  3. 3
    Type/Copy/Paste: https://dl-ssl.google.com/android/eclipse/
    • Click OK
    • Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons)
  4. 4
    In the Available Software dialog, select the checkbox next to Developer Tools and click Next. In the next window, you'll see a list of the tools to be downloaded and Click Next. Read and accept the license agreements, then click Finish.
    • Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  5. 5
    When the installation completes, restart Eclipse. Configuring the ADT Plugin, after you've successfully downloaded the ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory:
    • Select Window > Preferences... to open the Preferences panel
      • Select Android from the left panel. You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and click Proceed. You cannot continue with this procedure until you click Proceed.
  6. 6
    For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory, which should be /opt/android-sdk-linux ,Click Apply, then OK.

Method 5 of 6: Add Android platforms and other components to your SDK

  1. 1
    Adding Platforms and Other Component,in setting up your SDK is using the Android SDK and AVD Manager (a tool included in the SDK starter package) to download essential SDK components into your development environment. The SDK starter package, which you've already downloaded, includes only a single component: the latest version of the SDK Tools. To develop an Android application, you also need to download at least one Android platform and the associated platform tools. You can add other components and platforms as well, which is highly recommended.
  2. 2
    Open Eclipse and click Window->Android SDK and AVD Manager->Installed packages and click update all. Simply click Install to accept the recommended set of components and install them
  3. 3
    On Linux, open a terminal and navigate to the /opt/android-sdk-linux/tools directory in the Android SDK.
    • Type/Copy/Paste: sudo -s
    • Type/Copy/Paste: cd /opt/android-sdk-linux/tools
    • this will change you into the android sdk tools directory
    • Type/Copy/Paste: ./android
    • this command will run the Android graphical user interface, in most cases you will have to be root user in order for the Android SDK to download updated components to the opt/android-sdk-linux directory.To download components, use the graphical UI of the Android SDK and AVD Manager to browse the SDK repository and select new or updated components. The Android SDK and AVD Manager installs the selected components in your SDK environment.
Method 6 of 6: Create your Android Virtual Device (AVD)

  1. 1
    Once all the components for Android have been updated you will need to create an Android Virtual Device.
    • Click on Window->Android SDK and AVD Manager->Virtual Devices in order to create a Android Virtual Device ( emulator ).
    • Click New, scroll down to the box that says name and assign an Android Virtual Device name such as: My_AVD
    • Next click on the box that says target and use the arrow button and scroll down and select appropriate Android version you want to develop with such as, Android 3.2-API Level 13.
    • Next scroll down to the box that says Skin and Click on Resolution, enter the numbers 420x580 and select Create AVD, this will create your Android Virtual Device ( emulator ), for program testing.
  2. 2
    Congratulations, you should now have the Android SDK setup to work with Eclipse IDE and you can begin developing Android Applications.

Cara Install PES 2012 di Galaxy Y

cukup mudah kok cara installasinya ,hanya saja kita terlebih dahulu harus menyediakan file-filenya yaitu  berupa.... ;
1). PES 2012.apk
2). DataPes2012.zip
Bahan2 diatas dapat di download di sini gan
Nah,setelah kita mempunyai senjata lengkap alias bahan-bahan untuk installasi barulah kita lanjut pada tahap yang kedua yaitu.:
1). Install pes 2012.apk jangan langsung di buka tapi tutup dulu.
2). Ekstrak data pes.zip (boleh di sembarang tempat asal masih di dalam kartu memori)
3). Copy hasil ekstrak data pes yang berisi data game konami.
4). Paste hasil copy ke dalam folder android/data/ (paste disini..)
5). Setelah semua tahap di atas selesai barulah kita bisa membuka pes2012.apk yang sudah kita install tadi...
6). Finished...instalation..
Selamat mencoba...

Cara Root Samsung Galaxy y


Recovery+Mode
Perhatian : Saya tidak bertanggung jawab bila galaxy young anda bootlop atau terjadi yang tidak dinginkan karena saya disini hanya berbagi pengalaman. Jadi lakukanlah dengan benar dan hati-hati kalau anda tidak mau menerima resiko bootloop dan harus flash samsung galaxy young anda via odin.

Berikut Cara Mudah Root Samsung Galaxy Young:

  1. Siapkan Samsung Galaxy Young anda, pastikan baterai terisi penuh atau setidaknya 50%
  2. Download file untuk root yang bernama update zip disini
  3. Letakkan file update.zip tersebut di SD Card, letakkan di luar saja jangan di dalam folder biar mudah saat proses root nanti.
  4. Matikan Ponsel anda
  5. Masuk ke android recovery mode dengan cara menekan tombol Home + Power + Volume Up secara bersamaan selama beberapa detik pada saat ponsel dalam keadaan mati
  6. Jika sudah masuk ke recovery mode pilih Apply update from sd card. Gunakan volume up untuk mengarahkan ke atas, volume down ke bawah, dan home untuk memilih.
  7. Pilih file yang bernama update.zip yang sudah anda letakkan di sd card tadi. Tunggu hinggga proses selasai kemudian pilih Reboot system now.
  8. Lihat apakah sudah ada aplikasi Superuser, kalau ada berarti anda telah berhasil melakukan root pada samsung galaxy young anda, selamat mencoba.

Wednesday, January 22, 2014

Cara Membuat Flowchart Sistem dan SOP Dengan Benar



Bagi anda yang sedang ingin membuat sistem, pada umumnya membutuhkan flowchart sebagai bahan analisan untuk perancangan suatu sistem. Jika pembuatan flowchart salah atau kurang benar maka akan berakibat tidak sempurnanya sistem atau program yang dibuat. Berikut adalah informasi mengenai cara membuat fflowchart dengan baik dan benar.


Pengertian Flowchart :  Bagan alir (flowchart) adalah bagan (chart) yang menunjukkan alir (flow) di dalam program atau prosedur sistem secara logika. Bagan alir digunakan terutama untuk alat bantu komunikasi dan untuk dokumentasi.
Berikut adalah simbol simbol flowchart yang harus diketahui :

Symbol Off-line Connector ( Simbol untuk keluar/masuk prosedure atau proses dalam lembar/halaman yang lain)

Symbol Connector (Simbol untuk keluar/masuk prosedur atau proses dalam lembar/halaman yang sama)

Symbol Process (Simbol yang menunjukkan pengolahan yang dilakukan oleh komputer)

Symbol Manual Operation (Simbol yang menunjukkan pengolahan yang tidak dilakukanoleh komputer)

Symbol Decision (Simbol untuk kondisi yang akan menghasilkan beberapa kemungkinan jawaban/aksi)

Symbol Predefined Process (Simbol untuk mempersiapkan penyimpanan yang akan digunakan sebagai tempat pengolahan di dalam storage)
Symbol Terminal (Simbol untuk permulaan atau akhir dari suatu program)
-
Symbol Off-line Storage (Simbol yang menunjukkan bahwa data di dalam symbol ini akan disimpan)
-
Symbol Manual Input (Simbol untuk pemasukan data secara manual on-line keyboard)
Symbol Keying Operation (Simbol operasi dengan menggunakan mesin yang mempunyai keyboard)
Input-output symbols
menyatakan jenis peralatan yang digunakan sebagai media input atau output.
Symbol input-output (Symbol yang menyatakan proses input dan output tanpa tergantung dengan jenis peralatannya)
Symbol magnetic-tape unit (Symbol yang menyatakan input berasal pita magnetic atau output disimpan ke pita magnetic)
-
Symbol punched card (Symbol yang menyatakan input berasal dari kartu atau output ditulis ke kartu)
-
Symbol disk and on-line storage (Symbol untuk menyatakan input berasal dari disk atau output disimpan ke disk)
Symbol display (Symbol yang menyatakan peralatan output yang digunakan yaitu layar, plotter, printer, dan sebagainya)
Symbol dokumen (symbol yang menyatakan input berasal dari dokumen dalam bentuk kertas atau output dicetak ke kertas)
Pedoman Membuat Flowchart
Bila seorang analis dan programmer akan membuat flowchart, ada beberapa petunjuk yang harus diperhatikan, seperti:
1. Flowchart digambarkan dari halaman atas ke bawah dan dari kiri kekanan.
2. Aktivitas yang digambarkan harus didefinisikan secara hati-hati dan definisi ini harus dapat dimengerti oleh pembacanya.
3. Kapan aktivitas dimulai dan berakhir harus ditentukan secara jelas.
4. Setiap langkah dari aktivitas harus diuraikan dengan menggunakan deskripsi kata kerja
5. Setiap langkah dari aktivitas harus berada pada urutan yang benar.
6. Lingkup dan range dari aktifitas yang sedang digambarkan harusditelusuri dengan hati-hati.
7. Percabangan-percabangan yang memotong aktivitas yang sedang digambarkan tidak perlu digambarkan pada flowchart yang sama. Simbol konektor harus digunakan dan percabangannya diletakan pada halaman yang terpisah atau hilangkan seluruhnya bila percabangannya tidak berkaitan dengan sistem.
8. Gunakan simbol-simbol flowchart yang standar.
Contoh Flowchart :


-Flowchart Program Bilangan ganjil/genap

Monday, January 13, 2014

MEMBUAT WEBSITE E-LEARNING GRATIS DENGAN MOODLE 1.9 DI WWW.000WEBHOST.COM



1.       Daftar hosting gratis di www.000webhost.com dengan mengklik tombol Sign Up!
2.       Konfirmasi pendaftaran anda dengan membuka email yang anda gunakan saat sign up!
3.       Akan ada balasan email “account … is ready!” Catat FTP Hostname, FTP Username, dan FTP Password, untuk FTP Password sama dengan Password saat Sign Up.
4.       Download file moodle di http://download.moodle.org/ kebetulan saya menggunakan moodle 1.9!
5.       Ekstrak file moodle 1.9 tersebut!
6.       Download FileZilla di http://filezilla-project.org/ silakan piih versi terbaru!
7.       Ekstrak dan instal software FileZilla tersebut!
8.       Jalankan Filezilla dan masukkan FTP Hostname pada textbox Mesin, FTP Username pada textbox Nama pengguna, dan FTP Password pada textbox Kata kunci, kemudian tekan ENTER!
9.       Pada bagian Situs remote: double klik Public_html
10.   Pada bagian Situs Lokal: cari folder tempat Anda meng-ekstrak file moodle 1.9 tadi!
11.   Blok semua file yang ada di dalam folder moodle 1.9, kemudian klik kanan, dan klik Upload!
12.   Tunggu sampai proses upload semua file selesai, tergantung speed internet Anda.
13.   Jika proses upload berhasil 100%, saatnya kita membuat database MySQL dengan login terlebih dahulu di www.000webhost.com, klik Members Area!
14.   Kemudian klik Go to CPanel, klik icon MySQL, ketik nama database yang Anda inginkan dan password boleh sama dengan saat daftar tadi. Tunggu database Anda diproses sekitar 1 menit sampai 1 jam. Jika sudah diproses, akan muncul List of your current databases and users. Catat MySQL Database, MySQL User, MySQL Host dan MySQL Password!
15.   Kembali ke CPanel, klik File Manager. Buat folder “moodledata” dengan cara klik tombol New dir, ketik moodledata, klik tanda centang hijau, klik back/tanda panah biru, klik/beri centang pada kotak moodledata, klik tombol Chmod, pada textbox Chmod Value isikan 777, klik tanda centang hijau, klik back/tanda panah biru.
16.   Sekarang saatnya instalasi. Jalankan browser Mozilla Anda! Ketik www.namawebandasaatdaftardiwebhost.com/install.php
17.   Ikuti petunjuk yang ada! Bila kesulitan bisa menghubungi saya