This document provides instructions for setting up a Material Design theme in an Android application. It describes how to use AppCompat for backward compatibility, define color palettes, customize the app bar and toolbar, add a second activity with navigation options, and enable the home button to navigate between activities according to Material Design conventions.
Summary of Material Design lesson from Udacity's Advanced Android course. Given at a Raizlabs hosted study session for Udacity's course where we summarized and presented each lesson along w/ tips from our work experience building Native Android apps at our Google Certificated Agency.
Summary of Material Design lesson from Udacity's Advanced Android course. Given at a Raizlabs hosted study session for Udacity's course where we summarized and presented each lesson along w/ tips from our work experience building Native Android apps at our Google Certificated Agency.
Supercharge Your Pages - New Ways to Extend the Confluence EditorAtlassian
The new Confluence editor brings never before seen capabilities to our developers to extend the editor. During this session, Klaus Ihlberg will explain how users use Confluence today and how to use this information and the new capabilities, to develop apps that supercharge Confluence pages.
CIRCUIT 2015 - Content API's For AEM SitesICF CIRCUIT
Bryan Williams - ICF Interactive
Many sites need to expose their AEM repository content through a flexible remote API whether it be for consumption by mobile apps, third parties, etc. This presentation will walk through setting up a custom, extensible, secure and testable API utilizing various open source tools that are at your disposal.
This presentation gives you an overview of reasons why you should migrate the Adobe Experience Manager digital marketing platform to version 6.1 if you are still working on previous versions.
Angular Js Get Started - Complete CourseEPAM Systems
Angular Js Advantages.Developed by Google - Most Popular, SPA (Single Page Appplications), Data Binding, Easy to Test.
Complete guide for Angular Js. Covers Basics of Angular - Module, Controllers, Filters, and Advanced topics Routing, Services, UI-Routing
Adobe Experience Manager 6.2 is out now! Those slides shows the hottest new features of AEM 6.2. Now is the time to migrate to AEM 6.2 or to consider buying Adobe Experience Manager to target your audience in the most advanced way possible.
Presented at CONNECT Web Experience '15 Basel June 25.
How the Adobe on Adobe team used AngularJS and AEM to build out a single page application site. One of the main goals with this proof of concept project was that the pattern had to be super simple to develop in. It had to be JSP free. It had to function smoothly on everything from a mobile device to a desktop and everything in between. The site also needed to be SEO friendly. Follow along to see the process and the challenges.
Quick Way to work with Models and Alloy in Appcelerator TitaniumAaron Saunders
Quick Way to work with Models and Alloy in Appcelerator Titanium
For those who have taken the dive into Alloy from Appcelerator, understanding how models work can definitely simplify your overall application architecture and then you can also leverage the functionality of Backbonejs Models.
This approach minimizes the number of files you need to create and creates a persistence mechanism using the Titanium Properties framework.
Supercharge Your Pages - New Ways to Extend the Confluence EditorAtlassian
The new Confluence editor brings never before seen capabilities to our developers to extend the editor. During this session, Klaus Ihlberg will explain how users use Confluence today and how to use this information and the new capabilities, to develop apps that supercharge Confluence pages.
CIRCUIT 2015 - Content API's For AEM SitesICF CIRCUIT
Bryan Williams - ICF Interactive
Many sites need to expose their AEM repository content through a flexible remote API whether it be for consumption by mobile apps, third parties, etc. This presentation will walk through setting up a custom, extensible, secure and testable API utilizing various open source tools that are at your disposal.
This presentation gives you an overview of reasons why you should migrate the Adobe Experience Manager digital marketing platform to version 6.1 if you are still working on previous versions.
Angular Js Get Started - Complete CourseEPAM Systems
Angular Js Advantages.Developed by Google - Most Popular, SPA (Single Page Appplications), Data Binding, Easy to Test.
Complete guide for Angular Js. Covers Basics of Angular - Module, Controllers, Filters, and Advanced topics Routing, Services, UI-Routing
Adobe Experience Manager 6.2 is out now! Those slides shows the hottest new features of AEM 6.2. Now is the time to migrate to AEM 6.2 or to consider buying Adobe Experience Manager to target your audience in the most advanced way possible.
Presented at CONNECT Web Experience '15 Basel June 25.
How the Adobe on Adobe team used AngularJS and AEM to build out a single page application site. One of the main goals with this proof of concept project was that the pattern had to be super simple to develop in. It had to be JSP free. It had to function smoothly on everything from a mobile device to a desktop and everything in between. The site also needed to be SEO friendly. Follow along to see the process and the challenges.
Quick Way to work with Models and Alloy in Appcelerator TitaniumAaron Saunders
Quick Way to work with Models and Alloy in Appcelerator Titanium
For those who have taken the dive into Alloy from Appcelerator, understanding how models work can definitely simplify your overall application architecture and then you can also leverage the functionality of Backbonejs Models.
This approach minimizes the number of files you need to create and creates a persistence mechanism using the Titanium Properties framework.
Android Support Library: Using ActionBarCompatcbeyls
A complete practical guide on how to implement an ActionBar for Android 2.1+ using the Android Support Library.
It also explains how to migrate to ActionBarCompat if you are already familiar with ActionBarSherlock.
Note: this presentation is suitable for AppCompat up to version 20. Instructions have changed a bit in the more recent versions.
Polymer 2.0 codelab for extreme beginnersSylia Baraka
a Polymer 2.0 codelab for extreme beginner, this codelab was for the training in the GDG school Algiers 2017
you can find the codelab at : https://github.com/amandaSalander/bookworm-training-polymer2.0
and the very small mini project at https://github.com/amandaSalander/bookworm-training-polymer2.0-devfest
Summary:
1. What’s Polymer ?
2. Web Components
3. Polymer Summit
4. Who use Polymer ?
5. Starting with Polymer
6.Create a Polymer Project
7. Create an element
8. Data binding
9. Custom style & Polymer UI Elements
10. The project
Der Erfolg einer App hängt maßgeblich davon ab, wie sie sich dem Nutzer präsentiert. Wir beleuchten die Möglichkeiten des Android Graphics Frameworks und zeigen, wie Sie Ihre App durch außergewöhnliche Custom-Widgets, 3-D-Animationen und grafische Effekte aufwerten. In dieser Session erwartet Sie jede Menge Beispielcode, Performancetipps sowie Best Practices.
Android Studio (Java)Modify the Networking app (code given below.docxamrit47
Android Studio (Java)
Modify the Networking app (code given below):
Load a webpage that has at least two images
Analyze the text received and find the component
Analyze the html page received and fetch every images referenced by the page
Store the fetched images in a Bitmap array
Display the thumbnail images in a GridView
On touching each thumbnail in the GridView, display the full image
PLEASE INCLUDE ALL MODIFIED AS WELL AS ADDITIONAL FILES USED IN IMPLEMENTATION
PLEASE ALSO INCLUDE SCREENSHOTS OF THE OUTPUT
Current Networking App Output:
First add <
uses-permission
android:name="android.permission.INTERNET"
/> in AndroidManifest.xml
activity_main.xml
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/activity_main"
tools:context="com.wenbing.networking.MainActivity">
android:src="@color/material_grey_300"
android:layout_width="209dp"
android:layout_height="272dp"
android:id="@+id/imageView"
app:layout_constraintLeft_toLeftOf="@+id/activity_main"
app:layout_constraintTop_toTopOf="@+id/activity_main"
app:layout_constraintRight_toRightOf="@+id/activity_main"
app:layout_constraintBottom_toBottomOf="@+id/activity_main" />
MainActivity.java
import
android.support.v7.app.AppCompatActivity;
import
android.os.Bundle;
import
android.util.Log;
import
java.io.IOException;
import
java.io.InputStream;
import
java.net.HttpURLConnection;
import
java.net.URL;
import
java.net.URLConnection;
import
android.Manifest;
import
android.content.pm.PackageManager;
import
android.graphics.Bitmap;
import
android.graphics.BitmapFactory;
import
android.os.AsyncTask;
import
android.widget.ImageView;
import
android.widget.Toast;
import
android.support.v4.app.ActivityCompat;
import
android.support.v4.content.ContextCompat;
import
java.io.InputStreamReader;
public class
MainActivity
extends
AppCompatActivity {
ImageView
img
;
final private
int
REQUEST_INTERNET
= 123;
@Override
protected void
onCreate(Bundle savedInstanceState) {
super
.onCreate(savedInstanceState);
setContentView(R.layout.
activity_main
);
if
(ContextCompat.
checkSelfPermission
(
this
, Manifest.permission.
INTERNET
)
!= PackageManager.
PERMISSION_GRANTED
) {
ActivityCompat.
requestPermissions
(
this
,
new
String[]{Manifest.permission.
INTERNET
},
REQUEST_INTERNET
);
}
else
{
downloadSomething();
}
}
private void
downloadSomething() {
String texturl =
"http://academic.csuohio.edu/zhao_w/"
;
String imgurl =
"http://2.bp.blogspot.com/-us_u2PBLSOI/UqgPMh7ovjI/AAAAAAAACdI/ujdyGregs6Y/s1600/amazing-butterfly-hd-image.jpg"
;
new
DownloadImageTask().execute(imgurl);
new
DownloadTextTask().execute(textu.
Android Studio (Java)Modify the Networking app (code given bel.docxamrit47
Android Studio (Java)
Modify the Networking app (code given below):
Load a webpage that has at least two images
Analyze the text received and find the component
Analyze the html page received and fetch every images referenced by the page
Store the fetched images in a Bitmap array
Display the thumbnail images in a GridView
On touching each thumbnail in the GridView, display the full image
PLEASE INCLUDE ALL MODIFIED AS WELL AS ADDITIONAL FILES USED IN IMPLEMENTATION
PLEASE ALSO INCLUDE SCREENSHOTS OF THE OUTPUT
Current Networking App Output:
First add <
uses-permission
android:name="android.permission.INTERNET"
/> in AndroidManifest.xml
activity_main.xml
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/activity_main"
tools:context="com.wenbing.networking.MainActivity">
android:src="@color/material_grey_300"
android:layout_width="209dp"
android:layout_height="272dp"
android:id="@+id/imageView"
app:layout_constraintLeft_toLeftOf="@+id/activity_main"
app:layout_constraintTop_toTopOf="@+id/activity_main"
app:layout_constraintRight_toRightOf="@+id/activity_main"
app:layout_constraintBottom_toBottomOf="@+id/activity_main" />
MainActivity.java
import
android.support.v7.app.AppCompatActivity;
import
android.os.Bundle;
import
android.util.Log;
import
java.io.IOException;
import
java.io.InputStream;
import
java.net.HttpURLConnection;
import
java.net.URL;
import
java.net.URLConnection;
import
android.Manifest;
import
android.content.pm.PackageManager;
import
android.graphics.Bitmap;
import
android.graphics.BitmapFactory;
import
android.os.AsyncTask;
import
android.widget.ImageView;
import
android.widget.Toast;
import
android.support.v4.app.ActivityCompat;
import
android.support.v4.content.ContextCompat;
import
java.io.InputStreamReader;
public class
MainActivity
extends
AppCompatActivity {
ImageView
img
;
final private
int
REQUEST_INTERNET
= 123;
@Override
protected void
onCreate(Bundle savedInstanceState) {
super
.onCreate(savedInstanceState);
setContentView(R.layout.
activity_main
);
if
(ContextCompat.
checkSelfPermission
(
this
, Manifest.permission.
INTERNET
)
!= PackageManager.
PERMISSION_GRANTED
) {
ActivityCompat.
requestPermissions
(
this
,
new
String[]{Manifest.permission.
INTERNET
},
REQUEST_INTERNET
);
}
else
{
downloadSomething();
}
}
private void
downloadSomething() {
String texturl =
"http://academic.csuohio.edu/zhao_w/"
;
String imgurl =
"http://2.bp.blogspot.com/-us_u2PBLSOI/UqgPMh7ovjI/AAAAAAAACdI/ujdyGregs6Y/s1600/amazing-butterfly-hd-image.jpg"
;
new
DownloadImageTask().execute(imgurl);
new
DownloadTextTask().execu.
Presented at Big Android BBQ 2015
Hurst Convention Center, Hurst Texas
This talk will cover Fragments in detail by comparing and contrasting them to something we know well, Activities. We will also cover examples and use cases. Fragments: Why, How, and What For? is targeted toward developers who may not have had a lot of experience using Fragments and those who want to understand them better. Why did Google introduce Fragments? Aren’t Activities enough? How do Fragments work? What For? Example and use cases such as Fragment reuse, single pane vs multi-pane, ViewPager, NavigationDrawer and DialogFragment.
Flutter workshop @ bang saen 2020 on 26-28 Oct 2020 at The 90's Workplace see more example in github repository https://github.com/anoochit/flutter_bangsaen_2020
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
2. Start with blank activity
● Create new Android project use API 20
● Start with blank activity
● Use appcompat to backward compatible to old
version
● Customized basic theme
5. Use Theme AppCompat
<!-- Base application theme. -->
<style name="AppTheme" parent="AppTheme.Base">
</style>
<style name="AppTheme.Base" parent="Theme.AppCompat.Light">
</style>
Change style.xml to use them appcompat
6. Use Theme AppCompat
<!-- Base application theme. -->
<style name="AppTheme" parent="AppTheme.Base">
</style>
Change style-v21.xml to use AppTheme.Base
15. Setup AppBar
● Use Theme.AppCompat.Light.NoActionBar
● Define app_bar.xml for ToolBar
● Use <include> in your layout.xml to add ToolBar
● Instantiate the ToolBar using findViewById inside activity
● Call setSupportActionBar and pass your ToolBar object
inside
● Customize app:theme and app:popupTheme
32. Use Toolbar instate of ActionBar
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
Remove all default padding in main activity
33. Use Toolbar instate of ActionBar
<include
android:id="@+id/app_bar"
layout="@layout/app_bar"/>
<TextView
android:layout_below="@+id/app_bar"
android:text="@string/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
Include app_bar layout
34. Use Toolbar instate of ActionBar
private Toolbar toolbar;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
toolbar = (Toolbar) findViewById(R.id.app_bar);
setSupportActionBar(toolbar);
}
Instantiate new AppBar using toolbar
35. Customize theme for AppBar
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
app:theme="@style/Theme.AppCompat"
app:popupTheme="@style/Theme.AppCompat.Light">
</android.support.v7.widget.Toolbar>
Add customize theme for app_bar.xml
36.
37.
38. Second Activity
● Add second activity
● Add menu in AppBar intent to second activity
● Enable home button to return to main activity
40. Menu in AppBar
Add menu in AppBar
<item android:id="@+id/action_subactivity"
android:title="@string/action_subactivity"
android:icon="@drawable/ic_subactivity"
android:orderInCategory="100"
app:showAsAction="always"/>
41. Add action to activity menu
if (id==R.id.action_subactivity) {
startActivity(new Intent(this,SubActivity.class));
}
Add action to onOptionsItemSelected()
42. Include AppBar layout
instantiate toolbar in sub activity
private Toolbar toolbar;
protected void onCreate(Bundle savedInstanceState) {
...
toolbar = (Toolbar) findViewById(R.id.app_bar);
setSupportActionBar(toolbar);
...
}
43.
44. Enable Home button
private Toolbar toolbar;
protected void onCreate(Bundle savedInstanceState) {
...
toolbar = (Toolbar) findViewById(R.id.app_bar);
setSupportActionBar(toolbar);
// display home button
getSupportActionBar().setHomeButtonEnabled(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
}
Enable home button
45.
46. Enable Home Button
if (id=R.id.home) {
NavUtils.navigateUpFromSameTask(this);
}
Add action to home button onOptionsItemSelected()