Thursday, May 28, 2015

Android Development**

Work in Progress....
Android Arsenal:
http://android-arsenal.com/

Android Developers Blog:
http://android-developers.blogspot.com/
http://developer.android.com/develop/index.html

Google i/o 2015:
https://events.google.com/io2015/

Google design Guidelines:
http://www.google.com/design/articles/design-from-ios-to-android/

icons:
https://www.google.com/design/icons/

Backend for Android:
https://www.parse.com/
https://www.firebase.com/

Android Security:
https://www.airpair.com/android/posts/adding-tampering-detection-to-your-android-app
https://manifestsecurity.com/android-application-security-part-21/


Android Dev Sumit:
FYI Android Dev Summit Videos are on youtube.
Day two https://www.youtube.com/watch?v=JtdqDvgWGNA

Code samples from the conference:

CodePath Resources:
RecyclerView:
Android UI:

Security Tools:
2. Drozer- 
 Android UI testing w/ espresso:

testing:

Monday, May 11, 2015

Android and Gradle

Gradle: is a build system for Android apps.

First install gradlehttps://gradle.org/downloads/

Info:
Below image shows three directories
1. Vanilla
2. Strawberry
3. Main

Vanilla and Strawberry are the apk build flavors, this both dirctories by default will use the settings from Main folders(java/... ; res/...; AndroidManifest.xml), if we declare this folders inside Vanilla or Strawberry it will override the setting from Main.
Ex:
Change icon for Vanilla apk. You can modified the app icon by adding res directory to the project.


Commands:
run: $chmod +x gradlew

info: $./gradlew -P
Generate APKs: $./gradlew assemble
Generate Taks: $./gradlew tasks 
Install apk build genreated by tasks: $./gradlew installVanillaDebug 

build- generates .apk file, need to configure: $./gradlew build

clean- deletes the generated .apk file: $./gradlew clean

version: $./gradlew -v

Enable the Gradle Daemon:
Via properties file - add org.gradle.daemon=true to GRADLE_USER_HOME»/gradle.properties
Reference: