This document discusses supporting multiple screens on Android. It covers challenges like resolution independence and density independence. Density can be managed through standard categories, though screens vary. The density-independent pixel (dp) is a virtual unit for design. Supporting multiple densities requires alternative graphic assets scaled at ratios like 3:4:6:8. Resources are provided for determining screen sizes, densities, and creating density-specific assets.
An introduction to resource management in Android. Namely, the presentation discusses how to correctly account for different screen densities and sizes.
An introduction to resource management in Android. Namely, the presentation discusses how to correctly account for different screen densities and sizes.
This set of slides introduces the reader to the concepts of Android Activities and Views. After presenting these two concepts in general terms, it continues with a detailed description of the activity lifecycle. It follows a discussion on how to structure the user interface in terms of View and ViewGroup objects. Finally, the presentation shows how to frame Android application development within the dictates of the Model-View-Controller (MVC) pattern.
This is a basic crash course for android development covers:
Android Studio,Hello World Application,Application Components,Application Resources,User Interface,Good UI,Play Store
Here I'm presenting the ppt of Android App Development. Learn android app development is an efficient way. The ppt is totally free for you.
VISIT: https://www.androidflap.com/
Android Studio is a platform where you can create your own android based application for android based devices.
This presentation will show you the step by step procedure for downloading Android Studio, installing Android Studio, managing settings of Android Studio and creating new project in Android Studio
Android Application Devlopment. A Guide for the Intermediate Developer. Degree Thesis in Computer Science presented at Malmo Univerity, School of Technology, Department of Computer Science June 4, 2010.
Creating apps that work on all screen sizesRavi Vyas
My presentation at droidcon. Please note , the slides by themselves are pretty mute , I would be pinning down some blogposts soon.
Also note on slide 8 the image on the top is incorrect [ and was on droidcon too :( ]
This set of slides introduces the reader to the concepts of Android Activities and Views. After presenting these two concepts in general terms, it continues with a detailed description of the activity lifecycle. It follows a discussion on how to structure the user interface in terms of View and ViewGroup objects. Finally, the presentation shows how to frame Android application development within the dictates of the Model-View-Controller (MVC) pattern.
This is a basic crash course for android development covers:
Android Studio,Hello World Application,Application Components,Application Resources,User Interface,Good UI,Play Store
Here I'm presenting the ppt of Android App Development. Learn android app development is an efficient way. The ppt is totally free for you.
VISIT: https://www.androidflap.com/
Android Studio is a platform where you can create your own android based application for android based devices.
This presentation will show you the step by step procedure for downloading Android Studio, installing Android Studio, managing settings of Android Studio and creating new project in Android Studio
Android Application Devlopment. A Guide for the Intermediate Developer. Degree Thesis in Computer Science presented at Malmo Univerity, School of Technology, Department of Computer Science June 4, 2010.
Creating apps that work on all screen sizesRavi Vyas
My presentation at droidcon. Please note , the slides by themselves are pretty mute , I would be pinning down some blogposts soon.
Also note on slide 8 the image on the top is incorrect [ and was on droidcon too :( ]
A presentation to remind developers and designers the important points to consider while developing Android apps that work on different form factors, including phones and tablets. It also covers the concept of DPs.
"How to Develop with Qt for Multiple Screen Resolutions and Increase Your Use...FELGO SDK
*** NOTE ***
A summarized version is available here:
http://v-play.net/2014/11/supporting-multiple-screen-sizes-and-screen-densities-with-qt-and-v-play
*** Quick Summary ***
In the first part, we show how to use Qt Quick features to create UIs for multiple screen sizes, screen resolutions and form factors like phones, tablets and desktop PCs. We cover dynamic image switching, content scaling and basic Qt Quick features like file selectors, Loader elements, QML Singletons and property bindings and compare the use cases for each of them.
We also cover how to implement adaptive layouts and responsive design in Qt and V-Play. Plus, how to create density independence and HighDPI / Retina screen support.
The second part shows:
•How to increase user engagement with user-generated content and how to build a community around your app or game.
• How gamification can be added to apps or games in just a few minutes and its benefits.
*** Presentation Keywords ***
Qt, Qt Quick, QML, JavaScript, V-Play Game Engine, V-Play Qt 5 Plugins
Screen density, screen resolution, screen size
Density independence, density-independent pixels; pixel density
Dynamic image switching, dynamic image selection; Android: alternative bitmaps; retina display, retina images
High dpi screens
Multiple screen aspect ratios
Supporting Multiple Screens, Responsive Design (tablet layout, adaptive layout, adaptable layout, scalability)
Multiple resolutions
Content scaling, upscaling, adaptive scaling
User Retention, User-Generated Content, UGC, community building, V-Play Game Network, Gamification
Qt 5 Plugins, V-Play Plugins, Qt Facebook Plugin, Qt Chartboost, Qt AdMob, Qt Flurry Analytics, Qt Push Notifications, Qt In-App Purchases
Practical QML - Key Navigation, Dynamic Language and Theme ChangeBurkhard Stubert
This is the presentation "Practical QML" that I gave at the Qt Developer Days 2013 in Berlin and San Francisco.
What topics entail the liveliest discussions when you talk to the makers of in-vehicle infotainment systems, agricultural driver terminals or set-top boxes about building QML GUIs? No, it is not about "fluid" multi-touch UIs with graphical "wow" effects, but about mundane things like key navigation, theming, and internationalisation. I'll address these three problems in my talk.
First, I’ll discuss how to navigate QML GUIs solely with a rotary knob. By turning or pushing the knob, a "cursor" is moved from one QML component or one screen to another.
Then, I'll show how to switch between different languages and between different themes at run-time.
I have a magic application. This app is world first app which can make your smartphone into USB Drive or Hard Disk.
We are now finalizing "DriveS Lite" version and I make the first youtube video of this magical app: http://www.youtube.com/watch?v=Kzh-xQOszMo&feature=youtu.be
DriveS Lite is free version and provides whole space of smartphone as USB Drive.
Young student and poor people can use over 64G USB drive for free and would be happier than before.
As you know smartphone is getting cheaper and storage is getting bigger.
DriveS HD($4~9) will provide multiple user access and unlimited number of devices.
I hope my app is essential for everyone whether it is free or HD.
Xamarin Evolve 2014 - Designing Android UIs for the Ever Changing Device Land...mstonis
Android is everywhere. Developers can now build apps that run on phones, tablets, TVs, cars, wearables, and even appliances! While this provides a breadth of opportunity, it creates a big problem when designing apps that can run across all of these different device types. In this session, join Michael Stonis to talk about how to create and manage dynamic UIs for Xamarin Android apps that look and feel great across different screen sizes and form factors.
Presentation Video: http://youtu.be/2k2SMiH37eg
Top 10 Features Landscape Design SoftwareLands-Design
Landscape Design Software main features to look for by Landscape Architects, Urban Planners, Gardeners...
Principales características que los arquitectos paisajistas, urbanistas y jardineros deben buscar en los programas de paisajismo
This presentation summarizes multiple screen development difficulties, optimizations for different kinds of devices and screen sizes and gives best practices to handle multi screen problems in Android.
- Vector- and Raster-based Graphics
-- Idea behind Vector- and Raster-based Graphics
-- Crispness
-- Overview of Raster-based Drawing APIs
- Platform independent Graphics and GUIs in the Web Browser
-- Bare HTML Pages
-- Plugins and Problems
-- From rich Content to HTML 5
- Drawing with HTML 5 Canvas
-- Continuous, Event driven and free Drawing
-- Basic Drawing "How does Drawing work with JavaScript?"
-- Interaction with Controls
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.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
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.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
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.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
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/
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.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Supporting multiple screens on android
1. SunLi@MrSunLi.com
http://MrSunLi.com
Supporting Multiple
Screens On Android
(covers 4.0)
2. Target Audiences
• Designer for graphics assets for Android devices
• Designer for graphics assets for Android apps
• Beginning developers for Android apps
2
3. Agenda
• Challenges
• Solutions
• Web resources
• Key takeaway
• Technical details
– Technical terms and
concepts
– Range of screens supported
– Alternative graphics assets
for different screen densities
– Web resources
3
5. Resolution is well-managed by Android, but
density might blur graphics assets
• ldpi = 120
– 36 x 36 px
• mdpi = 160
– 48 x 48 px
• hdpi = 240
Screen snapshot on a hdpi device – 72 x 72 px
• xhdpi = 320
– 96 x 96 px
5
6. Density can be managed by Android with
standard categories, although device display
panels are diversified
Wildfire 125 dpi
Xoom 149 dpi
Nexus S 235 dpi
Galaxy Nexus 316 dpi
6
8. Extra graphics assets with proper program
structure can resolve density challenge
Android Devices Device Dedicated Apps Public Apps
Wallpaper, boot-up App launcher icon, menu icon, background
animation, etc. images, etc.
To design graphic assets against device To assume dp/mdpi in
physical pixels as usual conceptual design
To design four
versions graphic
assets (3:4:6:8 scaling
ratio) for ldpi, mdpi,
hdpi and xhdpi
8
9. New Android Design site is official reference
http://developer.android.com/design/index.html
Also can download official Android icon templates pack here
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html#templatespack
9
11. Pencil with Android Stencils is a nice UI
prototyping tool
http://pencil.evolus.vn
http://code.google.com/p/android-ui-utils/
11
12. Key takeaway - public Android apps request
more graphics assets
• To assume dp/mdpi in
conceptual design
• To design four versions
graphic assets (3:4:6:8
scaling ratio) for ldpi,
mdpi, hdpi and xhdpi
Case study for Angry Bird
12
14. Technical terms and concepts
• Density-independent pixel (dp)
– A virtual pixel unit that you should use when defining UI layout, to
express layout dimensions or position in a density-independent
way.
– The density-independent pixel is equivalent to one physical pixel on
a 160 dpi screen, which is the baseline density assumed by the
system for a "medium" density screen. At runtime, the system
transparently handles any scaling of the dp units, as necessary,
based on the actual density of the screen in use. The conversion of
dp units to screen pixels is simple: px = dp * (dpi / 160). For
example, on a 240 dpi screen, 1 dp equals 1.5 physical pixels. You
should always use dp units when defining your application's UI, to
ensure proper display of your UI on screens with different densities.
14
15. Technical terms and concepts cont.
• Screen size
– Actual physical size, measured as the screen's diagonal. For
simplicity, Android groups all actual screen sizes into four
generalized sizes: small, normal, large, and extra large.
• Screen density
– The quantity of pixels within a physical area of the screen; usually
referred to as dpi (dots per inch). For simplicity, Android groups all
actual screen densities into four generalized densities: low,
medium,
high, and
extra high.
~120dpi ~160dpi ~240dpi ~320dpi
15
16. Technical terms and concepts cont.
• Orientation
– The orientation of the screen from the user's point of view. This is
either landscape or portrait, meaning that the screen's aspect
ratio is either wide or tall, respectively. Be aware that not only do
different devices operate in different orientations by default, but the
orientation can change at runtime when the user rotates the device.
• Resolution
– The total number of physical pixels on a screen. When adding
support for multiple screens, applications do not work directly
with resolution; applications should be concerned only with screen
size and density, as specified by the generalized size and density
groups.
16
17. Range of screens supported
• xlarge screens > 960 dp x 720 dp
• large screens > 640 dp x 480 dp
• normal screens > 470 dp x 320 dp
• small screens > 426 dp x 320 dp
• Note: The system bar in Android 3 and above reduces app
space
17
20. Alternative graphics assets for different screen
densities
• The configuration qualifiers you can use for density-specific
resources are ldpi (low), mdpi (medium), hdpi (high), and
xhdpi (extra high). For example, bitmaps for high-density
screens should go in drawable-hdpi/.
• By default, Android scales your bitmap drawables (.png, .jpg,
and .gif files) and Nine-Patch drawables (.9.png files) so that
they render at the appropriate physical size on each device. For
example, if your application provides bitmap drawables only for
the baseline, medium screen density (mdpi), then the system
scales them up when on a high-density screen, and scales them
down when on a low-density screen. This scaling can cause
artifacts in the bitmaps. To ensure your bitmaps look their best,
you should include alternative versions at different resolutions
for different screen densities.
20
21. Alternative graphics assets for different screen
densities cont.
• To create alternative bitmap drawables for different
densities, you should follow the 3:4:6:8 scaling ratio
between the four generalized densities. For example, if you
have a bitmap drawable that's 48x48 pixels for medium-
density screen (the size for a launcher icon), all the
different sizes should be:
– 36x36 for low-density
– 48x48 for medium-density
– 72x72 for high-density
– 96x96 for extra high-density
21
22. Nine-patch graphics assets
• A NinePatchDrawable graphic is a stretchable bitmap
image, which Android will automatically resize to
accommodate the contents of the View in which you have
placed it as the background. An example use of a
NinePatch is the backgrounds used by standard Android
buttons — buttons must stretch to accommodate strings of
various lengths. A NinePatch drawable is a standard PNG
image that includes an extra 1-pixel-wide border. It must be
saved with the extension .9.png, and saved into the
res/drawable/ directory of your project.
22