Công việc được giao trong đợt thưc tập Mô tả:

Một phần của tài liệu thực tập nhận thức tại công ty tài chính viễn thông ftl (Trang 29)

- Nghiên cứu, phát triển và triển khai các giải pháp CNTT cho các doanh nghiệp tài chính và viễn thông,cụ thể:

2.3Công việc được giao trong đợt thưc tập Mô tả:

Mô tả:

- Lâp trình ứng dụng cho hệ điều hành android sử dụng ngôn ngữ html5

Chi tiết: Tuần 1:

-Tìm hiểu về ngôn ngữ HTML,các câu lệnh và ý nghĩa,cách tạo các form,frame trên 1 trang web

Tuần 2 :

- Dựa theo hướng dẫn làm theo từng bước và dựng được 1 ứng dụng cơ bản Welcome to PhoneGap,sau đó để tìm hiểu vì sao ra được,rồi thay đổi những dòng code trong file index.htmlmaster.cssđể hiện thị ra câu Hello World màu đỏ trong chương trình giả lập Android

Tuần 3:

- Tạo ra 1 ứng dụng đơn giản ,đầu vào có lời chào:Chào mừng bạn làm quen với android, và 1 nút bấm, khi click vào nút đó sẽ hiện ra thông báo: game over và hỏi lại có muốn tiếp tục không,click yes sẽ quay lại ban đầu,no ứng với thoát khỏi chương trình

Ảnh giao diện:

Code chương trình:

<!DOCTYPE html> <html>

<head>

<title>Notification Example</title>

<script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script> <script type="text/javascript" charset="utf-8">

// Wait for Cordova to load //

// Cordova is ready //

function onDeviceReady() { // Empty

}

// process the confirmation dialog result function onConfirm(buttonIndex) {

alert('You selected button ' + buttonIndex); }

// Show a custom confirmation dialog //

function showConfirm() {

navigator.notification.confirm( 'You are the winner!', // message

onConfirm, // callback to invoke with index of button pressed 'Game Over', // title

'Restart,Exit' // buttonLabels );

}

</head> <body>

<p><a href="#" onclick="showConfirm(); return false;">Show Confirm</a></p>

</body> </html>

Tuần 4:

- Tạo 1 ứng dụng câu hỏi trắc nghiệm mô phỏng chương trình ai là triệu phú chạy trên nền android

Code chương trình:

<!DOCTYPE html> <html>

<title>Notification Example</title>

<script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script> <script type="text/javascript" charset="utf-8">

// Wait for Cordova to load

// document.addEventListener("deviceready", onDeviceReady, false); // Cordova is ready // function onDeviceReady() { // Empty } // // Documentation: // http://chami.com/tips/javascript/ function checkAnswer(quizForm, theAnswer, urlRight, urlWrong) { var s = "?";

// go through the "current choices" // to find the selected choice. // radio boxes pointing to choices // must be named "cc"

// change if necessary // var i = 0; for(;i<quizForm.elements.length;i++) { if(("cc" == quizForm.elements[i].name) && (quizForm.elements[i].checked)) { s = quizForm.elements[i].value; } }

// no choice was selected //

if("?" == s) {

alert("Please make a selection."); return false;

}

// check if we have the correct // choice selected

//

{ alert("'" + s + "' is correct!"); if(urlRight) { document.location.href = urlRight; } } else { alert("'"+s+"' is incorrect."); if( urlWrong ) { document.location.href = urlWrong; } }

// return "false" to indicate not to // submit the form.

// change this to "true" if the form // "action" is valid,

// i.e. points to a valid CGI script //

return false;

// Show a custom confirmation dialog //

</script> </head> <body>

<button type="button">Click Me!</button>

<p><a href="#" onclick="checkAnswer(); return false;">Check Alert</a></p> </body>

Ai la cau thu gianh duoc qua bong vang euro 2012?

<FORM method="POST"

onSubmit="return checkAnswer(this,'C');" >

<INPUT TYPE="RADIO" VALUE="A" NAME="cc"> A. Pirlo<BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc"> B. Ronaldo<BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc"> C. Iniesta<BR>

<INPUT TYPE="SUBMIT" VALUE="Submit Answer"> <br></br>

Thu do cua nuoc Viet Nam? <FORM method="POST"

onSubmit=

"return checkAnswer(this, 'A', 'correct.htm', 'wrong.htm');" >

<BR>

<INPUT TYPE="RADIO" VALUE="A" NAME="cc"> HA NOI<BR>

<INPUT TYPE="RADIO" VALUE="B" NAME="cc"> HO CHI MINH<BR>

<INPUT TYPE="RADIO" VALUE="C" NAME="cc"> NAM DINH <BR>

<INPUT TYPE="SUBMIT" VALUE="Submit Answer"> </FORM>

</html>

Chương 3: Nhận xét , đề xuất 3.1 Ưu điểm

- Chăm chỉ,có tinh thần học hỏi ,chấp hành mọi nội quy của công ty,hoàn thành đầy đủ mọi nhiệm vụ được giao trong quá trình thực tập

Một phần của tài liệu thực tập nhận thức tại công ty tài chính viễn thông ftl (Trang 29)