The document provides a lab guide for setting up an Android development environment and developing a simple mobile app. The guide includes 5 labs that cover: 1) Setting up the development environment and SDK, 2) Developing a basic BMI calculator app, 3) Examples of integrating camera, GPS, accessibility features and embedded web content, 4) Submitting the mobile app to an application store, and 5) Reporting and statistics collection. Each lab provides step-by-step instructions and code examples to complete the tasks.
This document provides instructions for setting up the Android development environment. It explains that you need to install the Java Development Kit (JDK), Android SDK, and Android Developer Tools (ADT) plugin for Eclipse. You then need to download the ADT bundle, extract the ZIP file, and launch Eclipse to open the integrated development environment. From there you can create and run Android applications and configure an Android Virtual Device for testing apps in an emulator.
XCUITest for iOS App Testing and how to test with XcodepCloudy
This document discusses IOS app testing using XCTest and XCUITest. It covers the challenges of IOS automation, current tool options like Appium, XCTest, and XCUITest. It provides an introduction to XCTest and XCUITest, including how to create a basic automation script. It also discusses the impact of XCUITest on Appium, as Appium now proxies commands to XCUITest for IOS 9 and above, rather than the deprecated UIAutomation framework.
This document provides instructions for setting up an environment for Android development. It discusses downloading and installing the Java Development Kit (JDK), Android SDK, and Android Studio. It also covers configuring a real Android device or emulator for testing apps. The document demonstrates creating a basic "Hello World" Android app in Android Studio and reviewing the underlying code and manifest file. It then briefly describes a more advanced app that scans for nearby WiFi access points when a button is pressed.
This document summarizes a mobile computing lab session on creating user interfaces in Android. The key topics covered include:
1. Introduction of common Android views like TextView, EditText, Button and ImageView. Views are basic UI elements and ViewGroups arrange views in layouts.
2. Demonstration of common Android layouts - LinearLayout arranges views vertically or horizontally, RelativeLayout positions views relative to each other, TableLayout arranges views in a table, and FrameLayout overlays views.
3. Explanation of five different methods to handle button click events in Android - using XML onClick attribute, implementing OnClickListener interface, inner classes, interface variables, and anonymous inner classes.
Getting started with android dev and test perspectiveGunjan Kumar
The presentation covers basic intro to Android, how to get started with development, including instructions on setup, common UI usages like menus, dialogs; details on services like Sensors, Location and Google Maps
It also covers ideas on how to test including details on shell and installation instructions without using Eclipse
The document provides an overview of iOS development including:
- The iOS platform and SDK for developing iPhone and iPad apps
- Using Xcode and Objective-C as the main programming language
- Setting up the development environment and registering as an Apple developer
- Key aspects of the development process like debugging, deploying and distributing apps
- Common iOS frameworks like Cocoa Touch and Core Location that aid app development
This document provides an overview of an Android application development session that covers the Android framework, Android layouts, and basic UI widgets. The session will discuss the main components of the Android framework - activities, services, broadcast receivers, and content providers. It will explain how to design screens using linear, relative and list views in Android layouts. It will also demonstrate how to add basic widgets like text boxes, buttons, checkboxes and radio buttons to a user interface. Code examples are provided to illustrate how to set up activities, initialize views, and retrieve widget values.
The document provides information about setting up the Android development environment using Eclipse. It discusses downloading the Android SDK starter package, installing the ADT plugin for Eclipse, and adding Android platforms and components to the SDK using the Android SDK and AVD Manager. The typical layout of the Eclipse IDE for Android development is shown, including the ADT plugin extensions. Steps for creating an Android Virtual Device for use with the emulator are also outlined.
This document provides instructions for setting up the Android development environment. It explains that you need to install the Java Development Kit (JDK), Android SDK, and Android Developer Tools (ADT) plugin for Eclipse. You then need to download the ADT bundle, extract the ZIP file, and launch Eclipse to open the integrated development environment. From there you can create and run Android applications and configure an Android Virtual Device for testing apps in an emulator.
XCUITest for iOS App Testing and how to test with XcodepCloudy
This document discusses IOS app testing using XCTest and XCUITest. It covers the challenges of IOS automation, current tool options like Appium, XCTest, and XCUITest. It provides an introduction to XCTest and XCUITest, including how to create a basic automation script. It also discusses the impact of XCUITest on Appium, as Appium now proxies commands to XCUITest for IOS 9 and above, rather than the deprecated UIAutomation framework.
This document provides instructions for setting up an environment for Android development. It discusses downloading and installing the Java Development Kit (JDK), Android SDK, and Android Studio. It also covers configuring a real Android device or emulator for testing apps. The document demonstrates creating a basic "Hello World" Android app in Android Studio and reviewing the underlying code and manifest file. It then briefly describes a more advanced app that scans for nearby WiFi access points when a button is pressed.
This document summarizes a mobile computing lab session on creating user interfaces in Android. The key topics covered include:
1. Introduction of common Android views like TextView, EditText, Button and ImageView. Views are basic UI elements and ViewGroups arrange views in layouts.
2. Demonstration of common Android layouts - LinearLayout arranges views vertically or horizontally, RelativeLayout positions views relative to each other, TableLayout arranges views in a table, and FrameLayout overlays views.
3. Explanation of five different methods to handle button click events in Android - using XML onClick attribute, implementing OnClickListener interface, inner classes, interface variables, and anonymous inner classes.
Getting started with android dev and test perspectiveGunjan Kumar
The presentation covers basic intro to Android, how to get started with development, including instructions on setup, common UI usages like menus, dialogs; details on services like Sensors, Location and Google Maps
It also covers ideas on how to test including details on shell and installation instructions without using Eclipse
The document provides an overview of iOS development including:
- The iOS platform and SDK for developing iPhone and iPad apps
- Using Xcode and Objective-C as the main programming language
- Setting up the development environment and registering as an Apple developer
- Key aspects of the development process like debugging, deploying and distributing apps
- Common iOS frameworks like Cocoa Touch and Core Location that aid app development
This document provides an overview of an Android application development session that covers the Android framework, Android layouts, and basic UI widgets. The session will discuss the main components of the Android framework - activities, services, broadcast receivers, and content providers. It will explain how to design screens using linear, relative and list views in Android layouts. It will also demonstrate how to add basic widgets like text boxes, buttons, checkboxes and radio buttons to a user interface. Code examples are provided to illustrate how to set up activities, initialize views, and retrieve widget values.
The document provides information about setting up the Android development environment using Eclipse. It discusses downloading the Android SDK starter package, installing the ADT plugin for Eclipse, and adding Android platforms and components to the SDK using the Android SDK and AVD Manager. The typical layout of the Eclipse IDE for Android development is shown, including the ADT plugin extensions. Steps for creating an Android Virtual Device for use with the emulator are also outlined.
This Presentation will give u information about Android :
1. UI design Components and layouts- Frame Layout,
2. Linear Layout,
3. Relative Layout Write the XML
4. Load the XML Resource Attributes- ID,
5. Layout Parameters,
6. Position,
7. Size,
8. Padding and Margins
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...Droidcon Berlin
ProGuard is an open source tool that optimizes and obfuscates Java bytecode. It can shrink code size by removing unused classes, fields, and methods. It optimizes code through optimizations like constant propagation and method inlining. It obfuscates code by renaming classes, fields, and methods to obscure their purpose. ProGuard is included in the Android SDK and can help protect Android apps from reverse engineering.
This document provides instructions for installing the Android SDK and creating a basic "Hello World" Android application. It outlines downloading and setting up the Java JDK, Eclipse IDE, and Android SDK. It then guides the user through creating a new Android project in Eclipse, selecting project options, and adding an activity. The document demonstrates running the app in an emulator and on a real device by connecting it via USB and ensuring drivers are installed. The overall process allows a user to get started with Android development by installing the necessary tools and building a simple test app.
The document outlines a series of Android labs covering topics such as linear layout, relative layout, table layout, list view layout, menus, dialogs, widgets, shared preferences, SQLite, intents, content providers, and broadcast receivers. It also provides references to additional Android resources for further learning. The labs are designed to teach Android fundamentals and cover creating basic UI layouts using different layout types, adding interactivity with menus and dialogs, storing and retrieving data, and implementing core Android application concepts.
TOPS Technologies offer Professional Android Training in Ahmedabad.
Ahmedabad Office (C G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmedabad 380009.
http://www.tops-int.com/live-project-training-android.html
Most experienced IT Training Institute in Ahmedabad known for providing Android course as per Industry Standards and Requirement.
This document provides an overview of XCTest, Apple's UI automation framework for testing iOS and macOS apps. It discusses features like test recording, reports, and simple syntax. It also covers generating a testing target in Xcode and recording a sample test. Potential disadvantages are mentioned like complex element selectors and lack of documentation for only the latest iOS version. The document asks if XCTest should be used for a project and provides additional learning resources and links.
I have seen many of the students and mobile users are attracted to smartphone and their mobile applications. This is the start to code an Android application at basic level
The document provides an overview of setting up an Android development environment and creating basic Android applications. It discusses installing the Android SDK and Eclipse IDE, creating Android Virtual Devices, using the Android emulator, and understanding key Android application components like activities, services, and intents. The document also covers building user interfaces with XML layouts, handling user input, and moving between activities.
Android the first app - hello world - copyDeepa Rani
This document provides instructions for creating a basic Android application in Eclipse, including installing the Android platform, creating an Android Virtual Device (AVD), generating a new Android project called "HelloAndroid" with a default activity, and running the application. Key steps include using the Android SDK and AVD Manager to install platforms and create AVDs, generating a project with an activity class, and running the app on an emulator.
Android application development workshop day1Borhan Otour
This document summarizes an Android application development workshop covering building a "Hello World" app over the course of two days. Day 1 focuses on setting up the development environment, creating a new project with activities and views, and using intents to connect activities. Specific topics covered include the Android system architecture, installing the SDK and IDE, building the first app in an emulator, project structure, layouts, and the intent system for inter-activity communication. Day 2 will cover resources and layouts in more depth.
Mark Chang from the iOS UIAutomation testing department introduced iOS accessibility, development tools like Instruments and Tuneup JS, and automation testing. He demonstrated how to perform automated tests on devices using Instruments and JavaScript. Instruments allows testing iOS applications via tracing and profiling code. The Tuneup JS library improves the UIAutomation library by adding assertion functions and the ability to run scripts from the command line or a test runner. He provided references for learning more about Instruments, UIAutomation, and the Tuneup JS library.
Introduction To Google Android (Ft Rohan Bomle)Fafadia Tech
- Android is an open source software platform and operating system for mobile devices based on the Linux kernel. It allows developers to write managed code using Java and also supports C/C++.
- The Android SDK provides developers with tools like the Android Debug Bridge (adb) and an emulator to help develop and test Android applications. Eclipse IDE with the Android Development Tools plugin can be used to streamline the development process.
- Common Android application components include Activities for screens, Services for background tasks, Intents for communications between components, and Notifications. There is a standard file structure and applications declare their components in the AndroidManifest file.
This document provides an overview of Android including:
- Android is an open source software platform and operating system for mobile devices based on the Linux kernel.
- It allows developers to write managed code using the Java programming language and includes features like views, content providers, notifications and more.
- The Android SDK provides tools for building, testing and debugging Android apps and uses a specific project structure.
- Input controls like buttons, text fields, checkboxes and spinners allow users to interact with apps. Attributes define behaviors of these controls.
- Screen size, density, resolution and orientation impact user interfaces and alternative resources support different densities.
This document provides an overview of Android development and OAuth. It begins with definitions of Android and its history. It then discusses Android development environment, project structure, and the basic "Hello World" app. It introduces key Android concepts like activities and intents. The document also provides a detailed example walking through the OAuth authorization workflow. It concludes by discussing debates around the security of OAuth 2.0.
Android is an open source platform developed by Google and the Open Handset Alliance for mobile devices. It consists of an operating system, middleware, and key applications. The document provides an overview of Android versions from 1.1 to 4.1 Jelly Bean and their market shares. It also discusses installing the Android Development Tools plugin for Eclipse, exploring a sample project's components, and developing applications considering different Android versions. The sample project demonstrates creating layouts, handling button clicks, launching a new activity, and registering activities in the manifest file.
This document provides instructions for setting up the development environment and coding a basic "Hello World" Android application. It includes steps for installing the Java Development Kit (JDK), Android SDK, configuring the Android Virtual Device (AVD), and creating a new Android project in Eclipse. It then walks through coding the app's layout, main activity class, and manifest file. Later sections add functionality like displaying Toast notifications and creating a new activity for camera access. The document teaches Android app development basics through a tutorial approach of building on a simple starter app.
This document provides instructions for setting up an Android development environment in Eclipse, including installing platforms, creating an Android Virtual Device (AVD), and generating a new Android project. Key steps include selecting platforms to install from the Android SDK, defining system images and device settings when creating an AVD, and generating a new project that specifies details like the project name, application name, and package name. The generated project contains an Activity class that will display "Hello, Android" on the emulator.
Android software development – the first few hourssjmarsh
My challenge for this year is to learn a new programming language or software development technology. While I don’t intend adopting the suggestion of The Pragmatic Programmer and learning one new language each year, I do think that there is much to be gained by seeing what else is out there. With the booming popularity of the Android platform for mobile devices I thought what better place to start? Over the past few weeks I have taken the first few steps in learning about Android application development.
The Glass Class - Tutorial 3 - Android and GDKGun Lee
Tutorial 3: Android and GDK (Glass Development Kit)
The Glass Class at HIT Lab NZ
Learn how to program and develop for Google Glass.
https://www.youtube.com/watch?v=BRpedu1PRf8&list=PLsIGb72j1WOlLFoJqkhyugDv-juTEAtas
http://arforglass.org
http://www.hitlabnz.org
This lab guide provides instructions for completing several labs that demonstrate an Intelligent WAN (IWAN) solution. The labs utilize a virtual lab environment containing routers, servers, and PCs in a data center and branch office. Students will navigate the lab topology, generate application traffic, and configure Cisco Prime Infrastructure and other components. The objective is to understand the IWAN architecture and how it optimizes application performance over the WAN.
Scientists and activists concerned about the future of human society and the planet have pointed to the urgent need for what they term sustainability transitions (Clark 2001; Raskin et al. 2002). In other words, due to the complex, systemic, and interrelated nature of the serious social, economic, and environmental problems confronting us, we need entirely new forms of solutions. Clearly, we humans must learn to think differently about our complex world and to work together in unusual and very strategic new ways. We need to more fully see and understand the systems within which we all exist so that we can learn to identify and create conditions for social innovation.
This Presentation will give u information about Android :
1. UI design Components and layouts- Frame Layout,
2. Linear Layout,
3. Relative Layout Write the XML
4. Load the XML Resource Attributes- ID,
5. Layout Parameters,
6. Position,
7. Size,
8. Padding and Margins
Droidcon2013 pro guard, optimizer and obfuscator in the android sdk_eric lafo...Droidcon Berlin
ProGuard is an open source tool that optimizes and obfuscates Java bytecode. It can shrink code size by removing unused classes, fields, and methods. It optimizes code through optimizations like constant propagation and method inlining. It obfuscates code by renaming classes, fields, and methods to obscure their purpose. ProGuard is included in the Android SDK and can help protect Android apps from reverse engineering.
This document provides instructions for installing the Android SDK and creating a basic "Hello World" Android application. It outlines downloading and setting up the Java JDK, Eclipse IDE, and Android SDK. It then guides the user through creating a new Android project in Eclipse, selecting project options, and adding an activity. The document demonstrates running the app in an emulator and on a real device by connecting it via USB and ensuring drivers are installed. The overall process allows a user to get started with Android development by installing the necessary tools and building a simple test app.
The document outlines a series of Android labs covering topics such as linear layout, relative layout, table layout, list view layout, menus, dialogs, widgets, shared preferences, SQLite, intents, content providers, and broadcast receivers. It also provides references to additional Android resources for further learning. The labs are designed to teach Android fundamentals and cover creating basic UI layouts using different layout types, adding interactivity with menus and dialogs, storing and retrieving data, and implementing core Android application concepts.
TOPS Technologies offer Professional Android Training in Ahmedabad.
Ahmedabad Office (C G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmedabad 380009.
http://www.tops-int.com/live-project-training-android.html
Most experienced IT Training Institute in Ahmedabad known for providing Android course as per Industry Standards and Requirement.
This document provides an overview of XCTest, Apple's UI automation framework for testing iOS and macOS apps. It discusses features like test recording, reports, and simple syntax. It also covers generating a testing target in Xcode and recording a sample test. Potential disadvantages are mentioned like complex element selectors and lack of documentation for only the latest iOS version. The document asks if XCTest should be used for a project and provides additional learning resources and links.
I have seen many of the students and mobile users are attracted to smartphone and their mobile applications. This is the start to code an Android application at basic level
The document provides an overview of setting up an Android development environment and creating basic Android applications. It discusses installing the Android SDK and Eclipse IDE, creating Android Virtual Devices, using the Android emulator, and understanding key Android application components like activities, services, and intents. The document also covers building user interfaces with XML layouts, handling user input, and moving between activities.
Android the first app - hello world - copyDeepa Rani
This document provides instructions for creating a basic Android application in Eclipse, including installing the Android platform, creating an Android Virtual Device (AVD), generating a new Android project called "HelloAndroid" with a default activity, and running the application. Key steps include using the Android SDK and AVD Manager to install platforms and create AVDs, generating a project with an activity class, and running the app on an emulator.
Android application development workshop day1Borhan Otour
This document summarizes an Android application development workshop covering building a "Hello World" app over the course of two days. Day 1 focuses on setting up the development environment, creating a new project with activities and views, and using intents to connect activities. Specific topics covered include the Android system architecture, installing the SDK and IDE, building the first app in an emulator, project structure, layouts, and the intent system for inter-activity communication. Day 2 will cover resources and layouts in more depth.
Mark Chang from the iOS UIAutomation testing department introduced iOS accessibility, development tools like Instruments and Tuneup JS, and automation testing. He demonstrated how to perform automated tests on devices using Instruments and JavaScript. Instruments allows testing iOS applications via tracing and profiling code. The Tuneup JS library improves the UIAutomation library by adding assertion functions and the ability to run scripts from the command line or a test runner. He provided references for learning more about Instruments, UIAutomation, and the Tuneup JS library.
Introduction To Google Android (Ft Rohan Bomle)Fafadia Tech
- Android is an open source software platform and operating system for mobile devices based on the Linux kernel. It allows developers to write managed code using Java and also supports C/C++.
- The Android SDK provides developers with tools like the Android Debug Bridge (adb) and an emulator to help develop and test Android applications. Eclipse IDE with the Android Development Tools plugin can be used to streamline the development process.
- Common Android application components include Activities for screens, Services for background tasks, Intents for communications between components, and Notifications. There is a standard file structure and applications declare their components in the AndroidManifest file.
This document provides an overview of Android including:
- Android is an open source software platform and operating system for mobile devices based on the Linux kernel.
- It allows developers to write managed code using the Java programming language and includes features like views, content providers, notifications and more.
- The Android SDK provides tools for building, testing and debugging Android apps and uses a specific project structure.
- Input controls like buttons, text fields, checkboxes and spinners allow users to interact with apps. Attributes define behaviors of these controls.
- Screen size, density, resolution and orientation impact user interfaces and alternative resources support different densities.
This document provides an overview of Android development and OAuth. It begins with definitions of Android and its history. It then discusses Android development environment, project structure, and the basic "Hello World" app. It introduces key Android concepts like activities and intents. The document also provides a detailed example walking through the OAuth authorization workflow. It concludes by discussing debates around the security of OAuth 2.0.
Android is an open source platform developed by Google and the Open Handset Alliance for mobile devices. It consists of an operating system, middleware, and key applications. The document provides an overview of Android versions from 1.1 to 4.1 Jelly Bean and their market shares. It also discusses installing the Android Development Tools plugin for Eclipse, exploring a sample project's components, and developing applications considering different Android versions. The sample project demonstrates creating layouts, handling button clicks, launching a new activity, and registering activities in the manifest file.
This document provides instructions for setting up the development environment and coding a basic "Hello World" Android application. It includes steps for installing the Java Development Kit (JDK), Android SDK, configuring the Android Virtual Device (AVD), and creating a new Android project in Eclipse. It then walks through coding the app's layout, main activity class, and manifest file. Later sections add functionality like displaying Toast notifications and creating a new activity for camera access. The document teaches Android app development basics through a tutorial approach of building on a simple starter app.
This document provides instructions for setting up an Android development environment in Eclipse, including installing platforms, creating an Android Virtual Device (AVD), and generating a new Android project. Key steps include selecting platforms to install from the Android SDK, defining system images and device settings when creating an AVD, and generating a new project that specifies details like the project name, application name, and package name. The generated project contains an Activity class that will display "Hello, Android" on the emulator.
Android software development – the first few hourssjmarsh
My challenge for this year is to learn a new programming language or software development technology. While I don’t intend adopting the suggestion of The Pragmatic Programmer and learning one new language each year, I do think that there is much to be gained by seeing what else is out there. With the booming popularity of the Android platform for mobile devices I thought what better place to start? Over the past few weeks I have taken the first few steps in learning about Android application development.
The Glass Class - Tutorial 3 - Android and GDKGun Lee
Tutorial 3: Android and GDK (Glass Development Kit)
The Glass Class at HIT Lab NZ
Learn how to program and develop for Google Glass.
https://www.youtube.com/watch?v=BRpedu1PRf8&list=PLsIGb72j1WOlLFoJqkhyugDv-juTEAtas
http://arforglass.org
http://www.hitlabnz.org
This lab guide provides instructions for completing several labs that demonstrate an Intelligent WAN (IWAN) solution. The labs utilize a virtual lab environment containing routers, servers, and PCs in a data center and branch office. Students will navigate the lab topology, generate application traffic, and configure Cisco Prime Infrastructure and other components. The objective is to understand the IWAN architecture and how it optimizes application performance over the WAN.
Scientists and activists concerned about the future of human society and the planet have pointed to the urgent need for what they term sustainability transitions (Clark 2001; Raskin et al. 2002). In other words, due to the complex, systemic, and interrelated nature of the serious social, economic, and environmental problems confronting us, we need entirely new forms of solutions. Clearly, we humans must learn to think differently about our complex world and to work together in unusual and very strategic new ways. We need to more fully see and understand the systems within which we all exist so that we can learn to identify and create conditions for social innovation.
This document provides guidance on facilitating meetings and building team skills. It discusses the basic skills of a facilitator, including making people comfortable, encouraging participation, listening, guiding discussion, and ensuring quality decisions. It also covers facilitating the opening, discussion, and conclusion of a meeting. Specifically, it recommends reviewing minutes, setting objectives/agenda, and introductions for the opening. For discussion, it suggests keeping the group on task and addressing confusing issues. And for conclusion, it proposes identifying next steps, evaluation, and ending positively. Finally, the document offers tips for handling challenges like side conversations or inability to reach consensus.
This document provides instructions for enabling Layer 2 Virtual Services Network (L2VSN) multicast on an Avaya network. It describes how to create a VLAN and I-SID for multicast traffic, enable IP multicast routing under ISIS, and configure IP shortcuts to enable multicast traffic to take the shortest path. Key steps include creating a VLAN for cameras, assigning interfaces, enabling multicast on the network, checking multicast configuration and traffic, and enabling IP shortcuts for multicast.
The Definitive Guide to Customer Success 2017Lincoln Murphy
The Customer Success movement has taken the SaaS industry by storm, even requiring an updated SaaS Business Model definition.
But what exactly is Customer Success? Is it an organizational mindset? Is it a corporate strategy? Is it a set of tactics designed to produce happy, successful customers that in turn creates success for you, the SaaS vendor?
The answer is... all of the above.
In this guide I've enumerated 17 key elements of Customer Success for SaaS companies. I hope it helps you reach your goals.
This document provides an introduction and overview of Android application development. It discusses what Android is, how to install the necessary development tools like Eclipse and the Android SDK, and covers Android application fundamentals such as the different application components and the Android manifest file. It also demonstrates how to create a simple "Hello World" Android application in Eclipse by setting up an Android virtual device, creating an Android project, writing the code, and running the app on the emulator.
If you want to start a good career in Android Development, this presentation gives you a basic introduction about Android, and how you can develop your very first Android Application.
The document describes a lab manual for a mobile application development course. It includes objectives of the course such as understanding mobile app development frameworks and designing mobile apps. It lists 12 experiments related to developing mobile apps using various features. The experiments include developing apps using GUI components, layout managers, database, GPS etc. It also lists the outcomes of the course and equipment required.
The document provides instructions for setting up Titanium Studio and the Titanium Mobile SDK to develop Android applications using Fastdev for live updates. It describes installing prerequisites, starting the Fastdev server, restarting the app to see changes, and supported Fastdev commands. Changes requiring a full rebuild are also outlined.
Android application development workshop day1Borhan Otour
This document outlines an agenda for an Android application development workshop covering topics like the Android system architecture, XML, building a "Hello World" app, project structure, basic user interaction and interconnection between activities using intents. The workshop will teach setting up the development environment, creating projects, adding activities, getting views in code, passing data between activities and referencing resources. Attendees will learn to build a basic two-screen app with interactivity and data passing between screens.
Session 2 prepare android development environmentAdham Enaya
This document provides an overview of setting up an Android development environment and creating a basic "Hello World" application. It discusses downloading the Android SDK and Eclipse IDE, installing required plugins, configuring the development environment, using the Android Virtual Device Manager to create emulators, and walking through the steps to generate a new Android project and basic activity. The project anatomy is also outlined, including key files and folders for resources, code, and manifest configuration.
This document provides an overview of JSON web services and how they can be used in iOS development. It discusses what JSON is, how it is commonly used to transfer data between clients and servers, and its benefits in terms of usability across platforms and ease of parsing. It includes code snippets of JSON data formats and an example of how to make a GET request to a JSON API and parse the response. It also covers topics like source control in Xcode, using CocoaPods for dependency management, code signing, and the process of deploying an app.
This document provides instructions for installing the Java Development Kit (JDK), Android SDK, Eclipse, and Android Development Tools (ADT) plugin to set up an Android development environment. It also demonstrates creating a basic "Hello World" Android project in Eclipse called "HelloAndroid" that displays plain text.
The document discusses the Android platform. It describes Android as a layered environment built upon the Linux kernel that includes rich functions. It notes that Android includes an embeddable browser built on WebKit and supports connectivity options like WiFi, Bluetooth and wireless data. It also includes support for graphics, media, 2D/3D graphics via OpenGL, and data storage via SQLite. The software layers include applications, application framework, libraries and services, and the Linux kernel.
This document provides an overview of Android, including:
- Android is an open source software stack that includes an operating system, middleware, and key applications developed by the Open Handset Alliance led by Google.
- The history of Android began in 2007 with the founding of the Open Handset Alliance and the unveiling of the Android platform.
- The document then describes the core components that make up the Android software stack including the Linux kernel, Dalvik runtime, core libraries, framework, and applications.
- It also provides basic steps for developing Android applications including setup, development, debugging and testing, and publishing.
Day: 2 Environment Setup for Android Application DevelopmentAhsanul Karim
The document provides an overview of setting up the development environment for Android application development. It discusses installing the Java Development Kit (JDK), Eclipse IDE, Android SDK, and ADT plugin. It then demonstrates creating a "Hello World" Android app in Eclipse to introduce application structure, components, and the building blocks of an Android app.
This document provides steps to set up the Android development environment including installing Java, the Android SDK, Eclipse IDE, and the ADT plugin. It then demonstrates creating a simple "Hello World" Android app project in Eclipse. Key steps include downloading and configuring the Java JDK, Android SDK, and Eclipse IDE. The AndroidManifest.xml file declares app components like activities. The tutorial creates an Android Virtual Device for testing and explains the project file structure before running the sample app.
This document provides an overview and tutorial on developing Android applications. It discusses the Android architecture and tools used for development, including Eclipse IDE, Android SDK, and Android Virtual Device (AVD). It demonstrates how to create a "Hello World" Android app by setting up an AVD, creating a new project in Eclipse, configuring the project to run on the AVD, and testing the application output. The document also covers Android application components like layouts, views, resources and the manifest file. It provides examples of creating user interface elements programmatically and handling common view events.
This document provides instructions for setting up the development environment for building mobile apps with React Native using Expo. It outlines 10 steps: 1) downloading Expo XDE, 2) installing Expo client apps, 3) running a "Hello World" app, 4) installing a code editor like Atom or Visual Studio Code, 5) installing Git, 6) installing Node.js, 7) optionally installing the Android emulator Genymotion, 8) adding VS Code extensions, 9) optionally installing ESLint for linting, and 10) testing the installation and basic Expo commands.
This document provides an overview of developing Android applications. It discusses key Android concepts like activities, services, and manifest files. It also outlines the steps to set up an Android development environment in Eclipse, including installing the Android SDK and ADT plugin. It describes how to create a basic Android project structure with resources like layouts defined in XML. It also covers debugging tools and techniques like Logcat logging.
Jeremy Grancher discusses creating custom components for React Native. He demonstrates how to build both a custom utility component and a custom UI component that renders native views. For a utility component, you create an Objective-C or Java class that extends RCTBridgeModule and export methods. For a UI component, you create a view class, a manager class that extends RCTViewManager, and export view properties and methods. Custom components allow you to extend React Native with platform-specific functionality and provide wrappers for existing native modules.
This document provides instructions for setting up Android Studio and describes the basic structure of an Android project and Java code. It includes the following key points:
1) It outlines 9 steps for downloading and configuring Android Studio, including downloading the executable, installing it, configuring SDK components, and creating a new project.
2) It describes the basic folder structure of an Android project, including folders for Java source files, generated files, resources, drawables, layouts and values.
3) It explains some important files in an Android project like the AndroidManifest file, main layout file, and activity class. The activity class inherits from Android activity and contains the onCreate method.
The document provides an overview of teaching Android application development. It discusses what Android is, why it is useful to teach, and what is needed to teach Android. The basics of creating a "Hello World" Android app are covered, including setting up the development environment, creating an Android project in Eclipse, and running the app in an emulator. Key files like the Java source code, UI layout, strings, and manifest are also explained.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/temporal-event-neural-networks-a-more-efficient-alternative-to-the-transformer-a-presentation-from-brainchip/
Chris Jones, Director of Product Management at BrainChip , presents the “Temporal Event Neural Networks: A More Efficient Alternative to the Transformer” tutorial at the May 2024 Embedded Vision Summit.
The expansion of AI services necessitates enhanced computational capabilities on edge devices. Temporal Event Neural Networks (TENNs), developed by BrainChip, represent a novel and highly efficient state-space network. TENNs demonstrate exceptional proficiency in handling multi-dimensional streaming data, facilitating advancements in object detection, action recognition, speech enhancement and language model/sequence generation. Through the utilization of polynomial-based continuous convolutions, TENNs streamline models, expedite training processes and significantly diminish memory requirements, achieving notable reductions of up to 50x in parameters and 5,000x in energy consumption compared to prevailing methodologies like transformers.
Integration with BrainChip’s Akida neuromorphic hardware IP further enhances TENNs’ capabilities, enabling the realization of highly capable, portable and passively cooled edge devices. This presentation delves into the technical innovations underlying TENNs, presents real-world benchmarks, and elucidates how this cutting-edge approach is positioned to revolutionize edge AI across diverse applications.
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
Discover top-tier mobile app development services, offering innovative solutions for iOS and Android. Enhance your business with custom, user-friendly mobile applications.
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...Jason Yip
The typical problem in product engineering is not bad strategy, so much as “no strategy”. This leads to confusion, lack of motivation, and incoherent action. The next time you look for a strategy and find an empty space, instead of waiting for it to be filled, I will show you how to fill it in yourself. If you’re wrong, it forces a correction. If you’re right, it helps create focus. I’ll share how I’ve approached this in the past, both what works and lessons for what didn’t work so well.
Skybuffer SAM4U tool for SAP license adoptionTatiana Kojar
Manage and optimize your license adoption and consumption with SAM4U, an SAP free customer software asset management tool.
SAM4U, an SAP complimentary software asset management tool for customers, delivers a detailed and well-structured overview of license inventory and usage with a user-friendly interface. We offer a hosted, cost-effective, and performance-optimized SAM4U setup in the Skybuffer Cloud environment. You retain ownership of the system and data, while we manage the ABAP 7.58 infrastructure, ensuring fixed Total Cost of Ownership (TCO) and exceptional services through the SAP Fiori interface.
Fueling AI with Great Data with Airbyte WebinarZilliz
This talk will focus on how to collect data from a variety of sources, leveraging this data for RAG and other GenAI use cases, and finally charting your course to productionalization.
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
AppSec PNW: Android and iOS Application Security with MobSFAjin Abraham
Mobile Security Framework - MobSF is a free and open source automated mobile application security testing environment designed to help security engineers, researchers, developers, and penetration testers to identify security vulnerabilities, malicious behaviours and privacy concerns in mobile applications using static and dynamic analysis. It supports all the popular mobile application binaries and source code formats built for Android and iOS devices. In addition to automated security assessment, it also offers an interactive testing environment to build and execute scenario based test/fuzz cases against the application.
This talk covers:
Using MobSF for static analysis of mobile applications.
Interactive dynamic security assessment of Android and iOS applications.
Solving Mobile app CTF challenges.
Reverse engineering and runtime analysis of Mobile malware.
How to shift left and integrate MobSF/mobsfscan SAST and DAST in your build pipeline.
In the realm of cybersecurity, offensive security practices act as a critical shield. By simulating real-world attacks in a controlled environment, these techniques expose vulnerabilities before malicious actors can exploit them. This proactive approach allows manufacturers to identify and fix weaknesses, significantly enhancing system security.
This presentation delves into the development of a system designed to mimic Galileo's Open Service signal using software-defined radio (SDR) technology. We'll begin with a foundational overview of both Global Navigation Satellite Systems (GNSS) and the intricacies of digital signal processing.
The presentation culminates in a live demonstration. We'll showcase the manipulation of Galileo's Open Service pilot signal, simulating an attack on various software and hardware systems. This practical demonstration serves to highlight the potential consequences of unaddressed vulnerabilities, emphasizing the importance of offensive security practices in safeguarding critical infrastructure.
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfChart Kalyan
A Mix Chart displays historical data of numbers in a graphical or tabular form. The Kalyan Rajdhani Mix Chart specifically shows the results of a sequence of numbers over different periods.
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving
Manufacturing custom quality metal nameplates and badges involves several standard operations. Processes include sheet prep, lithography, screening, coating, punch press and inspection. All decoration is completed in the flat sheet with adhesive and tooling operations following. The possibilities for creating unique durable nameplates are endless. How will you create your brand identity? We can help!
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
Have you ever been confused by the myriad of choices offered by AWS for hosting a website or an API?
Lambda, Elastic Beanstalk, Lightsail, Amplify, S3 (and more!) can each host websites + APIs. But which one should we choose?
Which one is cheapest? Which one is fastest? Which one will scale to meet our needs?
Join me in this session as we dive into each AWS hosting service to determine which one is best for your scenario and explain why!
2. Lab Guide
Page 2
Course Agenda
Lab 1: Setup of Development Environment
Lab 2: Basic Development of Mobile App
Lab 3: Example Coding
Lab 4: Submission of Mobile App to Application Store
Lab 5: Reporting and Statistics Collection
3. Lab Guide
Page 3
Lab 1: Setup Android SDK
• Objective:
– Download and Setup the Android Development
Platform
• Task:
– Refer to Lab 1 instruction
– Download and install Java Developer Toolkit
(JDK)
– Download and setup the Android SDK
– Start the Eclipse IDE and setup up the Android
Virtual Device (AVD) for testing
– Create a simple app and test the Emulator
4. Page 4
Lab Guide
Lab 1: Setup Android SDK
SYSTEM REQUIREMENTS
• Operating Systems
– Windows XP (32-bit), Vista (32- or 64-bit), or
Windows 7 (32- or 64-bit)
– Mac OS X 10.5.8 or later (x86 only)
– Linux (tested on Ubuntu Linux, Lucid Lynx)
• GNU C Library (glibc) 2.7 or later is required.
• On Ubuntu Linux, version 8.04 or later is required.
• 64-bit distributions must be capable of running 32-bit
applications.
5. Lab Guide
Page 5
Lab 1: Setup Android SDK
SYSTEM REQUIREMENTS
• Eclipse IDE
– Eclipse 3.6.2 (Helios) or greater
– Eclipse JDT plugin (included in most Eclipse IDE
packages)
– JDK 6 (JRE alone is not sufficient)
– Android Development Tools plugin
6. Lab Guide
Page 6
Lab 1: Setup Android SDK
• Download the SDK (ADT bundle for Windows) from:
– http://developer.android.com/sdk/index.html
• With a single download, the ADT Bundle includes
everything you need to begin developing apps:
–
–
–
–
–
Eclipse + ADT plugin
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulator
7. Lab Guide
Lab 1: Setup Android SDK
• Make sure your
development
environment has JDK
installed
• Download JDK
– http://www.oracle.com/te
chnetwork/java/javase/do
wnloads/index.html
• Install JDK
Page 7
8. Lab Guide
Page 8
Lab 1: Setup Android SDK
Install the SDK and Eclipse IDE
• Unpack the ZIP file and save it to an appropriate
location
• Open the adt-bundle<os_platform>/eclipse/ directory and
launch eclipse.
• Done!
10. Lab Guide
Lab 1: Setup Android SDK
Android SDK Manager
• You can install the
SDK packages and
tool needed from
the SDK Manager
• The latest API is
included in the ADT
Bundle
Page 10
11. Lab Guide
Lab 1: Setup Android SDK
Android Virtual Device
(AVD) Manager
• Create a new Virtual
Device for testing in
the Emulator
Page 11
12. Lab Guide
Lab 1: Setup Android SDK
Android Virtual Device (AVD)
Manager
• Device: you can choose one of
the default device in the list OR
add a new type in the Device
Definition tap from the AVD
Manager
• Target: you can only find the
version install from the SDK
Manager
Page 12
13. Lab Guide
Lab 1: Setup Android SDK
Emulator
• Select the Device
from the list and
click Start
Page 13
14. Lab Guide
Lab 1: Setup Android SDK
Create a New App and Test the Emulator
Page 14
15. Lab Guide
Lab 1: Setup Android SDK
Run the App in Emulator
• Select the App in Package Explorer, click Run
Page 15
16. Lab Guide
Lab 1: Setup Android SDK
Testing with real Android device
• You need to first enable USB
debugging on your device
– On most devices running
Android 3.2 or older, Settings >
Applications > Development
– On Android 4.0 and newer,
Settings > Developer options
– On Android 4.2 and
newer, Developer options is
hidden by default. Go to Settings
> About phone and tap Build
number seven times. Return to
the previous screen to
find Developer options.
Page 16
17. Lab Guide
Page 17
Lab 1: Setup Android SDK
Testing with real Android device
• If you're developing on Windows, you need to install
the USB driver
• Then run your application as usual. A Device
Chooser dialog will be shown
18. Lab Guide
Page 18
Lab 2: Develop of Simple Android Mobile App
• Objective:
– Develop a simple BMI calculator program in
Android Platform
• Task:
– Refer to Lab 2 instruction
– Create a new Android Project
– Use the built-in object to develop the user
interface
– Write the simple Android program to
communicate with the user interface
– Test the Android program by emulator
19. Lab Guide
Page 19
Lab 2: Develop of Simple Android Mobile App
• Create a new Android Project
– Package Name have to be unique (e.g. com.crossover.XXXX)
20. Lab Guide
Lab 2: Develop of Simple Android Mobile App
Use the built-in object to develop the user
interface
• You can do that by simply drag and drop
of widgets like text box, buttons into the
form in the WYSIWYG editor in Eclipse.
• Open the res/activity_main.xml file under
your project from Package Explorer
window.
Page 20
21. Lab Guide
Page 21
Lab 2: Develop of Simple Android Mobile App
Use the built-in object to develop the user interface
• Open the xml file, you will get to the Graphical Layout editor.
• There is a hello world greeting has been added by default.
• Just select the "Hello World" label and delete.
22. Lab Guide
Page 22
Lab 2: Develop of Simple Android Mobile App
Use the built-in object to develop the user interface
• Drag a medium text widgets from the Palette to the form
• Right click on the text and select “Edit Text...”
• Select “New String…”
23. Lab Guide
Lab 2: Develop of Simple Android Mobile App
Use the built-in object to
develop the user interface
• Enter
– “Your Weight (kg)” in
String
– “weightLabel” in New
R.string
• Click OK
Page 23
24. Lab Guide
Page 24
Lab 2: Develop of Simple Android Mobile App
• Next Drag a text field to allow user to input the
weight.
• That should be a text field that allow user type
decimal numbers
25. Lab Guide
Page 25
Lab 2: Develop of Simple Android Mobile App
• Right click on the newly added text field and click
"Edit ID".
• Provide a meaningful name to the text field, i.e.
"weightText" and click "OK".
26. Page 26
Lab Guide
Lab 2: Develop of Simple Android Mobile App
•
Now add the following widgets to the form:
•
A "Medium size label"
•
– string value "Your Height (m)" and R.String as “heightLabel"
A text field with decimal numbers.
•
– id "heightText".
A Button.
– Right click and select "Other Properties" > "All By Name" >
"Text" and add a new String Resource
• String: Calculate and R.String: calculateButton
•
– Similarly set the "onClick" property to "calculateClickHandler".
– Set the button's id as "calculateButton".
A Large Label.
– Give it the id "resultLabel". Set the text property of the label to
a empty string. (with the R.String: emptyString)
27. Lab Guide
Lab 2: Develop of Simple Android Mobile App
• Final UI
Page 27
28. Lab Guide
Page 28
Lab 2: Develop of Simple Android Mobile App
• If you click the activity_main.xml tab in the bottom
of the window, you can review or edit the strings
and IDs you have associated with widgets
29. Lab Guide
Lab 2: Develop of Simple Android Mobile App
Write the simple Android program to
communicate with the user interface
• After designing the UI, we have to
write a simple program that trigger
BMI calculation when user click the
"Calculate" button.
• This is written in the
src/com.crossover.bmi/MainActivit
y.java file.
Page 29
30. Lab Guide
Page 30
Lab 2: Develop of Simple Android Mobile App
Write the simple Android program to communicate
with the user interface
Program Code:
package com.crossover.bmi;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
31. Page 31
Lab Guide
Lab 2: Develop of Simple Android Mobile App
public class MainActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
public void calculateClickHandler(View view) {
// make sure we handle the click of the calculator button
if (view.getId() == R.id.calculateButton) {
// get the references
EditText weightText =
EditText heightText =
TextView resultText =
to the widgets
(EditText)findViewById(R.id.weightText);
(EditText)findViewById(R.id.heightText);
(TextView)findViewById(R.id.resultLabel);
// get the users values from the widget references
float weight = Float.parseFloat(weightText.getText().toString());
float height = Float.parseFloat(heightText.getText().toString());
32. Lab Guide
Lab 2: Develop of Simple Android Mobile App
// interpret the meaning of the bmi value
String bmiInterpretation = interpretBMI(bmiValue);
// now set the value in the result text
resultText.setText(bmiValue + "-" + bmiInterpretation);
}
}
// the formula to calculate the BMI index
// check for http://en.wikipedia.org/wiki/Body_mass_index
private float calculateBMI (float weight, float height) {
return (float) (weight / (height * height));
}
// interpret what BMI means
private String interpretBMI(float bmiValue) {
if (bmiValue < 16) {
return "Severely underweight";
} else if (bmiValue < 18.5) {
return "Underweight";
} else if (bmiValue < 25) {
return "Normal";
} else if (bmiValue < 30) {
return "Overweight";
} else {
return "Obese";
}
}
}
Page 32
33. Lab Guide
Lab 2: Develop of Simple Android Mobile App
• Test the Android program by emulator
Page 33
34. Lab Guide
Page 34
Lab 3: Example Coding
• Objective:
– Try to run the sample coding on Camera & GPS
integration, accessibility feature, embedded
web content and soliciting feedback from users
• Task:
–
–
–
–
Integration with camera, GPS
Coding with accessibility feature
Coding including embedded web content
Coding for soliciting feedback from users
35. Page 35
Lab Guide
Lab 3: Example Coding
• To run an application with the feature of camera,
GPS location, changing font size, embedded web
content and soliciting feedback from users
Home
Functions Menu
36. Lab Guide
Lab 3: Example Coding
• Step 1: Create a new project with
Package name:
com.crossover.labdemo
• Step 2: To create the layout of
Home Screen (activity_home.xml)
– The Home screen should
contain an ImageView or
Button (with ID: imageView1)
Page 36
37. Lab Guide
Lab 3: Example Coding
• Step 3: Create an
activity named
HomeActivity.java
– Use the code
provided
– This is the home
page of the app
– Click on the
ImageView then
go to the Camera
page
Page 37
38. Lab Guide
Lab 3.1: Integration with camera, GPS
• Camera preview screen is on
the top of the screen
• Tap on the preview screen
and a photo will be taken
• Photo taken will be shown at
the bottom left
Page 38
39. Lab Guide
Lab 3.1: Integration with camera, GPS
Integration with camera:
• First, create a layout
(named:
activity_camera.xml)
• As shown on the right,
the layout should at
least include:
– a SurfaceView
– an ImageView
– an ImageView with
an arrow image
Page 39
40. Page 40
Lab Guide
Lab 3.1: Integration with camera, GPS
• SurfaceView
– named: “surfaceView1”
for the camera preview)
• ImageView
– named: “imageView1”
for the display of the
photo taken)
• ImageView with an arrow
image
– named: “camera_next”
for going to the next
function)
surfaceView1
image
View1
Camera
_next
41. Lab Guide
Lab 3.1: Integration with camera, GPS
Create a new activity “CameraActivity.java”:
• Use the code provided
Page 41
42. Lab Guide
Page 42
Lab 3.1: Integration with camera, GPS
Updating AndroidManifest.xml
• Update your AndroidManifest.xml file by adding the
following permissions to access camera:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature
android:name="android.hardware.camera.autofocus" />
44. Lab Guide
Lab 3.1: Integration with camera, GPS
• Tap the icon and the device will
start getting you GPS location
– Latitude
– Longitude
• Keep updating the location
Page 44
45. Lab Guide
Lab 3.1: Integration with camera, GPS
Integration with GPS:
• First, define the layout (named:
activity_gps.xml)
• As shown on the right, the layout
should at least include:
– an ImageView
– Four TextView in a LinearLayout
with ID: “gps_info_layout” and
the visibility set as “gone”
– Two arrow ImageView (IDs:
gps_btn_left & gps_btn_right)
Page 45
46. Lab Guide
Page 46
Lab 3.1: Integration with camera, GPS
• ImageView
– ID: “gps_location_btn” act as a button to start
getting the location)
• Four TextView
– ID: “gps_location_lat” to display the latitude)
– ID: “gps_location_lng” to display the longitude)
– ID: “gps_location_accu” to display the
accuracy)
– ID: “gps_location_count” to display the number
of updates)
47. Lab Guide
Lab 3.1: Integration with camera, GPS
Create a new activity “GPSActivity.java”:
• Use the code provided
Page 47
48. Lab Guide
Page 48
Lab 3.1: Integration with camera, GPS
Updating AndroidManifest.xml
• Update your AndroidManifest.xml file by adding the
following permissions to access location:
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"/>
50. Lab Guide
Lab 3.2: Accessibility Feature
• Able to change the font size of
the words on the screen
Page 50
51. Lab Guide
Lab 3.2: Accessibility Feature
Change font size:
• First, define the layout
(named: activity_access.xml)
• As shown on the right, the
layout should at least
include:
– a TextView
– a spinner
– Two arrow ImageView
(IDs: access_left &
access_right)
Page 51
52. Lab Guide
Page 52
Lab 3.2: Accessibility Feature
• TextView
– ID: “access_text”
– The font size of these words to be changed
• Spinner
– ID: “spinner1”
– For the user to choose the font size
53. Lab Guide
Lab 3.2: Accessibility Feature
Create a new activity “AccessActivity.java”:
• Use the code provided
Page 53
54. Lab Guide
Lab 3.3: Embedded Web Content
• Example:
• Embed www.google.com.hk
inside the application
Page 54
55. Lab Guide
Lab 3.3: Embedded Web Content
Embedded Web Content :
• First, define the layout
(named: activity_web.xml)
• As shown on the right, the
layout should at least
include:
– a WebView
– Two arrow ImageView
(IDs: web_left &
web_right)
Page 55
56. Lab Guide
Lab 3.3: Embedded Web Content
• WebView
– ID: “mybrowser”
– To display the website in this view
Page 56
57. Lab Guide
Lab 3.3: Embedded Web Content
Create a new activity “AccessActivity.java”:
• Use the code provided
Page 57
58. Lab Guide
Page 58
Lab 3.3: Embedded Web Content
Updating AndroidManifest.xml
• Update your AndroidManifest.xml file by adding the
following permissions to access internet:
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"/>
60. Lab Guide
Lab 3.4: Soliciting Feedback from Users
• A form is included
in the application
for the users to
submit comment
• The comment will
be sent by email
Page 60
61. Lab Guide
Lab 3.4: Soliciting Feedback from Users
Embedded Web Content :
• First, create a new layout
(named: activity_form.xml)
• As shown on the right, the
layout should at least
include:
–
–
–
–
Two Test Fields
a TextView
Two ImageView
a arrow ImageView with
ID: form_left)
Page 61
62. Lab Guide
Page 62
Lab 3.4: Soliciting Feedback from Users
•
Test Field
•
– ID: “form_name”
– For user to fill in the name
TestView
•
– ID: “form_date”
– For user to select the date, and display the selected date
Test Field
•
– ID: “form_comment”
– For user to fill in the comment
ImageView
•
– ID: “form_submit”
– For user to submit the form
ImageView
– ID: “form_clear”
– For user to clear the form
63. Lab Guide
Lab 3.4: Soliciting Feedback from Users
Embedded Web Content :
• Then create another new
layout (named:
date_time_dialog.xml)
• This is used for the date time
picker dialog
• As shown on the right, the
layout should at least
include:
– a DatePicker (ID:
“date_picker”)
– a TimePicker (ID:
“time_picker”)
Page 63
64. Lab Guide
Lab 3.4: Soliciting Feedback from Users
Create a new activity “FormActivity.java”:
• Use the code provided
Page 64
65. Lab Guide
Page 65
Lab 4: Submission of Mobile App to
Application Store
• Objective:
– Register the Android Developer account and
publish the App
• Task:
Refer to Lab 4 instruction
Digitally sign the application
Register the Android Developer account
Prepare the image and document for mobile
app
– Publish the app to Google Play
–
–
–
–
66. Lab Guide
Page 66
Lab 4: Submission of Mobile App to
Application Store
• Set up to start publishing on Google Play:
1. Register for a Google Play publisher account
2. If you will sell apps, set up a Google Wallet
Merchant Account
3. Explore the Google Play Developer Console
and learn about the tools for publishing
67. Lab Guide
Page 67
Lab 4: Submission of Mobile App to
Application Store
Register for a publisher account
• Visit the Google Play Developer Console at
https://play.google.com/apps/publish/.
• Enter basic information about your developer
identity
• Read and accept the Developer Distribution
Agreement.
• Pay a $25 USD registration fee using Google Wallet.
– If you don't have a Google Wallet account, you
can quickly set one up during the process.
68. Page 68
Lab Guide
Lab 4: Submission of Mobile App to
Application Store
Register for a publisher account
• Tips
– You need a Google account to register.
• You can create one during the process.
– If you are an organization, consider registering a
new Google account rather than using a
personal account.
69. Page 69
Lab Guide
Lab 4: Submission of Mobile App to
Application Store
Set up a Google Wallet Merchant account
• If you want to sell products on Google Play you will also
need to set up a Google Wallet Merchant Account.
– Include priced apps, in-app products, or subscriptions
• To set up a Merchant account from the Developer
Console:
– Sign in to your Google Play Developer Console
– Open Financial reports on the side navigation.
– Click Setup a Merchant Account now.
– This takes you to the Google Wallet site to sign up as a
Merchant
• you'll need information about your business available to
complete this step.
70. Lab Guide
Page 70
Lab 4: Submission of Mobile App to
Application Store
• Developer Console
All applications page: A quick overview of your apps, lets you jump to stats, reviews,
and product details, or upload a new app.
71. Lab Guide
Page 71
Lab 4: Submission of Mobile App to
Application Store
Multiple user accounts
• If you are working with a team, you can set up
multiple user accounts to access different parts of
your Developer Console.
• The first account registered is the account owner,
with full access to all parts of the Console.
• The owner can add user accounts and manage
what parts of the Console they have access to.
– For example, grant users access to publishing
and app configuration, but not access to
financial reports.
72. Page 72
Lab Guide
Lab 4: Submission of Mobile App to
Application Store
• Preparation for submitting a new App:
– Digitally signed package file (.apk file)
– App icon (512 x 512 pixels, 32-bit PNG)
– Promotional materials
•
•
•
•
Screenshots (for Phone, 7-inch tablet, 10-inch tablet)
Feature Graphic
Promo Graphic
Promo Video
– App Description
73. Lab Guide
Lab 4: Submission of Mobile App to
Application Store
Export Signed Application
Package
• Before submitting to the
Google Play, you need
to sign the application
by a unique Keystore
• Right click the
application package in
eclipse > Android Tools >
Export Signed
Application Package…
Page 73
74. Lab Guide
Page 74
Lab 4: Submission of Mobile App to
Application Store
• Confirm the project to be signed > Next
• Create new keystore > choose save location > enter the
password twice > Next
75. Lab Guide
Page 75
Lab 4: Submission of Mobile App to
Application Store
• Enter the information for the key and choose the destination
to save the exported APK
• Done! Keep the keystore file for future update and memorize
the passwords
76. Lab Guide
Lab 4: Submission of Mobile App to
Application Store
Page 76
77. Lab Guide
Lab 4: Submission of Mobile App to
Application Store
Remarks:
• If you publish your app as
free, it must remain free.
• If you publish it as priced,
you can later change it
to free.
Page 77
78. Lab Guide
Page 78
Lab 4: Submission of Mobile App to
Application Store
• Upload the Signed APK file and publish your app
• Wait for a few hours, and your app will be found in
the Google play
79. Lab Guide
Lab 5: Reporting and Statistics Collection
• Objective:
– Reporting and Statistics Collection
• Task:
–
–
–
–
Refer to Lab 5 instruction
Setup the Google Analytics account
Register the app for usage collection
Add the Google Analytics Code to the
application done in Lab 2
Page 79
80. Lab Guide
Lab 5: Reporting and Statistics Collection
User reviews and crash
reports
• Google Play makes it
easy for users to submit
reviews of your app.
• Give you usability
feedback, support
requests, and important
functionality issues direct
from your customers.
• In the Developer
Console, you can also
see the crash reports
submitted automatically
from Android devices, for
debugging and
improving your app.
Page 80
81. Lab Guide
Lab 5: Reporting and Statistics Collection
App statistics
•
The Developer Console gives
you detailed statistics of your
app.
•
You can view installations of
your app measured by unique
users and unique devices.
•
For user installations, you can
view active installs, total installs,
daily installs and uninstalls, and
metrics about user ratings.
•
For devices, you can see active
installs as well as daily installs,
uninstalls, and upgrades.
•
You can zoom into the
installation numbers along
several dimensions, including
Android platform version,
device, country, language,
app version, and carrier
(mobile operator).
Page 81
82. Lab Guide
Page 82
Lab 5: Reporting and Statistics Collection
Google Analytics SDK for Android
• Makes it easy for developers to collect user engagement
data from their apps.
• Before implementing the SDK, make sure you have the
following:
– Google Analytics SDK for Android v3
– An Android app that you can use to implement the
Google Analytics
– A new Google Analytics app property and view.
• Download SDK:
– https://developers.google.com/analytics/devguides/
collection/android/resources
83. Lab Guide
Lab 5: Reporting and Statistics Collection
• After downloading the SDK, Add
the library to your project by right
click your project in the Package
Explorer and select “Properties”
Page 83
84. Lab Guide
Lab 5: Reporting and Statistics Collection
• In the Properties
window, go to
the “Java Build
Path” page and
select the
“Libraries” Tab
• Click “Add
External JARs…”
and select the .jar
file in the SDK you
have just
downloaded
Page 84
85. Lab Guide
Page 85
Lab 5: Reporting and Statistics Collection
Create a new Google Analytics app property
• https://www.google.com/analytics/
• Create a new Google Analytics account and login
• Create a new application to get a new tracking ID
86. Lab Guide
Page 86
Lab 5: Reporting and Statistics Collection
• There are three steps to getting started with the
SDK:
– Update AndroidManifest.xml
– Add EasyTracker methods
– Create your analytics.xml file
87. Lab Guide
Page 87
Lab 5: Reporting and Statistics Collection
Updating AndroidManifest.xml
• Update your AndroidManifest.xml file by adding the
following permissions:
<uses-permission
android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
88. Lab Guide
Page 88
Lab 5: Reporting and Statistics Collection
Adding EasyTracker methods
• Add the send methods to
the onStart() and onStop() methods of each of
your Activities
89. Lab Guide
Page 89
Lab 5: Reporting and Statistics Collection
package com.example.app;
import android.app.Activity;
import com.google.analytics.tracking.android.EasyTracker;
/**
* An example Activity using Google Analytics and EasyTracker.
*/
public class myTrackedActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
public void onStart() {
super.onStart();
... // The rest of your onStart() code.
EasyTracker.getInstance(this).activityStart(this); // Add this method.
}
@Override
public void onStop() {
super.onStop();
... // The rest of your onStop() code.
EasyTracker.getInstance(this).activityStop(this); // Add this method.
}
}
90. Lab Guide
Page 90
Lab 5: Reporting and Statistics Collection
Creating your analytics.xml file
• When you use EasyTracker, global configuration
settings are managed using resources defined in
XML.
• Create a file called analytics.xml in your
project's res/values directory and add the following
resources:
91. Lab Guide
Page 91
Lab 5: Reporting and Statistics Collection
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<!--Replace placeholder ID with your tracking ID-->
<string name="ga_trackingId">UA-XXXX-Y</string>
<!--Enable automatic activity tracking-->
<bool name="ga_autoActivityTracking">true</bool>
<!--Enable automatic exception tracking-->
<bool name="ga_reportUncaughtExceptions">true</bool>
</resources>