Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Thursday, March 9, 2017

Mobile Apps using HTML interface with jQueryMobile

Mobile Apps using HTML interface with jQueryMobile


image

This is the main tutorial for developing a mobile web app using the HTML  interface with jQueryMobile. The series contains tutorial on how to use HTML and jQueryMobile to construct the app’s interface, PHP+MySQL to run the back-end, AJAX, using phoneGap/Cordova to generate Android APK, and lastly to upload to Google Play Store.

These are the link of completed tutorials related to Mobile Web Apps Development

  1. Mobile Apps using HTML interface with JQUERYMOBILE (this page)
  2. Complete code sample of Mobile Web Apps with FRONT-END and BACK-END
  3. Using AJAX to populate data from mobile web interface
  4. Generating APK using BUILD.PHONEGAP.com
  5. Generating Android Project using CORDOVA
  6. Publishing to Google Play Store
  7. Mobile Web Apps development TRAINING
  8. The sample app published in Google Play Store

jQueryMobile is a JavaScript + CSS framework born from jQuery. The best place to learn jQueryMobile is by accessing the official website at http://demos.jquerymobile.com/

As the name framework, there suppose to have library of codes ready to use. In the jQueryMobile case, you need to download both the jQuery framework, and the jQueryMobile framework in order for this tutorial to proceed as we intent.

  • Download the jquery framework here.
  • Download the jquerymobile framework here.

image

 

STEP 1: Preparing the project folder with the jquery & jquerymobile library.

We’d like to recommend the following folder and sub-folders for your HTML app project. Prepare them first.

image

Open the jquerymobile zip files you just downloaded previously. Copy all the Cascading Style Sheet (*.css)files and the images to the css folder you created. You can do this by selecting the images folder and the css, clicking and dragging them to your css folder. *The images folder in the jquerymobile zip file contains the icons for your css interface.

image

imageThe css files copied to your css folder.

Then copy the javascript files (*.js) to your js folder.

image

Now open the jquery file (*.js) your downloaded early in the tutorial.

image

Then you got your js folder ready for jquerymobile implementation.

image

STEP 2: Developing the HTML interface

The mobile interface is mainly in the index.html. Use any of your HTML editor to ammend the index.html content. This is some example of the content. The first part is the jquery and jquerymobile API inclusion in the header. The template below also provide heading, content and footer divisions.

image

The sample code:

<!DOCTYPE html>
<html>
<head><title>Page title is here</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- include the jquerymobile and jquery API files here -->
<link href="css/jquery.mobile-1.4.5.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.11.2.min.js"></script><script src="js/jquery.mobile-1.4.5.min.js"></script>
</head>

<body>
<!-- main page -->
<div data-role="page" id="home">
<!-- header -->
<div data-role="header" data-position="fixed">
<h1>Header content is here</h1>
</div>

<!-- content -->
<div role="main" class="ui-content">
<p>Main content is here</p>
</div><!-- end content -->

<!-- footer -->
<div data-role="footer" data-position="fixed">
<h2>Footer text is here</h2>
</div><!-- end footer -->
</div><!-- end of home -->
</body>
</html>


Note the viewport in one of the meta. By setting the viewport attributes to content="width=device-width, initial-scale=1", the width will be set to the pixel width of the device screen.


<meta name="viewport" content="width=device-width, initial-scale=1">


Output sample: preview in the browser.


image





STEP 3: Multi-page template structure


A single HTML document can contain multiple "pages" that are loaded together by stacking multiple divs with a data-role of "page". Each "page" block needs a unique id that will be used to link internally between "pages" (href="#foo"). When a link is clicked, the framework will look for an internal "page" with the id and transition it into view.


Here is an example of a three"page" site built with three jQuery Mobile divs navigated by linking to an id placed on each page wrapper. Note that the ids on the page wrappers are only needed to support the internal page linking, and are optional if each page is a separate HTML document.



  • page 1 is the main page with id=”home”
  • page 2 is the about page with id=”about”
  • page 3 is the directory page with id=”directory”

For this exercise to work, there’s an image named logo.jpg need to be prepared in the folder images. Your company logo or any low resolution image will do.


The complete source-code of the index.html file.


<!DOCTYPE html>
<html>
<head><title>Kerul.net Company Directory</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/jquery.mobile-1.4.5.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.11.2.min.js"></script><script src="js/jquery.mobile-1.4.5.min.js"></script>

</head>
<body>

<!-- ************************** main page -->
<div data-role="page" id="home">
<!-- header -->
<div data-role="header" data-position="fixed">
<h1>kerul.net</h1>
</div>

<!-- content -->
<div role="main" class="ui-content">
<p>This app provide info about the company.</p>
<!-- provide a logo.jpg image in the folder images -->
<img src="images/logo.jpg" width="200" height="200">
</br>
</div><!-- end content -->

<!-- footer -->
<div data-role="footer" data-position="fixed">
<div data-role="navbar">
<ul>
<li><a href="#home" >Home</a></li>
<li><a href="#directory" >Dir</a></li>
<li><a href="#about" >About</a></li>
</ul>
</div><!-- end navbar -->
</div><!-- end footer -->
</div><!-- end of home –>



<!-- ************************** about apps -->
<div data-role="page" id="about">
<!-- header -->
<div data-role="header" data-position="fixed">
<h1>kerul.net</h1>
</div>

<!-- content -->
<div role="main" class="ui-content">
<p>Developer - kerul.net</p>
<p>
This is the a sample app developed using HTML for Kerul.net. The blog has been discussing programming since 2005. The company started publishing Android apps in the year 2010, and its apps among others are Malay Proverb Dictionary (Peribahasa) and m-Mathurat. Currently, it is working on the Windows Phone version of the apps. There are also Hijra of the Prophet Muhammad app in the Windows Phone store.

PHP, C#, and Java are also the programming languages that the blog is familiar with.
</p>
<a href="http://kerul.net" class="ui-btn ui-icon-action ui-btn-icon-right ui-btn-corner-all" target="_blank"> go to kerul.net</a>
</br>
</div><!-- end content -->

<!-- footer -->
<div data-role="footer" data-position="fixed">
<div data-role="navbar">
<ul>
<li><a href="#home" >Home</a></li>
<li><a href="#directory" >Dir</a></li>
<li><a href="#about" >About</a></li>
</ul>
</div><!-- end navbar -->
</div><!-- end footer -->
</div><!-- end of home –>



<!-- ************************** direktori page -->
<div data-role="page" id="directory">
<!-- header -->
<div data-role="header" data-position="fixed"

Available link for download

Friday, February 17, 2017

Modul HTML untuk Pemula

Modul HTML untuk Pemula



Modul html from ferdiambarala

Available link for download

Thursday, February 9, 2017

Membuat Simbol Matematika Huruf Yunani dan Simbol Lainnya dengan Kode HTML

Membuat Simbol Matematika Huruf Yunani dan Simbol Lainnya dengan Kode HTML




Membuat Simbol Matematika, Huruf Yunani, dan Simbol Lainnya dengan Kode HTML - Sebelumnya di blog ini telah diulas mengenai cara membuat simbol atau karakter khusus dengan menggunakan kode HTML pada posting yang berjudul Cara Membuat Karakter-karakter Khusus dalam Postingan. Namun, pada artikel tersebut hanya dibahas beberapa simbol saja.

Kali ini masih akan membahas tentang cara membuat simbol menggunakan kode HTML tetapi dengan jumlah simbol yang lebih banyak. Baik dengan kode HTML yang berupa angka maupun kode HTML dengan huruf atau kata. Kedua kode tersebut menghasilkan simbol yang sama di bagian "Compose" atau setelah posting dipublikasikan. Yang harus diingat adalah menuliskan kode tersebut pada bagian "HTML".

Simbol-simbol ini terbagi menjadi 3 kelompok tabel. Tabel yang pertama memuat simbol-simbol yang berhubungan dengan matematika. Tabel yang kedua berisi simbol dan tulisan Yunani. Sedangkan tabel yang terakhir memuat simbol-simbol yang lainnya.

Berikut 3 tabel yang memuat simbol-simbol beserta kode HTML-nya. Selamat menyimak dan semoga bermanfaat.

I. SIMBOL MATEMATIKA

SIMBOLHTML ANGKAHTML KATAKETERANGAN
?
&#8704;
&forall;
for all
?
&#8706;
&part;
part
?
&#8707;
&exists;
exists
?
&#8709;
&empty;
empty
?
&#8711;
&nabla;
nabla
?
&#8712;
&isin;
isin
?
&#8713;
&notin;
notin
?
&#8715;
&ni;
ni
?
&#8719;
&prod;
prod
?
&#8721;
&sum;
sum
?
&#8722;
&minus;
minus
?
&#8727;
&lowast;
lowast
?
&#8730;
&radic;
square root
?
&#8733;
&prop;
proportional to
?
&#8734;
&infin;
infinity
?
&#8736;
&ang;
angle
?
&#8743;
&and;
and
?
&#8744;
&or;
or
?
&#8745;
&cap;
cap
?
&#8746;
&cup;
cup
?
&#8747;
&int;
integral
?
&#8756;
&there4;
therefore
?
&#8764;
&sim;
simular to
?
&#8773;
&cong;
approximately equal
?
&#8776;
&asymp;
almost equal
?
&#8800;
&ne;
not equal
?
&#8801;
&equip;
equivalent
?
&#8804;
&le;
less or equal
?
&#8805;
&ge;
greater or equal
?
&#8834;
&sub;
subset of
?
&#8835;
&sup;
superset of
?
&#8836;
&nsub;
not subset of
?
&#8838;
&sube;
subset or equal
?
&#8839;
&supe;
superset or equal
?
&#8853;
&oplus;
circled plus
?
&#8855;
&otimes;
circled times
?
&#8869;
&perp;
perpendicular
?
&#8901;
&sdot;
dot operator


II. HURUF YUNANI

KARAKTERHTML ANGKAHTML KATAKETERANGAN
?&#913;&Alpha;Alpha
?&#914;&Beta;Beta
?&#915;&Gamma;Gamma
?&#916;&Delta;Delta
?&#917;&Epsilon;Epsilon
?&#918;&Zeta;Zeta
?&#919;&Eta;Eta
?&#920;&Theta;Theta
?&#921;&Iota;Iota
?&#922;&Kappa;Kappa
?&#923;&Lambda;Lambda
?&#924;&Mu;Mu
?&#925;&Nu;Nu
?&#926;&Xi;Xi
?&#927;&Alpha;Omicron
?&#928;&Pi;Pi
?&#929;&Rho;Rho
?&#931;&Sigma;Sigma
?&#932;&Tau;Tau
?&#933;&Upsilon;Upsilon
?&#934;&Phi;Phi
?&#935;&Chi;Chi
?&#936;&Psi;Psi
?&#937;&Omega;Omega

?&#945;&alpha;alpha
?&#946;&beta;beta
?&#947;&gamma;gamma
?&#948;&delta;delta
?&#949;&epsilon;epsilon
?&#950;&zeta;zeta
?&#951;&eta;eta
?&#952;&theta;theta
?&#953;&iota;iota
?&#954;&kappa;kappa
?&#955;&lambda;lambda
?&#956;&mu;mu
?&#957;&nu;nu
?&#958;&xi;xi
?&#959;&omicron;omicron
?&#960;&pi;pi
?&#961;&rho;rho
?&#963;&sigma;sigma
?&#964;&tau;tau
?&#965;&upsilon;upsilon
?&#966;&phi;phi
?&#967;&chi;chi
?&#968;&psi;psi
?&#969;&omega;omega

?&#977;&thetasym;theta symbol
?&#978;&upsih;upsilon symbol
?&#982;&piv;pi symbol


III. SIMBOL-SIMBOL LAINNYA

SIMBOLHTML ANGKAHTML KATAKETERANGAN
Œ&#338;&OElig;capital ligature OE
œ&#339;&oelig;small ligature oe
Š&#352;&Scaron;capital S with caron
š&#353;&scaron;small S with caron
Ÿ&#376;&Yuml;capital Y with diaeres
ƒ&#402;&fnof;f with hook
ˆ&#710;&circ;modifier letter
˜&#732;&tilde;small tilde

&#8194;&ensp;en space

&#8195;&emsp;em space

&#8201;&thinsp;thin space
?&#8204;&zwnj;zero width non-joiner
?&#8205;&zwj;zero width joiner
?&#8206;&lrm;center-to-right mark
?&#8207;&rlm;right-to-center mark
–&#8211;&ndash;en dash
—&#8212;&mdash;em dash
‘&#8216;&lsquo;center single quotation mark
’&#8217;&rsquo;right single quotation mark
‚&#8218;&sbquo;single low-9 quotation mark
“&#8220;&ldquo;center double quotation mark
”&#8221;&rdquo;right double quotation mark
„&#8222;&bdquo;double low-9 quotation mark
†&#8224;&dagger;dagger
‡&#8225;&Dagger;double dagger
•&#8226;&bull;bullet
…&#8230;&hellip;horizontal ellipsis
‰&#8240;&permil;per mille
?&#8242;&prime;minutes
?&#8243;&Prime;seconds
‹&#8249;&lsaquo;single center angle quotation
›&#8250;&rsaquo;single right angle quotation
?&#8254;&oline;overline
€&#8364;&uero;uero
™&#8482;&trade;trademark
?&#8592;&larr;left arrow
?&#8593;&uarr;up arrow
?&#8594;&rarr;right arrow
?&#8595;&darr;down arrow
?&#8596;&harr;left right arrow
?&#8629;&crarr;carriage return arrow
?

Available link for download

Thursday, December 15, 2016

Mastering Kode HTML

Mastering Kode HTML





Available link for download

Saturday, November 12, 2016

mengatasi because of security error html

mengatasi because of security error html


Bagi anda yang menggunakan fasilitas Remote Desktop Connection atau biasa disebut RDP (Remote Desktop Protocol) di Windows, tentunya sangat dimudahkan dalam bekerja karena dapat mengakses remote komputer  dengan tampilan GUI (Graphical User Interface) persis sama seperti kita berada di depan komputer aslinya yang diremote tersebut.

Pernahkah anda mengalami atau ada beberapa komputer/server di tempat anda yang tidak bisa diremote dengan keterangan : Because of a security error, the client could not connect to the remote computer, Verify that you are logged on to the network, and then try connecting again ?. 
Di komputer saya ini terjadi ketika akan Remote desktop ke Windows 2008, sedangkan komputer yang  dipakai untuk meremote (client) menggunakan Windows XP dan Windows Server 2003.






Sulusinya :

Perhatikan Versi Remote Desktop Connection (Terminal Services Client)

Cara untuk melihat versi remote desktop lihat di link ini 

Silakan upgrade versi Remote Desktop Connection / Terminal Services Client (pada komputer yang dipakai buat meremote). Caranya mudah tinggal download dan instal kb 925876 dari Microsoft dengan alamat:  http://support.microsoft.com/kb/925876
Pilih update  sesuai dengan OS client komputernya, Window XP atau Windows Server 2003, 32 bit atau 64 bit.
  sumber : http://www.tipstriks.com/2013/12/mengatasi-because-of-security-error.html

Available link for download

Saturday, November 5, 2016

Menulis kode HTML dipostingan blog

Menulis kode HTML dipostingan blog


Kode HTML yaitu sebuah kode yang digunakan untuk membuat bentuk/membaca sebuah berupa benda atau gadgaet yang nantinya akan tampil dipostingan blog kamu. Nah, Code converter dipergunakan untuk mem-parse atau mengubah kode html agar bisa ditampilkan dalam bentuk postingan. Tujuannya agar kode tersebut tidak dianggap perintah oleh system. Code converter ini sangat berguna bagi sahabat blogger yang sering berurusan dengan kode-kode yang harus di posting pada blog. Bagi yang ingin memasang Code Converter sebagai tool pada blognya seperti pada blog ini, silahkan copas kode berikut:

<script src="http://www.gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/102462998830435293579/post-Code.xml&amp;up_grows=10&amp;up_conv1=1&amp;up_conv2=1&amp;up_conv3=1&amp;up_conv4=1&amp;up_conv5=1&amp;synd=open&amp;w=315&amp;h=200&amp;title=Post-Code%3A+code+converter&amp;border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages%2F&amp;output=js">
</script>

Maka hasilnya akan tampil seperti dibawah ini. 

Available link for download