Android Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning Android system. Topics include Installing of Android SDK on Windows, Creating and running Android emulators, Developing First Android Application - HelloAndroid, Creating Android Project with 'android' Command, Building, Installing and Running the Debug Binary Package, Inspecting Android Application Package (APK) Files, Using Android Debug Bridge (adb) Tool, Copying files from and to Android device, Understanding Android File Systems, Using Android Java class libraries, Using 'adb logcat' Command for Debugging. Updated in 2023 (Version v3.05) with ADB tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/Android.




PKI Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book is a collection of notes and sample codes written by the author while he was learning PKI (Public Key Infrastructure) technologies himself. Topics include Root CA (Certificate Authorities); SSL, TLS, and HTTPS; Server and client authentication processes; Communication data encryption; Using HTTPS with Chrome, Firefox, Edge, Safari and Internet Explorer; Managing certificates on Windows, macOS, iOS and Android systems; X.509 certificate format; Certificate store and management tools; Certificate validation chain; Self-signed certificate and CSR; Digital signature on MS Word and OpenOffice documents; Get free personal certificate from Comodo. Updated in 2022 (Version v2.31) with macOS and Safari tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/PKI.




Java GC Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial notes and sample codes written by the author while he was learning JVM GC (Garbage Collection) processes. Topics include Java Garbage Collectors, STW (Stop-The-World), Serial Collector, Parallel Collector, Concurrent Collector, G1 Collector, GC Algorithms, Generational GC, Regional GC, Heap Memory Management, Young/New Generation, Tenured/Old Generation, Object Reference, Eden Space, Survivor Spaces, Minor GC, Major GC, Full GC, Performance Tuning, Throughput/Latency Performance, Heap Footprint. Updated in 2024 (Version v1.12) with minor updates. For latest updates and free sample chapters, visit https://www.herongyang.com/Java-GC.




PKI Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book is a collection of notes and sample codes written by the author while he was learning PKI (Public Key Infrastructure) technologies himself. Topics include Root CA (Certificate Authorities); SSL, TLS, and HTTPS; Server and client authentication processes; Communication data encryption; Using HTTPS with Chrome, Firefox, Edge, Safari and Internet Explorer; Managing certificates on Windows, macOS, iOS and Android systems; X.509 certificate format; Certificate store and management tools; Certificate validation chain; Self-signed certificate and CSR; Digital signature on MS Word and OpenOffice documents; Get free personal certificate from Comodo. Updated in 2022 (Version v2.31) with macOS and Safari tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/PKI.




PHP Tutorials - Herong's Tutorial Examples


Book Description

This PHP tutorial book is a collection of notes and sample codes written by the author while he was learning PHP himself. Topics include PHP script syntax; data types, variables, array, expressions, statements and functions; Web server integration; HTTP requests and controlling HTTP responses; sessions, cookies, and file uploads/downloads; MySQL database server access; files, directories, and ZIP archives; parsing HTML Documents; processing image files; SOAP extension; managing non-ASCII characters; classes and objects; using PHP on Windows, macOS and Linux; executing external programs on operating system. Updated in 2022 (Version v5.16) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/PHP.




EC Cryptography Tutorials - Herong's Tutorial Examples


Book Description

This EC (Elliptic Curve) cryptography tutorial book is a collection of notes and sample codes written by the author while he was learning cryptography technologies himself. Topics include rule of chord and point addition on elliptic curves; Abelian groups with additive/multiplicative notations; EC as Abelian groups; DLP (Discrete Logarithm Problem) and trapdoor function; Galois fields or finite fields with Additive/Multiplicative Abelian Group; Prime fields, binary fields, and polynomial fields; EC fields reduced with modular arithmetic; EC subgroup and base points; EC private key and public key pairs; ECDH (Elliptic Curve Diffie-Hellman) protocol; ECDSA (Elliptic Curve Digital Signature Algorithm); ECES (Elliptic Curve Encryption Scheme) protocol; Java tool/program to generate EC keys. Updated in 2024 (Version v1.03) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/EC-Cryptography.




Swing: A Beginner's Guide


Book Description

From the world’s bestselling programming author Using the practical pedagogy that has made his other Beginner’s Guides so successful, Herb Schildt provides new Swing programmers with a completely integrated learning package. Perfect for the classroom or self-study, Swing: A Beginner’s Guide delivers the appropriate mix of theory and practical coding. You will be programming as early as Chapter 1.




Programming in Python 3


Book Description

Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3’s features and idioms. The first book written from a completely “Python 3” viewpoint, Programming in Python 3 brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own. Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won’t find anywhere else. He begins by illuminating Python’s “beautiful heart”: the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise—one concept and hands-on example at a time. This book’s coverage includes Developing in Python using procedural, object-oriented, and functional programming paradigms Creating custom packages and modules Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing Leveraging advanced data types, collections, control structures, and functions Spreading program workloads across multiple processes and threads Programming SQL databases and key-value DBM files Utilizing Python’s regular expression mini-language and module Building usable, efficient, GUI-based applications Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, and more Programming in Python 3 serves as both tutorial and language reference, and it is accompanied by extensive downloadable example code—all of it tested with the final version of Python 3 on Windows, Linux, and Mac OS X.




MySQL Tutorials - Herong's Tutorial Examples


Book Description

This MySQL tutorial book is a collection of notes and sample codes written by the author while he was learning MySQL himself, an ideal tutorial guide for beginners. Topics include introduction of Structured Query Language (SQL); installation of MySQL server on Windows, Linux, and macOS; using MySQL client program; accessing MySQL server from PHP, Java and Perl programs; SQL data types, literals, operations, expressions, and functions; Statements of Data Definition Language (DDL), Data Manipulation Language (DML), and Query Language; creating and using indexes; using window functions; stored procedures; transaction management; locks and deadlocks; InnoDB and other storage engines. Updated in 2023 (Version v4.46) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/MySQL.




Android Application Development


Book Description

This practical book provides the concepts and code you need to develop software with Android, the open-source platform for cell phones and mobile devices that's generating enthusiasm across the industry. Based on the Linux operating system and developed by Google and the Open Handset Alliance, Android has the potential to unite a fragmented mobile market. Android Application Development introduces this programming environment, and offers you a complete working example that demonstrates Android architectural features and APIs. With this book, you will: Get a complete introduction to the Android programming environment, architecture, and tools Build a modular application, beginning with a core module that serves to launch modules added in subsequent chapters Learn the concepts and architecture of a specific feature set, including views, maps, location-based services, persistent data storage, 2D and 3D graphics, media services, telephony services, and messaging Use ready-to-run example code that implements each feature Delve into advanced topics, such as security, custom views, performance analysis, and internationalization The book is a natural complement to the existing Android documentation provided by Google. Whether you want to develop a commercial application for mobile devices, or just want to create a mobile mashup for personal use, Android Application Development demonstrates how you can design, build, and test applications for the new mobile market.