SUBJECT: C# & .NET FRAMEWORK RGM-R15 Regulations III B

Total Page:16

File Type:pdf, Size:1020Kb

SUBJECT: C# & .NET FRAMEWORK RGM-R15 Regulations III B RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK SUBJECT: C# & .NET FRAMEWORK RGM-R15 Regulations III B Tech IISEM DEPARTMENT OF CSE RGMCET,NANDYAL PREPARED BY Mr . G . RAJASEKHAR REDDY 1 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK (A0510155) C# & .NET FRAMEWORK (common to CSE & IT) AIM: To cover the fundamental concepts of the C# language and the .NET framework. OBJECTIVE: The student will gain knowledge in the concepts of the .NET framework as a whole and the technologies that constitute the Framework. The student will gain programming skills in C# both in basic and advanced levels. By building sample applications, the student will get experience and be ready for large-scale projects. OUTCOMES: To get knowledge of windows programming. To get knowledge on server side programming. To gain knowledge on web services and dynamic link libraries. UNIT I INTRODUCTION to C#: Introducing C#, Understanding .NET, Overview of C#, Literals, Variables, Data Types, Operators, Expressions, Branching, Looping, Methods, Arrays, Strings, Structures, Enumerations. UNIT II OBJECT ORIENTED ASPECTS OF C#: Classes, Objects, Inheritance, Polymorphism, Interfaces, Operator Overloading, Delegates, Errors and Exceptions. UNIT III WINDOWS APPLICATIONS: Drawbacks of Console Applications, Container Controls, Non Container Controls, Developing Windows Application from Notepad and Visual Studio, Events, Types of Events – Mouse, Focus, Drag, Key and Other Related Events, Building Windows Applications. ADO.NET: Problems with File Handling, Data Source Communication, Drivers and Providers, Introduction of ADO.NET, ADO.NET Namespaces, ADO.NET Objects, Accessing Data with ADO.NET. UNIT IV BUILDING ASP.NET WEB PAGES: HTML form Development, Client side Scripting, Server side Scripting, Web applications and Web servers, HTTP, Advantages Using ASP.NET, ASP.NET Application, ASP.NET Namespaces, ASP.NET Web Page Structure, Creating Sample C# Web Applications, ASP.NET Web Page Execution Architecture, Debugging and Tracing of ASP.NET. UNIT V 2 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK ASP.NET WEB CONTROLS: Web Form Structures, Introduction to Web Form controls, Server Side Controls, Web Server Controls, GET and POST, Page Submission, Web Page Creation Techniques, Redirection between Web Pages, Validation Controls. UNIT VI WEB SERVICES: Web Services, Web Service Architecture, WSDL, Building WSDL Web Service. CONFIGURING .NET ASSEMBLIES: Private Assemblies, Shared Assemblies, and Versioning. MULTITHREADED PROGRAMMING: Thread Class, Life Cycle of a Thread, Steps for Creating a Thread, Thread Synchronization. 3 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK UNIT I .NET: .NET stands for Network Enable Technology which is developed by Microsoft Corporation. .NET is a collection of languages like VC#.NET, VC++.NET, VB.NET and so on. .NET is a Framework which provides a common platform to Execute or Run the applications developed in various programming languages. .NET Objectives: The .NET Framework is designed to fulfil the following objectives Platform independent: As .exe and .dll files work in any operating system with the help of CLR, hence .Net is called as platform independent. (.exe) is executable file, it consists of executable code, and (.dll) is dynamic link library file it consist of reusable code. .exe and .dll files contains the code in the format of byte code is also called as MSIL (Microsoft intermediate language) code. Machine language is also called as native code. CLR is common language runtime; CLR software converts byte code into native code. Dot Net is platform independent but CLR software is platform dependent. One question arises if we go in detail, that is either Dot Net is pure platform independent or not? Answer is Dot Net is partially platform dependent, as of now CLR software's are not available for DOS operating system and Windows 95. Language independent: As Dot Net programming logic can be developed in any Dot Net framework compatible languages; hence Dot Net is called as language independent. 4 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK Microsoft is introducing approximately 40 languages into Dot Net framework, out of which as of now approximately 24 languages and one specification are released. Ex: VC#.Net,VB.Net,VC++,VJ#,VF#,PHP,COBOL,PERL,PHYTHON,SMALLTALK,JSCRI PT...etc One specification is ASP.Net. Language interoperability: It is a concept of developing an application with the help of more than one .NET programming language. After an application is compiled, the source code will be converted into byte code. Byte code follows a standard instruction set provided by cls(common language specification).Cls provides common rules and syntaxes for all the languages and cls also provides common data types for all the languages and these common data types are called as CTS(common type system). C++ C# VB .NET int(2) short(2) short(2) long(4) int(4) integer(2) long(8) long(8) SYSTEM.INT16 SYSTEM.INT32 SYSTEM.INT64 It supports object-oriented programming environment. It supports to work with database programming with the help of ADO.NET. It supports to work with WPF (windows presentation foundation) for developing animations. It Provides environment for developing various types of applications, such as Windows- based applications and Web-based applications It Supports to develop 3-tier architecture with the help of Dot Net remoting Supports to develop game programming with the help of multi-threading Supports to work with link programming Managed Code: The code is developed and running under the control of the CLR is often termed managed code Unmanaged code: The code which takes OS help while execution is called as unmanaged code Note: Managed code is faster in execution. Unmanaged code CLR .net .dll Output .exe Managed code .NET Framework: The .Net framework is a revolutionary platform that helps you to write the following types of applications: Windows applications 5 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK Web applications Web services The .NET framework applications are multi-platform applications. The .NET framework has been designed in such a way that it can be used by .NET framework compatible languages ( C#, C++, Visual Basic, Jscript, COBOL, etc). All .NET framework compatible languages can access the framework as well as communicate with each other. The .NET frame work contain three major things that is Languages—VB,C#,PASCAL,COBOL Technology—ASP.NET,ADO.NET Servers—SQL SERVER,SHARE POINT SERVER In platform independent languages, the code gets executed under the control of special software called framework. Example: java-->JVM .NET-->CLR Framework: A framework is a software which masks the functionalities of a OS and makes the code to execute under its control .Frame work provides the following basic features like Platform independency Security Memory management Microsoft has started the development of .NET framework in late 90‘s originally under the name of NGWS (next generation windows services). To develop the framework first the Microsoft has prepared a set of specifications known as CLI (common language infrastructure). The .NET specifications are open to all (everyone can develop) which is standardized under ISO (International Standards organization) AND ECMA(European computer manufacture association). CLI specification talks about four important aspects that is CLS (common language specification) CTS (common Type system) BCL (Base class libraries) VES (Virtual execution system) or CLR (common language runtime) .NET framework versions Versions Release Date 6 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK 1.0 2002 1.1 2003 2.0 2005 3.0 2006 3.5 2007 4.0 2009 The .Net framework consists of an enormous library of codes used by the client languages such as C#. Following are some of the components of the .Net framework: Common Language Runtime (CLR) The .Net Framework Class Library Common Language Specification Common Type System Metadata and Assemblies Windows Forms ASP.Net and ASP.Net AJAX ADO.Net Windows Workflow Foundation (WF) Windows Presentation Foundation Windows Communication Foundation (WCF) LINQ .NET framework architectural diagram: The .NET framework is one of the tool provided by the .NET infrastructure and tools component of the .NET platform. The .NET framework provides an environment for building, deploying and running web services and .NET applications. PLINQ TPL LINQ ADO.NET ENTITY FRAMEWORK WPF WCF WF CARD SPACE ADO.NET ASP.NET WIN FORMS BASE CLASS LIBRARIES COMMON LANGUAGE RUNTIME(CLR) Common language runtime (CLR): CLR is the heart of the .NET framework. It is the execution engine of .NET framework, where all .net applications are running under the supervision of CLR. The main function of CLR is to convert the managed code into native code and then execute the program. CLR acts 7 School of Computer Science & Engineering | RGMCET RGM COLLEGE OF ENGG&TECH C# & .NET FRAMEWORK as a layer between OS and the applications written in .NET languages. CLR provides various features to applications like Security Platform independency Automatic memory management Runtime error handling Code verification Compilation Thread management The components of CLR are Class Loader:
Recommended publications
  • THINC: a Virtual and Remote Display Architecture for Desktop Computing and Mobile Devices
    THINC: A Virtual and Remote Display Architecture for Desktop Computing and Mobile Devices Ricardo A. Baratto Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the Graduate School of Arts and Sciences COLUMBIA UNIVERSITY 2011 c 2011 Ricardo A. Baratto This work may be used in accordance with Creative Commons, Attribution-NonCommercial-NoDerivs License. For more information about that license, see http://creativecommons.org/licenses/by-nc-nd/3.0/. For other uses, please contact the author. ABSTRACT THINC: A Virtual and Remote Display Architecture for Desktop Computing and Mobile Devices Ricardo A. Baratto THINC is a new virtual and remote display architecture for desktop computing. It has been designed to address the limitations and performance shortcomings of existing remote display technology, and to provide a building block around which novel desktop architectures can be built. THINC is architected around the notion of a virtual display device driver, a software-only component that behaves like a traditional device driver, but instead of managing specific hardware, enables desktop input and output to be intercepted, manipulated, and redirected at will. On top of this architecture, THINC introduces a simple, low-level, device-independent representation of display changes, and a number of novel optimizations and techniques to perform efficient interception and redirection of display output. This dissertation presents the design and implementation of THINC. It also intro- duces a number of novel systems which build upon THINC's architecture to provide new and improved desktop computing services. The contributions of this dissertation are as follows: • A high performance remote display system for LAN and WAN environments.
    [Show full text]
  • Corticon Server: Deploying Web Services with .NET
    Corticon Server: Deploying Web Services with .NET Notices Copyright agreement © 2014 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved. These materials and all Progress® software products are copyrighted and all rights are reserved by Progress Software Corporation. The information in these materials is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear therein. The references in these materials to specific platforms supported are subject to change. Business Making Progress, Corticon, DataDirect (and design), DataDirect Cloud, DataDirect Connect, DataDirect Connect64, DataDirect XML Converters, DataDirect XQuery, Fathom, Making Software Work Together, OpenEdge, Powered by Progress, Progress, Progress Control Tower, Progress OpenEdge, Progress RPM, Progress Software Business Making Progress, Progress Software Developers Network, Rollbase, RulesCloud, RulesWorld, SequeLink, SpeedScript, Stylus Studio, and WebSpeed are registered trademarks of Progress Software Corporation or one of its affiliates or subsidiaries in the U.S. and/or other countries. AccelEvent, AppsAlive, AppServer, BusinessEdge, Progress Easyl, DataDirect Spy, DataDirect SupportLink, Easyl, Future Proof, High Performance Integration, Modulus, OpenAccess, Pacific, ProDataSet, Progress Arcade, Progress Pacific, Progress Profiles, Progress Results, Progress RFID, Progress Responsive Process Management, Progress Software, ProVision, PSE Pro, SectorAlliance, SmartBrowser,
    [Show full text]
  • Middleware in Action 2007
    Technology Assessment from Ken North Computing, LLC Middleware in Action Industrial Strength Data Access May 2007 Middleware in Action: Industrial Strength Data Access Table of Contents 1.0 Introduction ............................................................................................................. 2 Mature Technology .........................................................................................................3 Scalability, Interoperability, High Availability ...................................................................5 Components, XML and Services-Oriented Architecture..................................................6 Best-of-Breed Middleware...............................................................................................7 Pay Now or Pay Later .....................................................................................................7 2.0 Architectures for Distributed Computing.................................................................. 8 2.1 Leveraging Infrastructure ........................................................................................ 8 2.2 Multi-Tier, N-Tier Architecture ................................................................................. 9 2.3 Persistence, Client-Server Databases, Distributed Data ....................................... 10 Client-Server SQL Processing ......................................................................................10 Client Libraries ..............................................................................................................
    [Show full text]
  • Tizen 2.4 Compliance Specification for Mobile Profile
    Tizen® 2.4 Compliance Specification for Mobile Profile Version 1.0 Copyright© 2014, 2015 Samsung Electronics Co., Ltd. Copyright© 2014, 2015 Intel Corporation Linux is a registered trademark of Linus Torvalds. Tizen® is a registered trademark of The Linux Foundation. ARM is a registered trademark of ARM Holdings Plc. Intel® is a registered trademark of Intel Corporation in the U.S. and/or other countries * Other names and brands may be claimed as the property of others. Revision History Revision Date Author Reason for Changes Tizen 2.2.1 Compliance Specification for 11 Nov. 2013 Tizen TSG Official release Mobile Profile, v1.0 Tizen 2.3 Compliance Specification for 14 Nov 2014 Tizen TSG Official release Mobile Profile, 1.0 Tizen 2.3.1 Compliance Specification for 22 Sep 2015 Tizen TSG Official release Mobile Profile, 1.0 Tizen 2.4 Compliance Specification for 22 Oct 2015 Tizen TSG Official release Mobile Profile, 1.0 Glossary Term Definition Application Binary Interface, the runtime interface between a binary software ABI program and the underlying operating system. Application Programming Interface, the interface between software API components, including methods, data structures and processes. Compliance Certified for full conformance, which was verified by testing. Conformance How well the implementation follows a specification. Cascading Style Sheets, a simple mechanism for adding style such as fonts, CSS colors, and spacing to web documents. Document Object Model, a platform and language-neutral interface that will DOM allow programs and scripts to dynamically access and update the content, structure and style of documents. DTV Digital Television, a target of the TV Profile.
    [Show full text]
  • NET Tutorial for Beginners
    India Community Initiative .NET Tutorial for Beginners Special thanks to the following who have put in sincere efforts to write and bring this tutorial together. Akila Manian (MVP) | Ajay Varghese (MVP) | Amit Kukreja | Anand M (MVP) | Aravind Corera (MVP) | Arvind Rangan | Balachandran | Bipin Joshi (MVP) | C S Rajagopalan | G Gokulraj | G Arun Prakash | Gurneet Singh (MVP) | Kunal Cheda (MVP) | Manish Mehta (MVP) | Narayana Rao Surapaneni (MVP) | Pradeep | Saurabh Nandu (MVP) | Shankar N.S. | Swati Panhale | Reshmi Nair Content 1. Getting Ready .......................................................................................... 4 1.1 Tracing the .NET History..............................................................................4 1.2 Flavors of .NET...........................................................................................5 1.3 Features of .NET.......................................................................................10 1.4 Installing the .NET Framework SDK.............................................................12 2. Introduction to the .NET Initiative and the .NET Platform...................... 15 2.1 Understanding the Existing Development Scenario........................................15 2.2 Challenges faced by developers..................................................................18 2.3 NET Philosophy / Where does .NET fit in? ....................................................21 2.4 Understanding the .NET Platform and its layers ............................................25 2.5
    [Show full text]
  • The Following Documentation Is an Electronically‐ Submitted
    The following documentation is an electronically‐ submitted vendor response to an advertised solicitation from the West Virginia Purchasing Bulletin within the Vendor Self‐Service portal at wvOASIS.gov. As part of the State of West Virginia’s procurement process, and to maintain the transparency of the bid‐opening process, this documentation submitted online is publicly posted by the West Virginia Purchasing Division at WVPurchasing.gov with any other vendor responses to this solicitation submitted to the Purchasing Division in hard copy format. Purchasing Division State of West Virginia 2019 Washington Street East Solicitation Response Post Office Box 50130 Charleston, WV 25305-0130 Proc Folder : 702868 Solicitation Description : Addendum No 2 Supplemental Staffing for Microsoft Applicatio Proc Type : Central Contract - Fixed Amt Date issued Solicitation Closes Solicitation Response Version 2020-06-10 SR 1300 ESR06012000000007118 1 13:30:00 VENDOR VS0000022405 TeXCloud Solutions, Inc Solicitation Number: CRFQ 1300 STO2000000002 Total Bid : $325,000.00 Response Date: 2020-06-10 Response Time: 11:31:14 Comments: FOR INFORMATION CONTACT THE BUYER Melissa Pettrey (304) 558-0094 [email protected] Signature on File FEIN # DATE All offers subject to all terms and conditions contained in this solicitation Page : 1 FORM ID : WV-PRC-SR-001 Line Comm Ln Desc Qty Unit Issue Unit Price Ln Total Or Contract Amount 1 Temporary information technology 2000.00000 HOUR $65.000000 $130,000.00 software developers Comm Code Manufacturer Specification Model # 80111608 Extended Description : Year 1 / Individual 1 2 Temporary information technology 2000.00000 HOUR $65.000000 $130,000.00 software developers 80111608 Year 1 / Individual 2 3 Temporary information technology 500.00000 HOUR $65.000000 $32,500.00 software developers 80111608 Three (3) Month Renewal Option Individual 1 4 Temporary information technology 500.00000 HOUR $65.000000 $32,500.00 software developers 80111608 Three (3) Month Renewal Option Individual 2 Page : 2 TeXCloud Solutions, Inc.
    [Show full text]
  • Scilab for Very Beginners
    Scilab for very beginners Scilab Enterprises S.A.S - 143 bis rue Yves Le Coz - 78000 Versailles (France) - www.scilab-enterprises.com This document has been co-written by Scilab Enterprises and Christine Gomez, mathematics teacher at Lycée Descartes (Descartes HiGh School) in Antony, Hauts-de-Seine (France). © 2013 Scilab Enterprises. All riGhts reserved. Scilab for very beGinners - 2/33 Table of content Introduction About this document 4 Install Scilab 4 MailinG list 4 Complementary resources 4 Chapter 1 – Become familiar with Scilab The General environment and the console 5 Simple numerical calculations 6 The menu bar 7 The editor 8 The Graphics window 9 Windows manaGement and workspace customization 11 Chapter 2 - Programming Variables, assignment and display 12 Loops 16 Tests 17 2 and 3D plots 18 Supplements on matrices and vectors 23 Calculation accuracy 29 SolvinG differential equations 30 Chapter 3 – Useful Scilab functions In analysis 32 In probability and statistics 32 To display and plot 33 Utilities 33 Scilab for very beGinners - 3/33 Introduction About this document The purpose of this document is to Guide you step by step in explorinG the various basic features of Scilab for a user who has never used numerical computation software. This presentation is voluntarily limited to the essential to allow easier handling of Scilab. Computations, Graphs and illustrations are made with Scilab 5.4.0. You can reproduce all those commands from this version. Install Scilab Scilab is numerical computation software that anybody can freely download. Available under Windows, Linux and Mac OS X, Scilab can be downloaded at the followinG address: http://www.scilab.orG/ You can be notified of new releases of Scilab software by subscribinG to our channel notification at the following address: http://lists.scilab.orG/mailman/listinfo/release Mailing list To facilitate the exchanGe between Scilab users, dedicated mailinG lists exist (list in French, list for the education world, international list in English).
    [Show full text]
  • Mastering Powershellpowershell
    CopyrightCopyright © 2009 BBS Technologies ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be reproduced, transmitted, stored, or used in any form or by any means graphic, electronic, or mechanical, including but not limited to photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval systems except as permitted under Section 107 or 108 of the 1976 United States Copyright Act without the prior written permission of the publisher. For permission to use material from the text please contact Idera at [email protected]. Microsoft® Windows PowerShell® and Microsoft® SQL Server® are registered trademarks of Microsoft Corporation in the United Stated and other countries. All other trademarks are the property of their respective owners. AboutAbout thethe AuthorAuthor Dr. Tobias Weltner is one of the most visible PowerShell MVPs in Europe. He has published more than 80 books on Windows and Scripting Techniques with Microsoft Press and other publishers, is a regular speaker at conferences and road shows and does high level PowerShell and Scripting trainings for companies throughout Europe. He created the powershell.com website and community in an effort to help people adopt and use PowerShell more efficiently. As software architect, he created a number of award-winning scripting tools such as SystemScripter (VBScript), the original PowerShell IDE and PowerShell Plus, a comprehensive integrated PowerShell development system. AcknowledgmentsAcknowledgments First and foremost, I’d like to thank my family who is always a source of inspiration and encouragement. A special thanks to Idera, Rick Pleczko, David Fargo, Richard Giles, Conley Smith and David Twamley for helping to bring this book to the English speaking world.
    [Show full text]
  • KGC Khronos API Overview Nov11 Korea
    The State of Gaming APIs Neil Trevett Vice President Mobile Content, NVIDIA President, The Khronos Group © Copyright Khronos Group, 2011 - Page 1 State of Gaming APIs–the Role of Khronos High-end graphics Breakthrough games embrace technology is created on mobility‟s strengths – not just treat high-end platforms phones as small consoles - and will need complex, interoperating APIs e.g. Augmented Reality As platforms diversify – mobile, Mobile is the new platform for games TV, embedded – HTML5 will innovation. Mobile APIs are needed become increasingly important to unlock hardware potential while as a universal app platform conserving battery life © Copyright Khronos Group, 2011 - Page 2 Khronos - Connecting Software to Silicon • Creating open, royalty-free API standards - Focus on graphics, dynamic media, compute and sensor hardware • Low-level - just above raw silicon - “Foundation” functionality needed on every platform • Safe forum for industry cooperation - „By the industry for the industry‟ - Open to any company to join - IP framework to protect members and industry APIs enable software developers to turn silicon functionality into rich end user experiences © Copyright Khronos Group, 2011 - Page 3 Apple Over 100 members – any company worldwide is welcome to join Board of Promoters © Copyright Khronos Group, 2011 - Page 4 3D Evolution on PCs „Doom‟ on a PC – 1993 id Software „Samaritan‟ Real-time Demo on a PC – 2011 Epic Unreal Engine http://www.youtube.com/watch?v=RSXyztq_0uM © Copyright Khronos Group, 2011 - Page 5 OpenGL for Each
    [Show full text]
  • Taxonomy of Cross-Platform Mobile Applications Development Approaches
    Ain Shams Engineering Journal (2015) xxx, xxx–xxx Ain Shams University Ain Shams Engineering Journal www.elsevier.com/locate/asej www.sciencedirect.com ELECTRICAL ENGINEERING Taxonomy of Cross-Platform Mobile Applications Development Approaches Wafaa S. El-Kassas *, Bassem A. Abdullah, Ahmed H. Yousef, Ayman M. Wahba Department of Computer and Systems Engineering, Faculty of Engineering, Ain Shams University, Egypt Received 13 September 2014; revised 30 May 2015; accepted 3 August 2015 KEYWORDS Abstract The developers use the cross-platform mobile development solutions to develop the Cross-platform mobile mobile application once and run it on many platforms. Many of these cross-platform solutions development; are still under research and development. Also, these solutions are based on different approaches Interpretation approach; such as Cross-Compilation approach, Virtual Machine approach, and Web-Based approach. There Cloud computing; are many survey papers about the cross-platform mobile development solutions but they do not Compilation approach; include the most recent approaches, including Component-Based approach, Cloud-Based Component-Based approach, and Merged approach. The main aim of this paper is helping the researchers to know approach; the most recent approaches and the open research issues. This paper surveys the existing cross- Model-Driven Engineering platform mobile development approaches and attempts to provide a global view: it thoroughly introduces a comprehensive categorization to the cross-platform approaches, defines the pros and cons of each approach, explains sample solutions per approach, compares the cross-platform mobile development solutions, and ends with the open research areas. Ó 2015 Faculty of Engineering, Ain Shams University. Production and hosting by Elsevier B.V.
    [Show full text]
  • Exposing Native Device Apis to Web Apps
    Exposing Native Device APIs to Web Apps Arno Puder Nikolai Tillmann Michał Moskal San Francisco State University Microsoft Research Microsoft Research Computer Science One Microsoft Way One Microsoft Way Department Redmond, WA 98052 Redmond, WA 98052 1600 Holloway Avenue [email protected] [email protected] San Francisco, CA 94132 [email protected] ABSTRACT language of the respective platform, HTML5 technologies A recent survey among developers revealed that half plan to gain traction for the development of mobile apps [12, 4]. use HTML5 for mobile apps in the future. An earlier survey A recent survey among developers revealed that more than showed that access to native device APIs is the biggest short- half (52%) are using HTML5 technologies for developing mo- coming of HTML5 compared to native apps. Several dif- bile apps [22]. HTML5 technologies enable the reuse of the ferent approaches exist to overcome this limitation, among presentation layer and high-level logic across multiple plat- them cross-compilation and packaging the HTML5 as a na- forms. However, an earlier survey [21] on cross-platform tive app. In this paper we propose a novel approach by using developer tools revealed that access to native device APIs a device-local service that runs on the smartphone and that is the biggest shortcoming of HTML5 compared to native acts as a gateway to the native layer for HTML5-based apps apps. Several different approaches exist to overcome this running inside the standard browser. WebSockets are used limitation. Besides the development of native apps for spe- for bi-directional communication between the web apps and cific platforms, popular approaches include cross-platform the device-local service.
    [Show full text]
  • React-Native.Pdf
    react-native #react- native Table of Contents About 1 Chapter 1: Getting started with react-native 2 Remarks 2 Examples 2 Setup for Mac 2 Setup for Windows 14 Setup for Linux (Ubuntu) 15 Start the terminal and run the following commands to install nodeJS: 15 If node command is unavailable 15 Alternatives NodeJS instalations: 16 check if you have the current version 16 Run the npm to install the react-native 16 Android SDK or Android Studio 16 Android SDK e ENV 16 Example app init 17 Obs: Always check if the version on android/app/build.gradle is the same as the Build Tool 17 Open Android AVD to set up a virtual android. Execute the command line: 18 Chapter 2: Android - Hardware Back Button 19 Examples 19 Detect Hardware back button presses in Android 19 Example of BackAndroid along with Navigator 19 Example of Hardware back button detection using BackHandler 20 Hardware back button handling using BackHandler and Navigation Properties (without using d 20 Chapter 3: Animation API 22 Examples 22 Animate an Image 22 Chapter 4: Command Line Instructions 23 Examples 23 Check version installed 23 Upgrade existing project to latest RN version 23 Logging 23 Initialize and getting started with React Native project 23 Start React Native Packager 24 Add android project for your app 24 Chapter 5: Components 25 Examples 25 Basic Component 25 Stateful Component 25 Stateless Component 25 Chapter 6: Create a shareable APK for android 27 Introduction 27 Remarks 27 Examples 27 Create a key to sign the APK 27 Once the key is generated, use it to generate
    [Show full text]