IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Android Discussion :

Gestion des évènements


Sujet :

Android

  1. #1
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut Gestion des évènements
    Bonjour,
    J'essaie désespérément de créer et intercepter un événement dans une app android mais c'est sans succès malgré les recherches effectuées.
    Avec plus ou moins de complexité, les exemples que j'ai pu trouver ne sont pas suffisamment simplistes pour bien comprendre le mécanisme.
    Développeur VB.net habituellement, j'ai plutôt l'habitude de créer des événements de façon intuitive sans me poser de questions.
    Je débute en Java et ne suis pas encore très à l'aise avec la philosophie de ce langage.

    Pour en revenir à mon souci, j'ai 2 classes :
    Une classe MyCustomObject qui est censée faire remonter les events
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    public class MyCustomObject {
        public interface MyCustomObjectListener {
            void onStart(int maxValue);
            void onLoop(int i);
            void onEnd();
        }
        private MyCustomObjectListener listener;
        public MyCustomObject() {
            this.listener = null;
            loadDatas();
        }
        public void setCustomObjectListener(MyCustomObjectListener listener) {
            this.listener = listener;
        }
        public void loadDatas() {
            try {
                if (listener != null) listener.onStart(1000);
                for (int i = 0; i < 1000; i++) {
                    if (listener != null) listener.onLoop(i);
                }
                if (listener != null) listener.onEnd();
     
            } catch (Exception e) {
                Log.i("EWWO", e.getMessage());
            }
        }
    }
    Et mon Activity qui instancie cette classe qui fait appel à la methode LoadData qui théoriquement, devrait déclencher le mécanisme.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    public class Activity_Test extends Activity {
     
        TextView lblResult;
        Button btTest;
     
     
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_test);
     
            lblResult = (TextView) findViewById(R.id.lblResult);
            btTest = (Button) findViewById(R.id.btTest);
     
     
            btTest.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    try {
                        lblResult.setText("");
                        MyCustomObject object = new MyCustomObject();
                        object.setCustomObjectListener(new MyCustomObject.MyCustomObjectListener() {
                            @Override
                            public void onStart(int maxValue) {
                                lblResult.setText("maxValue = " + maxValue);
                            }
     
                            @Override
                            public void onLoop(int i) {
                                lblResult.setText("En traitement " + i);
                            }
     
                            @Override
                            public void onEnd() {
                                lblResult.setText("Terminé");
                            }
                        });
                    } catch (Exception e) {
                        Log.i("EWOO", e.getMessage());
                    }
     
                }
            });
     
        }
     
    }
    Je ne crois pas pouvoir faire plus simple au niveau du code.
    Impossible d'accéder aux événements lors du debug.

    Merci de votre aide

  2. #2
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Ben vu le code ca devait bien appelé ta classe anonyme.

    TU as quoi comme souci quand tu débogues ?

  3. #3
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    Bonjour et merci de t’intéresser à mon problème.
    J'ai mis des points d'arret sur les events et impossible d'y accéder.

  4. #4
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Tu as quoi dans ton logcat ?

    Tu rentes dans le click de ton bouton déjà ?

  5. #5
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    Je rentre bien sur le setOnClickListener du bouton
    J'ai mis un try/catch sur la totalité du traitement comme tu as pu le voir dans la méthode plus haut mais je ne stoppe pas sur le point d'arrêt du catch.

    le logCat
    Oops, à quoi ca peut bien correspondre ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    05-19 10:23:55.829     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.829     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:55.897     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.897     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:55.913     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.913     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.055     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.055     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.164     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.164     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.183     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.184     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.237     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.237     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.241     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.241     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.263     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.263     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.329     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.329     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.374     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.374     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.378     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.378     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.400     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.400     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.406     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.406     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.761     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.761     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.827     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.827     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.828     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.828     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.940     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.941     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:55.829     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.829     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:55.897     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.897     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:55.913     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.913     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.055     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.055     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.164     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.164     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.183     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.184     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.237     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.237     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.241     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.241     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.263     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.263     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.329     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.329     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.374     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.374     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.378     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.378     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.400     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.400     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.406     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.406     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.761     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.761     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.827     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.827     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.828     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.828     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.940     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.941     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e

  6. #6
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Normalement il me faudrait le logcat filtré que sur le nom de package de ton application, c'est en gros la console d'écoute des messages systèmes. Tous tes logs seront intercepté par le logcat.

    Je ne vois pas quoi pourrais poser problème tu perds le debug a quel endroit ?

  7. #7
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    Lors du debug, je ne vais pas plus loin que ce qui suit. De toute facon, on sort de la procédure par la suite.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    object.setCustomObjectListener(new MyCustomObject.MyCustomObjectListener() {
    Le logcat
    J'ai du mal à le lire et surtout le comprendre. Je suis sur Android Studio.
    Je fais un clear all avant de lancer le process. Rien ne s'inscrit (Log Level : Error).
    Dès que je change le log level et que je reviens, les infos ci-dessous se réinscrivent.
    Du mal à comprendre comment ca fonctionne :-(

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    05-19 10:23:48.975    1241-1241/system_process E/PowerManagerService-JNI﹕ Couldn't load power module (No such file or directory)
    05-19 10:23:49.010     929-1055/? E/SurfaceFlinger﹕ ro.sf.lcd_density must be defined as a build property
    05-19 10:23:53.202    1241-1241/system_process E/ConsumerIrService﹕ Can't open consumer IR HW Module, error: -2
    05-19 10:23:53.471    1241-1314/system_process E/EventHub﹕ could not get driver version for /dev/input/mouse0, Not a typewriter
    05-19 10:23:53.474    1241-1314/system_process E/EventHub﹕ could not get driver version for /dev/input/mice, Not a typewriter
    05-19 10:23:54.056    1241-1241/system_process E/WifiConfigStore﹕ associatedPartialScanPeriodMilli set to 20000
    05-19 10:23:54.517    1241-1241/system_process E/Fingerprint-JNI﹕ Can't open fingerprint HW Module, error: -2
    05-19 10:23:54.603    1241-1241/system_process E/SQLiteLog﹕ (283) recovered 17 frames from WAL file /data/system/locksettings.db-wal
    05-19 10:23:55.293    1241-1333/system_process E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:23:55.328    1241-1333/system_process E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:23:55.330    1241-1241/system_process E/InputMethodManagerService﹕ Ignoring setImeWindowStatus due to an invalid token. uid:1000 token:null
    05-19 10:23:55.421    1241-1316/system_process E/VoldConnector﹕ NDC Command {5 volume mount /storage/sdcard} took too long (516ms)
    05-19 10:23:55.481    1241-1241/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
    05-19 10:23:55.481    1241-1241/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
    05-19 10:23:55.673     940-1428/? E/WVMExtractor﹕ Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
    05-19 10:23:55.681    1241-1241/system_process E/FlpHardwareProvider﹕ Error hw_get_module 'flp': -2
    05-19 10:23:55.681    1241-1241/system_process E/LocationManagerService﹕ FLP HAL not supported
    05-19 10:23:55.811    1241-1241/system_process E/ActivityRecognitionHardware﹕ Error hw_get_module: -2
    05-19 10:23:55.829     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.829     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:55.830    1241-1241/system_process E/LocationManagerService﹕ Hardware Activity-Recognition not supported.
    05-19 10:23:55.855    1241-1262/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
    05-19 10:23:55.897     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.897     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:55.913     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:55.913     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.055     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.055     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.164     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.164     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.183     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.184     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.237     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.237     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.241     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.241     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.263     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.263     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.329     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.329     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.374     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.374     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.378     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.378     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.400     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.400     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.406     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000101a
    05-19 10:23:56.406     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000101a
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.415     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.423     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.428     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.476     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.623     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.631     940-1447/? E/OMXNodeInstance﹕ OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
    05-19 10:23:56.761     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.761     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.827     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.827     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.828     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.828     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:56.940     940-1447/? E/OMXNodeInstance﹕ getParameter(100663311) ERROR: 0x8000100e
    05-19 10:23:56.941     940-1447/? E/OMXNodeInstance﹕ getParameter(100663297) ERROR: 0x8000100e
    05-19 10:23:57.009    1478-1478/com.android.server.telecom E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:23:57.990    1478-1478/com.android.server.telecom E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:23:58.084    1429-1429/? E/SQLiteLog﹕ (283) recovered 41 frames from WAL file /data/data/com.android.providers.media/databases/external.db-wal
    05-19 10:24:00.210    1660-1660/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 10:24:00.210    1660-1660/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 10:24:00.586    1494-1710/com.android.phone E/MmsService﹕ MmsConfigManager.load -- empty getActiveSubInfoList
    05-19 10:24:02.145    1361-1361/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:24:02.306    1361-1361/com.android.systemui E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:24:07.145    1845-1854/com.google.process.gapps E/StrictMode﹕ A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
        java.lang.Throwable: Explicit termination method 'close' not called
                at dalvik.system.CloseGuard.open(CloseGuard.java:184)
                at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:807)
                at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
                at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
                at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:1142)
                at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:267)
                at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
                at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
                at com.google.android.gsf.gservices.GservicesProvider.computeLocalDigestAndUpdateValues(GservicesProvider.java:450)
                at com.google.android.gsf.gservices.GservicesProvider.onCreate(GservicesProvider.java:185)
                at android.content.ContentProvider.attachInfo(ContentProvider.java:1686)
                at android.content.ContentProvider.attachInfo(ContentProvider.java:1655)
                at android.app.ActivityThread.installProvider(ActivityThread.java:4964)
                at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559)
                at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499)
                at android.app.ActivityThread.access$1500(ActivityThread.java:144)
                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
                at android.os.Handler.dispatchMessage(Handler.java:102)
                at android.os.Looper.loop(Looper.java:135)
                at android.app.ActivityThread.main(ActivityThread.java:5221)
                at java.lang.reflect.Method.invoke(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:372)
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
    05-19 10:24:07.376    1845-1874/com.google.process.gapps E/Backup﹕ [LegacyBackupAccountManager] Fail to get legacy transport context.
        android.content.pm.PackageManager$NameNotFoundException: Application package com.google.android.backup not found
                at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2139)
                at android.app.ContextImpl.createPackageContext(ContextImpl.java:2115)
                at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:658)
                at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:658)
                at com.google.android.gms.backup.an.<init>(SourceFile:47)
                at com.google.android.gms.backup.BackupTransportMigratorService.a(SourceFile:146)
                at com.google.android.gms.backup.BackupTransportMigratorService.onHandleIntent(SourceFile:81)
                at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
                at android.os.Handler.dispatchMessage(Handler.java:102)
                at android.os.Looper.loop(Looper.java:135)
                at android.os.HandlerThread.run(HandlerThread.java:61)
    05-19 10:24:08.468    1845-1889/com.google.process.gapps E/Backup﹕ [LegacyBackupAccountManager] Fail to get legacy transport context.
        android.content.pm.PackageManager$NameNotFoundException: Application package com.google.android.backup not found
                at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2139)
                at android.app.ContextImpl.createPackageContext(ContextImpl.java:2115)
                at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:658)
                at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:658)
                at com.google.android.gms.backup.an.<init>(SourceFile:47)
                at com.google.android.gms.backup.a.a(SourceFile:66)
                at com.google.android.gms.backup.c.a(SourceFile:40)
                at com.google.android.gms.backup.b.a(SourceFile:69)
                at com.google.android.gms.backup.b.a(SourceFile:40)
                at com.google.android.gms.backup.BackupAccountNotifierService.onHandleIntent(SourceFile:76)
                at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
                at android.os.Handler.dispatchMessage(Handler.java:102)
                at android.os.Looper.loop(Looper.java:135)
                at android.os.HandlerThread.run(HandlerThread.java:61)
    05-19 10:24:12.209    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.226    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.237    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.335    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.341    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.380    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.387    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.419    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.458    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:12.475    1241-1978/system_process E/SharedPreferencesImpl﹕ Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
    05-19 10:24:13.118    1804-1804/com.google.android.gms.persistent E/GmsWearableLS﹕ GoogleApiClient connection failed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
    05-19 10:24:13.477    2032-2032/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 10:24:13.477    2032-2032/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 10:24:13.548    2032-2040/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1
    05-19 10:24:15.268    1494-1494/com.android.phone E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:24:25.136    1494-1494/com.android.phone E/PhoneInterfaceManager﹕ [PhoneIntfMgr] getIccId: ICC ID is null or empty.
    05-19 10:24:25.757      929-929/? E/EGL_emulation﹕ tid 929: eglCreateSyncKHR(1237): error 0x3004 (EGL_BAD_ATTRIBUTE)
    05-19 10:24:27.518    1241-1262/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
    05-19 10:24:27.518    1241-1262/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
    05-19 10:24:27.981    1241-1329/system_process E/ConnectivityService﹕ Exception in setupDataActivityTracking java.lang.IllegalStateException: command '16 idletimer add eth0 5 0' failed with '400 16 Failed to add interface'
    05-19 10:24:28.248    1241-1262/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
    05-19 10:24:28.248    1241-1262/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
    05-19 10:24:28.250    1241-1262/system_process E/GpsLocationProvider﹕ no AGPS interface in set_agps_server
    05-19 10:24:28.250    1241-1262/system_process E/GpsLocationProvider﹕ no GPS configuration interface in configuraiton_update
    05-19 10:24:28.662    1429-2176/? E/SQLiteLog﹕ (283) recovered 105 frames from WAL file /data/data/com.android.providers.media/databases/internal.db-wal
    05-19 10:24:30.305    1804-1804/com.google.android.gms.persistent E/GmsWearableLS﹕ GoogleApiClient connection failed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
    05-19 10:24:30.569    1804-2269/com.google.android.gms.persistent E/copresGcore﹕ WifiMedium: Wifi is not supported!!
    05-19 10:24:30.572    1804-2269/com.google.android.gms.persistent E/BluetoothAdapter﹕ Bluetooth binder is null
    05-19 10:24:31.305    1804-2269/com.google.android.gms.persistent E/copresGcore﹕ ObfuscatedGaiaIdLookup: Could not load ObfuscatedGaiaIds: /data/data/com.google.android.gms/files/copresence_gaia_id: open failed: ENOENT (No such file or directory)
    05-19 14:41:25.798  15530-15530/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:41:25.798  15530-15530/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:41:31.251    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 14:41:31.251    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 14:41:31.389    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 14:41:31.389    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 14:41:31.908  15609-15609/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:41:31.908  15609-15609/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:41:31.957  15609-15617/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1
    05-19 14:41:41.517   2210-15598/com.google.android.gms E/ConfigFetchTask﹕ failed to connect to config service
    05-19 14:41:41.517   2210-15598/com.google.android.gms E/ConfigFetchTask﹕ failed to build request; aborting config fetch
    05-19 14:42:12.931  15944-15944/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:42:12.931  15944-15944/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:42:13.644  15957-15957/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:42:13.644  15957-15957/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:44:50.668  17103-17103/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:44:50.668  17103-17103/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:44:55.433    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 14:44:55.433    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 14:44:55.561    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 14:44:55.561    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 14:44:56.018  17167-17167/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:44:56.018  17167-17167/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:48:15.526  18589-18589/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:48:15.526  18589-18589/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:48:20.749    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 14:48:20.749    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 14:48:20.964    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 14:48:20.964    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 14:48:21.349  18665-18665/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:48:21.349  18665-18665/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:48:21.384  18665-18673/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1
    05-19 14:49:57.319  19373-19373/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:49:57.319  19373-19373/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 14:49:58.490  19392-19392/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 14:49:58.490  19392-19392/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:04:14.731  25438-25438/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:04:14.731  25438-25438/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:04:14.988    1241-1313/system_process E/InputDispatcher﹕ channel '1d28bc40 fr.qortex.actio/fr.qortex.actio.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 15:04:19.901    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 15:04:19.901    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 15:04:20.109    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 15:04:20.109    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 15:04:20.531  25508-25508/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:04:20.531  25508-25508/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:34:19.622      893-893/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:34:19.622      893-893/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:34:19.666    1241-1313/system_process E/InputDispatcher﹕ channel '4366c08 fr.qortex.actio/fr.qortex.actio.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 15:34:19.666    1241-1313/system_process E/InputDispatcher﹕ channel '2d892faa fr.qortex.actio/fr.qortex.actio.Activity_Download (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 15:34:20.093      907-907/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:34:20.093      907-907/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:34:20.632      944-952/? E/art﹕ Failed writing handshake bytes (-1 of 14): Broken pipe
    05-19 15:38:40.649    2324-2324/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:38:40.649    2324-2324/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:38:40.691    1241-1313/system_process E/InputDispatcher﹕ channel '1878501f fr.qortex.actio/fr.qortex.actio.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 15:38:40.707    1241-1313/system_process E/InputDispatcher﹕ Received spurious receive callback for unknown input channel.  fd=177, events=0x9
    05-19 15:38:41.187    2349-2349/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:38:41.187    2349-2349/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:39:20.360    1241-1340/system_process E/PMBA﹕ No global metadata in state file!
    05-19 15:46:48.499    5871-5871/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:46:48.499    5871-5871/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:46:52.941    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 15:46:52.941    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 15:46:53.461    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 15:46:53.461    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 15:46:53.786    5928-5928/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:46:53.786    5928-5928/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:54:49.912    9353-9353/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:54:49.915    9353-9353/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:54:54.394    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 15:54:54.394    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 15:54:54.453    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 15:54:54.453    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 15:54:54.963    9416-9416/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 15:54:54.963    9416-9416/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 15:55:04.593    2210-9408/com.google.android.gms E/ConfigFetchTask﹕ failed to connect to config service
    05-19 15:55:04.593    2210-9408/com.google.android.gms E/ConfigFetchTask﹕ failed to build request; aborting config fetch
    05-19 16:07:18.896  14664-14664/fr.qortex.actio E/AndroidRuntime﹕ FATAL EXCEPTION: main
        Process: fr.qortex.actio, PID: 14664
        java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{fr.qortex.actio/fr.qortex.actio.Activity_Download}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
                at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
                at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
                at android.app.ActivityThread.access$800(ActivityThread.java:144)
                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
                at android.os.Handler.dispatchMessage(Handler.java:102)
                at android.os.Looper.loop(Looper.java:135)
                at android.app.ActivityThread.main(ActivityThread.java:5221)
                at java.lang.reflect.Method.invoke(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:372)
                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
         Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
                at android.app.Activity.findViewById(Activity.java:2071)
                at fr.qortex.actio.Activity_Download.<init>(Activity_Download.java:42)
                at java.lang.reflect.Constructor.newInstance(Native Method)
                at java.lang.Class.newInstance(Class.java:1572)
                at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
                at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199)
    ************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
    ************at android.app.ActivityThread.access$800(ActivityThread.java:144)
    ************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
    ************at android.os.Handler.dispatchMessage(Handler.java:102)
    ************at android.os.Looper.loop(Looper.java:135)
    ************at android.app.ActivityThread.main(ActivityThread.java:5221)
    ************at java.lang.reflect.Method.invoke(Native Method)
    ************at java.lang.reflect.Method.invoke(Method.java:372)
    ************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    ************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
    05-19 16:08:44.572  15341-15341/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:08:44.572  15341-15341/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:08:48.650    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:08:48.650    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:08:48.874    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:08:48.874    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:08:49.476  15399-15399/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:08:49.476  15399-15399/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:08:49.561  15409-15416/? E/art﹕ Failed sending reply to debugger: Broken pipe
    05-19 16:09:05.988  15409-15547/fr.qortex.actio E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #2
        Process: fr.qortex.actio, PID: 15409
        java.lang.RuntimeException: An error occured while executing doInBackground()
                at android.os.AsyncTask$3.done(AsyncTask.java:300)
                at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
                at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
                at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:818)
         Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
                at android.os.Handler.<init>(Handler.java:200)
                at android.os.Handler.<init>(Handler.java:114)
                at android.widget.Toast$TN.<init>(Toast.java:336)
                at android.widget.Toast.<init>(Toast.java:100)
                at android.widget.Toast.makeText(Toast.java:250)
                at fr.qortex.actio.Activity_Download$InsertClients.doInBackground(Activity_Download.java:297)
                at fr.qortex.actio.Activity_Download$InsertClients.doInBackground(Activity_Download.java:272)
                at android.os.AsyncTask$2.call(AsyncTask.java:288)
                at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    ************at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    ************at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    ************at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    ************at java.lang.Thread.run(Thread.java:818)
    05-19 16:09:11.305    1241-1313/system_process E/InputDispatcher﹕ channel '2639ba4b fr.qortex.actio/fr.qortex.actio.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 16:09:53.270  15896-15896/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:09:53.270  15896-15896/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:09:53.306  15896-15905/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1
    05-19 16:09:53.643  15908-15908/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:09:53.643  15908-15908/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:09:53.708  15908-15918/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1
    05-19 16:12:33.285  17056-17056/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:12:33.285  17056-17056/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:12:39.780    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:12:39.780    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:12:40.000    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:12:40.000    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:12:41.053  17138-17138/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:12:41.053  17138-17138/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:12:58.252  17181-17181/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:12:58.252  17181-17181/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:13:03.529    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:13:03.529    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:13:03.773    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:13:03.773    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:13:04.221  17249-17249/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:13:04.221  17249-17249/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:14:27.839  17888-17888/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:14:27.839  17888-17888/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:14:27.876    1241-1313/system_process E/InputDispatcher﹕ channel '3fae848a fr.qortex.actio/fr.qortex.actio.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 16:14:27.876    1241-1313/system_process E/InputDispatcher﹕ channel '3a575ce1 fr.qortex.actio/fr.qortex.actio.Activity_Download (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 16:14:27.877    1241-1255/system_process E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!!
    05-19 16:14:27.881    1241-1268/system_process E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!!
    05-19 16:14:27.889    1241-1263/system_process E/WindowState﹕ getStack: Window{3fae848a u0 fr.qortex.actio/fr.qortex.actio.MainActivity} couldn't find taskId=670 Callers=com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:9603 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:8662 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:8604 com.android.server.wm.WindowManagerService.executeAppTransition:4107
    05-19 16:14:27.890    1241-1263/system_process E/WindowState﹕ getStack: Window{3fae848a u0 fr.qortex.actio/fr.qortex.actio.MainActivity} couldn't find taskId=670 Callers=com.android.server.wm.WindowState.getDisplayContent:762 com.android.server.wm.WindowState.getDisplayId:767 com.android.server.wm.InputMonitor.updateInputWindowsLw:288 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:9936
    05-19 16:14:27.890    1241-1263/system_process E/WindowState﹕ getStack: Window{3fae848a u0 fr.qortex.actio/fr.qortex.actio.MainActivity} couldn't find taskId=670 Callers=com.android.server.wm.WindowState.getStackBounds:792 com.android.server.wm.InputMonitor.addInputWindowHandleLw:180 com.android.server.wm.InputMonitor.updateInputWindowsLw:308 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:9936
    05-19 16:14:27.890    1241-1263/system_process E/WindowState﹕ getStack: Window{3fae848a u0 fr.qortex.actio/fr.qortex.actio.MainActivity} couldn't find taskId=670 Callers=com.android.server.wm.DisplayContent.setTouchExcludeRegion:237 com.android.server.wm.WindowManagerService.setFocusedStackFrame:3957 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10008 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:8662
    05-19 16:14:27.897  17888-17898/? E/art﹕ Thread attaching while runtime is shutting down: Binder_2
    05-19 16:14:27.916   1241-15123/system_process E/WindowState﹕ getStack: Window{3fae848a u0 fr.qortex.actio/fr.qortex.actio.MainActivity} couldn't find taskId=670 Callers=com.android.server.wm.WindowState.getDisplayContent:762 com.android.server.wm.WindowState.getWindowList:1325 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2739 com.android.server.wm.WindowManagerService.removeWindowLocked:2640
    05-19 16:14:27.916   1241-15123/system_process E/WindowState﹕ getStack: Window{3fae848a u0 fr.qortex.actio/fr.qortex.actio.MainActivity} couldn't find taskId=670 Callers=com.android.server.wm.WindowState.getDisplayContent:762 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2744 com.android.server.wm.WindowManagerService.removeWindowLocked:2640 com.android.server.wm.WindowState$DeathRecipient.binderDied:1116
    05-19 16:14:28.359  17901-17901/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:14:28.359  17901-17901/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:20:18.840  20407-20407/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:20:18.840  20407-20407/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:20:23.456    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:20:23.456    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:20:23.700    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    05-19 16:20:23.700    1845-1845/com.google.process.gapps E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    05-19 16:20:24.151  20471-20471/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:20:24.151  20471-20471/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:50:04.551      647-647/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:50:04.551      647-647/? E/android.os.Debug﹕ failed to load memtrack module: -2
    05-19 16:50:04.619    1241-1313/system_process E/InputDispatcher﹕ channel '19d5ac07 fr.qortex.actio/fr.qortex.actio.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 16:50:04.622    1241-1313/system_process E/InputDispatcher﹕ channel '19ce9153 fr.qortex.actio/fr.qortex.actio.Activity_Test (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-19 16:50:05.136      663-663/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
    05-19 16:50:05.136      663-663/? E/android.os.Debug﹕ failed to load memtrack module: -2

  8. #8
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Tu peux filtrer le logcat par nom de package, fais le avec le tien.

    Donc tu ne rentres jamais dans la méthode onClick ?

  9. #9
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    Oui, je rentre dans le OnClick

    Voici le logcat filtré sur fr.qortex.actio
    Je ne comprends pas pourquoi il me parle d'une méthode doInBackground() (FATAL EXCEPTION) qui se trouve dans une autre activity que je n'ai même pas encore instanciée.
    L'ensemble des activities de l'App fonctionne.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    05-20 13:20:02.099    1875-4436/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
        Process: fr.qortex.actio, PID: 1875
        java.lang.RuntimeException: An error occured while executing doInBackground()
                at android.os.AsyncTask$3.done(AsyncTask.java:300)
                at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
                at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
                at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:818)
         Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
                at android.os.Handler.<init>(Handler.java:200)
                at android.os.Handler.<init>(Handler.java:114)
                at android.widget.Toast$TN.<init>(Toast.java:336)
                at android.widget.Toast.<init>(Toast.java:100)
                at android.widget.Toast.makeText(Toast.java:250)
                at fr.qortex.actio.Activity_Download$DownloadFileFromURL.doInBackground(Activity_Download.java:258)
                at fr.qortex.actio.Activity_Download$DownloadFileFromURL.doInBackground(Activity_Download.java:201)
                at android.os.AsyncTask$2.call(AsyncTask.java:288)
                at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    ************at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    ************at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    ************at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    ************at java.lang.Thread.run(Thread.java:818)
    voici le code java de mon activity
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    package fr.qortex.actio;
     
    import android.os.Bundle;
    import android.os.Environment;
    import android.support.v7.app.AppCompatActivity;
    import android.util.Log;
    import android.view.View;
    import android.widget.Button;
    import android.widget.TextView;
     
    import java.util.ArrayList;
     
    public class Activity_Test extends AppCompatActivity{
     
        TextView lblResult;
        TextView lblInfos;
        Button btArticles;
        Button btClients;
        Button btClear;
     
     
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_test);
            //String rep = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).toString();
            MyCustomObject object = new MyCustomObject();
     
            // Get the EditText and Button References
     
            lblResult = (TextView) findViewById(R.id.lblResult);
            lblInfos = (TextView) findViewById(R.id.lblInfos);
            btClients = (Button) findViewById(R.id.btClients);
            btArticles = (Button) findViewById(R.id.btArticles);
            btClear = (Button) findViewById(R.id.btClear);
     
            btClients.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    lblInfos.setText("----- CLIENTS -----");
                    String fileName = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).toString()+"/qortex.actio.clients.xml";
                    XmlParser parser = new XmlParser(fileName, XmlParser.eFile.CLI);
                    ArrayList<oClient> clients;
                    clients = parser.clients;
                    oClient cli;
                    String texte="";
     
                    for (int i = 0; i < clients.size(); i++) {
                        cli = new oClient();
                        cli = clients.get(i);
                        texte += cli.num+" "+cli.nom+"\n";
                    }
                    lblResult.setText(texte);
                }
            });
            btArticles.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    lblInfos.setText("----- ARTICLES -----");
                    String fileName = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).toString()+"/qortex.actio.articles.xml";
                    XmlParser parser = new XmlParser(fileName, XmlParser.eFile.ART);
                    ArrayList<oArticle> articles;
                    articles = parser.articles;
                    oArticle art;
                    String texte="";
     
                    for (int i = 0; i < articles.size(); i++) {
                        art = new oArticle();
                        art = articles.get(i);
                        texte += art.reference+" "+art.designation+"\n";
                    }
                    lblResult.setText(texte);
     
                }
            });
            btClear.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    try {
                        lblResult.setText("");
                        MyCustomObject object = new MyCustomObject();
                        object.setCustomObjectListener(new MyCustomObject.MyCustomObjectListener() {
                            @Override
                            public void onStart(int maxValue) {
                                lblInfos.setText("maxValue = " + maxValue);
                            }
     
                            @Override
                            public void onLoop(int i) {
                                lblInfos.setText("En traitement " + i);
                            }
     
                            @Override
                            public void onEnd() {
                                lblInfos.setText("Terminé");
                            }
                        });
                    } catch (Exception e) {
                        Log.i("EWOO", e.getMessage());
                    }
     
                }
            });
     
        }
     
    }
    le code xml de mon activity
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
        android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        android:paddingBottom="@dimen/activity_vertical_margin"
        tools:context="fr.qortex.actio.Activity_Test"
        android:orientation="vertical"
        android:weightSum="1"
        android:background="@mipmap/fd">
     
        <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
     
            <Button
                android:id="@+id/btArticles"
                android:text="Articles"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />
     
            <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Clients"
                android:id="@+id/btClients" />
     
            <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Clear"
                android:id="@+id/btClear" />
        </LinearLayout>
     
        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:text="lblInfos"
            android:id="@+id/lblInfos" />
     
        <TextView
            android:id="@+id/lblResult"
            android:layout_width="fill_parent"
            android:layout_height="match_parent"
            android:scrollbars = "vertical"
            android:textIsSelectable="true" />
     
    </LinearLayout>
    et le code de ma classe java MyCustomObject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    package fr.qortex.actio;
     
    import android.util.Log;
     
    import java.util.EventListener;
     
    /**
     * Created by Gerald on 17/05/2015.
     */
    public class MyCustomObject implements EventListener{
        public interface MyCustomObjectListener {
            void onStart(int maxValue);
            void onLoop(int i);
            void onEnd();
        }
        private MyCustomObjectListener listener;
        public MyCustomObject() {
            this.listener = null;
            loadDatas();
        }
        public void setCustomObjectListener(MyCustomObjectListener listener) {
            this.listener = listener;
        }
        public void loadDatas() {
            try {
                if (listener != null) listener.onStart(1000);
                for (int i = 0; i < 1000; i++) {
                    if (listener != null) listener.onLoop(i);
                }
                if (listener != null) listener.onEnd();
     
            } catch (Exception e) {
                Log.i("EWWO", e.getMessage());
            }
        }
    }

    J'ai supprimé les Toast dans le DoInBackground

  10. #10
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    OK si tu rentres dans le onClick maintenant est e que tu remontes bien dans le listener ?

    Dans la class anonyme ?

    Et est ce que les méthode de ton interface sont bien appelés ?

  11. #11
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    Oui, je rentre dans la méthode
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    public void setCustomObjectListener(MyCustomObjectListener listener) {
            this.listener = listener;
        }
    Et aussi dans le constructeur
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    public MyCustomObject() {
            this.listener = null;
            loadDatas();
        }

  12. #12
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    En fait, en debuggant plus correctement, je me suis apercu que le listener était toujours == null.
    Il manque un truc dans mon code pour l'initialiser mais je ne sais pas quoi.

  13. #13
    Expert confirmé

    Avatar de Feanorin
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    4 589
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 4 589
    Par défaut
    Je sais je n'avais pas percuté avant.

    Tu fais le loadDatas avant de faire ton setListener.

    Donc n'appelle pas la fonction loadDatas dans le constructeur mais dans une méthode init.

    Du genre :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    public class MyCustomObject {
        public interface MyCustomObjectListener {
            void onStart(int maxValue);
            void onLoop(int i);
            void onEnd();
        }
        private MyCustomObjectListener listener;
        public MyCustomObject() {
            this.listener = null;
     
        }
     
         public void init() {
            loadDatas();
         }
     
        public void setCustomObjectListener(MyCustomObjectListener listener) {
            this.listener = listener;
        }
        public void loadDatas() {
            try {
                if (listener != null) listener.onStart(1000);
                for (int i = 0; i < 1000; i++) {
                    if (listener != null) listener.onLoop(i);
                }
                if (listener != null) listener.onEnd();
     
            } catch (Exception e) {
                Log.i("EWWO", e.getMessage());
            }
        }
    }
    Puis appelle le comme cela :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    MyCustomObject object = new MyCustomObject();
                        object.setCustomObjectListener(new MyCustomObject.MyCustomObjectListener() {
                            @Override
                            public void onStart(int maxValue) {
                                lblResult.setText("maxValue = " + maxValue);
                            }
     
                            @Override
                            public void onLoop(int i) {
                                lblResult.setText("En traitement " + i);
                            }
     
                            @Override
                            public void onEnd() {
                                lblResult.setText("Terminé");
                            }
                        });
                        object .init();
                    } catch (Exception e) {
                        Log.i("EWOO", e.getMessage());
                    }
    Où alors passe ton listener dans le constructeur.

  14. #14
    Membre chevronné Avatar de ma5t3r
    Homme Profil pro
    Développeur freelance
    Inscrit en
    Mai 2015
    Messages
    320
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur freelance
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2015
    Messages : 320
    Par défaut
    Eurêka !! tu as trouvé :-)
    Merci beaucoup.

    Tu fais le loadDatas avant de faire ton setListener.
    Donc n'appelle pas la fonction loadDatas dans le constructeur mais dans une méthode init.
    Exact, j'avais beau appeler le constructeur, ca ne pouvait pas fonctionner. J'ai pas fais gaffe.
    Une erreur bête.

    Malgré tout, je pense que ce post va intéresser pas mal de monde vu les exemples présentés sur le net.

    Encore merci pour le temps que tu as passé à m'aider.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [XML] [EXPAT] xml_parse et la gestion des événements...
    Par Herode dans le forum Bibliothèques et frameworks
    Réponses: 2
    Dernier message: 05/02/2006, 20h59
  2. Gestion des évènements Netscape 7.0
    Par RATHQUEBER dans le forum Autres langages pour le Web
    Réponses: 6
    Dernier message: 19/12/2005, 16h26
  3. Problème avec la gestion des événements
    Par CynO dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 17/10/2005, 10h07
  4. [JTable] gestion des événements
    Par soulhouf dans le forum Composants
    Réponses: 4
    Dernier message: 19/08/2005, 13h21
  5. Gestion des évènements lors d'un clique sur une image.
    Par yoghisan dans le forum Débuter
    Réponses: 7
    Dernier message: 23/06/2005, 19h04

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo