SlideShare ist ein Scribd-Unternehmen logo
1 von 9
How to start learning
Android development
(easy and fast)
BY BHATHIYA PERERA
What should you know ?
•Java knowledge is essential.
•With knowledge of concepts such as inheritance and other OOP
concepts.
•Eclipse is the preferred IDE for most users (use EGit plugin with
eclipse to access a git repo, also supports GitHub).
What makes an Android app better ?
•The Better Design
oUse Action Bar or Navigation Drawer.
oUse Action Bar Icon Pack.
oConsistent feel, navigation similarities.
oDon’t place a back button, It’s not iOS. [Note : Action Bar up is different].
oMore info : http://developer.android.com/design/index.html
oUse Action Bar theme generator.
Designing for multiple screen sizes
and resolutions
•Use wrap_content, fill_parent, or dp/sp units.
•Avoid pixel values.
•Do not use AbsoluteLayout (it's deprecated) -> RelativeLayout is
better.
•Different drawables for different screen densities
(ldpi < mdpi < hdpi < xhdpi < xxhdpi). Use a calculator.
•Consider both landscape and portrait orientations (Fragments).
•Source : http://developer.android.com/guide/practices/screens_support.html
Units (used for XML-layouts)
Unit Meaning Use
px A pixel Avoid
in An inch Avoid
mm Millimeter Avoid
pt A point Avoid
sp or sip Scale-independent pixels Only/Must for Fonts
dp or dip Density-independent pixels Everything Else
Support Library
•Use modern features such as Fragments and ActionBar on older devices.
•More info : http://developer.android.com/tools/support-library/features.html
•Setup : http://developer.android.com/tools/support-library/setup.html
•Note : Eclipse can automatically set these libraries up when creating a new android project.
(Use Froyo as Minimum Required SDK)
Choosing the Development
Environment
•Android Studio – Based on IntelliJ IDEA (Under development)
https://developer.android.com/sdk/installing/studio.html
•Eclipse + ADT Bundle : https://developer.android.com/sdk/index.html
•Tegra Android Development Pack : https://developer.nvidia.com/tegra-android-development-
pack
o You can use this even if you are not developing for an NVIDIA product.
o There is a plugin for Visual Studio (to use with Java and CC++).
o Comes with SDK , NDK.
o Available for Windows/Linux/MacOS
Languages other than Java
•CC++ can be used to develop android applications if you are using the NDK.
o Use vs-android to use Visual Studio.
o Otherwise Eclipse CDT.
•C# can be used with the commercial Xamarin tool chain (IDE : Xamarin Studio or Visual Studio).
•PhoneGap or Cordova can be used to bundle a web-app (CSS3/HTML5/JS) as an android
application.
o PhoneGap is the Adobe’s distribution of Apache Cordova.
•Rhomobile and Rhodes for Ruby. (Windows and MacOS only)
Tutorials (Java)
•Android Developer Training (recommended):
•http://developer.android.com/training/index.html
•Android Developer Tools :
•http://developer.android.com/tools/index.html
•Other good tutorials:
•http://www.vogella.com/tutorials/Android/article.html (recommended)
•http://www.mkyong.com/tutorials/android-tutorial/
•http://code.tutsplus.com/categories/android-sdk

Weitere ähnliche Inhalte

Kürzlich hochgeladen

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Kürzlich hochgeladen (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

How to start learning android development (easy and fast)

  • 1. How to start learning Android development (easy and fast) BY BHATHIYA PERERA
  • 2. What should you know ? •Java knowledge is essential. •With knowledge of concepts such as inheritance and other OOP concepts. •Eclipse is the preferred IDE for most users (use EGit plugin with eclipse to access a git repo, also supports GitHub).
  • 3. What makes an Android app better ? •The Better Design oUse Action Bar or Navigation Drawer. oUse Action Bar Icon Pack. oConsistent feel, navigation similarities. oDon’t place a back button, It’s not iOS. [Note : Action Bar up is different]. oMore info : http://developer.android.com/design/index.html oUse Action Bar theme generator.
  • 4. Designing for multiple screen sizes and resolutions •Use wrap_content, fill_parent, or dp/sp units. •Avoid pixel values. •Do not use AbsoluteLayout (it's deprecated) -> RelativeLayout is better. •Different drawables for different screen densities (ldpi < mdpi < hdpi < xhdpi < xxhdpi). Use a calculator. •Consider both landscape and portrait orientations (Fragments). •Source : http://developer.android.com/guide/practices/screens_support.html
  • 5. Units (used for XML-layouts) Unit Meaning Use px A pixel Avoid in An inch Avoid mm Millimeter Avoid pt A point Avoid sp or sip Scale-independent pixels Only/Must for Fonts dp or dip Density-independent pixels Everything Else
  • 6. Support Library •Use modern features such as Fragments and ActionBar on older devices. •More info : http://developer.android.com/tools/support-library/features.html •Setup : http://developer.android.com/tools/support-library/setup.html •Note : Eclipse can automatically set these libraries up when creating a new android project. (Use Froyo as Minimum Required SDK)
  • 7. Choosing the Development Environment •Android Studio – Based on IntelliJ IDEA (Under development) https://developer.android.com/sdk/installing/studio.html •Eclipse + ADT Bundle : https://developer.android.com/sdk/index.html •Tegra Android Development Pack : https://developer.nvidia.com/tegra-android-development- pack o You can use this even if you are not developing for an NVIDIA product. o There is a plugin for Visual Studio (to use with Java and CC++). o Comes with SDK , NDK. o Available for Windows/Linux/MacOS
  • 8. Languages other than Java •CC++ can be used to develop android applications if you are using the NDK. o Use vs-android to use Visual Studio. o Otherwise Eclipse CDT. •C# can be used with the commercial Xamarin tool chain (IDE : Xamarin Studio or Visual Studio). •PhoneGap or Cordova can be used to bundle a web-app (CSS3/HTML5/JS) as an android application. o PhoneGap is the Adobe’s distribution of Apache Cordova. •Rhomobile and Rhodes for Ruby. (Windows and MacOS only)
  • 9. Tutorials (Java) •Android Developer Training (recommended): •http://developer.android.com/training/index.html •Android Developer Tools : •http://developer.android.com/tools/index.html •Other good tutorials: •http://www.vogella.com/tutorials/Android/article.html (recommended) •http://www.mkyong.com/tutorials/android-tutorial/ •http://code.tutsplus.com/categories/android-sdk