Thursday, March 27, 2014

Androis AS IS

Android Emulator


The Android SDK includes a mobile device emulator — a virtual mobile device that runs on your computer. The emulator lets you develop and test Android applications without using a physical device.

This document is a reference to the available command line options and the keyboard mapping to device keys. For a complete guide to using the Android Emulator, see Using the Android Emulator.

Wednesday, March 26, 2014

Android Components



  • The Android operating system is a multi-user Linux system in which each app is a different user.

Restful , javaEE & json



WebComponent over JAVA EE



Lets think about JSON


JSON is a text-based data exchange format derived from JavaScript that is used in web services and other connected applications. The following sections provide an introduction to JSON syntax, an overview of JSON uses, and a description of the most common approaches to generate and parse JSON.

JSON Syntax

JSON defines only two data structures: objects and arrays. An object is a set of name-value pairs, and an array is a list of values. JSON defines six data types: string, number, object, array, true, false and null.

Friday, March 21, 2014

Android for beginer


What is android?


"Android powers hundreds of millions of mobile devices in more than 190 countries around the world"[1].

Its has been growing fast-every day. Android gives you world-class platform for create anything you need. Your application can be distributed by open marketplace.







Android operating system was a virtually unknown phones owned by a company called Android Inc. until 2005 when Google bought it. Currently Andy Rubin, the creator of Android, works as vice president of engineering and Google under his command this project.

In November 2007, only rumors that the Internet giant had plans to launch a Mobile project, and precisely for that time, the Open Handset Alliance was launched, which brought together many mobile phone manufacturers, chipsets and Google and provided the first version of Android, along with the SDK for developers begin to build their applications for this system.


Android is a software stack for mobile phones initially thought (smartphones) that includes an operating system, middleware and application layer for the phone to make functions beyond the devices once used.
Leaving aside some technicalities, Android is another option of interfaces and features  to be found in mobile phones, and we can identify particular aspects of  whose operating system Nokia's Symbian, iOS or iPhone or even the Blackberry, also There are very specific things in phones running Android.

Now let us turn more technical. Android is based on Linux kernel operating system, that reason has embedded features to be free, free, cross-platform. any  developer can create Android applications without the need to pay annual fees for the development kit (SDK).
Android also has a modified java machine, which is called Dalvik. the operation system includes interface to  functions about gps, call, contacts ....


What i need to develop in Android .


  1. Your environment, i mean your windows, linux or mac. 
  2. SDK link here
  3. Chose eclipse plugin ADT
  4. java sdk   link here




Reference
1 http://developer.android.com/about/index.html

Thursday, March 20, 2014

My Hello World, WebService , Java & PHP

This tutorial is based on SOAP.

1.Open the netbeans.
2. Create a new project.
3. Create a Webservice standalone.
 
4. Testing by php

uaa@uaa-virtual-machine:~$ php cliente.php 
stdClass Object
(
    [return] => Hello fco !
)

uaa@uaa-virtual-machine:~$ cat cliente.php 
<?php 
try {  
    $x = @new SoapClient("http://localhost:8080/EjemploWebService/HolaMundo?WSDL");  
 print_r( $x->hello(array('name'=>'fco')));
} catch (Exception $e) {  
    echo $e->getMessage(); 
} 
?> 
uaa@uaa-virtual-machine:~$ php cliente.php 
stdClass Object
(
    [return] => Hello fco !
)

uaa@uaa-virtual-machine:~$