These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
The document describes a team from Politehnica University of Bucharest called Team Bucharest, consisting of 4 members, that is participating in the Suceava Hard&Soft 2011 competition. Their project involves creating an off-grid home automation system that monitors available energy from alternative sources, uses smart plugs and light dimmers to adjust automatically based on the energy levels, and aims to use energy efficiently with low-power components and profile-based settings. A system diagram is also included.
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
SIM Project: Optimizing a Benchmarking ToolVlad Petre
Prezentare a proiectului de semestru, ce a constat in incercarea de a paraleliza un tool de benchmarking, sustinuta in ianuarie 2011, in cadrul laboratorului final al materiei Arhitecturi si Prelucrari Paralele (Facultatea de Automatica si Calculatoare - Universitatea Politehnica Bucuresti).
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
The document describes a team from Politehnica University of Bucharest called Team Bucharest, consisting of 4 members, that is participating in the Suceava Hard&Soft 2011 competition. Their project involves creating an off-grid home automation system that monitors available energy from alternative sources, uses smart plugs and light dimmers to adjust automatically based on the energy levels, and aims to use energy efficiently with low-power components and profile-based settings. A system diagram is also included.
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
SIM Project: Optimizing a Benchmarking ToolVlad Petre
Prezentare a proiectului de semestru, ce a constat in incercarea de a paraleliza un tool de benchmarking, sustinuta in ianuarie 2011, in cadrul laboratorului final al materiei Arhitecturi si Prelucrari Paralele (Facultatea de Automatica si Calculatoare - Universitatea Politehnica Bucuresti).
Voicenger - System Requirements SpecificationVlad Petre
The document is a system requirements specification for an application called Voicenger. It describes the problem the application aims to solve, which is a lack of structured communication tools for planning and decision making between friends. The solution proposed is a software application that combines features of chat, voice, and social networking applications. It allows users to register, add friends, participate in group chats, call friends, and update their social media statuses. The functional requirements define the user profiles and describe use cases. The system architecture has client and server components. Non-functional requirements address the interface, performance, availability and testing.
The document discusses the 3-D Secure protocol, which was created by Visa in 2001 to add security to online credit card transactions. It does this through an authentication step where the cardholder authenticates themselves with their card-issuing bank during the transaction. The protocol uses XML messages over SSL and a three-domain model including the issuer, acquirer, and interoperability domains. It provides advantages like reduced fraud and increased customer satisfaction but also has disadvantages like potential for phishing and incompatibility with some mobile browsers. Overall, the 3-D Secure protocol has become an industry standard despite some limitations.
This document discusses Indix's evolution from its initial Data Platform 1.0 to a new Data Platform 2.0 based on the Lambda Architecture. The Lambda Architecture uses three layers - batch, serving, and speed layers - to process streaming and batch data. This provides robustness, fault tolerance, and the ability to query both real-time and batch processed views. The new system uses technologies like Spark, HBase, and Solr to implement the Lambda Architecture principles.
This document provides an overview of the Voicenger software, which allows groups of friends to communicate and make decisions together. It uses a peer-to-peer architecture to allow for high quality voice conversations without overloading a central server. The application consists of client and server components, uses various technologies like JXTA for networking and a database for profile storage. It provides features for chat, voice calls, conferencing, polling, file sharing and social media integration to support organized discussion and decision making.
Un articol despre SSD-uri scris in octombrie 2010 pentru o revista, pe nume Console, al carui prim numar nu a mai reusit sa vada niciodata lumina zilei.
Bibliografie:
http://www.anandtech.com/show/2738
http://www.anandtech.com/show/2829
http://www.anandtech.com/show/2614
http://en.wikipedia.org/wiki/Solid-state_drive
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
The document describes the software architecture of Voicenger, an application for structured group communication. It uses a peer-to-peer architecture with client and server components to allow high quality voice chatting. The client has interfaces for the user interface, peer communication, and profile storage on the server. Key high-level modules include the GUI, file processing, sound, messaging, and interfaces to the JXTA peer network and backend database. Use cases cover user registration, chat, file sharing, and integrating with social networks. Appendices provide more details on data transfer and message rendering.
Voicenger - System Requirements SpecificationVlad Petre
The document is a system requirements specification for an application called Voicenger. It describes the problem the application aims to solve, which is a lack of structured communication tools for planning and decision making between friends. The solution proposed is a software application that combines features of chat, voice, and social networking applications. It allows users to register, add friends, participate in group chats, call friends, and update their social media statuses. The functional requirements define the user profiles and describe use cases. The system architecture has client and server components. Non-functional requirements address the interface, performance, availability and testing.
The document discusses the 3-D Secure protocol, which was created by Visa in 2001 to add security to online credit card transactions. It does this through an authentication step where the cardholder authenticates themselves with their card-issuing bank during the transaction. The protocol uses XML messages over SSL and a three-domain model including the issuer, acquirer, and interoperability domains. It provides advantages like reduced fraud and increased customer satisfaction but also has disadvantages like potential for phishing and incompatibility with some mobile browsers. Overall, the 3-D Secure protocol has become an industry standard despite some limitations.
This document discusses Indix's evolution from its initial Data Platform 1.0 to a new Data Platform 2.0 based on the Lambda Architecture. The Lambda Architecture uses three layers - batch, serving, and speed layers - to process streaming and batch data. This provides robustness, fault tolerance, and the ability to query both real-time and batch processed views. The new system uses technologies like Spark, HBase, and Solr to implement the Lambda Architecture principles.
This document provides an overview of the Voicenger software, which allows groups of friends to communicate and make decisions together. It uses a peer-to-peer architecture to allow for high quality voice conversations without overloading a central server. The application consists of client and server components, uses various technologies like JXTA for networking and a database for profile storage. It provides features for chat, voice calls, conferencing, polling, file sharing and social media integration to support organized discussion and decision making.
Un articol despre SSD-uri scris in octombrie 2010 pentru o revista, pe nume Console, al carui prim numar nu a mai reusit sa vada niciodata lumina zilei.
Bibliografie:
http://www.anandtech.com/show/2738
http://www.anandtech.com/show/2829
http://www.anandtech.com/show/2614
http://en.wikipedia.org/wiki/Solid-state_drive
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
These slides are part of the Android Development Course which I taught to 10 students, while participating in the IP Workshop Summer School 2011.
http://www.scoaladevara.info/2011/?page_id=39
The document describes the software architecture of Voicenger, an application for structured group communication. It uses a peer-to-peer architecture with client and server components to allow high quality voice chatting. The client has interfaces for the user interface, peer communication, and profile storage on the server. Key high-level modules include the GUI, file processing, sound, messaging, and interfaces to the JXTA peer network and backend database. Use cases cover user registration, chat, file sharing, and integrating with social networks. Appendices provide more details on data transfer and message rendering.
[SCS]Friloc: Retea de socializare bazata pe geolocalizare in timp realVlad Petre
Prezentarea pe care am sustinut-o la Sesiunea de Comunicari Stiintifice pe data de 13 Mai 2011 si pentru care am luat premiul II (Facultatea de Automatica si Calculatoare - Universitatea Politehnica din Bucuresti).
Prezentarea proiectului meu de licenta, aflat intr-un stadiu incipient, in cadrul simpozionului national IP Workshop.
http://simpozion.ipworkshop.ro/
Calimanesti, Valcea. Aprilie 2011.
Românismul de la Mihai Eminescu la Grigore Vieruinachirilov
Proiect “Educație online fără hotare” 2023 - 2024,
implementat de Direcția Generală Educație, Tineret și Sport a municipiului Chișinău în cadrul Proiectului “Educație online”
1. Android
User Interface
Vlad PETRE
vlad@vladpetre.com
http://twitter.com/vladpetre88
http://facebook.com/vladpetre88
http://www.linkedin.com/in/vladpetre88
1 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
2. Componentele Grafice
• UI-ul este alcatuit din
obiecte de tip View sau
ViewGroup:
– View este clasa moştenită
de widgets.
– ViewGroup este clasa
moştenită de layouts.
• Sunt plasate într-un
Activity.
2 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
4. Layouts
• Elemente de tip
container (pot conţine
alte View-uri)
• Tipuri:
– LinearLayout
– RelativeLayout
– TableLayout
– ScrollLayout
4 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
5. Resurse
• Se regasesc grupate in directorul
res.
• Imagini (drawable)
– drawable-hdpi
– drawable-mdpi
– drawable-ldpi
– Accesul din cod are loc
folosind: R.drawable.nume
5 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
6. Resurse
• Interfeţe grafice
– layout
– Accesul din cod are loc folosind:
R.layout.nume
• Constante
– values
6 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
7. Constructia Layout-urilor
• Din cod sau folosind un fişier xml.
• Fişierul xml se ataseaza unui Activity în cod:
– this.setContentView (R.layout.nume);
• Pentru a customiza un element dintr-o lista, se
defineşte corespunzător fişierul xml şi se încarcă
apoi asupra view-ului element:
– View element = inflater.inflate
(R.layout. list_element_view, null);
7 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
8. Exemplu de fişier GUI XML
8 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
9. Exemplu de fişier GUI XML
• xmlns:android – necesar de definit doar
pentru componenta radacina
• android:layout_width şi
android:layout_height sunt obligatorii
• Valori:
• fill_parent, wrap_content
• px, dp, sp, mm, in, pt
• android:id – necesar pentru utilizarea
componentei in codul Java
• @+id/button1 – în xml
• R.id.button1 – în cod
9 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
10. Exemplu de fişier GUI XML
10 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
11. Unităţi de Măsură pentru Dimensiuni
• dp – Density Independent Pixels
– Unitate de măsură abstractă, bazată pe densitatea de pixeli a ecranului.
Unitatea este relativă la 160dpi. Deci 160dp va avea mereu 1 inch indiferent de
densitatea ecranului. Se recomanda a fi aplicat asupra view-urilor pentru ca
sistemul sa scaleze corespunzator dimensiunea acestora indiferent de marimea
ecranului.
• sp – Scale Independent Pixels
– Analog cu dp, dar se recomanda a fi aplicat asupra fonturilor.
• pt – Points
– 1/72 dintr-un inch, bazată pe dimensiunea fizica a ecranului.
• px – Pixeli
• mm - Milimetri
• in - Inches
11 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
12. Resurse în funcţie de Densitatea Pixelilor
• ldpi – Low Density Screens
– 120dpi
• mdpi – Medium Density Screens
– 160dpi
• hdpi – High Density Screens
– 240dpi
• xhdpi – Extra High Density Screens
– 230dpi
• nodpi – folosit pe resurse de tip bitmap daca nu se doreste scalarea in
functie de dimensiunea ecranului
• Avem o scalare 3:4:6:8 intre cele cele 4 densitati. Deci un bitmap de
9x9 in ldpi va avea 12x12 în mdpi, 18x18 în hdpi şi 24x24 în xhdpi.
12 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
13. Meniu
• Activat la apăsarea tastei Meniu.
• Trebuie suprascrise metodele:
– public boolean
onCreateOptionsMenu(Meniu menu);
– public boolean onOptionsItemSelected
(MenuItem item)
• Adăugarea unui meniu din cod:
– menu.add(…);
• Definirea meniului într-un fişier xml.
13 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea
14. Exemplu Meniu doar Cod Java
14 Scoala de Vara IP Workshop 2011 – Calimanesti Valcea