Meherchilakalapudi.. writes for u….

Just another WordPress.com weblog

Archive for the ‘mobileApplicationDesing’ Category

MobileApplication Design

Posted by meherchilakalapudi on March 5, 2009

signalingmobile2mobile7mobile8mobile9

mobile1

 

DATA DICTIONARY

 

Directory_Location:

 

Field Name

Data Type

Width

Constraints

Id

Int

4

PK

District_Name

Varchar

50

Not Null

District_Code

Varchar

50

Not Null

 

 

 

Tables of All Districts in AP (ADB, ATP, CDP, CTR, EG, GTR, HD, KAA, KHM, KNL, KR, MBN, MEK, NGD, NL, NZB, PK, SK, VM, VZM, WG, WL)

 

 

Field Name

Data Type

Width

Constraints

Phone_no

Int

4

Not Null

Name

Varchar

100

Not Null

Address

Varchar

200

Not Null

City

Varchar

50

 

Std_Code

Varchar

10

 

 

           

Baby_Names:           

 

 

Field Name

Data Type

Width

Constraints

Id

Numeric

9

PK

Name

Varchar

50

Not Null

Meaning

Varchar

200

Not Null

 

 

Wap_Telugu_World:

 

 

Field Name

Data Type

Width

Constraints

Id

Int

4

PK

Category

Varchar

100

Not Null

Description

Varchar

500

Not Null

 

 

Telugu_Panchangam:

 

 

Field Name

Data Type

Width

Constraints

Id

Numeric

9

PK

P_Date

Varchar

50

Not Null

P_Day

Varchar

50

Not Null

P_Year

Varchar

50

Not Null

Aayanam

Varchar

50

Not Null

Rutuvu

Varchar

50

Not Null

Tithi

Varchar

50

Not Null

Raahukaalam

Varchar

50

 

Durmuhurtam

Varchar

50

 

Varjyam

Varchar

50

 

Subhasamayalu

Varchar

50

 

Works

Varchar

50

 

 

PROJECT OVERVIEW:

 

The Main Page: 

 

www.aponmobile.com

 

Depending upon the HTTP_USER AGENT variable value, if it is not like “MOZILLA” i.e. the access is from the Mobile the page is automatically redirected to:

 www.aponmobile.com/wap/contents.aspx

This page contains all the contents with the other internal sub links. The main contents are

 

Ø      Telugu World: This link is to provide all information on Telugu terminologies, Telugu Baby Names, Panchangam (Telugu Astrology)

 

Ø      News: To provide Regional News of three main places Hyderabad, Vizag and Vijayawada in AP.

 

Ø      Ringtones: To download favorite ring tones.

 

Ø      Wallpapers: To download favorite wallpapers.

 

Ø      Games: To download favorite games.

 

Ø      Movie Schedules: To view movie schedules and to book tickets in a theatre.

 

Ø      Applications: Different applications, AP Telephone Directory being one of them.

 

Ø      Hutch Privileges: Information on different privileges HUTCH is providing to its users.

 

This page once visited writes the accessed mobile number into the Wap Access table. Using Server variable “MSISDN” value can get the mobile number.

 

Telugu World:

 

www.aponmobile.com/wap/telugu/telugucate.aspx

This page contains three sub links:

 

Panchangam                           Bay Names                             Telugu World

 

 

 

Panchangam Page:

 

www.aponmobile.com/wap/telugu/panchangam.aspx

 

This page once visited gives the panchangam the Telugu astrological information of the current day.

 

Baby Names Page:

 

www.aponmobile.com/wap/telugu/babynames.wml

 

This page is meant for searching for Telugu baby names starting with a letter and their meanings. This page asks for the starting letter of the name. The restriction of the field is set by using the attribute for input format = ”A”. This restricts the user to enter one Capital letter.

 

Baby Name Results Page:

 

www.aponmobile.com/wap/telugu/babynames.aspx

 

On searching and finding if there are any Telugu baby names (with meanings) present will give this page in cards (otherwise this page will not be loaded in many mobiles giving the error that the page size is too large to load.) if more results are found else if not found appropriate message will be given.

 

Telugu World

 

www.aponmobile.com/wap/telugu/teluguworld.aspx

 

This page is meant to help people learn Telugu terminologies and other info relates to Telugu like Ruthuvulu (Telugu Seasons) etc. Once a user clicks a link in this he goes to the description page.

 

Telugu World Description Page:

 

www.aponmobile.com/wap/telugu/teluguworlddetails.aspx

 

In this the description related to the link clicked in the Telugu world is shown.

 

 

Applications Page:

 

www.aponmobile.com/wap/applications/application.aspx

 

In this page we can see other applications list with Telephone Directory Link.

Directory Welcome Page:

 

www.aponmobile.com/wap/applications/applicationwelcome.aspx

 

This page gives the welcome message depending upon the selected application. In the present context it welcomes to the directory service. Once the next link is clicked it takes us to the Directory Application’s main Page.

 

Directory Main Page

 

www.aponmobile.com/wap/applications/directory/main.aspx

 

In this a list of Districts in AP are shown. Here you have to select an appropriate district, which takes us to the search option page.

 

 

Search Option Page

 

www.aponmobile.com/wap/applications/directory/Searchoption.aspx

 

In this option is given to search whether by number or Name. On clicking Next it takes us to Search Screen.

 

 

Search Page

 

www.aponmobile.com/wap/applications/directory/Search.aspx

 

Depending upon your search option in the previous screen you will get two inputs for search by number for telephone number and std code or one input box to enter Name. With constraints for Number as format = “*N” or for Name format = “*A”.

 

Directory Result Page

 

www.aponmobile.com/wap/applications/directory/Directory.aspx

 

If exact Name or number is found u will get the result.  Otherwise appropriate message is given. U can see both types of searches done in the screens both by name and number.

 

History

 The Phone.com, Nokia, Ericsson and other companies began developing their own wireless standards independent of each other. Soon they realized that it would make more sense to focus development around a common standard. They all wanted to establish a common format for Internet transfers to mobile phones, without having to customize the Internet pages for the particular display on every different mobile telephone or personal organizer. This led to the birth of the WAP Forum. With the WAP Forum they were able to find such a protocol.

How does it work?

              To access the Internet on your mobile phone you will need a WAP enabled mobile p hone from your telecommunications vendor. The regular mobile phone would not be able to access the net, as it does not yet understand the net. You will also require an ISP connection to access to the net. Your mobile service provider enables data and fax. Last but not the least configures your WAP mobile phones to access the WAP sites.

 

What is WAP?

 

 The wireless industry came up with the idea of WAP. The point of this standard was to show Internet contents on wireless clients, like mobile phones. 

  • WAP stands for Wireless Application Protocol
  • WAP is an application communication protocol
  • WAP is used to access services and information
  • WAP is for handheld devices such as mobile phones
  • WAP is a protocol designed for micro browsers
  • WAP enables the creating of web applications for mobile devices.
  • WAP uses the mark-up language WML (not HTML)
  • WML is defined as an XML 1.0 application
  • The Wireless Application Protocol

 

              The WAP protocol is the leading standard for information services on wireless terminals like digital mobile phones. The WAP standard is based on Internet standards (HTML, XML and TCP/IP). It consists of a WML language specification, a WML Script specification, and a Wireless Telephony Application Interface (WTAI) specification.

 

              The WAP Forum, founded in 1997 by Ericsson, Motorola, Nokia, and Unwired Planet, publishes WAP. Forum members now represent over 90% of the global handset market, as well as leading infrastructure providers, software developers and other organizations.

 

WAP Micro Browsers

           To fit into a small wireless terminal, WAP uses a Micro Browser. A Micro Browser is a small piece of software that makes minimal demands on hardware, memory and CPU. It can display information written in a restricted mark-up language called WML. The Micro Browser can also interpret a reduced version of JavaScript called WMLScript.

 

What is WML?

              WML stands for Wireless Markup Language. It is a mark-up language inherited from HTML, but WML is based on XML, so it is much stricter than HTML.WML is used to create pages that can be displayed in a WAP browser. Pages in WML are called DECKS. Decks are constructed as a set of CARDS. What is WMLScript?. WML uses WMLScript to run simple code on the client. WMLScript is a light JavaScript language. However, WML scripts are not embedded in the WML pages. WML pages only contain references to script URLs. WML scripts need to be compiled into byte code on a server before they can run in a WAP browser.

 

WAP Homepages

           WAP homepages are not very different from HTML homepages. The markup language used for WAP is WML (Wireless Markup Language). WML uses tags – just like HTML – but the syntax is stricter and conforms to the XML 1.0 standard.           WML pages have the extension *.WML, just like HTML pages have the extension *.HTML.

 

WML Tags

           WML is mostly about text. Tags that would slow down the communication with handheld devices are not a part of the WML standard. The use of tables and images is strongly restricted. Since WML is an XML application, all tags are case sensitive (<wml> is not the same as <WML>), and all tags must be properly closed.

WML Decks and Cards

             WML pages are called DECKS. They are constructed as a set of CARDS, related to each other with links. When a WML page is accessed from a mobile phone, all the cards in the page are downloaded from the WAP server. Navigation between the cards is done by the phone computer – inside the phone – without any extra access trips to the server.

The Wireless Markup Language (WML)

 

 

Introduction

 

              WML is a markup language that is based on XML (eXtensible Markup Language). The official WML specification is developed and maintained by the WAP Forum, an industry-wide consortium founded by Nokia, Phone.com, Motorola, and Ericsson. This specification defines the syntax, variables, and elements used in a valid WML file. The actual WML 1.1 Document Type Definition (DTD) is available for those familiar with XML at:

http://www.wapforum.org/DTD/wml_1.1.xml

A valid WML document must correspond to this DTD or it cannot be processed.

Understanding the Wireless Markup Language

 

WML is based on XML, a markup language that has garnered enormous support due its ability to describe data (HTML, meanwhile, is used to describe the display of data…a big difference). While HTML predefines a “canned” set of tags guaranteed to be understood and displayed in a uniform fashion by a Web browser, XML allows the document creator to define any set of tags he or she wishes to. This set of tags is then grouped into a set of grammar “rules” known as the Document Type Definition, or DTD. As mentioned earlier, the DTD used to define WML is located at:

http://www.wapforum.org/DTD/wml_1.1.xml

If a phone or other communications device is said to be WAP-capable, this means that it has a piece of software loaded onto it (known as a micro browser) that fully understands how to handle all entities in the WML 1.1 DTD.

The first statement within an XML document is known as a prolog. While the prolog is optional, it consists of two lines of code: the XML declaration (used to define the XML version) and the document type declaration (a pointer to a file that contains this document’s DTD). A sample prolog is as follows:

<xml version=’1.0′>

<!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN” “http://www.wapforum.org/DTD/wml_1.1.xml”>

Following the prolog, every XML document contains a single element that contains all other sub elements and entities. Like HTML all elements are bracketed by the

<>

and

</>

characters.

 

As an example: <code><element>datadatadata</element></code>. There can only be one document element per document. With WML, the document element is <code><wml></code>; all other elements are contained within it.

The two most common ways to store data within an XML document are elements and attributes. Elements are structured items within the document that are denoted by opening and closing element tags. Elements can also contain sub-elements as well. Attributes, meanwhile, are generally used to describe an element. As an example, consider the following code snippet:

<!– This is the Login Card –>

<card id=”LoginCard” title=”Login”>

Please select your user name.

</card>

In the code above, the card element contains the id and title attributes. (On a side note, a comment in WML must appear between the tags

Valid WML Elements

 

WML predefines a set of elements that can be combined together to create a WML document. These elements include can be broken down into two groups: the Deck/Card elements and the Event elements.

 

Deck/Card Elements

wml

card

template

head

access

meta

 

Event Elements

do

ontimer

onenterforward

onenterbackward

onpick

onevent

postfield

 

Tasks

go

Prev

refresh

noop

 

Variables

Setvar

User input

input

select

option

optgroup

fieldset

 

Anchors, Images, and Timers

a

anchor

img

timer

 

Text Formatting

br

Punjabi University

table

tr

td

 

Each of these elements is entered into the document using the following syntax:

<element> element value </element>.If an element has no data between it (as is often the case with formatting elements such as <br>), you can save space by entering one tag appended with a \ character (for instance, <br/>).

 

 

 

 

 

Posted in mobileApplicationDesing | Leave a Comment »