SlideShare uma empresa Scribd logo
1 de 33
Welcome!
For next few classes we are
going to learn basics to build
and Android App.
You need java platform to build Android
App with any IDE.
So if you don't have one:
Java JRE or JDK:
http://docs.oracle.com/javase/7/docs/webnotes/install/index.html
(sudo apt-get install openjdk-7-jre for Linux)
Problems?
Java JRE or JDK: check this out
http://docs.oracle.com/javase/7/docs/webnotes/install/
for Linux try something like:
tar xzvf ~/Downloads/jdk-7u<your version>-linux-x64.tar.gz
sudo mv jdk1.7.0_21/ /usr/lib/jvm/
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_<your
version>/bin/java 1
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_<your
version>/bin/javac 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0_<your
version>/bin/javaws 1
sudo update-alternatives --config java
sudo update-alternatives --config javaws
IDEs: Android Studio or Eclipse
(Android Development Tools plugin)
Eclipse – less bugs, but a bit tricky to install.(can
also be used for java development)
For new guys in Eclipse, better to install ADT
plugin which comes with eclipse and all settings
Android Studio – a lot bugs(yet), very easy to set
up, better app design tools, worse geo coordinates
tracking on virual device.
Eclipse ADT (for guys new to Eclipse):
http://developer.android.com/sdk/installing/installing-
adt.html#Download
Android Studio:
http://developer.android.com/sdk/installing/studio.html#Updating
Eclipse (and want to follow few steps of upgrading it on
slides below):
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-
developers/indigosr2
would recommend Classic:
(http://www.eclipse.org/downloads/packages/eclipse-classic-
422/junosr2)
Don't forget on Linux you need to
install IA32 library as well.
(sudo apt-get install ia32-libs).
Next few slides are for guys who
have Eclipse on their computer or are
not going to set up Eclipse ADT for
some reason.
<Help> → <Install New
Software>
https://dl-ssl.google.com/android/eclipse/
Press Add.
Give the following
name and Location
inside the Add
Repository
window:
Select All
and Next
Continue
installation
and
restart EclipseIf you have any security
warnings, click OK.
Using SDK Manager
Update SDK
Tools
download any
SDK version
depending on
your device.
You can check Android
version in your settings,
for better deployment.
Now you can try to create your first
android project.
If you are asked
to set up
preference, skip
it.
Next configure
SDK.
Click to Install
Android 2.2
You could
have this
bitch.
Install it.
Congrats if you are getting
something like this.
Run your App
Enable USB debugging
on your device to run
your apps on it.
Connect your phone
through USB.
You prob are getting
this alert on your
phone.
Guess what? Accept
it.
However if you don't have
Android phone or you are
working with geo locations,
you can use Virtual Device.
Press Android Virtual Device Manager
button next to SDK Manager.
Press New.
Pick name,
Target and
Device you wish
Click on device
you created and
press Start.
As noted earlier, if
you are working
with geo locations,
I would
recommend to use
Eclipse IDE, as
you can put
coordinates
directly on VD.
You prob going to get
something like this
on your phone.
Accept it.
Now run app we
created recently.
Hopefully you are getting something like this.
Otherwise next to the Run button, press arrow,
then (Run Configurations) → (Target) → and
choose device you want to run.
Contact me if you have any
problems or edits you want to make
with this presentation.
www.facebook.com/vlad.kolesnyk

Mais conteúdo relacionado

Mais procurados

Ayw app inventor
Ayw app inventorAyw app inventor
Ayw app inventor
pbeerak
 
Applico Android Info Session at Columbia University
Applico Android Info Session at Columbia UniversityApplico Android Info Session at Columbia University
Applico Android Info Session at Columbia University
Applico
 

Mais procurados (20)

Anveshan android
Anveshan androidAnveshan android
Anveshan android
 
Android Wear Code Lab
Android Wear Code LabAndroid Wear Code Lab
Android Wear Code Lab
 
Development environment
Development environmentDevelopment environment
Development environment
 
Instrumentation 101
Instrumentation 101Instrumentation 101
Instrumentation 101
 
Ppt of tutorial android app
Ppt of tutorial android appPpt of tutorial android app
Ppt of tutorial android app
 
How to record screen activity
How to record screen activityHow to record screen activity
How to record screen activity
 
Testing Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have ToTesting Sucks, But It Doesn't Have To
Testing Sucks, But It Doesn't Have To
 
Starting Native Development on Google Glass
Starting Native Development on Google GlassStarting Native Development on Google Glass
Starting Native Development on Google Glass
 
Essentials of developing_tizen_web_application_en_1.0
Essentials of developing_tizen_web_application_en_1.0Essentials of developing_tizen_web_application_en_1.0
Essentials of developing_tizen_web_application_en_1.0
 
Workshop on Sencha Touch - Part 2 - First application in sencha touch
Workshop on Sencha Touch - Part 2 - First application in sencha touchWorkshop on Sencha Touch - Part 2 - First application in sencha touch
Workshop on Sencha Touch - Part 2 - First application in sencha touch
 
Ayw app inventor
Ayw app inventorAyw app inventor
Ayw app inventor
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
 
Applico Android Info Session at Columbia University
Applico Android Info Session at Columbia UniversityApplico Android Info Session at Columbia University
Applico Android Info Session at Columbia University
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Week 1 - Android Study Jams
Week 1 - Android Study JamsWeek 1 - Android Study Jams
Week 1 - Android Study Jams
 
Mastering the NDK with Android Studio 2.0 and the gradle-experimental plugin
Mastering the NDK with Android Studio 2.0 and the gradle-experimental pluginMastering the NDK with Android Studio 2.0 and the gradle-experimental plugin
Mastering the NDK with Android Studio 2.0 and the gradle-experimental plugin
 
App inventor
App inventorApp inventor
App inventor
 
Installing android sdk on net beans
Installing android sdk on net beansInstalling android sdk on net beans
Installing android sdk on net beans
 
Build Your First Android App
Build Your First Android AppBuild Your First Android App
Build Your First Android App
 
selenium-2-mobile-web-testing
selenium-2-mobile-web-testingselenium-2-mobile-web-testing
selenium-2-mobile-web-testing
 

Destaque (10)

A Distributed Architecture System for Recognizing Textual Entailment
A Distributed Architecture System for Recognizing Textual EntailmentA Distributed Architecture System for Recognizing Textual Entailment
A Distributed Architecture System for Recognizing Textual Entailment
 
Rain delay - ppt
Rain delay - pptRain delay - ppt
Rain delay - ppt
 
Reconverse Big Data by Innovantage
Reconverse Big Data by InnovantageReconverse Big Data by Innovantage
Reconverse Big Data by Innovantage
 
Carol pdf
Carol pdfCarol pdf
Carol pdf
 
Rus skp brandbook_update2012
Rus skp brandbook_update2012Rus skp brandbook_update2012
Rus skp brandbook_update2012
 
TalentMine_ Know Your Strengths
TalentMine_ Know Your StrengthsTalentMine_ Know Your Strengths
TalentMine_ Know Your Strengths
 
How does Tame work?
How does Tame work?How does Tame work?
How does Tame work?
 
Periodo monarquico
Periodo monarquicoPeriodo monarquico
Periodo monarquico
 
Fuentes formales de derecho
Fuentes formales  de  derechoFuentes formales  de  derecho
Fuentes formales de derecho
 
Deep Reasoning
Deep ReasoningDeep Reasoning
Deep Reasoning
 

Semelhante a techSocAndroid1

Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setup
China Bigs
 
03 Beginning Android Application Development
03 Beginning Android Application Development03 Beginning Android Application Development
03 Beginning Android Application Development
Arief Gunawan
 
Ayw android env_setup
Ayw android env_setupAyw android env_setup
Ayw android env_setup
pbeerak
 

Semelhante a techSocAndroid1 (20)

Android app upload
Android app uploadAndroid app upload
Android app upload
 
Android training in Noida
Android training in NoidaAndroid training in Noida
Android training in Noida
 
Getting Enter in Android development
Getting Enter in Android developmentGetting Enter in Android development
Getting Enter in Android development
 
Android
AndroidAndroid
Android
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdf
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setup
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
Bird.pdf
 Bird.pdf Bird.pdf
Bird.pdf
 
Module-I_Introduction-to-Android.pptx
Module-I_Introduction-to-Android.pptxModule-I_Introduction-to-Android.pptx
Module-I_Introduction-to-Android.pptx
 
PhoneGap Application Development - Santhi J Krishnan
PhoneGap Application Development - Santhi J KrishnanPhoneGap Application Development - Santhi J Krishnan
PhoneGap Application Development - Santhi J Krishnan
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
03 Beginning Android Application Development
03 Beginning Android Application Development03 Beginning Android Application Development
03 Beginning Android Application Development
 
Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1
 
Android programming-basics
Android programming-basicsAndroid programming-basics
Android programming-basics
 
Homework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12thHomework seriesandroidworkshop JUly 12th
Homework seriesandroidworkshop JUly 12th
 
Ayw android env_setup
Ayw android env_setupAyw android env_setup
Ayw android env_setup
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hours
 
androidstudio.pptx
androidstudio.pptxandroidstudio.pptx
androidstudio.pptx
 

Último

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 

Último (20)

ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 

techSocAndroid1

  • 2. For next few classes we are going to learn basics to build and Android App.
  • 3. You need java platform to build Android App with any IDE. So if you don't have one: Java JRE or JDK: http://docs.oracle.com/javase/7/docs/webnotes/install/index.html (sudo apt-get install openjdk-7-jre for Linux)
  • 4. Problems? Java JRE or JDK: check this out http://docs.oracle.com/javase/7/docs/webnotes/install/ for Linux try something like: tar xzvf ~/Downloads/jdk-7u<your version>-linux-x64.tar.gz sudo mv jdk1.7.0_21/ /usr/lib/jvm/ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_<your version>/bin/java 1 sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_<your version>/bin/javac 1 sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0_<your version>/bin/javaws 1 sudo update-alternatives --config java sudo update-alternatives --config javaws
  • 5. IDEs: Android Studio or Eclipse (Android Development Tools plugin) Eclipse – less bugs, but a bit tricky to install.(can also be used for java development) For new guys in Eclipse, better to install ADT plugin which comes with eclipse and all settings Android Studio – a lot bugs(yet), very easy to set up, better app design tools, worse geo coordinates tracking on virual device.
  • 6. Eclipse ADT (for guys new to Eclipse): http://developer.android.com/sdk/installing/installing- adt.html#Download Android Studio: http://developer.android.com/sdk/installing/studio.html#Updating Eclipse (and want to follow few steps of upgrading it on slides below): http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee- developers/indigosr2 would recommend Classic: (http://www.eclipse.org/downloads/packages/eclipse-classic- 422/junosr2)
  • 7. Don't forget on Linux you need to install IA32 library as well. (sudo apt-get install ia32-libs).
  • 8. Next few slides are for guys who have Eclipse on their computer or are not going to set up Eclipse ADT for some reason.
  • 9. <Help> → <Install New Software>
  • 10. https://dl-ssl.google.com/android/eclipse/ Press Add. Give the following name and Location inside the Add Repository window:
  • 12.
  • 13. Continue installation and restart EclipseIf you have any security warnings, click OK.
  • 15. Update SDK Tools download any SDK version depending on your device.
  • 16. You can check Android version in your settings, for better deployment.
  • 17. Now you can try to create your first android project.
  • 18. If you are asked to set up preference, skip it. Next configure SDK. Click to Install Android 2.2
  • 19.
  • 20.
  • 22. Congrats if you are getting something like this.
  • 24. Enable USB debugging on your device to run your apps on it. Connect your phone through USB.
  • 25. You prob are getting this alert on your phone. Guess what? Accept it.
  • 26. However if you don't have Android phone or you are working with geo locations, you can use Virtual Device.
  • 27. Press Android Virtual Device Manager button next to SDK Manager. Press New.
  • 28. Pick name, Target and Device you wish Click on device you created and press Start.
  • 29. As noted earlier, if you are working with geo locations, I would recommend to use Eclipse IDE, as you can put coordinates directly on VD.
  • 30. You prob going to get something like this on your phone. Accept it.
  • 31. Now run app we created recently.
  • 32. Hopefully you are getting something like this. Otherwise next to the Run button, press arrow, then (Run Configurations) → (Target) → and choose device you want to run.
  • 33. Contact me if you have any problems or edits you want to make with this presentation. www.facebook.com/vlad.kolesnyk