Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 30 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 30 Rev 39
Línea 27... Línea 27...
27
 
27
 
Línea 28... Línea 28...
28
            if (intent.getAction().equals(Constants.BROADCAST_TYPE_NOTIFICATION)) {
28
            if (intent.getAction().equals(Constants.BROADCAST_TYPE_NOTIFICATION)) {
29
 
29
 
-
 
30
                String title = intent.getExtras().getString("title");
Línea 30... Línea 31...
30
                String title = intent.getExtras().getString("title");
31
                String body = intent.getExtras().getString("body");
31
                String body = intent.getExtras().getString("body");
32
                String url = intent.getExtras().getString("url");
32
 
33
 
Línea 41... Línea 42...
41
                Log.d(TAG, "Body : " + body);
42
                Log.d(TAG, "Body : " + body);
42
                Log.d(TAG, "New Capsules : " + new_capsules);
43
                Log.d(TAG, "New Capsules : " + new_capsules);
Línea 43... Línea 44...
43
 
44
 
44
 
45
 
Línea 45... Línea 46...
45
                if(context instanceof ITwoGetSkills) {
46
                if(context instanceof ITwoGetSkills) {
46
                    ((ITwoGetSkills) context).showFcmNotification(title, body, new_capsules);
47
                    ((ITwoGetSkills) context).showFcmNotification(title, body, new_capsules,url);