728x90 Ad Space

MAJU BATCH 073 Computer Science (ISlamabad).wmv

#Exercise #Tracker #application #with #PhoneGap

track info pageExercise Tracker application with PhoneGap. In this tutorial, the Track Workout page and complete the app by creating the History and Track Info pages. Saving the GPS Data  
When the user clicks the Stop Tracking button, we need to stop following their GPS location and save all of the GPS points that were recorded (tracking_data) into the database. We’ll also reset the text input box (in case they want to record another workout straight away) and we’ll display a message that we have stopped location tracking. PhoneGap provides both browser-based Local Storage and a SQLite database as methods of storing data on the phone. The SQL database is a lot more powerful (due to the fact you can specify table schemas), but comes at the cost of code complexity. Local Storage is a simple key/value store that is easy to setup and use. Data is stored using the setItem(key, value) method, and retrieved using the getItem(key) method. Read MOre

#‎windows‬ ‪#‎lover‬

#‎Programming‬ ‪#‎Life‬ ‪#‎Great‬ ‪#‎Place‬ to ‪#‎sleep‬ ‪#‎Under‬ ‪#‎Office‬ ‪#‎Desk‬.

Logging in C# with log4net

There are some examples out there, but I’ve found that most of are either too complicated or are too specific.
In the end I decided that the only way to fix the problem is to write a general tutorial on Log4Net configuration myself.

Basics

Use NuGet to download and install the latest version of Log4Net.
nuget

Config files

Now you need to configure Log4Net.

Read More »

Blur Mask Filter in Android

Blur Mask Filter on Bitmap in Android

AndroidDrawBitmap_BlurMaskFilterThis takes a mask, and blurs its edge by the specified radius. Whether or or not to include the original mask, and whether the blur goes outside, inside, or straddles, the original mask’s border, is controlled by the Blur enum. package com.example.androiddrawbitmap; import java.io.FileNotFoundException; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BlurMaskFilter; import android.graphics.Canvas;…
Read More »

Creating a Mobile Event Calendar

Mobile-Calendar_Preview
This tutorial describes how to build an HTML5-based mobile calendar to track conferences and events that run on iOS and Android phones using a mobile version of dhtmlxScheduler (open source, GPL). At the end, users will be able to add and edit events, select the conference location on Google Maps, and see the events in day, month, or list views….
Read More »

Auto Load More Data On Page Scroll using Jquery and PHP

 
This tutorial about my favorite place Dzone like data loading while page scrolling down with jQuery and PHP. We have lots of data but can not display all. This script helps you to display little data and make faster your website.
Load Data while Scrolling Page Down with jQuery and  PHP

Read More »

Enabling the Android Move To SD Card


This Android Quick Tip will show you how to allow your end-users to optionally save valuable device storage space by choosing to store your application on their removable SD card.

Final Result Preview

This tutorial will take an existing Android application and add the ability for the user to move the application to their SD card. This feature was introduced in Android 2.2, but does not require the application to use the Android 2.2 SDK as the minimum supported SDK version. Even your Android 1.5 application can use this feature.

Step 1: Preparation

We begin this tutorial by obtaining the version of the phrasebook Android application used in a previous tutorial called . Download the source code if you want to perform these steps yourself, or just follow along and use these steps with your own Android applications.
If the user has Android 2.2 installed on their device and you haven’t applied this tip, they’ll see a tantalizingly useful, yet grayed out, button when they try to move the application to their SD card. Developers must specifically enable this feature within their specific applications……
Read More »

Validate IP Address with Regular Expression

imavbges
IP Address Regular Expression Pattern ^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\. ([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$ Description ^ #start of the line ( # start of group #1 [01]?\\d\\d? # Can be one or two digits. If three digits appear, it must start either 0 or 1 # e.g ([0-9], [0-9][0-9],[0-1][0-9][0-9]) | # …or 2[0-4]\\d # start with 2, follow by 0-4 and end with any digit (2[0-4][0-9]) |…
Read More »