Android Manager
Android Manager
The project, Android Manager is basically designed to merge the different applications available in android. The inspiration of the project is that there are many applications of android in android market but still people are not satisfied and face problems in switching in different applications. So the Android Manager provides solution to this problem and merge many of those applications in one. The application contain : 1) 2) 3) 4) 5) 6) Fast Bluetooth ON/OFF Button Wi-Fi Enable/Disable via Radio Button GPS Enable/Disable via Radio Button Network Data Enable/Disable via Radio Button Airplane Mode Enable/Disable via Radio Button To-Do List
These all are combined in one go and the problem of switching is overcomed. A step towards Technology.
2.2 DESIGN
Software design is a process through which the requirements are translated into a representation of an s/w. One of the software have been analyzed and specified, the s/w design involves three technical activities: design, coding generation and testing. The design of the system is in modular form i.e. the s/w is logically partitioned into components that perform specific functions and sub functions. The Design Phase leads to modules those exhibit independent functional characteristics .it even leads to interfaces that reduce the complexity of the connections between modules and with that external environment. The design phase is for main importance because in this activity decisions ultimately affects the success of software implementation and maintains.
2.3 DEVELOPMENT
The development phase includes choosing of a suitable s/w to solve the particular problem given the various facilities and the sophistication in the selected software gives a better development of the problem.
2.4 CODING
The coding phase is for retranslating the design of the system produced during the design phase into code in a given programming language. Which can be executed by a computer and which performs the computation specified by the design?
2.5 TESTING
Testing is done in various ways such as testing the algorithm, programming code, sample data debugging is one.
2.6 IMPLEMENTATION
After testing is over project is implemented by providing training to the users and providing manuals so that they can be refreshed as and when needed
A BRIEF HISTORY OF .NET Microsoft started development on the .NET Framework in the late 1990s originally under the name of Next Generation Windows Services (NGWS). By late 2000 the first beta versions of .NET 1.0 were released. Version 3.0 of the .NET Framework is included with Windows Server 2008 and Windows Vista. Version 3.5 is included with Windows 7, and can also be installed on Windows XP and the Windows Server 2003 family of operating systems. On April 12, 2010, .NET Framework 4 was released alongside Visual Studio 2010.
3.2.1 INTEROPERABILITY Because interaction between new and older applications is commonly required, the .NET Framework provides means to access functionality that is implemented in programs that execute outside the .NET environment. Access to COM components is provided in the System. Runtime. Interpose Services and System. Enterprise Services namespaces of the framework; access to other functionality is provided using the P/Invoke feature. 3.2.2 COMMON RUNTIME ENGINE The Common Language Runtime (CLR) is the virtual machine component of the .NET framework. All .NET programs execute under the supervision of the CLR, guaranteeing certain properties and behaviours in the areas of memory management, security, and exception handling. 3.2.3 LANGUAGE INDEPENDENCE The .NET Framework introduces a Common Type System, or CTS. The CTS specification defines all possible data types and programming constructs supported by the CLR and how they may or may not interact with each other. Because of this feature, the .NET Framework supports the exchange of instances of types between programs written in any of the .NET languages. This is discussed in more detail in Microsoft .NET Languages. 3.2.4 BASE CLASS LIBRARY The Base Class Library (BCL), part of the Framework Class Library (FCL), is a library of functionality available to all languages using the .NET Framework. The BCL provides classes which encapsulate a number of common functions, including file reading and writing, graphic rendering, database interaction and XML document manipulation. 3.2.5 SIMPLIFIED DEVELOPMENT The .NET framework includes design features and tools that help manage the installation of computer software to ensure that it does not interfere with previously installed software, and that it conforms to security requirements. 3.2.6 SECURITY The design is meant to address some of the vulnerabilities, such as buffer overflows, that have been exploited by malicious software. Additionally, .NET provides a common security model for all applications.
3.3 ASP.NET
To create dynamic web pages by using server side scripts, Microsoft has introduced ASP. The .NET version of ASP is ASP.NET. AS.NET is a programming framework used to create Enterprise class of efficient information management. ASP.NET allows you to build dynamic web pages and tailors the HTML output to whatever browser you are using. It also comes with a great set of reusable, predefined and ready to use control for your ASP.NET projects. These reduce the amount the code you have to write, so you can be more productive while programming. One of the most EYECATCHING things about the ASP.NET is the way you can use any programming language based on the .NET framework, such as C#, Jscript.NET or VB.NET to create your web application.
WHY ASP.NET?
Since 1995, Microsoft has been constantly working to shift its focus from Window based platforms to the INTERNET. As a result, Microsoft introduced ASP ( Active Server Pages) in November 1996. ASP offered the efficiency of ISAPI applications along with the new level of simplicity that made it easy to understandable and use. However, ASP script was an interpreted script and consisted unstructured code and was difficult to debug and maintain. As the web consists of many different technologies, software integration for web development was complicated and required to understand many different technologies. Also, as applications grew bigger in the size and became more complex, the number of lines f source code in ASP applications increase the dramatically and was hard to maintain. Therefore, an architecture was needed that would allow the development of a Web application in structured and consisted way. UNIQUE FEATURES
Reasons which make .NET different from other alternatives are: Assemblies
An assembly is either a .DLL or .EXE that forms a part of an application. It contains MSIL code that is executed by CLR. Common Type System (CTS)
Common Type System (CTS) specifies the rules related to data types that languages must follow. As programs written in all languages are ultimately converted to MSIL, data types in all languages must be convertible to certain standard data types.
Cross-language Interoperability
.NET provides support for language interoperability. However, it doesnt mean every program written in a language can be used by another language. To enable a program to be used with other languages, it must be created by following a set of rules called Cross Language Specifications (CLS). Cross-language inheritance is the ability to create a class in C# from a class created in VB.NET. When an exception is raised by a program written in C#, the exception can be handled by VB.NET. This kind of exception handling is called cross-language exception handling.
3-Tier architecture generally contains UI or Presentation Layer, Business Access Layer (BAL) or Business Logic Layer and Data Access Layer (DAL) Presentation Layer (UI) Presentation layer contains pages like .aspx or windows form where data is presented to the user or input is taken from the user. Business Access Layer (BAL) or Business Logic Layer BAL contains business logic, validation or calculation related with the data, if needed. Data Access Layer (DAL) DAL contains methods that helps business layer to connect the data and perform required action, might be returning data or manipulating data (insert, update, delete etc).
PURPOSE The purpose of System Implementation can be summarized as follows: making the new system available to a prepared set of users (the deployment), and positioning on-going support and maintenance of the system within the Performing Organization (the transition). At a finer level of detail, deploying the system consists of executing all steps necessary to educate the Consumers on the use of the new system, placing the newly developed system into production, confirming that all data required at the start of operations is available and accurate, and validating that business functions that interact with the system are functioning properly. Transitioning the system support responsibilities involves changing from a system development to a system support and maintenance mode of operation, with ownership of the new system moving from the Project Team to the Performing Organization. A key difference between System Implementation and all other phases of the lifecycle is that all project activities up to this point have been performed in safe, protected, and secure environments, where project issues that arise have little or no impact on day-to-day business operations. Once the system goes live, however, this is no longer the case.
10
11
turnover, transfers and changes in job status. The introduction of a candidate system requires special effort to educate, sell and train the staff for conducting the business.
Budgeting Include all costs incurred for the project including the cost of the feasibility study. Project Description Identify the project name and purpose. Include details including stakeholders, and end result expected. Goals List long and short-term goals and what processes will be needed to achieve those goals. Timeline What will be the estimated time until project completion? Costs and itself. Purpose What purpose does the project have and whom will it benefit? Market Analysis If applicable, will the market or market environment benefit from the project. If so, list why. Resources Identify all the resources both IT, technical, inventory, and human that will be needed to complete the project. Project Process How will the project flow? Include flow charts showing project stages. Management and Teams Who will manage and who will work on scheduled tasks? Will project management outsourcing be needed? Observations Statements that do or dont support the project should be included here. If for a client, does the client have the finances to complete the project or are there alternatives? If for a project or process, will it work and will it be beneficial?
12
13
14
specifications are drawn up in detail. In the design stage, the programming language and the platform in which the new system will run are also decided.
In the DFD, the inputs (source), outputs (destination), Databases (data stores), procedures (Data Flow) and boundaries of the system are described that needs the user requirement. It specifies the user need at a level of detail that virtually determines the information flow into and out of the system and the required data resources. Physical design (Database design)
This activity deals with the design of the physical database. A key is to determine how the access paths are to be implemented. A physical path is derived from the logical path. The relationships existing among the entities like one-to-one, one-to-many, many-to-many are considered while designing the database. Relational structured database is used in this system. Program Design
In conjunction with database design is a decision on the programming language to be used and the flowcharting, coding and debugging procedure prior to conversion. In this application, ASP.Net is used as server side scripting while JavaScript and HTML are used as client side scripting, which are supported by the browsers like Internet Explorer. Visual Web Developer 2008 is used for coding. Database Design
The Database (collection of data) is at the core of any information system. The nature of data stored in the database as well as the organization of the data has wide implications on the performance of the system. A good database design should hold all the data, which may be required by the users of the system, but at the same time, avoid any harmful or unnecessary redundancy. The database should also be flexible so that any future change in requirements can be incorporated with minimum changes.
15
16
Maintenance : After the system was installed it was continuously analyzed for defects, errors & compatibility problems. In case of an error or problem, it was rectified on the spot or within an acceptable time frame
Evaluation : In todays world, none of the system is completely perfect. As the various requirements of user keeps on changing, the software needs to be further modified. Evolution is a report generation tool which used to represent data in different formats. Also, our proposed system can be further enhanced. Our system has following limitations as follows:-
17
All the various generated reports are in form of a file which is stored on the machines disk consuming some about of space. This system does not supports multi-table queries in which more than one table is used. Also this system does not perform any of the summary query operations. The new features can be added in our system to overcome the above limitations. These are:
We would like to reduce the disk space occupied by our systems report file. The proposed system should support various multi-tables queries as well as subqueries operations.
6.2 TESTING
Software Testing is a process that consists of all test life cycle activities like static and dynamic testing concerned with planning, preparation and evaluation of software products to determine that the software products satisfy customers requirements and are fit for customers use. Software Testing is done to find software defects or failures in advance. Unit Testing Integration Testing System Testing Acceptance Testing
UNIT TESTING Unit is the smallest testable part of the software system. Unit testing is done to verify that the lowest independent entities in any software are working fine. The smallest testable part is isolated from the remainder code and tested to determine whether it works correctly. INTEGRATION TESTING In integration testing the individual tested units are grouped as one and the interface between them is tested. Integration testing identifies the problems that occur when the individual units are combined i.e it detects the problem in interface of the two units. Integration testing is done after unit testing.
18
SYSTEM TESTING Testing the behaviour of the whole software/system as defined in software requirements specification (SRS) is known as system testing, its main focus is to verify that the customer requirements are fulfilled. System testing is done after integration testing is complete. System testing should test functional and non functional requirements of the software. Following types of testing should be considered during system testing cycle. The test types followed in system testing differ from organization to organization however this list covers some of the main testing types which need to be covered in system testing. ACCEPTANCE TESTING Acceptance testing is performed after system testing is done and all or most of the major defects have been fixed. The goal of acceptance testing is to establish confidence in the delivered software/system that it meets the end user/customers requirements and is fit for use Acceptance testing is done by user/customer and some of the project stakeholders.
19
7.1 OVERVIEW
Systems Development Life Cycle (SDLC) is a process used by a systems analyst to develop an information system, including requirements, validation, training, and user (stakeholder) ownership. Any SDLC should result in a high quality system that meets or exceeds customer expectations, reaches completion within time and cost estimates, works effectively and efficiently in the current and planned Information Technology infrastructure, and is inexpensive to maintain and cost-effective to enhance.
20
diagrams, screen layout diagrams, tables of business rules, business process diagrams, pseudo code, and a complete entity-relationship diagram with a full data dictionary. These design elements are intended to describe the software in sufficient detail that skilled programmers may develop the software with minimal additional input. BUILD OR CODING Modular design| Modular and subsystem programming code will be accomplished during this stage. Unit testing and module testing are done in this stage by the developers. This stage is intermingled with the next in that individual modules will need testing before integration to the main project. TESTING The code is tested at various levels in software testing. Unit, system and user acceptance testing are often performed. This is a grey area as many different opinions exist as to what the stages of testing are and how much if any iteration occurs. Iteration is not generally part of the waterfall model, but usually some occur at this stage. Below are the following types of testing: Data set testing. Unit testing System testing Integration testing Black box testing White box testing Regression testing
OPERATIONS AND MAINTENANCE The deployment of the system includes changes and enhancements before the decommissioning or sunset of the system. Maintaining the system is an important aspect of SDLC. As key personnel change positions in the organization, new changes will be implemented, which will require system updates.
22
Valid passwor d
Login
Registration
23
0 LEVEL
Login user Website pages Manage database
1 LEVEL
Homepage Tour & Travel user Photo gallery About Rajasthan Attraction History
Login
Sign in
New account
Registration
24
2 LEVEL
Customer
Help
25
CHAPTER 8 CODING
1. REGISTRATION MODULE
Public partial class Default6 { SqlConnection con = new SqlConnection(); SqlCommand cmd; SqlDataReader dr; protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { cmd = new SqlCommand("select * from raj where email='" + TextBox2.Text + "'", con); con.Open(); dr = cmd.ExecuteReader(); if (dr.Read()) { Label1.Visible = true; Label1.Text = "User Name Not Available"; } else { try { cmd = new SqlCommand("insert into raj values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "')", con); //cmd.Parameters.AddWithValue("field1", SqlDbType.VarChar).Value = TextBox1.Text; //cmd.Parameters.AddWithValue("field2", SqlDbType.VarChar).Value = TextBox2.Text; //cmd.Parameters.AddWithValue("field3", SqlDbType.VarChar).Value = TextBox3.Text; //cmd.Parameters.AddWithValue("field4", SqlDbType.VarChar).Value = TextBox4.Text; con.Open(); cmd.ExecuteNonQuery();
26
2. LOGIN MODULE
Public partial class Default7 { SqlConnection con = new SqlConnection(); SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { } protected void Button3_Click(object sender, EventArgs e) { Response.Redirect("registration.aspx"); } protected void Button2_Click(object sender, EventArgs e) { try { con.Open(); string s = "select * from raj where email='" + TextBox2.Text + "'"; SqlCommand cmd = new SqlCommand(s, con);//dr for a particular column values SqlDataReader dr = cmd.ExecuteReader(); if (dr.Read()) { if (TextBox3.Text != dr["pasw"].ToString()) { Label2.Visible = true; Label2.Text = "invalid password"; } else {
27
Session.Add("email", TextBox2.Text); Response.Redirect("photog.aspx"); } } else { Label1.Visible = true; Label1.Text = "user id is wrong"; } con.Close(); } // con.Open(); // cmd.ExecuteNonQuery(); // con.Close(); catch (Exception ex) { Response.Write(ex.Message) } } }
28
CHAPTER 9
OUTPUT OF PROJECT
Forms are the parts that create GUI for the project it contain text box, button, combo box, check box, and all HTML controls. This entire combine form a GUI for a user of an application. Form are the part through which data is entered into the database we can say that these are the front-end of the application and Education Groom contains more than 8 forms in all to give user friendly environment to the end user.
31
32
34
35
37
RESULT
I have studied all the details and specification of ASP.NET and I have done small projects successfully with the help of respected trainers. .NET project gives us very useful and practical knowledge. For designing project first design UML diagram: As the UML design approach was used previously in the project, the decision was made to continue with its use in designing the revised functionality of the system. DATABASE: The database is split, for the purposes of eciency, portability and convenience, into tables. Content is held in one or more table(s), for table size management reasons. The decision was made to limit the table size to 2GB[3] (we have disregarded compatibility to the FAT12 and MINIX lesystems, which have a le size limit of 32MB and 64MB respectively, for obvious reasons). This limitation means that only 32,000 comments can be fit into one table, so a new table should be created every 32,000 comments.
38
CONCLUSION
Working on the project was good experience. I understand the importance of Planning and designing as a part of software development. But its very difficult to complete the program for single person. Developing the project has helped us some experience on real-time development Procedures. The goal of this project is to give information about state RAJASTHAN. It is useful in guideline or gathering knowledge about history useful in to write articles. The use of the technology plays a key part in institutional podcasting. However, depending on the technologies chosen, these can both enable and stifle. It is important to draw on experiences of others, and to apply those experiences intelligently within one's own institution. The system is highly flexible and is well efficient to make easy interaction with the client. The project is developed in .NET as a front-end and SQL as a back-end it can be modified easily and used for a long period.
39
REFERENCES
BOOKS
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]
SOFTWARE ENGINEERING A Practitioners Approach: PRESSMAN, TATA McGralHill SOFTWARE ENGINEERING-I, Shalini Puri SOFTWARE ENGINEERING By K.K. Agarwal, New Age International Publishers Case Studies in Systematic Software Development By Cliff B. Jones and Robert C. F. Shaw - Prentice Hall , 1990 The .NET Framework by Julian Temple man Database management system by silberschatz, korth, McGraw-Hill Database Management System by Santander Bal Gupta Shree Mhavir book Depot (Publishers) Books In India The Book Of Visual Studio .net by Robert B. dun away Published by William Pollock Introducing .net 4.0 with visual studio by Alex Mackey Published by Paul Manning Pro Visual Studio .net by Donald Xie Published by Springer India pvt Ltd Bob Hughes & Mike Cottrell ,"Software Project Management", McGraw-Hill, Fourth Edition Darrel Ince, Helen Sharp and Mark Woodman, Introduction to Software Project Management and Quality Assurance, McGraw Hill E. M. Benn tan. Software Project Management: A Practitioners Approach, McGraw Hill,2nd Edition Tom DeMarco and Timothy Lister, People ware - Productive Projects and Teams, Dorset House Publishing Company, 2nd Edition Mastering visual studio .net by Jon Flanders Published by O Reilly Programming Microsoft Visual C# 2008 by Donis Marshall Published by WP publishers and distributors (P) Ltd http://www.codeproject.com/KB/miscctrl/OnlineExam.aspx http://msdn.microsoft.com/en-us/library/dd831853.aspx http://www.dotnetspider.com/tutorials/AspNet-Tutorials.aspx http://www.csharpcorner.com http://www.rajasthantourism.com
40