Develop iOS, Android and Windows applications using HTML – Part 1

Prerequisites: Basic knowledge of HTML , CSS and jQuery Mobile

 

This is the part one of the series, You can directly to second part from Develop iOS, Android and Windows applications using HTML – Part 2

 

There are different ways to develop mobile applications. One is to develop the applications using the Native Software Development Tools ( like developing Android applications using Eclipse in JAVA, or developing iOS application using XCode in Objective C) and the other one is to develop cross platform (i.e. platform independent applications, iOS, Android, Windows,  BBM) applications using Hybrid Development Tools in HTML5 and CSS.   To know about the difference between Native and Hybrid application development, please refer here . This tutorial will be a part of the series and some more tutorials will follow after this post.

 

Step 1

Donwload a Text Editor to write HTML code. Proffered ones are Notepad++ and Sublime Text. I am using a great Text Editor called Sublime Text 2 which you can download here.

Step 2

Download  Wamp Server from here.  After installation, run it and go to localhost. You will see an image as shown below.

wamp

 

Step 3

Go to the wamp server installation directory and create a folder named “HelloWorld” in www . (path: C:wampwww)

HelloWorld

Download jQueryMobile reference files from here to  Include the jQuery Mobile Scripts into your html page . Download Minified: jquery.mobile-1.3.1.min.js and Minified with Default theme: jquery.mobile-1.3.1.min.css (Right Click and Save As).

After this, Download jQuery scripts from hereDownload the compressed, production jQuery 1.10.1 and create a new folder in “HelloWorld” by the name of “jquery-mobile” .

jquery-mobile

Step 4

Go to “HelloWorld” folder and create a new .html file using using sublime text.

Reference the scripts downloaded in Step 3 and create the basic HTML Structure as shown below :

   1:  <!DOCTYPE>

 

   2:  <html>

 

   3:  <head>

 

   4:      <meta charset="UTF-8" />

 

   5:      <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">

 

   6:      <title>ChillGeeks</title>

 

   7:      <link href="jquery-mobile/jquery.mobile-1.3.0.min.css" rel="stylesheet" type="text/css" />

 

   8:      <script src="jquery-mobile/jquery-1.8.2.min.js" type="text/javascript"></script>

 

   9:      <script src="jquery-mobile/jquery.mobile-1.3.0.min.js" type="text/javascript"></script>

 

  10:  </head>

 

  11:  

 

  12:  <body>

 

  13:  

 

  14:  </body>

 

  15:  </html>

This is the basic page without any content. Now go to http://view.jquerymobile.com/1.3.1/dist/demos/ and click on Header Toolbar. View the source of any header you like to insert. I am in love with blue color so I am using that.

Insert the below code in the <body> tag :

   1:  <div data-role="header" data-theme="b">

 

   2:          <h1>Chill Geeks</h1>

 

   3:  </div>

 

After this your code looks like this :

   1:  <!DOCTYPE>

 

   2:  <html>

 

   3:  <head>

 

   4:      <meta charset="UTF-8" />

 

   5:      <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">

 

   6:      <title>ChillGeeks</title>

 

   7:      <link href="jquery-mobile/jquery.mobile-1.3.0.min.css" rel="stylesheet" type="text/css" />

 

   8:      <script src="jquery-mobile/jquery-1.8.2.min.js" type="text/javascript"></script>

 

   9:      <script src="jquery-mobile/jquery.mobile-1.3.0.min.js" type="text/javascript"></script>

 

  10:  </head>

 

  11:  

 

  12:  <body>

 

  13:      <div data-role="header" data-theme="b">

 

  14:          <h1>Chill Geeks</h1>

 

  15:      </div>

 

  16:  </body>

 

  17:  </html>

Save it and run http://localhost/helloworld/ on your Chrome. It should look like this :

appWithHeader

This won’t give you the feel of how it would look on Mobile. To do this, download the mobile simulator ripple from here and add it to Chrome.  Enable it and your app will look like this :

appWithHeaderEmulator

 

You can put any type of the element using jQueryMobile demo website. Just visit here .

After this initial header, let us just add some form elements. We will be adding textboxes and buttons.

Now after the closing div tag of the header, just add the following code :

 

<div data-role="content">

 

        <h3>

 

            This demo will show you how to add form elements

 

        </h3>

 

        </br>

 

        <input type="text" name="text" id="name" value="" placeholder="Enter Your Name">

 

        <input type="tel" name="text" id="phone" value="" placeholder="Enter Your Phone Number">

 

        <input type="text" name="text" id="address" value="" placeholder="Enter Your Address">

 

</div>

 

The data-role element in the above code defines the role of the content and then map its designing as based on the jQueryMobile scripts. After this , let’s add a submit button.

</br>

 

    <div style="text-align:center">

 

        <a href="#" data-role="button" data-inline="true" data-theme="b" >Submit</a>

 

    </div>

After this, your complete code looks like this :

<!DOCTYPE>

 

<html>

 

<head>

 

    <meta charset="UTF-8" />

 

    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">

 

    <title>ChillGeeks</title>

 

    <link href="jquery-mobile/jquery.mobile-1.3.0.min.css" rel="stylesheet" type="text/css" />

 

    <script src="jquery-mobile/jquery-1.8.2.min.js" type="text/javascript"></script>

 

    <script src="jquery-mobile/jquery.mobile-1.3.0.min.js" type="text/javascript"></script>

 

</head>

 


 

<body>

 

    <div data-role="header" data-theme="b">

 

        <h1>Chill Geeks</h1>

 

    </div>

 

    <div data-role="content">

 

        <h3>

 

            This demo will show you how to add form elements

 

        </h3>

 

        </br>

 

        <input type="text" name="text" id="name" value="" placeholder="Enter Your Name">

 

        <input type="tel" name="text" id="phone" value="" placeholder="Enter Your Phone Number">

 

        <input type="text" name="text" id="address" value="" placeholder="Enter Your Address">

 

    </div>

 

</br>

 

    <div style="text-align:center">

 

        <a href="#" data-role="button" data-inline="true" data-theme="b" >Submit</a>

 

    </div>

 


 

</body>

 

</html>

Save the document and run http://localhost/helloworld/ on your Chrome. It should look like this :

App

 

This is the basic application, and does nothing but helps you to understand how to create mobile application. This currently runs on your browser, however, in the next tutorial, I’ll show you how to run this on your mobile.

How to get rid of annoying online ads in 2 simple steps

Today, online ads get more and more annoying, which spoils everyone’s browsing experience. Almost every major website in invested by ads: Facebook, Google, YouTube and many others. Also, new obtrusive forms of advertising are being introduced: video ads are one of the latest obnoxious trends in advertising. However, there is a very simple and quick way to get rid of all annoying ads. We have written earlier on how to block flash content in the browser.

 

With no doubt, Adblock Plus is the best way to block ads. Being introduced in 2006 as a Firefox-only plugin, today it is by far the most downloaded browser extension in the world, available for free on Chrome, Firefox, Opera and Android OS (Internet Explorer support is coming soon too). Besides being the most reliable solution for blocking ads, Adblock Plus also can be configured to block malware, disable tracking and remove social media buttons from websites. The installation is very easy, and it takes a few seconds:

 

Step 1: Please go to https://adblockplus.org, which is the official website of the extension.

 

Step 2: Hit the big green “Install” button, which will download the extension and install it in a few seconds. (Please note, you will require Firefox/Chrome/Opera, if you do not have one of these browsers, please install this first).

 

After installing the extension, no configuration is required – all annoying ads will be blocked automatically.

 

 

Adblock Plus blocks ads using filterslists, which include a large set of rules that tell the extension to block certain elements. These filterlists are constantly maintained by a vast Adblock Plus community, which will ensure that all the latest ads will be blocked too. Also, there is a wide choice of local filters, which block ads on local websites, as well as an option to create custom rules for blocking of whitelisting any elements. For more advanced information about Adblock Plus, please go to: http://adblockplus.org/en/tutorials.

Unlocking a secured PDF file

If you are having a [highlight]secured[/highlight] PDF file, for which you don’t know password to make edits. This post is for you. I was having this problem in editing a PDF file, it was a secured file, after doing a bit of research I found this PDF password remover software, this takes less than a minute to remove password from secured PDF files. The download link to this software is given at end of this post. You can also read this guide, if you are having any problems removing password from a secured PDF.

Continue reading “Unlocking a secured PDF file”

Blocking Flash in Google Chrome

Flash videos can some time be very annoying. They eat up your bandwidth unknowingly, but if you are using Google Chrome, you can always avoid them eating up your bandwidth. While there are Google Chrome Apps and extensions available for this purpose like chrome flashblock, but you can do it without actually installing any other add on for this purpose. You can selectively block flash plugins and other plugins in Google Chrome. The process is very simple to follow and will save 100s of MB from your bandwidth if you are a regular YouTube video viewer.

Open Google Chrome browser and type in – chrome://settings

settings

Click on “Content Settings”

save _changes

Select “Click to play” under Plugins, and save your changes by clicking “Done”.

Next time when you will open some website containing flash content or any other plugin content it will ask you before playing video. So, now you will have control on when to play video, so that videos won’t start automatically.

play

Disable thumbs.db in Windows 8

I really don’t having “thumbs.db” file in every other folder I open in Windows 8. So, I recently figured out, how to get rid of this. Below screenshot explains much of it…

grouppolicyeditor

Just open “gpedit.msc”, go to Administrative Templates => Windows Components => File Explorer. Look for entry “Turn off the caching of thumbnails in hidden thumbs.db files.”
Right click and edit this entry, click on “Enable” to Disable the generation of thumbs.db anymore…

enable

Please use the comments section, if you are still not able to achieve this…

SMS Marketing Tips for Businesses

SMS marketing can have a number of benefits to your company. Knowing how to properly implement SMS marketing, however, is easier said than done. Many companies make the mistakes in SMS marketing that can cost them customers. Following certain tips can allow you to avoid these mistakes.

Advertise Special Promotions

When you use Sms For Business you are usually taking part in an advertising campaign. Customers have signed up to receive your advertisements, so you will need to make sure that the advertisements you send out are accurate and updated. If you fail to send out updated messages, you can cause the customer to become annoyed. For special promotions, you will want to give specific details without being overwhelming. Give the customer a reason to look further into your advertisement and give them enough details to have the gist of the advertisement.

Make Your Messages Viral

Send out messages that your customers will want to share with their family and friends. If your message is unique and interesting, your customers will want to share the messages they receive. This can lead to extremely beneficial word-of-mouth promotion for your products and your company.

Use Proper Grammar

There is nothing worse than receiving a business message that contains “OMG”, “LOL”, or any other type of text message slang. It is unprofessional behavior that too many companies take part in. You should also keep in mind that not everyone is familiar with the slang. Using text message slang may end up confusing your customers. Basic grammar and spelling should be present throughout your messages. Just because it is an informal method of communication, doesn’t mean that your company shouldn’t be properly represented.

Take Data Connection Issues Into consideration

When designing your SMS platform, you need to make sure that your messages will be accessible to your customers. Not all customers have the full data package that is offered by their carrier. Because of this, your messages could end up slowing down their mobile device, which can lead to them blocking your messages.

Be Honest With Your Customers

When your customers sign up for your SMS service you should be up front and honest with them. You should let them know how many times messages will be sent out, if there are any charges associated with the SMS messages, and what they can expect to see in the messages. If your customer signs up for weekly SMS messages, and they receive 20 a day, they will probably become disgruntled. That surprise fee that they may find on their cell phone bill will not be a pleasant one. Being honest and having fewer customers sign up will be much more beneficial than lying and having a pack of angry customers.

If you take the proper steps to properly implement SMS marketing, it can be a beneficial campaign. You should take the customers possible perception of your company into account and create a SMS platform that is developed from that. Making sure that your SMS platform is based on the customer’s perception may allow your business to grow leaps and bounds.

Elements of a Great Website

If you own your own business, then you probably have your own website, too. You’ve no doubt spent countless hours surfing around the Internet, looking at all of these fantastically designed websites, trying to find out what your site needs to increase traffic and produce more business. After all, anyone can build a website, but what does it take to have a successful site? There are a lot of different elements that go into creating a website that is both professional and functional. The foundation of a great site is to keep it simple to navigate, while still looking professional.

Simple Navigation

Making your website easy to get around on is essential to turning visitors into customers. You’ve probably been on websites that put more of a focus on how they look, rather than on making it easier to find things. These type of sites will turn off visitors from buying your product, or returning to your website. You want to avoid both of those situations. One of the central elements of easy navigation are clear labels. Have all of the web pages clearly identified, so visitors know what to expect when they click on the link. Create a clean layout that makes links and menus easy to find. No one wants to get lost in Pan’s Labyrinth while cruising around your website.

If you don’t have any experience in building a website, you might want to consider hiring a professional web design company. Web design companies hire tons of experienced professionals who can help you get a sleek look for your site, while also making it extremely user friendly.

Content is King

After you have a great looking website, you need to pack the site with content. This doesn’t mean that just any content will do. You need content that will provide value for the reader. This can be in the form of regular blog, article, or video posts. The aim of the content should be to help the reader solve a problem, and to have your product be the ultimate solution to their needs. Posting up tips is a great way to engage your visitors and provide them with valuable information. If you decide to use blogs as the main type of content on your site, then you must post up entries on a regular schedule. Post a blog once a week at the least, more if you have the time. Make the content fresh and relevant.

Creating a great website is a twofold process. You first need to build a website that is user friendly, and a breeze to navigate. Then, you fill the site with relevant content that provides value for the reader. If you can master both of these things, your website will receive a lot of traffic, and in turn, you will make a lot of sales. Once you’ve gotten some customers, the key is to provide regular content that will keep the same customers coming back to do business with you

Create On Demand Streaming with Media Server

When it comes to streaming media server, I cannot afford to have anything less than a fully guaranteed uptime; my business depends on it. As a matter of fact, the types of clients that I deal with do not even like to deal with video that is less than HD, not to mention the incredible nuisance that occurs when the audio drops out or becomes de-synchronized from the video feed. When I need streaming video and audio that I can depend on, I always make sure to call Wowza Media Server. The Wowza Media Server is the streaming media solution that I use when I absolutely have to have everything work perfectly. No matter what I am streaming or where I am streaming it to, the Wowza Media Server is the solution for me. There are very few media solutions that give the same type of performance for both desktop and mobile platforms, but the Wowza Media Server is one that can get the job done. The technology is also completely scalable so that it does not matter how many users you have on the same call – you still get the same pristine performance. I can highly recommend the Wowza Media Server for small and mid sized businesses.

OLX – The Online Marketplace

For the past few days I was looking for laptops and computers to buy at cheapest possible rates, preferably a second hand ones. So that I could get a better configuration in less price. So, I started searching for a few websites which can provide me a solution while sitting comfortably at home. Then, one of my friend told me that you really don’t have to go and look out in market or ask every other person you meet for this there are websites for this, he suggested me with an example a website “olx.in” said yaha kuch bhi bikta hai, and indeed they sell almost every thing and the biggest advantage is that this is one of the biggest platform for classifieds in India, so we get a lot of varieties of product and services at very cheap rates.

So, I logged on to olx and started browsing their product and services relating to computers (which didn’t even need any registration). To my surprise, there is also a section dedicated to cities which can provide city wise available product and services for offering, and there was even a section for Ambala Cantt which is relatively small city but my hometown, and I found great offers through this website. Finding good bargains in your own locality was never so easy.

Olx works in around 100 countries and is a very reliable website. They ventured in India in 2006 and now this website ranks among top 40 websites as per Alexa rankings. You can also browse the whole website anonymously or by registering an account and you can also buy and sell things on your own. This gives an opportunity to all those who are interested in earning online by selling off their things. You won’t need to build your own infrastructure, all your offerings are just a click away from millions of users viewing that website.


Gone are those days when we used to lookup the daily newspapers for classifieds relating to our requirements, now we can simply open a website search for the things or just upload them whenever needed and the things will be sold or bought comfortably at home in just few clicks. It was really a fun activity to buy laptop without any problem at all and the delivery of product was also very fast.

Online shopping has really changed the way we do things and made shopping fast as ever!.