FOR UNDERSTAND ANDROID CODE AND APP. DESIGN FIRST WE NEED TO UNDERSTAND SOFTWARE REQUIREMENT SPECIFICATION (SRS).
The Key Steps….
Understand the SRS (Software Requirement Specification) of client.Then plan how to facilitate the client requirement in the app.Afterwords, sketch the screen as per your understanding of project. SRS (Software Requirement Specification)It is a complete document which includes……
● The Company Portfolio
● The requirement
● All the related detail to describe about & for project.
Sketching & Wireframing
- Wireframing, a step in design whereto start layout your screen.
- Easiest and fastest way is to sketch.
- After number of tries finalize the sketch.
- Then make the Digital Wireframing for Adobe Illustrator, Abode Fireworks, BestInMind etc.
Prototype
Prototype sample/model to test a concept learned from. It used in design, electronics & SP.
Often client at initial stage unable to describe complete application objectives and output etc.
Freelance Project SRS: elance link
Search Mobile App Development throughout the world to work as freelance or for any organization.
One of the freelance weblink is…
https://www.elance.com/r/jobs/cat-itprogramming/sct-mobile-applications-11033
LESSON # 2
Digital Wireframing & App Structure
The Key Points….
First Understand High-Level Screen Hierarchy of The App.
Then Appropriate Forms for navigation.
Digital Wireframing / Prototype ...
JustInMind Prototype web link: Download App for Windows http://www.justinmind.com/
Other Wireframe/Prototype Website or App
http://balsamiq.com/download/
https://wireframe.cc/
http://pencil.evolus.vn/Default.html
http://www.uxpin.com/
Android Tutorial : App Designing
The link for understanding prototyping with Android Tutorial.
Topic Hierarchy: Develop-> Training ->Best Practice for Interaction & Engagement
http://developer.android.com/training/designnavigation/index.html
NOTE: WE NEED ANDROID STUDIO AND ITS TOOLS TO CREATE FIRST ANDROID APP..
NOW FOLLOW THESE INSTRUCTION: TO INSTALL JDK (JAVA DEVELOPMENT TOOL & ANDROID STUDIO FOR WINDOWS ND LINUX OPERATING SYSTEM ).
Android Studio Basics
Environment Building:
➔ Download JDK
➔ Install JDK in Windows / Ubuntu
➔ Environmental Variable JAVA_HOME
➔ Prerequisite Android Studio
➔ Download Android Studio
➔ Install Android Studio
➔ Clarify created folders related to Android
Studio
➔ Build & Run First App
Prerequisite Windows
➔ Microsoft® Windows® 8/7/Vista/2003 ( 32 / 64 -bit)
➔ 2 GB RAM minimum, 4 GB RAM recommended
➔ 400 MB hard disk space
➔ Min. 1GB Android SDK, emulator system images & caches
➔ 1280 x 800 minimum screen resolution
➔ Java Development Kit (JDK) 7 or higher
➔ Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel®
EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
➔ Create separate partition for Android Environment. OR for Ubuntu/Linux installation
Prerequisite Linux (Ubuntu)
➔NOME or KDE desktop
➔GNU C Library (glibc) 2.11 or later
➔2 GB RAM minimum, 4 GB RAM recommended
➔400 MB hard disk space
➔Min. 1 GB for Android SDK, emulator system images & caches
➔1280 x 800 minimum screen resolution
➔Oracle® Java Development Kit (JDK) 7 or higher
➔Tested on Ubuntu® 12.04, Precise Pangolin (64-bit distribution capable of running 32bit applications)
➔Separate partition for Ubuntu & Android installation.
JDK (Java Development Kit)
Download JDK
➔Install JDK in Windows
● Click the dk-8u31-windows-x64.exe program file & press Next upto finish Installation.
●Set Environmental Variable from My Computer->Properties->Advance Settings ->Environmental Variable-> New System Variable: Set Name—JAVA_HOME and path of
JDK folder.
➔Install JDK in Ubuntu
● Goto Terminal from Online sources, remember user id /
domain name. Copy one by one command from jdkterminal-commands.txt file to install JDK and set Environmental Variable from terminal.
JDK Installation Guide
➔JDK installation commands….
# sudo mkdir -p /usr/local/java/
# cd ~/Downloads
# sudo cp -r jdk-8u25-linux-x64.tar.gz /usr/local/java/
# cd /usr/local/java/
# sudo tar xvzf jdk-8u25-linux-x64.tar.gz
# sudo gedit /etc/profile
JAVA_HOME=/usr/local/java/jdk1.8.0_25
JRE_HOME=$JAVA_HOME/jre
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
# sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.
8.0_25/jre/bin/java" 1
➔JDK installation commands….
# sudo update-alternatives --install "/usr/bin/javac" "javac"
"/usr/local/java/jdk1.8.0_25/bin/javac" 1
# sudo update-alternatives --install "/usr/bin/javaws" "javaws"
"/usr/local/java/jdk1.8.0_25/bin/javaws" 1
# sudo update-alternatives --set java /usr/local/java/jdk1.8.0_25/jre/bin/java
# sudo update-alternatives --set javac /usr/local/java/jdk1.8.0_25/bin/javac
# sudo update-alternatives --set javaws /usr/local/java/jdk1.8.0_25/bin/javaws
# . /etc/profile
# java -version
reboot.
Configure Android Studio
Download Android Studio
➔Install Android Studio for Windows
● Click android-studio-bundle-135.1641136.exe, clicknext for simple installation.
➔Install Android Studio for Ubuntu
● Click android-studio-bundle-135.1641136.exe, click next for simple installation. Usefull-commands.txt is useful for Android Studio installation, desktop-entry.
txt is used to create shortcut of it.
Android Studio Installation Guide
➔Android Studio installation commands….
INSTALL OPEN TERMINAL HERE:
# sudo apt-get install nautilus-open-terminal
# nautilus -q
INSTALL ANDROID STUDIO
# cd /home/developer/android-studio/bin
# ./studio.sh
IF ADB Connection ERROR:
# sudo apt-get install lib32z1 lib32z1-dev
# sudo apt-get install lib32stdc++6
Add these LINES FOR ADD ADB IN SYSTEM PATH:
sudo gedit .bashrc
#Android PATHS
export PATH=$PATH:/home/developer/Android/Sdk/tools
export PATH=$PATH:/home/developer/Android/Sdk/platform-tools
Android Studio Installation Guide
➔Android Studio installation commands for Desktop….
# cd ~/.local/share/applications
# gedit AndroidStudio.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Exec="/home/student/android-studio/bin/studio.sh" %f
Icon=/home/developer/android-studio/bin/idea.png
Categories=xorsat;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-android-studio
Name[en_GB]=android-studio.desktop
LINUX (UBUNTU) INSTALLATION ENVIRONMENT SCREENSHOTS
WINDOWS INSTALLATION ENVIRONMENT SCREENSHOTS
WINDOWS INSTALLATION ENVIRONMENT SCREENSHOTS
BIOS & Acceleration Driver
➔ An Intel accelerator HAXM is download from SDK Manager for Windows then its installed to the System.
➔The BIOS setting in Intel is performed to accelerate emulator.
Prepare to Build Your First App.
➔ Before start to build your first app, you should have read about iconography & Supporting Multiple Screens.
➔ Then, create a launcher icon with
following attributes :
◆ Name: ic_launcher
◆ Size: 48x48 pixels
◆ for high density
➔ Should have resource of icon(ic_launcher.png).
Building Your First App
➔ After Setting Up Environment Now,
➔ Launch Android Studio
➔ The 03 important Android Studio folders:
- Android folder --- SDK
- Android-Studio folder (Android Studio Software)
- Android Studio Projects folder (Workspace).
➔ The package name is like web address.
➔ Only Min. SDK is required in Android Studio.
Building Your First App
➔ Configure new project
➔ Build Your First App.
➔ Application Name
➔ Company domain
➔ Package name
➔ Project location
➔ Select the form factors your app will run on:
◆ Phone and Tablet
➔ Minimum SDK
➔ Add an activity to project
◆ Blank Activity
➔ Describe new activity for your project, Run Your App
➔ After successfully create of your first.
➔ Build your app. (Compile)
➔ Start an AVD.
➔ Click Play icon or F5 to run app.
➔ Request to select device to run app.
➔ Result shows on Emulator.
Android Studio Shortcuts You Need the Most
Navigation Shortcuts:
Shortcut Description Android Studio Shortcut
- Go to class Ctrl + N
- Go to file Ctrl + Shift + N
- Navigate open tabs ALT + Left-Arrow; ALT + Right-Arrow
- Lookup recent files CTRL + E
- Go to line CTRL + G
- Navigate to last edit location CTRL + SHIFT + BACKSPACE
- Go to declaration CTRL + B
- Go to implementation CTRL + ALT + B
- Go to source F4
- Go to super Class CTRL + U
- Show Call hierarchy Ctrl + Alt + H
- Search in path/project CTRL + SHIFT + F
Programming Shortcuts
Shortcut Description Android Studio Shortcut
- Reformat code CTRL + ALT + L
- Optimize imports CTRL + ALT + O
- Code Completion CTRL + SPACE
- Issue quick fix ALT + ENTER
- Surround code block CTRL + ALT + T
- Rename and refactor Shift + F6
- Line Comment or Uncomment CTRL + /
- Block Comment or Uncomment CTRL + SHIFT + /
- Go to previous/next method ALT + UP/DOWN
- Show parameters for method CTRL + P
- Quick documentation lookup CTRL + Q
General Shortcuts
Shortcut Description Android Studio Shortcut
- Delete line CTRL + Y
- Safe Delete Alt + DELETE
- Close Active Tab CTRL + F4
- Build and run SHIFT + F10
- Build CTRL + F9
- All purpose (Meta)Shortcut CTRL + SHIFT + A (javapapers.com)
http://androidappdevelop1.blogspot.com