Docstoc

Android eBook Reader_ UI development - ac.aua.am

Document Sample
Android eBook Reader_ UI development - ac.aua.am Powered By Docstoc
					                       eBook Reader for Android OS

1. Android eBook Reader: UI development

2. Android eBook Reader: Core Development

        Introduction

        The mobile phone, also known as cellular phone, has become one of the most successful

inventions in the 20th century. In the late 90s, mobile phones became one of the major

communication devices.


        In today's world, mobile communication is so integrated into our lives that most people

feel uncomfortable without cell phones. Yesterday, the most popular functions of phones were

calls and sending SMS. But today, the priorities are beginning to move slightly in a different

direction. A modern phone is a multifunctional device that helps not only to communicate but

also to learn, earn, have fun. And this was made possible particularly by the development of

mobile applications.


        The reason for the development of mobile applications has become the development of

mobile operating systems (OS). One of the most popular Operating Systems is Android OS. 36%

of all smartphones are using Android OS. Android OS in an open source operating system,

which makes easier to develop applications. 60% of applications in Google Android Market are

free.

        Most popular applications are eBook readers. An eBook is an electronic version of a
traditional print book that can be read by using electronic devices (personal or tablet

computers, mobile phones etc.). For reading eBooks there are needed an eBook Reader

applications for appropriate devices.

       There is a huge number of such applications in the market with their advantages and

disadvantages.


Abstract

       The propose of this project is to make a research of existing eBook Reader applications,

identify their weaknesses and strengths, study open source codes and create an application

that would have all possible advantages of already existing ones, and avoid as more

disadvantages as possible.

       As it was mentioned Android is the leader of the smartphones market due to that fact

the application would be created for Android OS.



           Android eBook Reader: UI development

       The main purpose of the project is to be user friendly. Thus it will have different

features: zooming, page turning animations, bookmark option and displaying reading progress.

       Zooming will be done in 2 ways, using menu button and by touching.

       Page turning will be done vertically and horizontally with animations, again in two ways

using button or by touching.

       Bookmark option will give the opportunity to save any state user wants and will be

implemented again in two ways as above.
       Displaying progress will be animated, it will show reading progress and also will add new

opportunity for switching pages. It will show zooming percentage. Thus all changes and current

states will be displayed on progress bar.

       All needed features may be done in different ways which makes the application easy to

manipulate for users.



        Android eBook Reader: Core Development

       One of the major problems of all eReader applications is to support book formats. This

application will support PDF, DOC/DOCX, HTML and XML formats. It would have one universal

interface for reading these formats and under that interface there will be separate parsers for

each format. This will make application easy to use, users don’t need to care about choosing

formats for this application or use another application for parsing files to needed format.

       Thus this application will become universal eBook reader.
Contents

Introduction ...................................................................................................... Error! Bookmark not defined.1


Abstract ............................................................................................................................................................... 2


Contents .............................................................................................................................................................. 3


1. History of mobile development ..................................................................... Error! Bookmark not defined.7


   1.1 History of mobile phones ......................................................................... Error! Bookmark not defined.7


   1.2 History of mobile OS development. ......................................................... Error! Bookmark not defined.7


   1.3. Chossing Android OS ............................................................................... Error! Bookmark not defined.9


       2.2.1 VPN Access ........................................................................................ Error! Bookmark not defined.9


       2.2.2 Proxy Servers................................................................................... Error! Bookmark not defined.10


       2.2.3 Pass-Through Proxy Servers ............................................................ Error! Bookmark not defined.13


   2.3 Decision .................................................................................................. Error! Bookmark not defined.18


3. Implementation ........................................................................................... Error! Bookmark not defined.19


   3.1 AVSL Use Cases ...................................................................................... Error! Bookmark not defined.20


       3.1.1 Use Case actors ............................................................................... Error! Bookmark not defined.20


       3.1.2 Use case descriptions ...................................................................... Error! Bookmark not defined.21


   3.2 Application Components........................................................................ Error! Bookmark not defined.29


       3.2.1 User database ................................................................................. Error! Bookmark not defined.30
      3.2.2 Portal Security ................................................................................. Error! Bookmark not defined.30


      3.2.3 Access to remote resources ............................................................ Error! Bookmark not defined.31


      3.2.4 News database ................................................................................ Error! Bookmark not defined.31


   3.3 Application design.................................................................................. Error! Bookmark not defined.31


   3.6 EZProxy Design ....................................................................................... Error! Bookmark not defined.33


   3.7. System configuration ............................................................................ Error! Bookmark not defined.34


      3.7.1 Sun Java System Application Server Configuration ........................ Error! Bookmark not defined.34


      3.7.2 LDAP configuration ......................................................................... Error! Bookmark not defined.38


      3.7.3 EZproxy installation and configuration in Solaris 10 ....................... Error! Bookmark not defined.39


   3.8 JSF Web Pages Navigation Work Flow ................................................... Error! Bookmark not defined.41


   3.9 The Resulting JSF Web Pages ................................................................. Error! Bookmark not defined.42


4. Conclusions ................................................................................................. Error! Bookmark not defined.46


5. Suggestions for Future Work ....................................................................... Error! Bookmark not defined.47


6. References ................................................................................................... Error! Bookmark not defined.48


Appendix A ....................................................................................................... Error! Bookmark not defined.49


Appendix B ....................................................................................................... Error! Bookmark not defined.53
1. History of mobile application development

       In this chapter we will talk about mobile phones’ development, mobile operating

systems, will compare some mobile OSs and describe the reasons of choosing Android OS.




1.1 History of mobile phones

       Mobile phones are now common among the masses and have become an important

means of communication. There was once a time when it was afforded only by the rich, but

today the cell phone prices are so cheap that we can rarely find a person without a cell phone

in hand. As a result of which the mobile phones have outnumbered the land line phones. Now,

mobile phone technology increasingly helps business people because of the capability of

forwarding calls from your office phone to your mobile phone. Mobile phones have evolved to

high-tech devices where we can take a photo, create ringtones, and browse the internet. We

can now hardly imagine the world without the use of mobile phones as it is much difficult to

handle personal and business needs without one. We now also have many advantages with

contract phones which help us manage our mobile phone bills based on our usage.


       We use them every day, but how often do we think about how cell phones came to be?

It almost seems as if cell phones appeared out of nowhere. One minute we saw rich guys in the

80s lugging around huge, clunky mobile phones, and the next we had a wide assortment of

sleeker cellphones at our disposal. Cell phone companies started popping up like blades of

grass. Today, it's unhead of to not have a cell phone. We use cell phones in just about every
aspect of life---for emergencies, work, and play. Nowadays, people would rather send a cellular

text message instead of talking on the phone. So how did we get here? Here is a little history

about cell phone technology.


       The history of the cellular phone from its humble beginnings as a novelty item to an

everyday necessity is a fascinating journey. From that first car battery sized cell phone

produced in 1980’s to the sleek modern devices that have become the industry standard. Here

is a timeline of mobile phone evolution.


       Timeline

1947    Douglas H. Ring and W. Rae Young, in association with Bell Labs proposed the first

hexagonal cells for mobile phones. Philip Porter also of Bell Labs was the first to propose a

system utilizing cell towers at the corners of the hexagons rather than at the centers. These

towers would have directional antennae that would transmit in three directions. Unfortunately

these innovations would not have immediate impact until the frequency range spectrum could

be increased.


1968 The Federal Communications Commission (FCC) regulation that limited radio-spectrum

frequencies was increased and allowed research into creating better connections. Prior to this

the number of simultaneous conversations in a service area was severely limited. The FCC in

cooperation with AT&T and Bell Towers established the infrastructure of broadcast towers that

allow modern cell phones to broadcast today.


1973 was the year that Martin Cooper working for Motorola used the idea of the car phone

and other associated technology that was needed to make cellular phones possible. Cooper was
an electrical engineer educated at the Institute of Technology in Illinois. He began his career at

Motorola in 1954, and started out working on handheld police radios.


1984 the first cellular phones; the Motorola DynaTAC 8000X, were made commercially

available. The Motorola DynaTAC 8000X a massive phone 13 inches long and 3.5 inches wide

and 1.75 inches thick. Because of its size and shape it was nicknamed the brick. Back when

phones were the size and weight of a car battery and they were more expensive than the

average color TV. The early cellular technology carried with it many health hazards. Cellular

phones give off electromagnetic energy which is a non-ionizing form of radiation. This is similar

to the radiation produced during thunder storms. This generation of mobile phones is known as

the 1G or first generation of mobile phones.


1990’s Mobile phones from the early 1990’s are considered to be the second generation of

mobile phones (2G). The difference between 1G and 2G technology is that 1G are analog

networks and 2G are digital networks. This enabled quicker network signalling and increased

the call quality. The size and weight of the phones began to diminish. As advances in battery

technology, and more energy efficient electronics were made phones continued to shrink

making the package more appealing for consumers. With these new innovations to the mobile

phones the popularity of mobile phones soared. 2G technology also brought new features to

mobile phones such as SMS and email


2000’s shortly after the introduction of second generation technology another technological

advance was made to third generation technology. Movement was made towards standardizing
a single worldwide cellular standard. The introduction of additional multimedia features was

incorporated into phones. Email, internet, and data transfer became a standard feature.


The future    As the limitation of the 3G, people are try to make new generation of mobile

communication, this is the 4th generation. This 4G system is more reliable. Nowadays, some

companies have started developing the 4G communication system, this technology can have a

high uplink rate up to 200Mbps, more data can transfer in the mobile phone. So the 4G mobile

can have more function such as work as the television. Some telecommunication companies

claimed that they would applied this 4G system to the business and it will bring

more convenience to people.


With the rapid development of mobile technologies, have begun to develop mobile operating

systems.


1.2 History of mobile OS development

A mobile operating system, also called a mobile OS, is an operating system that is specifically

designed to run on mobile devices such as mobile phones, smartphones, PDAs, tablet

computers and other handheld devices. Much like the Linux or Windows operating system

controls your desktop or laptop computer, a mobile operating system is the software platform

on top of which other programs can run on mobile devices. The operating system is responsible

for determining the functions and features available on your device, such as thumbwheel,

keyboards, WAP, synchronization with applications, email, text messaging and more. The

mobile OS will also determine which third-party applications can be used on our device.
Choosing the right mobile platform is extremely important which in turn would help you in the

primary use of the handheld. There are numerous operating systems (OS) of handhelds in the

market, like Blackberry OS, Android, Windows Mobile, and Apple iOS. Each have their own

specialties and have been developed keeping in mind certain sections of users. It has been

observed that certain mobile applications also depend on the OS of a particular phone. If you

are planning to use a specific app to shop from retailers online then it is always better to check

whether it is compatible to be used with the OS of your handheld. Whether it is for

mobile commerce or mobile ticketing, the same rule applies for all.


Blackberry OS


This brand has been the favorite for those who are executives and businessmen.


Advantages:


      Compared to other brands, Blackberry mobiles allow users to use the device for two

       days at a stretch on a single charge. Thus proving its power efficient features of the

       Blackberry OS.

      The mobile platform of this brand is extremely secure, thus making it the favorite for

       businessmen.

      The push email experience is excellent amongst others. It provides easy accessibility

       from the moment you get to the main screen together with strong attachment support.

      The keyboard design is ideal for fast text entry irrespective of whether you are sending

       text messages or emails.
Disadvantages:


      Blackberry App World does not come with a wide selection of apps. On top of that,

       premium programs are quite expensive.

      The browser is much slower compared to WebKit based browser on other branded

       phones like iPhones and Android. When it comes to QWERTY devices, the browser

       comes with small type.

      Unlike iTunes and Amazon MP3, Blackberry does not have any over-the-air music store

       for its users to download songs from.




   IOS


Pros


Easy to use: Yes. All of us have tried out the Apple products. Don’t they offer us amazing

experience while using? We immediately fall in love with how easy the iPhones are to navigate

without loads of cranky options that would confuse the users.


Unique Interface : Apple’s iOS softwares provides the smart phones the unique interface

everyone falls in love with. This offers the ultimate choice to choose iOS than any other

software.
Cohesive of Applications : you could find n number of applications for apple products because

of its iOS. You will not be able to have the advantage of having these many applications for any

smart phones than the ones containing iOS


Tight integration with Social networking : nowadays who is not on facebook or twitter? Apart

from these social networks, iOS provides the tight integration with all the possible big players of

social networking websites. You could easily access your favorite social network in smartphones

that uses iOS


Sophisticated music experience : iOS is built for music lovers. Who doesn’t love music anyway?

Smartphones that is made of iOS software provides exceptional experience in listening to

music. You will immediately fall in love with the sophisticated music experience it offers.


Cons


Lack of customization : Greatest disadvantage of using iOS integrated smartphones is the lack

of customization option it provides. It would be heavens, if iOS softwares come with the

advantage of customization according to users’ needs.


Petqa avelacnel!!!
Android

Android – Pros


Free to customize – Android applications have easily catched up among techno geeks as well as

ordinary individuals is because of its customization option. Since we are free to use the

softwares according to our wishes and requirements, people love to use Android smartphones.


Ability to use as a USB Storage – the greatest advantage of having an Android smartphone is

you could use it as a USB storage device. This option is devoid in iOS smartphones.


Mature platform – Android is a more matured platform comparing to all the other smartphone

softwares in the market. Since it has been launched long time ago, android has reached the

stage of more compact, complete software which can be easily customizable.


Android – Cons


Very unstable – Android software containing softwares are often hang or crash. Since it is very

unstable while operating any complicated features or functions, it becomes a great

disadvantage in using android smartphones.


Inconsistency in application design–you could find an extreme inconsistency in application

designs. This is also considered one of the main disadvantages of using android smartphones

since instability and inconsistency in application design makes it difficult to use.
Types of Mobile Operating Systems

There are various types of MOS. When you purchase a mobile device the manufacturer will

have chosen the operating system for that specific device. Among the various MOS here we

discuss a few that are popular in market now.


Symbian


       Symbian OS is the advanced, open operating system licensed by the world's leading

mobile phone manufacturers. It is designed for the specific requirements of advanced 2G, 2.5G

and 3G mobile phones. Symbian OS combines the power of an integrated applications

environment with mobile telephony, bringing advanced data services to the mass market.

       Symbian OS is a powerful aligning force for the wireless value chain, driving the wireless

industry. Mobile phone manufacturers, network operators and software developers are

assured that they are working with an industry standard, open operating system that allows

customization and is focused on the mass market.

       Symbian OS is designed to support innovation and customization by licensees. Compact

enough to fit in the memory of a mobile phone, Symbian OS was planned from the beginning to

be a full operating system in terms of functionality. It includes a robust multi-tasking kernel,

integrated telephony support, communications protocols, data management, advanced

graphics support, a low-level user interface framework and a variety of application engines.
Symbian OS is characterised by:


      Integrated multimode mobile telephony – Symbian OS integrates the power of

       computing with mobile telephony, bringing advanced data services to the mass market

      Open application environment – Symbian OS enables mobile phones to be a platform

       for deployment of applications and services (programs and content) developed in a wide

       range of languages and content formats

      Open standards and interoperability – With a flexible and modular implementation,

       Symbian OS provides a core set of application programming interfaces (APIs) and

       technologies that is shared by all Symbian OS phones. Key industry standards are

       supported

      Multi-tasking – Symbian OS is based on a micro kernel architecture and implements full

       multi-tasking and threading. System services such as telephony, networking middleware

       and application engines all run in their own processes

      Fully Object-oriented and component based – The operating system has been designed

       from the ground up with mobile devices in mind, using advanced OO techniques,

       leading to a flexible component based architecture

      Flexible user interface design – By enabling flexible graphical user interface design on

       Symbian OS, Symbian is fostering innovation and is able to offer choice to

       manufacturers, carriers, enterprises and end-users. Using the same core operating

       system in different designs also eases application porting for third party developers
   Robustness – Symbian OS maintains instant access to user data. It ensures the integrity

    of data, even in the presence of unreliable communication and shortage of resources

    such as memory, storage and power.

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:15
posted:11/27/2012
language:English
pages:16