Skip to main content

Posts

Showing posts with the label Android

The APK format has become history, and AAB will become the only distribution format for new apps on Google Play

 As early as the Google I/O conference in May 2018, Google introduced the Android App Bundle (AAB) format as part of its modern development. In August of this year, the AAB format will become the default format for newly launched apps on the Google Play Store, and old apps that have already been launched will not be affected for the time being.

Gradle : New Generation Build Automation tool . How to use Gradle ?

  Gradle : New Generation Build Automation tool . How to use Gradle ?   What is Gradle?   Gradle is a next-generation JVM-based build tool that streamlines Gradle's knowledge for Android development. Gradle is currently used in several Android-developed technology systems, such as building systems, plug-ins, hot fixes, componentization, and more. Gradle is a build tool for project automation, a programmable tool that lets you control the build process and ultimately generate deliverable software. Build tools can help you create a repetitive, reliable, manual, build that doesn't depend on a specific operating system or IDE.  An open source project automated build tool, built on the basis of apache ant and maven, and introduces a Groovy-based domain-specific language (DSL), and no longer uses xml to manage build scripts.   The development stage of the build tool: Ant --> Maven --> Gradle   Ready to work   ① Install gradle   ② Configure environment va

What is Java Virtual Machine (JVM)?

Java  Virtual   Machine  (JVM) is an abstract machine that executes Java  Bytecode. There are different  JVM for different hardware and software platforms.  So JVM is platform dependent.  JVM  is responsible for loading, verifying and executing the Bytecode on a platform.

What is the difference between JDK and JRE?

JDK stands for Java  Development Kit.  It contains the tools and libraries for development of Java programs.  It also contains compilers and debuggers needed to compile Java program. JRE stands for Java Runtime Environment. This is included in JDK. JRE provides libraries and  JVM that is required to run a Java program. Its currently owned by Oracle. http://www.oracle.com/technetwork/pt/java/javase/overview/index.html 

C# Program to write Class average with counter-controlled repetition.

Photo by  Startup Stock Photos  from  Pexels The class average is equal to the sum of the grades divided by the number of students. The algorithm for solving this problem on a computer must input each of the grades, perform the averaging calculation and display the result. 1 // 2 // Class average with counter-controlled repetition. 3 4 usingSystem; 5 6 classAverage1 7 { 8 static voidMain( string[] args ) 9 { 10   inttotal,  // sum of grades 11 gradeCounter,  // number of grades entered 12 gradeValue,  // grade value 13 average;  // average of all grades 14 15 // initialization phase 16 total = 0;  // clear total 17 gradeCounter = 1;  // prepare to loop 18 19 // processing phase 20   while( gradeCounter <= 10)  // loop 10 times 21 { 22   // prompt for input and read grade from user 23 Console.Write( "Enter integer grade: "); 24 25   // read input and convert to integer 26 gradeValue = Int32.Parse( Console.ReadLine() ); 27 28   // add gradeV