The document discusses various widgets in Android for building user interfaces, including TextView, EditText, Button, CheckBox, RadioButton, DatePicker, TimePicker, image buttons, text fields, toggle buttons, and a rating bar. It provides tutorials on how to create and handle events for these different form elements and widgets. The last part discusses how to create an autocomplete text view that provides country name suggestions from a string array.
Lecture 5: Storage: Saving Data Database, Files & PreferencesAhsanul Karim
This slide is made for Shikkhok.com Android course. To get the video lectures visit: http://www.shikkhok.com/%E0%A6%95%E0%A7%8B%E0%A6%B0%E0%A7%8D%E0%A6%B8-%E0%A6%A4%E0%A6%BE%E0%A6%B2%E0%A6%BF%E0%A6%95%E0%A6%BE/android-app-development/
Lecture 5: Storage: Saving Data Database, Files & PreferencesAhsanul Karim
This slide is made for Shikkhok.com Android course. To get the video lectures visit: http://www.shikkhok.com/%E0%A6%95%E0%A7%8B%E0%A6%B0%E0%A7%8D%E0%A6%B8-%E0%A6%A4%E0%A6%BE%E0%A6%B2%E0%A6%BF%E0%A6%95%E0%A6%BE/android-app-development/
Android User Interface Tutorial: DatePicker, TimePicker & SpinnerAhsanul Karim
These slides are for self-learners and trainees of my BASIS and DIIT Android course.
I have used information, content and images from various sources. As these materials are for non-commercial use, I think they won’t infringe any copyright issue.
The prime objective of “Online MCQ Quiz application” is to take quiz for any individuals through internet. Multiple choice questions (MCQ) will arrive for user with certain time limit for each quiz. “Online MCQ Quiz application” is an android app for making the competitive job exams easier. This app targets users who preparing for different kinds of government and non-government jobs like BCS (Bangladesh Civil Service), bank jobs etc. Users can read online and saved it for future offline reading. All the study materials are divided into chapters, topics, and subtopics and topic related. User can take exams on various subject and get points for his performance which will determine their rank among all the users. User can also take quiz for preparation before taking exams. Users can also request for a particular topic or a discussion.
The Content helps those who wish to program mobile applications using android platform. The content has been used to conduct mobile application boot camps using android platform on different regions in Tanzania
Software engineering modeling lab lectures
engineering+ education purpose
This series of lectures was prepared for the third class of software engineering / Aliraqia University/ Baghdad/ Iraq.
In prepared these lectures, I depend on the YouTube to make it, the programs of the lectures are designed and executed by vb.net, discussions are also found here
These lectures are not finished yet, i will improve it in the future
Forgive me for anything wrong by mistake, I wish you can profit from these lectures
My regard
Marwa Moutaz/ M.Sc. studies of Communication Engineering / University of Technology/ Bagdad / Iraq.
Online tutorial created for android developer - beginners. Step by step instructions with real-time development video. Lesson plan is divided into three part to help create new android project, add new layout, activity and apply styles to widgets.
In this tutorial, we will learn how to open an existing android project and make changes to the existing layout and add new widgets.
For online video presentation, watch our YouTube video:
https://youtu.be/udZVXhf48Gc
এই সেশনে নিম্নলিখিত বিষয়গুলো সম্পর্কে খুব সংক্ষিপ্তভাবে আলোচনা করা হয়েছেঃ
১) বিভিন্ন মোবাইল এপ্লিকেশন প্লাটফর্ম (যেমনঃ আইফোন, এন্ড্রয়েড, ব্ল্যাকবেরী, উইন্ডোজ ফোন ইত্যাদি)
২) এন্ড্রয়েড প্লাটফর্ম-এ এপ্লিকেশন তৈরির সুবিধা
৩) গুগল প্লে স্টোর
৪) Application development trends ইত্যাদি।
যারা খুব দ্রুত কাজ শুরু করতে চান তারা নিশ্চিন্তে এই সেশনটি স্কিপ করতে পারেন। তবে এই সেশনের স্লাইডটির শেষে কিছু রিসোর্সের লিঙ্ক দেয়া আছে সেটি দেখতে পারেন।
Mobile Banking in Bangladesh: An Incomplete StudyAhsanul Karim
This is an incomplete study on Mobile Banking in Bangladesh. Feel free to use this for educational purpose. A more detailed version will be available soon.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
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
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.
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...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.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Welcome to the first live UiPath Community Day Dubai! Join us for this unique occasion to meet our local and global UiPath Community and leaders. You will get a full view of the MEA region's automation landscape and the AI Powered automation technology capabilities of UiPath. Also, hosted by our local partners Marc Ellis, you will enjoy a half-day packed with industry insights and automation peers networking.
📕 Curious on our agenda? Wait no more!
10:00 Welcome note - UiPath Community in Dubai
Lovely Sinha, UiPath Community Chapter Leader, UiPath MVPx3, Hyper-automation Consultant, First Abu Dhabi Bank
10:20 A UiPath cross-region MEA overview
Ashraf El Zarka, VP and Managing Director MEA, UiPath
10:35: Customer Success Journey
Deepthi Deepak, Head of Intelligent Automation CoE, First Abu Dhabi Bank
11:15 The UiPath approach to GenAI with our three principles: improve accuracy, supercharge productivity, and automate more
Boris Krumrey, Global VP, Automation Innovation, UiPath
12:15 To discover how Marc Ellis leverages tech-driven solutions in recruitment and managed services.
Brendan Lingam, Director of Sales and Business Development, Marc Ellis
1. Android Application Development
User Interface
Ahsanul Karim
ahsanul.karim@sentinelbd.com
Sentinel Solutions Ltd.
http://www.sentinelbd.com
2. User Interface
Today
The Android Widget Toolbox
1.TextView
2.EditText
3.Spinner
4.Button
5.CheckBox
6.RadioButton
7.DatePicker
8.TimePicker
We have already used TextView, EditText and Button
3. User Interface
Android Widget Toolbox
Form Elements Tutorial
This tutorial introduces a variety of widgets that are useful when creating forms,
1. image buttons,
2. text fields,
3. checkboxes,
4. radio buttons,
5. Toggle buttons,
6. Rating bar
4. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)
1. Start a new project named HelloFormStuff.
2. Create a basic LinearLayout in res/layout/main.xml
3. onCreate()
5. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Custom Button
We’ll create an image button with 3 states Using the Button widget and an XML file that
defines three different images to use for the
different button states. When the button is
Normal Focused Pressed pressed, a short message will be displayed.
1. Copy the images on the right into the res/drawable/ directory of your project. These will
be used for the different button states.
2. Create a new file in the res/drawable/ directory named android_button.xml.
Insert the following XML:
This defines a single drawable resource, which will change its image based on the current state
of the button.
6. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Custom Button
3. Open the res/layout/main.xml file and add the Button element:
The android:background attribute specifies the drawable
resource to use for the button background (which, when saved at res/drawable/android.xml,
is referenced as @drawable/android). This replaces the normal background image used for
buttons throughout the system. In order for the drawable to change its image based on the
button state, the image must be applied to the background
7. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Custom Button
4. o make the button do something when pressed, add the following code at the end of the
onCreate() method:
Normal Pressed After Pressed
8. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Edit Text
In this section, you will create a text field for user input, using the EditText widget. Once text
has been entered into the field, the "Enter" key will display the text in a toast message.
1. Open the res/layout/main.xml file and add the EditText element (inside the LinearLayout):
2.
9. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Edit Text
2. To do something with the text that the user types, add the following code to the end of the
onCreate() method:
11. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Check Box
In this section, you will create a checkbox for selecting items, using the CheckBox widget.
When the checkbox is pressed, a toast message will indicate the current state of the checkbox.
1. Open the res/layout/main.xml file and add the CheckBox element (inside the LinearLayout):
12. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Check Box
2. To do something when the state is changed, add the following code to the end of the
onCreate() method:
14. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Radio Button
In this section, you will create two mutually-exclusive radio buttons (enabling one disables the
other), using the RadioGroup and RadioButton widgets.
When either radio button is pressed, a toast message will be displayed.
1. Open the res/layout/main.xml file and add two RadioButtons, nested in a RadioGroup
(inside the LinearLayout):
It's important that the RadioButtons are grouped together by the RadioGroup element so that
no more than one can be selected at a time. This logic is automatically handled by the Android
system. When one RadioButton within a group is selected, all others are automatically deselected
15. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Radio Button
2. To do something when each RadioButton is selected, you need an View.OnClickListener.
In this case, you want the listener to be re-usable, so add the following code to create a new
member in the HelloFormStuff Activity
3. Now, at the bottom of the onCreate() method, add the following:
17. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Toggle Button
In this section, you'll create a button used specifically for toggling between two states, using
the ToggleButton widget. This widget is an excellent alternative to radio buttons if you have
two simple states that are mutually exclusive ("on" and "off", for example).
1. Open the res/layout/main.xml file and add the ToggleButton element (inside the
LinearLayout):
18. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Toggle Button
2. To do something when the state is changed, add the following code to the end of the
onCreate() method:
This captures the ToggleButton element from the layout, then adds an View.OnClickListener.
The View.OnClickListener must implement the onClick(View) callback method, which defines
the action to perform when the button is clicked. In this example, the callback method checks
the new state of the button, then shows a Toast message that indicates the current state.
20. User Interface
Android Widget Toolbox
Form Elements Tutorial (Contd.)- Rating Bar
In this section, you'll create a widget that allows the user to provide a rating, with the
RatingBar widget.
1. Open the res/layout/main.xml file and add the RatingBar element (inside the
LinearLayout):
2. To do something when a new rating has been set, add the following code to the end of
the onCreate() method:
22. User Interface
Android Widget Toolbox
Auto Complete Tutorial
To create a text entry widget that provides auto-complete suggestions, use the
AutoCompleteTextView widget. Suggestions are received from a collection of strings associated
with the widget through an ArrayAdapter
In this tutorial, you will create a AutoCompleteTextView widget that provides suggestions for
a country name.
23. User Interface
Android Widget Toolbox
Auto Complete Tutorial (Contd.)
1. Start a new project named HelloAutoComplete.
2. Create an XML file named list_item.xml and save it inside the res/layout/ folder.
Edit the file to look like this:
This file defines a simple TextView that will be used for each item that appears in the list
of suggestions
24. User Interface
Android Widget Toolbox
Auto Complete Tutorial (Contd.)
3. Open the res/layout/main.xml file and insert the following:
The TextView is a label that introduces the AutoCompleteTextView widget.
25. User Interface
Android Widget Toolbox
Auto Complete Tutorial (Contd.)
4. Open HelloAutoComplete.java and insert the following code for the onCreate() method:
a. After the content view is set to the main.xml layout, the AutoCompleteTextView widget
is captured from the layout with findViewById(int).
b. A new ArrayAdapter is then initialized to bind the list_item.xml layout to each list item in
the COUNTRIES string array (defined in the next step).
c. Finally, setAdapter() is called to associate the ArrayAdapter with the
AutoCompleteTextView widget so that the string array will populate the list of suggestions.
26. User Interface
Android Widget Toolbox
Auto Complete Tutorial (Contd.)
5. Inside the HelloAutoComplete class, add the string array:
28. User Interface
Android Widget Toolbox
Auto Complete Tutorial (Contd.)
7. Recommended: This can be done with a <string-array< resource in your
project res/values/strings.xml file. For example:
8. From source code: