09 settembre 2013

18 months of Android: changing in distribution stats

The following table shows the evolution of Android in the last 18 months, from March 2012 to August 2013.

It summarizes the data published monthly by Google on the various versions of Android available on smartphones. 18 months ago Jelly Beans did not exist (now has 3 versions) and Ice Cream Sandwich had just been released.

In the following table the data is aggregated by version name, this is probably the most useful table to try an analysis.

If 18 months ago Gingerbread was the flagship version installed on more than 60% of terminals, today its spread has been halved. Gingerbread version is still a very important part in the history of Android, as demonstrated by the fact that today it is still in second place in the statistics and that Google is finding quite a few problems to get rid of it.

In March 2012 Ice Cream Sandwich was just released, its growth has been good until the beginning of this year, and then after the release of Jelly Bean it begins to decline. Ice Cream Sandwich is a version that has never achieved a good spread, it has never even reached 30%.

Jelly Bean has had instead a steady growth since its release and it is now about to reach the finish line to be installed on half of the devices.

All this waiting for Android 4.4 KitKat.

The last table shows the previous data aggregated by macro version number.

These numbers clearly show the passing of the baton from version 2. * to versions 4. *, with versions 3. * that were just a hiccup quickly surpassed.

05 settembre 2013

Is a KitKat better than a Key Lime?

The next Android version will be Android 4.4 KitKat instead of the expected Key Lime.
After an agreement, perhaps controversial, with Nestlè Google announced the name of the next version, interestingly the version remains a 4. * and not the expected 5.0.

The web site www.kitkat.com and the launch video are very pretty.

Here the Nestlè Nestle announcement

26 luglio 2013

API Level: 18 (Android 4.3)

API 18 for Android are been released, it is not a major update but contains some news for developers.

Main changes:
  • Restricted profile. On Android tablets, users can now create restricted profiles based on the primary user. App that app uses implicit intents and/or depends on accounts have to manage the new feature.
  • Wireless and Connectivity. News are support to Bluetooth Low Energy (LE), wifi scan-only mode that allows the device Wi-Fi to scan access points to help obtain the location without connecting to an access point.
  • Multimedia.  New MediaDrm class
  • Graphics. Support for OpenGL ES 3.0 User Interface. New ViewOverlay class and more.
  • User Input. New sensor types.
  • Notification Listener. New service class, NotificationListenerService.
For a complete and detailed list of important changes check officiale developer webstite.

23 luglio 2013

New LabelToDo website

From yesterday LabelToDo has its own blog at the following address. You can use it for advice, feedback and stay updated.

18 luglio 2013

LabelToDo 1.1.4 release

From version 1.1.4 this blog will contain a more detailed changelog than changelog yu can find on Google Play.

This week I release 2 versions of LabelToDo.

Changelogs:

Version 1.1.4
★ New widget tasks list plus (only from Android 3.0): this widget has a scrollable list of elements and more options
★ Widgets improvements:
     • new button to add tasks from list widget
     • widget config page: element order fixed in combobox
     • fixed problem with widget having no elements

Version 1.1.3
★ Bugfixes: there was broken links in left menu on Home page

10 luglio 2013

LabelToDo 1.1.2 Released!!!

Changelog:

Version 1.1.2
★ New top action bar
★ New page for reminders adding
★ Now you can add reminders from tasks list
★ Various improvements

Version 1.1.1
★ New Search function
★ Tasks list widget: now you can choose the widget rows number
★ Buttons to quick add labels and tasks in home page

Version 1.1.0
★ New widget: Tasks list
★ New Logo
★ New functions in page to add and edit tasks

13 giugno 2013

LabelToDo 1.0.3 released

 LabelToDo 1.0.3 on the road!!! Changelog:

Version 1.0.3
★ New widget: Task quick add
★ Larger fonts for notification page
★ Minor bugfixes

Version 1.0.2
★ New widget: Label shortcut on home screen
★ Notification sound choice
★ More options for postpone notifications
★ Bug fixed for landascape screen orientation

Version 1.0.1
★ Custom font size
★ Minor bug fix

Next version
★ New widgets are coming!!!

03 giugno 2013

Android development: shortcut vs widget part 2

Second part of post "Android development: shortcut vs widget", the code.

As from previous post the necessary steps to create a shortcut that user can add to his home screen are 3:
  • create the activity launched when the user adds the shortcut
  • add the previous activity to manifest.xml
  • write the code for previous activity

1. create the activity launched when the user adds the shortcut
This is the simplest task, you have only to create a class that exend Activity, in my case the acticity name is Widget1LabelShortcut.

2. add the previous activity to manifest.xml
You have to add the previous activity Widget1LabelShortcut to manifest.xml. It is a normal activity with an intent-filter as the following code.
Be careful, the shortcut will appear in the list of widgets (or shortcuts depending on the Android version ) with the application name as label . If you want to display a custom name you must add the field label in the manifest, as in the example below. This can be useful for the user to understand what the shortcut makes and if you create multiple shortcuts to avoid confusion.

<activity 
  android:name="com.crbin1.labeltodo.Widget1LabelShortcut"  
  android:configChanges="keyboardHidden|orientation|screenSize"
  android:label="Label shortcut">
  <intent-filter>
    <action android:name="android.intent.action.CREATE_SHORTCUT"/>
    <category android:name="android.intent.category.DEFAULT"/>
  </intent-filter> 
</activity>

3. write the code for activity Widget1LabelShortcut
And now the Activity code to create the shortcut.
In the simplest case this activity is invisible to the user and it only serves to create the shortcut, all the code will be in the method onCreate.
In other cases the activity can have its own ContentView, a layout and respond to user interaction that can customize the shortcut.
The code below with comments should be self explanatory.


  @Override
  protected void onCreate(Bundle savedInstanceState) {
    // You have to create 2 Intents
    
    // Intent #1.  It is the intent that will launch your targer Activity 
    // when user will click the shortcut.
    Intent shortcutIntent = new Intent(this, ActivityTarget.class);
    // You can use this intent to pass parameters to target activity
    // in my app the label id for example
    long labelId; // [...] code to retrieve labelId
    shortcutIntent.putExtra("tid", labelId);
    // Or to set flags
    shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
    
    // Intent #2.  It is the intent used to create shortcut.
    Intent intent = new Intent();
    // This intent must have:
    // --- the previous shortcut intent
    intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
    // --- a name showed in home screen
    String name; // [...] code to retrieve name
    intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, name);
    // --- an icon showed in home screen
    ShortcutIconResource ir = 
        Intent.ShortcutIconResource.fromContext(this, R.drawable.w1);
        intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, ir);
        
        // that's all, now you need to set shortcut and finish activity
        setResult(RESULT_OK, intent);
        finish();

    super.onCreate(savedInstanceState);
  }

31 maggio 2013

Android development: shortcut vs widget

In the next version of LabelToDo there will be the first widget, an icon 1x1 that allows user to launch a "non-launcher activity" of the application. In particular widget launches the activity of Tasks, displaying only the tasks with the label that the user has chosen when he created the widget.

I raised the issue of how to do the widget, initially planning to build a "real widget". Many applications use this solution, but I soon realized that it is not the best solution.

How explained here from an Android framework engineer "Widgets should look like widgets, not like shortcuts". Here is the solution, create a shortcut and not a widget, moreover in the latest versions of the Android shortcuts appear in the same menu of widgets and they are widgets for users.

What are the advantages of a shortcut than a widget to create an icon 1x1 that launches an activity?

- Efficiency, a shortcut does the shortcut job better than a widget
- Graphics, the shortcut has its label and its icon and aligns with the other icons on the home better than a widget that has to be adapted and normally has no label
- Writing code, it is not necessary to adjust the widget, shortcut's code is quiet simple

After this long introduction let's see how to create a shortcut that:
- the user can add to the home screen
- launches an activity
- passes parameters to launched activity

The necessary steps are:
1. create the activity launched when the user adds the shortcut
2. add the previous activity to manifest.xml
3. write the code of the previous activity, in the simplest case activity is invisible to the user, it just serves to create a shortcut. There are cases, like mine, in which the activity requires instead an interaction with user to configure the shortcut before creating it

In each case the activity will:
a. create the intent that will launch the target activity on shortcut clic
b. create another intent that do the shortcut
c. add to previous intent the shortcut's description and icon

All the way here to the theory, in the next post we will see a little code.

29 maggio 2013

LabelToDo 1.0.1 released

New version for LabelToDo, the Android application to manage todo list, appointments, tasks.

The main new feature is the possibility to customize font size, you can now choose the best font size for your taste and device.

23 maggio 2013

Recensione LabelToDo

A 3 giorni dalla pubblicazione su Google Play della sua prima versione oggi LabelToDo ha avuto l'onore di essere recensita sul portale TuttoAndroid.net.

Rimando a questo link per la recensione e ringrazio la redazione del portale per le parole spese.

21 maggio 2013

LabelToDo

E' stata rilasciata sul Google Play la prima versione di LabelToDo .

LabelToDo è un'applicazione per Android per gestire impegni, liste TODO e ricordarsi attività da fare. I punti di forza di LabelToDo sono la semplicità di utilizzo e la potenza nell'organizzare le attività sotto varie prospettive (etichette e priorità). Con i suoi promemoria che non ti lasciano mai solo diventerà il tuo assistente personale per non perderti e non dimenticarti più niente.

Per ogni attività puoi:

- assegnare una o più ETICHETTE (stile Gmail) per organizzarle al meglio e non perderti mai niente. Ogni attività può avere più etichette e ogni etichetta può avere più attività e diventare la tua lista di cose da fare.
- assegnare una PRIORITA' in una scala da 1 a 5 e ricercare o ordinare le attività per priorità.
- assegnare PROMEMORIA che ti avvertiranno di scadenze o ti ricorderanno che è ora di eseguire quell'attività.
- associare un testo per prendere note e appunti sull'attività e non dimenticarsi mai di niente.

******* Pagina sul Blog *******

******* Pagina Google Play *******



02 maggio 2013

Statistiche distribuzioni, un anno di Android ad aprile 2013

Ed ecco pubblicate da Google le statistiche sulle distribuzioni Android relative al mese di aprile 2013.


Non ci sono state come si vede grandi rivoluzioni rispetto al mese scorso, soltanto una lenta progressione di Jelly Bean, meglio apprezzabile nella seguente tabella che aggrega i dati per nome versione invece che per API.


Jelly Bean supera Ice Cream Sandwich ma Gingerbread è ancora lontana. Attendiamo adesso il Google I/O di metà mese, secondo gli ultimi rumors sarà presentato Jelly Bean 4.3 e non il tanto atteso Key Lime Pie 5.0 rimandato forse a fine anno.

Infine la solita tabella che aggrega i dati per macro versione.


Anche qua variazioni impercettibili, con le versioni 4.x che non riescono ad avere la diffusione di cui avrebbero bisogno.

27 aprile 2013

Google Now: scheda sport e ricerche

Due belle novità questa settimana da Google Now.

Innanzitutto è stato riattivata la possibilità di ricerche vocali in italiano, funzione misteriosamente disattivata quasi subito dopo il lancio. Dei comandi vocali in italiano di Google Now ne ho parlato qua.

E' poi finalmente attiva anche da noi la scheda sport, o meglio, è sempre stata attiva ma prima non succedeva niente adesso indica la prossima partita delle squadre scelte. Vediamo cosa succederà durante le partita, immagini i risultati saranno aggiornati in tempo reale.

10 aprile 2013

Statistiche distribuzioni, un anno di Android

Come ogni mese sono uscite le statistiche sulla diffusione delle distribuzioni Android relative a marzo 2013. Non sono mai riuscito a trovare su nessuno sito una serie storica di queste statistiche che vada oltre il confronto con il mese precedente, nella tabella seguente ho ricostruito come è cambiato nell'ultimo anno Android.

La tabella è divisa per versione di API, in realtà spesso accade che la stessa versione abbia più API, vediamo quindi queste statistiche aggregate per nome di distribuzione.

Si nota come Gingerbread abbia toccato il suo massimo proprio in questo periodo dello scorso anno quando era installato in 2 terminali su 3 per poi calare lentamente mese dopo mese, restando tuttavia ancora oggi la distribuzione con la "maggioranza assoluta".

Dall'altra parte, a fronte di un Honeycomb versione di passaggio pensata per i tablet, c'è stata la forte crescita di ICS, adesso arrestatasi con l'uscita di Jelly Bean. E proprio adesso che Jelly Bean inizia ad avere quote importanti di mercato già si vede all'orizzonte la prossima versione che potrebbe ancora rivoluzionare il mondo Android, il cui annuncio è previsto per il Google I/O.

Un'ultima tabella per raggruppare le statistiche per macro versione con il sorpasso avvenuto proprio a marzo delle distribuzioni 4.* sulle 2.*.





07 aprile 2013

Applicazioni news per Android gratuite

Il sistema dell'informazione e delle notizie è stato pesantemente rivoluzionato dall'avvento di Internet e i vari giornali hanno reagito in modi molto diversi a questa rivoluzione. Ciò si riflette anche sulle applicazioni per smartphone che permettono di fruire delle informazioni. In questo post farò una breve recensione di quelle gratuite che secondo me sono le migliori per Android.

Si possono dividere le applicazioni in 4 gruppi:

1. Innanzitutto ci sono le testate giornalistiche che hanno reagito alla rivoluzione del web tentando di vendere le informazioni digitali come fino a ieri vendevano quelle su carta. Non è per esempio possibile leggere le notizie del Corriere della Sera o di Repubblica su smartphone senza pagare un abbonamento, neppure collegandosi al loro sito. E anche le relative applicazioni come "la Repubblica Mobile" sono scaricabili gratuitamente ma poi necessitano di un abbonamento, quindi non ne parlerò perché non realmente gratuite.

2. Altre testate giornalistiche rendono invece tutte le tue notizie disponibili in rete e alcune hanno addirittura una propria applicazione per Android che permette di leggere gli articoli. Fanno parte di questa categoria ANSA e L'Huffington Post per Android.

3. esistono poi applicazioni che sono raccolte di giornali che permettono di sfogliare le notizie dei vari quotidiani in un'unica app scegliendo di volta in volta la fonte preferita, tra questi Quotidiani Italiani , World Newspapers e Currents.

4. infine ci sono applicazioni che raggruppano le notizie per temi invece che per fonte come Flipboards e News Republic.  

ANSA
Tutte le notizie dell'agenzia di stampa aggiornate, applicazione semplice, pulita e molto veloce. Alcuni utenti riportano errori segnalati come problemi di rete che io però sinceramente non ho riscontrato. Assenti impostazioni, widget o notifiche. Minimale.

L'Huffington Post per Android
Grafica molto bella e intuitiva, possibilità di scaricare gli articoli per la lettura offline e di leggere e aggiungere i commenti agli articoli. Mancano le notifiche e hanno tolto i widget. Da avere comunque. 

Quotidiani Italiani
Dà la possibilità di leggere moltissimi giornali anche se in pratica è soltanto un browser che consente di navigare nei siti dei vari giornali, da ciò la lentezza nel caricare le pagine. Grafica non molto bella e nessuna funzione aggiuntiva.

World Newspapers
Come l'applicazione precedente consente di navigare nei siti di molti giornali, a suo favore ha un più alto numero di testate anche straniere, la possibilità di lettura offline e di tradurre tramite Google. Anche in questo caso la grafica non mi piace. Personalmente non trovo molto utili applicazioni che permettono solo di navigare nei siti dei giornali.

Currents
Applicazione targata Google e si vede è di un altro livello. Ottima la grafica e l'esperienza utente. Notizie divise in sezioni con possibilità per ogni sezione di iscriversi a un buon numero di fonti. Lettura offline, traduzioni, widget e sottoscrizione a feed RSS completano quello che è uno dei migliori strumenti per restare aggiornati e informarsi su Android. Da avere.

Flipboards
Applicazione tra le più famose ed acclamate, ottima la grafica. Non mi piace molto la navigazione che propone, mi manca una lista delle notizie tra cui scegliere, il dover ogni volta "girare pagina" lo trovo scomodo. Stesso discorso per il widget, mostra una pagina alla volta. Ottima integrazione invece con i social network. Sopravvalutato per le mie esigenze.

News Republic
E per finire l'applicazione che personalmente preferisco. Notizie divise in temi, homepage personalizzabile, lista delle notizie per ogni tema, grafica molto bella, widget per restare sempre aggiornati con lista notizie del tema che si seleziona e quindi personalizzabile al massimo. E altro punto di forza le notifiche selezionabili per ogni singolo tema dove il tema può addirittura essere il tuo piccolo paesino e un personaggio famoso e in più la possibilità di avere notifiche per le "ultimissime", cioè quelle poche notizie più importanti della giornata. Indispensabile.

04 aprile 2013

Google Search e Google Now finalmente in italiano, ecco alcuni comandi.



Con l'ultimo aggiornamento di ieri 3 aprile finalmente è stato aggiunto il supporto alla lingua italiana a Google Search e quindi a Google Now. La versione italiana è sicuramente ancora molto lontana da quella inglese ma adesso questi strumenti sono finalmente utilizzabili anche nella nostra lingua.

Vediamo alcuni comandi accettati in italiano.

Innanzitutto i comandi: "chiama Tizio", "scrivi mail" o "scrivi messaggio" saranno forse i più utilizzati, ma per chi usa lo smartphone come agenda fondamentali anche "prendi nota" e "aggiungi evento".

Poi i comandi collegati alle mappe e alla navigazione come "mappa di Firenze" o "vai a Milano viale lorenteggio".

Sarà possibile interrogare il telefono e ricevere anche risposte vocali con comandi come "cosa vuol dire lampadina", "popolazione della Svizzera", "l'autore dei Promessi sposi" o "l'età di Balotelli".

Si potrà inoltre sapere l'ora nel mondo con "ora in Cina" o il tempo attuale con il semplice comando "tempo" o navigare con "apri google.com".

Per avere un calcolo al volo si può chiedere "3+5" o "radice quadrata di 351".

Infine anche se in Italia non è ancora attiva la scheda Sport di Google Now con il comando "prossima partita Fiorentina" si saprà con risposta vocale il calendario della squadra desiderata.

Se avete provato altri comandi utili potete segnalarli nei commenti.