Teknologi Maklumat & Kehidupan Insan

Kursus ini membincangkan adab pengendalian maklumat, isu-isu yang berkaitan dengan teknologi komputer dan teknologi maklumat. Penggunaan komputer peribadi dengan memberi pendedahan kepada perkakasan dan perisian komputer. Membincangkan mengenai internet, telekomunikasi serta pencarian maklumat melalui web. Membentuk pelajar yang beradab dalam pengendalian dan pengurusan maklumat.

Rangka Kursus


Topik 1 Islam dan Teknologi Maklumat


Topik 2 Sejarah Ilmu Pengetahuan


Topik 3 Masyarakat Malaysia dan ICT


Topik 4 Teknologi Maklumat: Software, Hardware & Heartware


Tugasan MAKMAL

Latihan MSWord: Heading, Table of Content, Bibliography


Tips MS PowerPoint

ic-ITS 2015 International Conference on IT & Society

image

Call for papers – The IC-ITS 2015 secretariat cordially invites submission of academic articles to the International Conference on Information Technology & Society 2015. This conference is a platform to bring together researchers, developers and practitioners from academia and industry working in the areas of Information Technology and its contribution to the Society.  The conference is hosted by Faculty of Information Science & Technology, International Islamic University College of Selangor.

Theme
“The Impact of Information Technology to the Society”

Venue
Grand Seasons Hotel, Kuala Lumpur, MALAYSIA

Conference Dates
8th & 9th June 2015

Sub-themes

  • Information Technology in Society
  • Information Policy
  • Social Media and Community
  • Multimedia and Society
  • Natural language processing
  • Machine Translation
  • Computer Science
  • Algorithm and Programming
  • Software Engineering
  • Decision support systems
  • Knowledge management
  • Intelligent information systems
  • Languages and programming techniques
  • Social impact of IT
  • Emerging technologies
  • Machine Learning

All accepted papers with author registration, complete fee payment, presentation at the conference and subject to approval of Editorial Board will be published in the e-Proceeding of the International Conference on Information Technology & Society 2015.

Abstract Submission - kindly use the form provided here.

Full Paper Submission
Kindly send your papers to icits@kuis.edu.my
Download the paper template here

Selected papers also will be recommended to be published in MyJICT – Malaysian Journal of Information Communication Technology

Contact info
Azfi Zaidi
Kolej Universiti Islam Antarabangsa Selangor (KUIS)
43000 Kajang, Selangor, MALAYSIA.
Phone/SMS/WhatsApp/Telegram: +60-12903-4614
E-mail : icits@kuis.edu.my

http://ftsm.edu.my/icits

Java Beginner Tutorials

DTCP2023 - FUNDAMENTALS OF PROGRAMMING

Slide Chapter 1 Complex Control Structure


Slide Chapter 2 Java Method


Example Method 1 – Min, Max, Average of 3 numbers

//********************************************************************
//  Demonstrates the use of methods in Java.
//********************************************************************

import java.util.Scanner;

public class MinOfThree
{
   //-----------------------------------------------------------------
   //  Reads three integers from the user and determines the smallest
   //  value.
   //-----------------------------------------------------------------
   public static void main (String[] args)
   {
      int num1, num2, num3, min = 0, max=0;
      float average;

      Scanner scan = new Scanner (System.in);

      displayinfo();

      System.out.println ("Enter three integers: ");
      num1 = scan.nextInt();
      num2 = scan.nextInt();
      num3 = scan.nextInt();

      //min=minimum(num1, num2, num3);
      System.out.println ("Minimum value: " + minimum(num1, num2, num3));

      //call maximum method
      max=maximum(num1, num2, num3);
      System.out.println ("Maximum value: " + max);

      //call average method
      findaverage(num1, num2, num3);

   }//end main

   public void findaverage(int num1, int num2, int num3){
      float average=(num1+num2+num3)/3;
      System.out.println ("Average value: " + average);
   }//findaverage

   public static void  displayinfo(){
      System.out.println ("************************************");
      System.out.println ("A Program to find min and max number");
      System.out.println ("Author: Kerul.net");
      System.out.println ("************************************");
   }//end displayinfo

   public static int minimum(int num1, int num2, int num3){
         int min;
         if (num1 < num2){
         if (num1 < num3)
            min = num1;
         else
            min = num3;
         }
      else{
         if (num2 < num3)
            min = num2;
         else
            min = num3;
      }
      return min;

   }//end minimum

   public static int maximum(int num1, int num2, int num3){
         int max;
         if (num1 > num2)
         if (num1 > num3)
            max = num1;
         else
            max = num3;
      else
         if (num2 > num3)
            max = num2;
         else
            max = num3;
      return max;
   }

}//end class


Example Method 2 – Grade Method


import java.util.Scanner;

public class grademethod
{
   public static void main (String[] args)
   {
      Scanner scan = new Scanner (System.in);
      System.out.println ("Enter your score: ");
      float score = scan.nextInt();
      //call printGrade here

   }//end main

   //Call the printGrade method from main
    public static void printGrade(double score) {
        if (score >= 90.0)
          System.out.println("A");
        else if (score >= 80.0)
          System.out.println("B");
        else if (score >= 70.0)
          System.out.println("C");
        else if (score >= 60.0)
          System.out.println("D");
        else
          System.out.println("F");
  }//end printGrade
}//end class



Slide Chapter 3 Arrays in Java


Sample 1:


public class AverageArray {

    public static void main(String[] args) {
        //int num1, num2, num3, num4, num5, num6, num7, num8, num9, num10;
        //int[] num = new int[10];
        int num[]={23,34,13,12,32,10,11,31,45,67};
        /*num[0]=23;
        num[1]=34;
        num[2]=13;
        num[3]=12;
        num[4]=32;*/
        float total=0,average;
        //float average=(num1+num2+num3+num4+num5+num6+num7+num8+num9+num10)10;
        for (int i=0; i<10;i++){
            total=total+num[i];
        }

        average=total/10;
        System.out.println("Total="+total);
        System.out.println("Average="+average);

        //Exercise: List all values that bigger than the average
        for (int i=0; i<10;i++){
            if (num[i]>average){
                System.out.println(num[i]+" is bigger than average");
            }
        }

    }//end main

}

Exercise 1: Get 15 numbers from user, and store the values inside an array variable. Evaluate the biggest and smallest number among the values.

Found this website and has a easy, simple Java Tutorial, thanks to the author.




Install Java The first step to programming Java is to get it running on your computer. This easy-to-follow guide will show you how to set up Java and Eclipse, complete with screenshots to help you follow along.

Your First Program Got Java and Eclipse installed? Let's make sure everything is set up properly and begin your introduction to Java by starting you with coding your very first program!

Java Output Learn how to easily get Java to display text on the screen. It'll be your proof that you can make a computer do what YOU want it to do!

Java Variables Without variables, there's no way to store values in your program. Learn the basics about creating and using Java's variables so your programs can do more than just display stuff on the screen.

Java Input Want to make your programs interactive? Learning to get input from a user is crucial if your program will ever be used by a human. Java has an easy way of doing this, and that's by using a Java Scanner.

Conditionals ( The If Statement ) Your program is doomed to do exact same thing every time it runs unless you let it know about different conditions. Learn the power of if statements and how to use them to produce different results based on what you tell the code to do.

Loops - For Loops And While Loops If you've been trying out your own programs, you must be getting fed up with having to copy and paste code you want done over and over again. But, there is a better way! Read on to learn how you can make a program do something over and over without having to write it over and over.

Intro To Java Methods The final tutorial in Java For Beginners! Learn a little bit about what Java methods are, how to write them, and how to use them. This tutorial won't cover everything, but it'll be just enough to get you to use them and serves as a jump-off point to the more advanced tutorials.

The tools

1. JDK - download here.
2. Eclipse IDE - download here.




Cross-platform Android Apps Development

The slide is here http://www.slideshare.net/khirulnizam/android-app-development-hybrid-approach-for-beginners

Yet another journey to mobile development using Apache Cordova (previously known as PhoneGap). Attended a course that introduce the usage of HTML5 and jQuery to develop a cross-platform mobile Apps.

STEP 1: Preparing the Apache Web Server

Download and install your preferred Apache web server. In my case, am using the Apache web server in XAMPP.

In your htdocs, create a folder for your project. Inside the project folder, create the items as shown in the picture below. An index.html, a js folder, css and image.

image

STEP 2: Copy the jQuery mobile templates

Available in the jQueryMobile - download the latest from here http://jquerymobile.com/resources/download/jquery.mobile-1.4.5.zip.

After finish downloading the jQuery for mobile installer, extract. Copy the CSS and JS library in the respective folder created in Step 1.

 

 

 

One HTML file can accommodate the whole apps – try this demo http://demos.jquerymobile.com/1.4.5/pages/

Now we code using NotePad++, create index.html on htdocs/mobile

 

<!DOCTYPE html> 
<html>
<head>
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/jquery.mobile-1.4.5.min.css" />
<script src="js/jquery-1.11.1.min.js"></script>
   1:  
   2:     <script src="js/jquery.mobile-1.4.5.min.js">
</script>
</head>

<body>
<!-- Start of first page -->
<div data-role="page" id="page1" >
<div data-role="header" > Page 1 </div>
<div role="main" class="ui-content"> Hi </div>
<div data-role="footer"> kerul.net </div>
</div>
<!-- /end of 1st page -->
<!-- Start of second page -->
<div data-role="page" id="page2" >
<div data-role="header" > Page 2 </div>
<div role="main" class="ui-content"> Hoi </div>
<div data-role="footer"> kerul.net </div>
</div>
<!-- /end of 2nd page -->
</body>
</html>



Get Started! jQuery Mobile



jQuery Mobile

jQuery Mobile is a user interface framework based on jQuery that works across all popular phones, tablet, e-reader, and desktop platforms. Built with accessibility and universal access in mind, we follow progressive enhancement and responsive web design (RWD) principles. HTML5 Markup-driven configuration makes it easy to learn, but a powerful API makes it easy to deeply customize the library.

Packaging With Cordova


Preparing Android App For Google Play Using Windows



  • Requirement

  • Windows 7/8 in this case Windows 8
  • JAVA SDK
  • Android ADT
  • Apache ANT
  • NodeJS
  • Apache Cordova

For better understanding, create folder 'Mobile Dev' in Drive C.

All file will be downloaded here and this location 'C:\Mobile Dev' will be used for Apache ANT and Android Development Tool SDK.

We will go through STEP BY STEP with images to gain best understanding

Apache Cordova

Cordova is an open-source mobile development framework. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status

Android App

A mobile software application developed for use on devices powered by Google's Android platform. Android apps are available in the Google Play Store (formerly known as the Android Market), in the Amazon Appstore and on various Android App-focused sites, and the apps can run on Android smartphones, tablets, Google TV and other devices.

This tutorial is in the development process, sorry to keep you waiting.

The Training Outline





































Module


Hybrid Android Apps Development
(using HTML5, jQuery, Apache Cordova and ADT)


Duration


4 days


Synopsis


With Android phones being produced by all of the major phone manufacturers and with the addition of new tablet devices, it's no surprise that the Android platform is the fastest growing mobile development platform in the world. In this course, you will learn to develop Android applications using HTML5 and the ADT development environment. You will learn basic application development including using the Android call, SMS functions, working with online database, and location mapping.

The benefit of having the HTML and jQuery as the development tool is that the same source code could be deployed in another environment such as iOS and the Web.


Course Objective


At the end of the course, participant should be able to;

• Use HTML5, jQuery and the Android ADT to develop and debug Android applications

• Develop web-based mobile apps.

• Develop Database Application.

• Develop Apps with Mapping capabilities.


Who Can Benefit


• New and experienced application developers who wish to expand their toolset and specialize in developing Android apps for business, education, or personal use.

• Developers seeking a career enhancement as an mobile applications developer.

• Anyone who started building an app and needs help putting all the pieces together.


Prerequisites


• Experience in any Programming Language

• Experience in HTML, JavaScript, PHP and web apps are preferred.

• A laptop running Windows with approximately 10GB of free disk space and 4GB of RAM.


Day 1


The Android Development Basics with HTML5

• What Android is all about.

• How an Android project is structured

• Development tools installation.

• Web server setup (Apache HTTPd).

HTML and HTML5 basics.

• Basic HTML file.

• Text, Fontface, Hyperlinks.

• Image, Paragraph, Division, Header.

• Division, Header.

• CSS.

• JavaScript & JQuery mobile framework basics.


Mobile Page Structure

• Header

• Main Content

• Footer

• Single-page template structure

• Multi-page template structure

• Buttons

• Transition

• Listview

• Panel


DAY 2


Android App Project Generation

• Installing the tools; JDK, Apache Ant, NodeJS & Android SDK.

• Configure Windows Environment Setting For Android Development For Java SDK, Android SDK and Apache ANT.

• Setting up JAVA_HOME, ANT_HOME and PATH.

• Configuration Testing.


Signing & Packaging

• Installing Apache Cordova.

• Building the Android project.

• Importing to ADT.

• App Icon and Splash Screen.

• Signing and packaging (APK).


Deployment & Distribution

• Registering Google Play publisher account.

• Uploading APK.

• Icons and Screenshots.

• Pricing & Distribution.


DAY 3


Map

· Integrate jQueryMobile with Google Maps.

· Get the users current location.

· Using preset location, ie our location.

· Displaying the Maps for specific longitude and latitude.

Preparing Online Database

· Server configuration.

· PHP and MySql connectivity.

· Gui tool to manage data.

· MySql query for selecting data.

· Using PHP to display data.

· Classic form for text and dropdownn box.

· Submitting data.

· html5 search box.

Introduction to jQuery

· jQuery syntax.

· Event.

· Selecting element and id.

· Getting HTML value and attribute.


DAY 4


jQuery continued

· Animating content.

· Manipulating content.

· AJAX with jQuery.

jQuery Mobile Form

· Markup form element, text, label, search and dropdown with jQueryMobile.

· Apply jQuery AJAX, getting and manipulating content.

· Apply result page with normal text or pop/dialogue.

· Configure server to reach from native app.

Repackaging and troubleshooting

· Apply packaging with upgrade ability to Google Play Store.

· Accessing online data from real device.

 


 



 

Our Popular Posts

WorldConferences.net