Showing posts with label SDK. Show all posts
Showing posts with label SDK. Show all posts

Tuesday, August 18, 2015

Android Marshmallow - Kapil Sharma




New: API 23
  • Android Platform Change:
    • Final Permissions User Interface — we updated the permissions user interface and enhanced some of the permissions behavior.
  • API Change:
    • Updates to the Fingerprint API — which enables better error reporting, better fingerprint enrollment experience, plus enumeration support for greater reliability.

http://android-developers.blogspot.in/2015/08/m-developer-preview-3-final-sdk.html

Developer Preview 3
Build: MPA44G
Hardware support: Nexus 5, 6, 9, Player
Emulator support: x86 & ARM 32/64-bit
Google Play services: 7.8

Key Changes: Permission changes


Install an Image to a Device: 

In order to use a device image for testing, you must install it on a compatible device. Follow the instructions below to install a system image:
  1. Download and uncompress one of the system image packages listed here.
  2. Backup any data you want to preserve from the device.
  3. Follow the instructions at developers.google.com/android to flash the image onto your device.
Android M Preview 3 Developer Docs: 

Thursday, October 30, 2014

Android ADB Windows Setup - Kapil Sharma

Android ADB Windows Setup:

Prerequisite:

1.) Android-SDK
2.) Windows-7 PC

First download the 'Android-sdk'  from this location: https://developer.android.com/sdk/index.html

Extract the zip file on your windows PC drive. Than open the zip file and open the following:

SDK > Platform-tools. (Copy the path where the content is stored) 

Now, right click on the 'My Computer' click on 'properties' > again click on 'Advance system setting'. 

This will open 'system properties' setting windows. Now click on the 'path' than 'edit' and copy paste the android sdk > platform-tools path in that location. 

After adding the location click 'OK' and now open the windows cmd terminal. Now type 'adb devices' and your android adb is start working :) 

To learn more regarding Android ADB check this out: https://developer.android.com/tools/help/adb.html

For more information check this image: 



Friday, May 17, 2013

My Android Reboot Class: 101


Class: 101

First class and hands on details, how I try to make my first real application. 

What I learn, I will share, each bits and bytes with you all, so that a collective learning can be attained in this first session or in upcoming future sessions. 

This lesson is for the first timers, so if you are advance Android experts you can further skip this lesson or future lessons.

So, this how I started my first Android learning curve.................... 

Prerequisite for this session: 

1.) Windows(XP/7/8) Or Ubuntu (10-12.04 LTS) machines. 
2.) Eclipse IDE 
     (http://www.eclipse.org/downloads/packages/eclipse-classic-422/junosr2)
3.) Android SDK (http://developer.android.com/sdk/index.html#download)
4.) ADT-Plugin for Eclipse to integrate Android feature in IDE.   
    (http://developer.android.com/tools/sdk/eclipse-adt.html)
5.) Latest SDK tools and platforms using Android SDK.

Note: 
Don't worry, if you don't know, how to install and configure the above prerequisite. I will share each details with you in upcoming classes :) 





Thursday, March 28, 2013

Nexus 5 (Rumored):



Nexus 5: 




Hardware specs: 

Screen: 5-inch 1080p display.

Processor: Snapdragon 600 CPU processor.
Battery: 3,140mAh. 
RAM: 2.5 or 3GB.
Camera: 9MP (CCD Nikon)

OR 


Screen: 5.2-inch IPS display.

Battery: 2,900mAh. 
RAM: 3GB. 
Processor: Qualcomm Snapdragon 800 at 2.1GHz.
Camera: 16MP.

Monday, December 10, 2012

Android SDK on Eclipse (Ubuntu-Linux)


Android SDK Tools > Rev. 20
Android SDK Platform-tools > Rev. 12

SDK Plaform > API 16

Thursday, May 31, 2012

New Session Track 1 (Android Basics)



How to install Android SDK on Ubuntu 11:


1.) Download this SDK for Linux (Ubuntu) http://dl.google.com/android/android-sdk_r18-linux.tgz
2.) Un-zip or extract in a folder ADK or any name.
3.) In this folder (e.g android-sdk-linux) go to "tools" and than look for " android " script.
4.) Double click on that and select "Run in Terminal"
5.) this leads to a android software downloader kind of tool UI
6.) Select SDK tools, Goolge API as main and rest on your own selection if you have some idea.
7.) That's it update the selection by selecting "Install", so here we are with updated Android SDK on Ubuntu 11 (Linux) OS. 


Soon add screen-shots for better understanding, till than happy Android hunting :)     

Tuesday, April 26, 2011

Are the processors 64-bit on Ubuntu?

A 64-bit processor will have lm ("long mode") in the flags section of cpuinfo. A 32-bit processor will not.

e.g.,

flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8legacy ts fid vid ttp tm stc

--------------------------------------------------

Are the processors dual-core (or multi-core)?

$ grep 'cpu cores' /proc/cpuinfo
cpu cores       : 2
cpu cores       : 2
cpu cores       : 2
cpu cores       : 2

"2" indicates the two physical processors are dual-core, resulting in 4 virtual processors.

If "1" was returned, the two physical processors are single-core. If the processors are single-core, and the number of virtual processors is greater than the number of physical processors, the CPUs are using hyper-threading. Hyper-threading is supported if ht is present in the CPU flags and you are using an SMP kernel.

----------------------------------------------

CPU Information: 

cat /proc/cpuinfo

-----------------------------------------------

Installing Eclipse and the Android SDK (Ubuntu 8.04/8.10):

http://androidforums.com/developer-101/2321-installing-eclipse-android-sdk-ubuntu-8-04-8-10-a.html

Tuesday, December 07, 2010

MonkeyRunner Testing on Android - Kapil Sharma


The android monkeyrunner tool provides an API for writing programs that control an Android device or emulator from outside of Android code. 

With monkeyrunner, you can write a Python program that installs an Android application or test package, runs it, sends keystrokes to it, takes screenshots of its user interface, and stores screenshots on the workstation. 

The monkeyrunner tool is primarily designed to test applications and devices at the functional/framework level and for running unit test suites, but you are free to use it for other purposes.

The monkeyrunner tool is not related to the UI/Application Exerciser Monkey, also known as the monkey tool. The monkey tool runs in an adb shell directly on the device or emulator and generates pseudo-random streams of user and system events. 

In comparison, the monkeyrunner tool controls devices and emulators from a workstation by sending specific commands and events from an API.
The monkeyrunner tool provides these unique features for Android testing:
  • Multiple device control: The monkeyrunner API can apply one or more test suites across multiple devices or emulators. You can physically attach all the devices or start up all the emulators (or both) at once, connect to each one in turn programmatically, and then run one or more tests. You can also start up an emulator configuration programmatically, run one or more tests, and then shut down the emulator.
  • Functional testing: monkeyrunner can run an automated start-to-finish test of an Android application. You provide input values with keystrokes or touch events, and view the results as screenshots.
  • Regression testing - monkeyrunner can test application stability by running an application and comparing its output screenshots to a set of screenshots that are known to be correct.
  • Extensible automation - Since monkeyrunner is an API toolkit, you can develop an entire system of Python-based modules and programs for controlling Android devices. Besides using the monkeyrunner API itself, you can use the standard Python os and subprocess modules to call Android tools such as Android Debug Bridge.
    You can also add your own classes to the monkeyrunner API. This is described in more detail in the section Extending monkeyrunner with plugins.

    The monkeyrunner tool uses Jython, a implementation of Python that uses the Java programming language. Jython allows the monkeyrunner API to interact easily with the Android framework. With Jython you can use Python syntax to access the constants, classes, and methods of the API.
Android 2.3 SDK :

http://developer.android.com/sdk/android-2.3.html

New User Features:
1.) UI refinements for simplicity and speed
2.) Faster, more intuitive text input
3.) One-touch word selection and copy/paste
4.) Improved power management
5.) Control over applications
6.) New ways of communicating, organizing

New Developer Features
1.) Enhancements for gaming
2.) New forms of communication
3.) Rich multimedia

New Platform Technologies
1.) Media Framework
2.) New Linux Kernel
3.) New Dalvik runtime

Monday, May 24, 2010

Android Froyo 2.2 SDK release.


Froyo >> 2.2 New SDK

1.) Dalvik JIT, improve CPU performance 2-5 times
2.) V8 JavaScript engine, improve browser JavaScript performance by 2-3 times
3.) 3G tethering via USB and Wifi
4.) New camera UI for controlling zoom, flash, white balance, geo-tagging, focus and exposure.
5.) Microsoft exchange support, incl remote wipe
6.) Bluetooth: share contacts, voice dialing
7.) Android market: app crash/freeze report, auto app update
8.) App2SD
9.) Option for automatic app data backup
10.) Android Cloud to Device Messaging
11.) Supports Macromedia Flash 10.1
12.) Enable/disable data access over Mobile network
13.) Multiple keyboard languages
14.) Voice recognition for 7 dialects of English, Mandarin Chinese, and Japanese
15.) PIN screen lock