Todo Videos you tube
Todo Tecnologia
Fotos de Rocio Guirao Diaz HOT
Fotos de Pampita

TV ARGENTINA ONLINE


Juegos On-line
Chistes on-line
Fotos de Evangelina Anderson
Fotos Jesica Cirio
Blogalaxia

New Social APIs in Android ICS

Written by admin on 20:36

[This post is by Daniel Lehmann, Tech Lead on the Android Apps team. — Tim Bray]

[We're trying something new; There's a post over on Google+ where we'll host a discussion of this article. Daniel Lehmann has agreed to drop by and participate. Come on over and join in!]

With Android Ice Cream Sandwich, we set out to build software that supports emotional connections between humans and the devices they carry. We wanted to build the most personal device that the user has ever owned.

The first ingredient in our recipe is to show users the people that they care about most in a magazine-like way. High-resolution photos replace simple lists of text.

The second ingredient is to more prominently visualize their friends' activities. We show updates from multiple sources wherever a contact is displayed, without the need to open each social networking app individually.

Android is an open platform, and in Ice Cream Sandwich we provide a rich new API to allow any social networking application to integrate with the system. This post explains how apps like Google+ use these APIs, and how other social networks can do the same.

A few basics

Since Eclair (Android 2.0), the system has been able to join contacts from different sources. Android can notice if you are connected to the same person and different networks, and join those into aggregate contacts.

Essential terms to understand throughout the remainder of this post are:

  • RawContact is a contact as it exists in one source, for example a friend in Skype.

  • Data rows exists for each piece of information that the raw contact contains (name, phone number, email address, etc.).

  • A Contact joins multiple raw contacts into one aggregate. This is what the user perceives as a real contact in the People and Phone apps.

  • A sync adapter synchronizes its raw contacts with its cloud source. It can be bundled with a Market application (examples: Skype, Twitter, Google+).

While users deal with contacts, sync adapters work with their raw contact rows. They own the data inside a raw contact, but by design it is left up to Android to properly join raw contact rows with others.

Contacts sync adapters have a special xml file that describes their content, which is documented in the Android SDK. In the following paragraphs, we'll assume this file is named contacts.xml.

The Android SDK also contains the application SampleSyncAdapter (and its source code) that implements everything mentioned in here in an easy to understand way.

High resolution photos

In Android versions prior to Honeycomb (3.0), contact photos used to be 96x96. Starting with ICS, they now have a thumbnail (which is the 96x96 version) and a display photo. The display photo's maximum size can vary from device to device (On Galaxy Nexus and Nexus S, it is currently configured to be 256x256, but expect this to vary with future devices). The size as configured can be queried like this:

private static int getPhotoPickSize(Context context) {    // Note that this URI is safe to call on the UI thread.    Cursor c = context.getContentResolver().query(DisplayPhoto.CONTENT_MAX_DIMENSIONS_URI,        new String[]{ DisplayPhoto.DISPLAY_MAX_DIM }, null, null, null);    try {      c.moveToFirst();      return c.getInt(0);    } finally {      c.close();    }  }

This value is useful if you need to query the picture from the server (as you can specify the right size for the download). If you already have a high resolution picture, there is no need for any resizing on your side; if it is too big, the contacts provider will downsample it automatically.

Up until now, pictures were written using a ContentValues object, just like all the other data rows of the raw contact. While this approach is still supported, it might fail when used with bigger pictures, as there is a size limit when sending ContentValues across process boundaries. The prefered way now is to use an AssetFileDescriptor and write them using a FileOutputStream instead:

private static void saveBitmapToRawContact(Context context, long rawContactId, byte[] photo) throws IOException {      Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);      Uri outputFileUri =          Uri.withAppendedPath(rawContactUri, RawContacts.DisplayPhoto.CONTENT_DIRECTORY);      AssetFileDescriptor descriptor = context.getContentResolver().openAssetFileDescriptor(          outputFileUri, 'rw');      FileOutputStream stream = descriptor.createOutputStream();      try {        stream.write(photo);      } finally {        stream.close();        descriptor.close();      }  }

For best results, store uncompressed square photos and let the contacts provider take care of compressing the photo. It will create both a thumbnail and a display photo as necessary.

This API is available on API version 14+. For older versions, we recommend to fallback to the old method using ContentValues and assuming a constant size of 96x96.

Update streams

The API for update streams is the biggest new addition for contacts in Ice Cream Sandwich. Sync adapters can now enrich their contact data by providing a social stream that includes text and photos.

This API is intended to provide an entry point into your social app to increase user engagement. We chose to only surface the most recent few stream items, as we believe that your social app will always be the best way to interact with posts on your network.

StreamItems rows are associated with a raw contact row. They contain the newest updates of that raw contact, along with text, time stamp and comments. They can also have pictures, which are stored in StreamItemPhotos. The number of stream items per raw contact has a limit, which on the current Nexus devices is set to 5, but expect this number to change with future devices. The limit can be queried like this:

private static int getStreamItemLimit(Context context) {    // Note that this URI is safe to call on the UI thread.    Cursor c = context.getContentResolver().query(StreamItems.CONTENT_LIMIT_URI,        new String[]{ StreamItems.MAX_ITEMS }, null, null, null);    try {      c.moveToFirst();      return c.getInt(0);    } finally {      c.close();    }  }

When displayed in the People app, stream items from all participating raw contacts will be intermixed and shown chronologically.

The following function shows how to add a stream item to an existing raw contact:

private static void addContactStreamItem(Context context, long rawContactId, String text,      String comments, long timestamp, String accountName, String accountType){    ContentValues values = new ContentValues();    values.put(StreamItems.RAW_CONTACT_ID, rawContactId);    values.put(StreamItems.TEXT, 'Breakfasted at Tiffanys');    values.put(StreamItems.TIMESTAMP, timestamp);    values.put(StreamItems.COMMENTS, comments);    values.put(StreamItems.ACCOUNT_NAME, accountName);    values.put(StreamItems.ACCOUNT_TYPE, accountType);    context.getContentResolver().insert(StreamItems.CONTENT_URI, values);  }

You can also specify an action that should be executed when a stream item or one of its photos is tapped. To achieve this, specify the receiving Activities in your contacts.xml using the tags viewStreamItemActivity and viewStreamItemPhotoActivity:

<ContactsAccountType    xmlns:android='http://schemas.android.com/apk/res/android'    viewStreamItemActivity='com.example.activities.ViewStreamItemActivity"    viewStreamItemPhotoActivity='com.example.activities.ViewStreamItemPhotoActivity'>    <!-- Description of your data types -->  </ContactsAccountType>

Update streams are available on API version 15+ and are intended to replace the StatusUpdate API. For previous versions, we recommend that you fall back to the StatusUpdates API, which only shows a single text item and no pictures.

"Me" profile

Ice Cream Sandwich is the first version of Android that supports the "Me" contact, which is prominently shown at the top of the list of the new People app. This simplifies use-cases that used to be a multi-tap process in previous versions — for example, sharing personal contact data with another person or "navigating home" in a navigation app. Also it allows applications to directly address the user by name and show their photo.

The "Me" profile is protected by the new permissions READ_PROFILE and WRITE_PROFILE. The new functionality is powerful; READ_PROFILE lets developers access users' personally identifying information. Please make sure to inform the user on why you require this permission.

The entry point to the new API is ContactsContract.Profile and is available on API version 14+.

Add connection

Previously, connecting with users on a social network involved opening the respective social networking app, searching for the person and then connecting ("Friend", "Follow" etc.). Ice Cream Sandwich has a much slicker approach: When looking at an existing contact in the People application, the user can decide to add this person to another network as well. For example, the user might want to follow a person on Google+ that they already have as a contact in Gmail.

Once the user taps one of the "Add connection" commands, the app is launched and can look for the person using the information that is already in the contact. Search criteria are up to the app, but good candidates are name, email address or phone number.

To specify your "Add connection" menu item, use the attributes inviteContactActivity and inviteContactActionLabel in your contacts.xml:

<ContactsAccountType    xmlns:android='http://schemas.android.com/apk/res/android'    inviteContactActivity='com.example.activities.InviteContactActivity'    inviteContactActionLabel='@string/invite_action_label'>    <!-- Description of your data types -->  </ContactsAccountType>

Be sure to use the same verb as you typically use for adding connections, so that in combination with your app icon the user understands which application is about to be launched.

The "Add connection" functionality is available on API version 14+.

Contact-view notification

High-resolution pictures need a lot of space, and social streams quickly become outdated. It is therefore not a good idea to keep the whole contacts database completely in sync with the social network. A well-written sync adapter should take importance of contacts into account; as an example, starred contacts are shown with big pictures, so high-resolution pictures are more important. Your network might also have its own metrics that can help to identify important contacts.

For all other contacts, you can register to receive a notification which is sent by the People app to all sync adapters that contribute to a contact whenever the contact's detail page is opened. At that point, you can provide additional information. As an example, when the Google+ sync adapter receives this notification, it pulls in the high-resolution photo and most recent social stream posts for that user and writes them to the contacts provider. This can be achieved by adding the viewContactNotifyService attribute to contacts.xml:

<ContactsAccountType    xmlns:android='http://schemas.android.com/apk/res/android'    viewContactNotifyService='com.example.notifier.NotifierService'>    <!-- Description of your data types -->  </ContactsAccountType>

When this Intent is launched, its data field will point to the URI of the raw contact that was opened.

These notifications are available with API version 14+.

Summary

With Ice Cream Sandwich, we improved key areas around high resolution photos and update streams, and simplified the creation of new connections.

Everything outlined in here is done using open APIs that can be implemented by any network that wants to participate. We're excited to see how developers take advantage of these new features!

Apple ofrecerá aplicación gratuita para controlar iTunes desde el iPhone o iPod touch

Written by admin on 19:15

Hace un par de noches, Apple lanzó el más reciente beta del SDK (kit de desarrollo de software) para el iPhone y el iPod touch, el cual también incluye una versión de pruebas de iTunes 7.7. MacRumors encontró esta perlita en el archivo léeme de esta versión nueva de iTunes (traducción propia):

Usa iTunes 7.7 para sincronizar música, video y más con iPhone 3G, y descarga aplicaciones desde la iTunes Store diseñadas exclusivamente para iPhone y iPod touch con la versión de software 2.0 o posterior. También usa la nueva aplicación de control remoto para iPhone o iPod touch para controlar la reproducción de iTunes desde cualquier lugar de tu casa — una descarga gratuita de la App Store.

¿Una aplicación para controlar iTunes desde cualquier sitio de mi casa, y además gratis? Excelente. De repente tener un Airport Express tiene mucho más sentido.

El PC y Procesamiento en la Nube

Written by admin on 16:55

Hemos leído numerosos artículos relacionados con el crecimiento abrumador de los servicios en 'La Nube', más conocido por su término en inglés 'Cloud Computing', en particular queremos referirnos a lo que se considera una tendencia que posibilitará la sustitución definitiva del PC como centro de procesamiento del usuario por este otro, el procesamiento en la nube.


Sin lugar a dudas las nuevas tendencias y evolución del mercado, algo que no podemos quitarle el ojo, indican la contracción de los niveles de ventas de los equipos conocidos como PC, Personal computer, computador personal en buen castellano. En un ya bastante propagado  informe relacionado con un estudio de la empresa Gatner mencionado en un reciente artículo de http://mundopc.net, se han revelado datos relacionados con la reducción de las ventas de los conocidos PC y además se ha estimado la sustitución definitiva del nemotécnico PC del conocido Personal Computer por el de Personal Cloud para el año 2014.
Según un especialista de Gartner existen cuatro grandes tendencias para que esto sea una consecuencia, estas son:
1. Uso de tecnologías cada vez más privadas en el trabajo: 
Se refiere a que el uso de las nuevas tecnologías por los usuarios en el entorno laboral significa nuevas exigencias para los proveedores de servicios, la universalización del entorno social propicia la participación cada vez más directa de los usuarios en la innovación tecnológica.
2. Virtualización:
Ciertamente con un crecimiento asombroso y con una abrupta tendencia a la ubicación de todos los servicios orientados a la Nube, además de las posibilidades económicas en factor de costo asociado posibilitan no sólo a las pequeñas empresas sino a las grandes a mirar con ambición este inmenso mundo donde los grandes recursos pueden concentrarse en aquellos lugares claves.
3. Autoservicio de aplicaciones y servicios: 
Los usuarios finales tienen en sus manos el poder de elegir entre los diversos y enormes tipos servicios como van publicar y que les interesa publicar, por supuesto todo esto se almacenará en el internet.
4. Necesidad de movilidad:
La inmensa cantidad y diversidad de dispositivos, propiciados por las nuevas tecnologías y desarrollo del hardware está creando un marco propicio para que en cualquier dispositivo se pueda procesar información, y ya no solo hablamos de redes sociales, también de procesamiento de datos accesibles desde cualquier lugar de planeta.

Si para Gartner ya es una realidad que la Era del Cloud Computing está a las puertas de los próximos años, para las empresas será un reto que tendrán que ir asimilando paulatinamente, como ocurrió con la evolución de la tecnología celular, Apple, las redes sociales, habrá que insertarse en esta nueva batalla de la tecnología todo esto en un marco donde el usuario final tiene un roll decisivo pues es en última instancia quien decide en determinados marcos que no podemos ignorar, que servicios son los que les vienen mejor a sus intereses.

Y consideramos plenamente con ellos, el Cloud Computing está teniendo un protagonismo decisivo en el desempeños de las nuevas tendencias, les invitamos a que adentren en el fascinante mundo de la virtualización y en el cloud computing, desde nuestros artículos en CubaColombia Blog hemos propuesto cortos post pero con muy interesante software de virtualización, sin embargo ni hablemos de la desaparición del PC, cuantos dispositivos por disímiles que sean podrán sustituirlo, un poderoso ordenador con capacidad para hacerlo todo, desde el video juego hasta la TV, pasando por nuestra música favorita, desde la comodidad de la casa con los pies enfundados en pantuflas, ¿quien afirmará que esto podrá desaparecer? Bueno de esto no trata el articulo, pero me quedo con mi ordenador de escritorio y mi conexión a internet desde casa, y tu... ¿ que piensas?

Imagen: http://www.conectividad.com/
5YTA4AFVK6W4 

Microsoft, Google y Paypal se unen para suprimir las contraseñas

Written by admin on 16:36



Han creado una organización, la Information Card Foundation, para crear un sistema de identidad digital que reduzca la necesidad de utilizar las contraseñas y mejore la protección de los sistemas informáticos frente al fraude.
Se trata de la i-card y en el proyecto también participan Equifax, Novell, Oracle y nueve analistas de la industria y líderes tecnológicos que tratarán de establecer un sistema abierto y estandarizado.
La i-card sería una especie de carnet de identidad aplicado al mundo online.
Con este carnet, los usuarios de la red ya no tendrían que registrarse en sitios con nombres de usuario y contraseña, sino que accederían con una identidad digital segura que sería controlada por un tercero.
El usuario utilizaría la información en un lugar seguro y transmitiría sólo la necesaria para acceder al sitio.
Además de simplificar las compras, estas tarjetas reducirían el número de incidentes de phising. Para que el sistema tenga éxito, es necesario que los miles de millones de sitios que existen en Internet apoyen al nuevo sistema.
"La tecnología ya está disponible, pero aún falta que los sitios acepten las tarjetas", comentó Robert Blakely, director de investigación de Burton Group que también participa en la fundación. "La misión del grupo es asegurar a todos que la industria colabora y que no va a convertirse en un nuevo campo de batalla". Michael B. Jones, director de socios de identidad en Microsoft, cree que la i-card dependería del apoyo de los propietarios de los sitios Web, de la misma manera que al principio, los navegadores como Netscape esperaban a tener el apoyo de los desarrolladores de servidor Web. La tecnología se utilizará primero en los sistemas de sobremesa pero al final encontrará una forma de entrar en los móviles y en otros dispositivos portátiles.

Cien Autos Cool: #43 LCC Rocket

Written by admin on 9:01

Es una de esas raras joyas olvidadas de la industria automotriz. Y como la mayoría de las genialidades olvidadas, ante todo es cool.

Ligh Car Company demostró en 1990 que se podían reescribir las reglas básicas de los autos deportivos. El diseño corresponde a Gordon Murray, cuyos autos ganaron cinco títulos mundiales de Fórmula 1, quien con en el Rocket ensayó algunas de las ideas que pondría en práctica un año más tarde en el McLaren F1.

El Rocket parecía un auto de competición de los años '50, pero estaba construido con materiales de aviación y llevaba el motor de 143 caballos de la Yamaha FZR1000: suficiente como para lanzar al pequeño auto de 400 kilos a 100 km/h en 4 segundos y alcanzar los 240 km/h de máxima.

"Es el único auto que podés moler a palos todo el día en un circuito sin mayor fatiga y después manejarlo de regreso a casa", dijo Gordon Murray.

Se construyeron apenas 30 unidades, en parte debido a su precio de 100 mil dólares. Entre sus propietarios se encuentran el humorista norteamericano Jay Leno y el magnate informático Bill Gates. El beatle George Harrison también compró uno.

La compañía LCC fue financiada por el empresario británico Chris Craft, quien bajó la persiana en 1996 tras reportar una pérdida de 7.500 dólares por cada auto que vendió. Hace tres años, su hijo Luke se propuso resucitar LCC y fabricó tres unidades con algunas innovaciones técnicas para adaptarlo a los tiempos que corren.

El Rocket Siglo XXI puede verse en detalle en el siguiente video.

Logo Google 20 de Agosto 2008: Juegos Olímpicos de Beijing

Written by admin on 6:34

Día número 13 desde la inauguración de los Juegos Olímpicos de Beijing 2008. He aquí el logo de Google de hoy

Ubisoft compra Hyrbride Technologies

Written by admin on 15:49

En un nuevo signo de la convergencia entre el videojuego y Hollywood, la poderosa distribuidora francesa de videojuegos acaba de anunciar la adquisición de Hyrbride Technologies, compañía canadiense creadora de los efectos visuales de películas como "300", "Sin City" o la serie "Spy Kids".
Con esta compra Ubisoft promete "elevar la experiencia visual de los jugadores a los niveles del séptimo arte". Hybride emplea a 80 trabajadores dedicados a la creación de efectos para el cine, la televisión y la publicidad, "que han convertido al estudio en uno de los más importantes productores del sector en América del Norte", indicó Pierre Raymond, cofundador y director ejecutivo de Hybride Technologies.
"Esta alianza es una verdadera primicia para la industria", añadió Yannis Mallat, CEO de Ubisoft Montreal". "Ubisoft y Hybride comparten la misma visión de la convergencia del entretenimiento y una pasión común por la innovación y la creatividad."
"La excepcional calidad del equipo de Hybride y la experiencia de nuestros equipos nos permitirá crear uno de los mejores estudios de animación en 3D de la industria del entretenimiento", indicó Yves Guillemot, jefe ejecutivo de Ubisoft. Los datos económicos de la operación no han sido revelados

Blogalaxia

The About Me Area here