Smartphones sharing information with their applications