Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- School textbooks
- Technik Informatyk i technik programista
- Aplikacje mobilne dla studenta i technika programisty
E-book details
Aplikacje mobilne dla studenta i technika programisty
Wojciech Jaśkowiec, Krzysztof Kułacz, Marta Kanafa-Suchan
Książka Aplikacje Mobilne dla studenta i technika programisty to jest przeznaczona
dla każdego kto chce zapoznać się z tematem tworzenia aplikacji mobilnych dla systemu
Android.
W pierwszej części książki czytelnik zapoznaje się z tajnikami Języka Java. Dogłębnie
zapoznaje się z tematyką: programowania obiektowego, oraz współbieżnego. Poruszane
są w niej zagadnienia m.in.: klas, obiektów jak i wątków.
W drugiej części zapoznajemy się z tworzeniem aplikacji mobilnych w środowisku
Android Studio. Strona wizualna aplikacji tworzona jest z wykorzystaniem języka
znaczników xml. Zaś język Java odpowiada za sterowanie działaniem aplikacji.
Książka stanowi szczegółowy poradnik dla każdego kto jest zainteresowany tworzeniem
Aplikacji Mobilnych.
SPIS TREŚCI
1 WSTĘP ............................................................................................................. 11
2 INSTALACJA I KONFIGURACJA OPROGRAMOWANIA ......................................... 15
2.1 INSTALACJA ŚRODOWISKA JAVA ............................................................................... 17
2.1.1 Instalacja JDK dla systemu Windows ...................................................... 17
2.2 INSTALACJA IDE INTELLIJ DLA SYSTEMU WINDOWS ...................................................... 22
2.3 INSTALACJA IDE INTELLIJ DLA SYSTEMU MACOS ......................................................... 31
3 PODSTAWY PROGRAMOWANIA W JĘZYKU JAVA .............................................. 39
3.1 „HELLO WORLD” ................................................................................................. 39
3.2 KOMUNIKACJA Z UŻYTKOWNIKIEM. OPERACJE WEJŚCIA-WYJŚCIA ................................... 42
3.2.1 Polecenia System.in i System.out ............................................................ 42
3.2.2 Typ String ................................................................................................ 45
3.2.3 Komentarze ............................................................................................. 46
3.3 TYPY DANYCH, ZMIENNE I STAŁE .............................................................................. 49
3.3.1 Sprawdź się! ............................................................................................ 60
3.4 PODSTAWOWE OPERACJE ARYTMETYCZNE I LOGICZNE .................................................. 61
3.4.1 Sprawdź się! ............................................................................................ 69
3.5 INSTRUKCJE WARUNKOWE ..................................................................................... 70
3.5.1 Instrukcje if i else ..................................................................................... 70
3.5.2 Switch-case .............................................................................................. 74
3.5.3 Sprawdź się! ............................................................................................ 77
3.6 TABLICE, LISTY, MAPY ............................................................................................ 79
3.6.1 Tablice ..................................................................................................... 79
3.6.2 Listy ......................................................................................................... 83
3.6.3 Mapy ....................................................................................................... 85
3.6.4 Sprawdź się! ............................................................................................ 88
3.7 PĘTLE ................................................................................................................ 89
3.7.1 Pętla while ............................................................................................... 90
3.7.2 Pętla do while .......................................................................................... 92
3.7.3 Pętla for ................................................................................................... 92
3.7.4 Wykorzystanie pętli w obsłudze tablic i list ............................................. 95
3.7.5 Sprawdź się! ............................................................................................ 98
3.8 ZAKRES ZMIENNYCH .............................................................................................. 99
3.9 ZARZĄDZANIE PAMIĘCIĄ – GARBAGECOLLECTOR ...................................................... 103
3.10 BLOKI TRY-CATCH ........................................................................................... 105
3.11 SPRAWDŹ SIĘ! ........................................................................................ 108
4 PROGRAMOWANIE OBIEKTOWE .................................................................... 111
4.1 KLASY, METODY, OBIEKTY .................................................................................... 111
4.1.1 Metoda klasy ......................................................................................... 113
4.1.2 Przeciążenie metod ............................................................................... 117
4.1.3 Metody dostępowe getter i setter ......................................................... 119
4.2 MODYFIKATORY DOSTĘPU I ENKAPSULACJA (HERMETYZACJA) ...................................... 124
4.2.1 Modyfikatory dostępu ........................................................................... 124
4.2.2 Enkapsulacja.......................................................................................... 130
4.3 KONSTRUKTORY ................................................................................................. 131
4.4 SPRAWDŹ SIĘ! ................................................................................................... 137
4.5 DZIEDZICZENIE I POLIMORFIZM .............................................................................. 138
4.5.1 Dziedziczenie ......................................................................................... 138
4.5.2 Polimorfizm ........................................................................................... 145
4.6 ABSTRAKCJA I INTERFEJSY ..................................................................................... 147
4.6.1 Abstrakcja.............................................................................................. 147
4.6.2 Interfejsy ................................................................................................ 149
4.7 KOMPOZYCJA I AGREGACJA ................................................................................... 151
4.7.1 Agregacja .............................................................................................. 151
4.7.2 Kompozycja ........................................................................................... 153
4.8 REFAKTORYZACJA ............................................................................................... 155
4.9 4.9 SPRAWDŹ SIĘ! .............................................................................................. 160
5 PROGRAMOWANIE WSPÓŁBIEŻNE ................................................................. 163
5.1 PROGRAM SEKWENCYJNY, A PROGRAM WSPÓŁBIEŻNY ............................................... 164
Wybór między programowaniem sekwencyjnym a współbieżnym ....................... 164
5.2 RÓWNOLEGŁOŚĆ A WSPÓŁBIEŻNOŚĆ, PROCES A PROGRAM, PRZEPLOT ........................... 165
5.2.1 Równoległość vs. Współbieżność .......................................................... 165
5.2.2 Proces a Program .................................................................................. 165
5.2.3 Mechanizm przeplotu ............................................................................ 165
5.3 TWORZENIE WĄTKÓW ......................................................................................... 165
5.3.1 Klasa Thread .......................................................................................... 166
5.3.2 Interfejs Runnable ................................................................................. 169
5.3.3 Klasa ExecutorService ............................................................................ 172
5.4 METODY SLEEP() I JOIN() ..................................................................................... 175
5.4.1 Metoda sleep() ...................................................................................... 175
5.4.2 Metoda join() ......................................................................................... 178
5.5 SYNCHRONIZACJA ............................................................................................... 180
5.6 KLASA LOCK I IMPLEMENTACJA REENTRANTLOCK ...................................................... 183
5.7 PROBLEMY SYNCHRONIZACJI. DEADLOCK I LIVELOCK .................................................. 185
5.7.1 Deadlock ................................................................................................ 185
5.7.2 Livelock: ................................................................................................. 186
5.8 PROBLEM PIĘCIU FILOZOFÓW ................................................................................ 187
5.9 DOBRE PRAKTYKI PRZY PROGRAMOWANIU WSPÓŁBIEŻNYM ......................................... 189
5.10 SPRAWDŹ SIĘ! ............................................................................................... 190
6 APLIKACJE MOBILNE ...................................................................................... 193
6.1 WSTĘP DO APLIKACJI MOBILNYCH .......................................................................... 193
6.1.1 Aplikacje mobilne .................................................................................. 193
6.1.2 System operacyjny Android ................................................................... 194
6.2 ANDROID STUDIO ............................................................................................... 194
6.2.1 Instalacja Android Studio ...................................................................... 194
6.2.2 Tworzenie pierwszej aplikacji ................................................................ 196
6.2.3 Zmiana wyglądu GUI ............................................................................. 199
6.2.4 Zmiana motywu aplikacji ...................................................................... 201
6.2.5 Emulator ................................................................................................ 202
6.2.6 Testowanie aplikacji na fizycznym urządzeniu. ..................................... 208
6.3 TWORZENIE APLIKACJI ......................................................................................... 209
6.3.1 Tworzenie aplikacji z poziomu otwartego okna .................................... 209
6.3.2 Podstawowe pojęcia.............................................................................. 212
6.3.3 Układ liniowy ......................................................................................... 213
6.3.4 Ponowne uruchomienie aplikacji po wprowadzeniu zmian w kodzie. ... 216
6.3.5 Plik przechowujący łańcuchy znaków - strings.xml .............................. 217
6.3.6 Warning a Error ..................................................................................... 220
6.4 AKTYWNOŚĆ ..................................................................................................... 221
6.5 KOMUNIKAT TOAST ............................................................................................ 226
6.6 WIDOKI ............................................................................................................ 229
6.6.1 EditText – pole tekstowe ....................................................................... 229
6.6.2 Wstawianie grafiki - ImageView ........................................................... 233
6.6.3 ToggleButton ......................................................................................... 236
6.6.4 Przełącznik Switch ................................................................................. 239
6.6.5 Przyciski opcji - Radio ............................................................................ 244
6.6.6 Lista rozwijana - Spinner ....................................................................... 249
6.6.7 ListView ................................................................................................. 254
6.6.8 AutoCompleteTextView ......................................................................... 255
6.7 PASKI POSTĘPU .................................................................................................. 258
6.7.1 ProgressBar ........................................................................................... 258
6.7.2 SeekBar .................................................................................................. 259
6.7.3 RatingBar .............................................................................................. 263
6.8 INTENCJE .......................................................................................................... 264
6.8.1 Intencja bez przekazywania wartości .................................................... 265
6.8.2 Intencja przekazująca dane ................................................................... 268
6.8.3 Intencja niejawna .................................................................................. 273
6.9 UKŁADY ............................................................................................................ 274
6.9.1 Linear Layout ......................................................................................... 274
6.9.2 FrameLayout ......................................................................................... 274
6.9.3 RelativeLayout ....................................................................................... 276
6.9.3.1 Rozmieszczenie elementów względem układu. ............................................. 276
6.9.3.2 Rozmieszczenie elementów względem siebie. .............................................. 279
6.9.4 TableLayout ........................................................................................... 281
6.9.5 GridLayout ............................................................................................. 284
6.9.6 Układy zagnieżdżone ............................................................................. 287
6.9.7 ConstraintLayout ................................................................................... 291
6.10 STYLE ........................................................................................................... 295
6.10.1 Tworzenie stylów ................................................................................... 296
6.10.2 Dziedziczenie stylów .............................................................................. 301
6.11 TEMATY, MOTYWY. ........................................................................................ 305
6.11.1 Korzystanie z wbudowanych tematów .................................................. 305
6.11.2 Tworzenie własnego motywu ................................................................ 308
6.12 CYKL ŻYCIA AKTYWNOŚCI .................................................................................. 310
6.13 FRAGMENTY .................................................................................................. 313
6.14 POWIADOMIENIA ........................................................................................... 319
6.15 OKNA DIALOGOWE ......................................................................................... 325
6.15.1 Okno informacyjne ................................................................................ 326
6.15.2 Okno informacyjne reagujące na działanie użytkownika ...................... 327
6.16 ANIMACJE ..................................................................................................... 330
6.16.1 Animacja poklatkowa ............................................................................ 330
6.16.2 Animowanie widoków ........................................................................... 332
6.17 KONTENERY RECYCLERVIEW I CARDVIEW ............................................................ 344
6.18 MULTIMEDIA ................................................................................................. 352
6.18.1 Odtwarzanie muzyki .............................................................................. 352
6.18.2 Odtwarzanie filmów .............................................................................. 357
6.19 NAWIGACJA I TWORZENIE MENU ....................................................................... 359
6.19.1 Pasek Toolbar ........................................................................................ 359
6.19.2 Tworzenie menu .................................................................................... 361
6.19.3 Tworzenie nawigacji – przycisk Powrót ................................................. 364
- Title: Aplikacje mobilne dla studenta i technika programisty
- Author: Wojciech Jaśkowiec, Krzysztof Kułacz, Marta Kanafa-Suchan
- ISBN: 9788365645975, 9788365645975
- Date of issue: 2024-06-26
- Format: Ebook
- Item ID: e_3yue
- Publisher: ITStart