Code Example‎ > ‎

Hello Droidget


Cerate New Project

Choose File >> New >> Project from Eclipse Menu.


Choose Doirdget Wizards >> Project



Fill Project Name, Author, Author URL, Description, and License.


If you finished to make project, apear "Hello Droidget" Project Folder at Eclipse Package Manager.


Edit Widget

Next Step, open index.html. Right click on index.html, and chose Open With >> Text Editor in shortcut menu.


Open index.html by TextEditor.


Edit <body>-</body> area.

index.html
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title></title>
</head>
<body>
This is my first Widget<br>
Hello Droidget.
</body>
</html>




Comments