WLAN = aus!

  • 17 Antworten
  • Neuester Beitrag
Diskutiere WLAN = aus! im Android App Entwicklung im Bereich Betriebssysteme & Apps.
P

paxis

Fortgeschrittenes Mitglied
Hallo Leute,

ich bin gerade dabei zu versuchen, das WLAN aus zu schalten!

Mein bisheriger Code sieht so aus:
Code:
public void onClick(View v) {
    Button button1 = (Button) this.findViewById(R.id.BWLAN);
    button1.setOnClickListener((OnClickListener) this);
    Button button2 = (Button) this.findViewById(R.id.bStumm);
    button2.setOnClickListener((OnClickListener) this);
    EditText VonT = (EditText) this.findViewById(R.id.editText2);
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
    long aktuelleZeit = System.currentTimeMillis();
    String Erster = VonT.getText().toString();
       String Zweiter = BisT.getText().toString();
        int von = Integer.parseInt(Erster.toString());
        int bis = Integer.parseInt(Zweiter.toString());
        int vonM = von * 3600000;
        int bisM = bis * 3600000;
        
        
switch(v.getId()) {

case R.id.BWLAN:
    if (aktuelleZeit < vonM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
    }}
Könntet ihr mir sagen, warum der, wenn ich auf den Button klicke, das WLAN nicht ausschaltet?
 
T

toomuchcoffeeman

Ambitioniertes Mitglied
Permissions

Code:
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
stehen im AndroidManifest?

Debugger mal angeworfen und geschaut, ob die Zeile

Code:
wifi.setWifiEnabled(false);
angesprungen wird?

Gruß,
Thomas
 
P

paxis

Fortgeschrittenes Mitglied
Ja die permissions sind drinnen!

Da das eins meiner ersten Projekte ist weiß ich nciht genau wie das mit dem Debugger geht...!
Gibt es da ne Kurzanleitung? :rolleyes2:
 
Zuletzt bearbeitet von einem Moderator:
T

toomuchcoffeeman

Ambitioniertes Mitglied
Du kannst Dir sogenannte Breakpoints in eien (oder mehrere) Zeilen setzen. Dazu kannst Du den linken Rand des Fensters, in dem sich Dein Quellcode befindet doppelklicken. Dann erscheitn da ein kleiner Punkt.

Den Knopf mit dem Käfer (bug) drücken, um zu debuggen. Sobald dein Programm dann die Zeile mit dem Breakpoint erreicht stoppt die Ausführung des Programms
 
P

paxis

Fortgeschrittenes Mitglied
Verstehe,

ich habe gerade allerdings schon angefangen, die Abfrage, die immer wieder ausgeführt werden soll, in eine neue Klasse zu packen mit einer Thread Funktion!
Nun taucht folgendes Problem auf:

Thread Klasse
Code:
package de.tobi.uhrzeitregler;

import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class Aktualisierung extends Thread{

    public Aktualisierung(){
        super();
        
    }
    public void run(){
        
        int VonT = MainActivity.getVon();
        int BisT = MainActivity.getBis();
        
        long aktuelleZeit = System.currentTimeMillis();
        String Erster = VonT.getText().toString();
           String Zweiter = BisT.getText().toString();
            int von = Integer.parseInt(Erster.toString());
            int bis = Integer.parseInt(Zweiter.toString());
            int vonM = von * 3600000;
            int bisM = bis * 3600000;
            try{
                Thread.sleep(100000);
            }
            catch(Exception ex) {}
            
    }
}
MainClass

Code:
package de.tobi.uhrzeitregler;


import de.tobi.uhrzeitregler.R;
import android.media.AudioManager;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.app.Activity;
import android.content.Context;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
          
          
          
      
           
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        
    }

    
public int getVon() {
    EditText VonT = (EditText) this.findViewById(R.id.editText2);
    String Von = VonT.getText().toString();
    int von = Integer.parseInt(Von.toString());
      int vonM = von * 3600000;
return vonM; 
}

public int getBis() {
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
      String Bis = BisT.getText().toString();
      int bis = Integer.parseInt(Bis.toString());
       int bisM = bis * 3600000;
      return bisM;
}


public void onClick(View v) {
    Button button1 = (Button) this.findViewById(R.id.BWLAN);
    button1.setOnClickListener((OnClickListener) this);
    Button button2 = (Button) this.findViewById(R.id.bStumm);
    button2.setOnClickListener((OnClickListener) this);
   
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
    long aktuelleZeit = System.currentTimeMillis();
    
 
        
        
        
       
        
    int vonM = this.getVon();
switch(v.getId()) {

case R.id.BWLAN:
    
    if (aktuelleZeit < vonM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
    }}
    
case R.id.bStumm:
    
    if (aktuelleZeit < vonM){
        AudioManager Adm = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
        
        if(Adm.getMode() == 0){
            Adm.setRingerMode(0);
            
        }
        }
    }}

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}
Er möchte, dass ich in der MainClass die Methoden
public int getVon() {
public int getBis() {

auf static setze!
Mache ich das, muss ich aber immer mehr ändern!
Was mache ich falsch?:blink:

Sowas mit static und ähnlichem habe ich noch nie gemacht und in der Schule lernen wir in Info Delphi....^^

Der ursprüngliche Beitrag von 10:52 Uhr wurde um 11:06 Uhr ergänzt:

Ich habe gerade die Thread Klasse mal als lokale klasse gemacht (also nicht im Paket ne extra Datei angelegt):
Code:
class Aktualisierung extends Thread{

    public Aktualisierung(){
        super();
        
    }
    public void run(){
        
        int VonT = this.getVon();
        int BisT = this.getBis();
        
        long aktuelleZeit = System.currentTimeMillis();
        String Erster = VonT.getText().toString();
           String Zweiter = BisT.getText().toString();
            int von = Integer.parseInt(Erster.toString());
            int bis = Integer.parseInt(Zweiter.toString());
            int vonM = von * 3600000;
            int bisM = bis * 3600000;
            try{
                Thread.sleep(100000);
            }
            catch(Exception ex) {}
            
    }
}
Kann immernoch nicht auf getVon/getBis zugreifen :/
 
Zuletzt bearbeitet:
T

toomuchcoffeeman

Ambitioniertes Mitglied
Willst Du nicht vielleicht erst mal Problem 1 aus der Welt räumen, bevor Du mit was anderem kommst? ;-)

Auf der Arbeit werde ich auch gezwungen Delphi zu schreiben. Ich finde es gruselig :)
 
P

paxis

Fortgeschrittenes Mitglied
Naja da das was ich jetzt gemacht habe ziemlich wichtig für mein Projekt ist, dachte ich mir das ich das erstmal so probiere, vielleicht löst sich das so auf ^^

Delphi ist naja..... lustig :D Besonders in unserem Infokurs.... :D

Der ursprüngliche Beitrag von 11:11 Uhr wurde um 11:27 Uhr ergänzt:

Vielleicht sollte ich mal zum besseren Verständniss erklären, was ich genau vorhabe:

Ich würde gerne eine App schreiben, die im Hintergrund läuft und immer wieder zwei eingegebene Uhrzeiten mit der aktuellen Zeit vergleicht!
Je nach Uhrzeit soll z.B. WLAN ausgeschaltet werden!
Damit wollte ich unteranderem das Arbeiten mit Threads und Services üben...!

Ich hoffe das hilft etwas ;)
 
S

swordi

Lexikon
also als übung ist es ja ok, aber in der praxis wäre das nicht grad akku schonend ;)
 
P

paxis

Fortgeschrittenes Mitglied
Durchaus verständlich, je nachdem wie oft man aktualisiert!

Ich habe jetzt mal alles zusammen geworfen und auch Services schon reingebracht:

Code:
package de.tobi.uhrzeitregler;


import de.tobi.uhrzeitregler.R;
import android.media.AudioManager;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.app.Activity;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
          
          
          
      
           
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        
    }

    
public int getVon() {
    EditText VonT = (EditText) this.findViewById(R.id.editText2);
    String Von = VonT.getText().toString();
    int von = Integer.parseInt(Von.toString());
      int vonM = von * 3600000;
return vonM; 
}

public int getBis() {
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
      String Bis = BisT.getText().toString();
      int bis = Integer.parseInt(Bis.toString());
       int bisM = bis * 3600000;
      return bisM;
}


public void onClick(View v) {
    Button button1 = (Button) this.findViewById(R.id.BWLAN);
    button1.setOnClickListener((OnClickListener) this);
    Button button2 = (Button) this.findViewById(R.id.bStumm);
    button2.setOnClickListener((OnClickListener) this);
    long aktuelleZeit = System.currentTimeMillis();
    
 
        
        
        
       
        
    int vonM = this.getVon();
switch(v.getId()) {

case R.id.BWLAN:
    
    if (aktuelleZeit < vonM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
    }}
    
case R.id.bStumm:
    
    if (aktuelleZeit < vonM){
        AudioManager Adm = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
        
        if(Adm.getMode() == 0){
            Adm.setRingerMode(0);
            
        }
        }
    }}

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}


class Aktualisierung extends Thread{

    private int von;
    private int bis;
    public Aktualisierung(){
        super();
        
    }
    public void run(){
        
        int VonT = this.getVon();
        int BisT = this.getBis();
        
        long aktuelleZeit = System.currentTimeMillis();
        String vonT = VonT.getText().toString();
           String bisT = BisT.getText().toString();
            int von = Integer.parseInt(vonT.toString());
            int bis = Integer.parseInt(bisT.toString());
           von = von * 3600000;
          bis = bis * 3600000;
          try{
                Thread.sleep(100000);
            }
            catch(Exception ex) {}
            
            
    }
    public int fertigVon() {
        
        return von;
    }
public int fertigBis() {
        
        return bis;
    }        
     
            
    }


 class Hintergrunds extends IntentService {

     
      public Hintergrunds () {
          super("Hintergrunds ");
      }

      public long Zeit(){
          long aktuelleZeit = System.currentTimeMillis();
          return aktuelleZeit;
      }
      @Override
      protected void onHandleIntent(Intent intent) {
          
          
            
          // Normally we would do some work here, like download a file.
          // For our sample, we just sleep for 5 seconds.
          long endTime = System.currentTimeMillis() + 5*1000;
          while (System.currentTimeMillis() < endTime) {
              synchronized (this) {
                  try {
                      wait(endTime - System.currentTimeMillis());
                  } catch (Exception e) {
                  }
              }
          }
      }
    }
meine Fehler:
Description Resource Path Location Type
The method getVon() is undefined for the type Aktualisierung MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 107 Java Problem
Cannot invoke getText() on the primitive type int MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 111 Java Problem
The method getBis() is undefined for the type Aktualisierung MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 108 Java Problem
Cannot invoke getText() on the primitive type int MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 112 Java Problem


Vielleicht kann mir jemand liebes mal helfen? :)
 
T

toomuchcoffeeman

Ambitioniertes Mitglied
Also Fehlerzeilen 2 und 4 sagen, dass Du versuchst eine Methode auf einem primitiven Datentypen aufzurufen. Du hast VonT als int deklariert und dann ist das auch ein int. Nicht mehr und nicht weniger.

Du musst Dir also ergoogeln (oder sonstwie erarbeiten), wie Du int in String umwandelst. Gibt da ne Standardfunktion für.

Die anderen beiden Zeilen klären Dich darüber auf, dass die Methoden in der Klasse nicht bekannt sind. Der this-Operator, den Du benutzt, bezieht sich nicht auf die MainActivity, sondern die Klasse Aktualisierung und diese kennt ja die aufgerufenen Methoden nicht.

Die Objekte müssen "sich kennen", damit sie Methoden voneinander aufrufen können. Stichwort Beziehungen zwischen Klassen/Objekten
 
P

paxis

Fortgeschrittenes Mitglied
Danke!
Werde mich dann heute mal weiter dransetzen, auch wenn ich gleich weg bin!
Wenn ich nicht weiterkomme darf ich mich doch bestimmt nochmal melden oder? :)

Aber danke schonomal ;)!

Der ursprüngliche Beitrag von 11:47 Uhr wurde um 12:22 Uhr ergänzt:

Also irgendwie passiert nichts!

Ich glaube das liegt am Vergleich!
if (aktuelleZeit < vonM){
Das ist ja der Vergleich
aktuelle Zeit ermittel ich mit:
long aktuelleZeit = System.currentTimeMillis(); (in Millisekunden ne? :D )
vonM ist von = VonT * 3600000; (wird halt auf vonM gepackt :D )
Stimmt doch soweit oder ist da ein Fehler?
Ich verlgeiche das in Millisekunden oder ist das falsch?

Der ursprüngliche Beitrag von 12:22 Uhr wurde um 12:24 Uhr ergänzt:

Vergleich mal getauscht.
Es passiert nichts!
Jetzt mal der ganze Code:
Code:
package de.tobi.uhrzeitregler;


import de.tobi.uhrzeitregler.R;
import android.media.AudioManager;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.app.Activity;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
          
          
          
      
           
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        
    }

    
public int getVon() {
    
    EditText VonT = (EditText) this.findViewById(R.id.editText2);
    String Von = VonT.getText().toString();
    int von = Integer.parseInt(Von.toString());
      int vonM = von * 3600000;
return vonM; 
}

public int getBis() {
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
      String Bis = BisT.getText().toString();
      int bis = Integer.parseInt(Bis.toString());
       int bisM = bis * 3600000;
      return bisM;
}
public void VergleichWLAN(){
    long aktuelleZeit = System.currentTimeMillis();
      Aktualisierung a = null; 
       int vonM = a.fertigVon();
       int bisM = a.fertigBis();
    if (aktuelleZeit < vonM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
    }}    
}

public void onClick(View v) {
    Button button1 = (Button) this.findViewById(R.id.BWLAN);
    button1.setOnClickListener((OnClickListener) this);
    Button button2 = (Button) this.findViewById(R.id.bStumm);
    button2.setOnClickListener((OnClickListener) this);
    long aktuelleZeit = System.currentTimeMillis();
    
 
        
        
       Aktualisierung a = null; 
       int vonM = a.fertigVon();
       int bisM = a.fertigBis();
       a.run(); 
    
switch(v.getId()) {

case R.id.BWLAN:
    
    this.VergleichWLAN();
    
    
case R.id.bStumm:
    
    if (aktuelleZeit > vonM){
        AudioManager Adm = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
        
        if(Adm.getMode() == 0){
            Adm.setRingerMode(0);
            
        }
        }
    }}

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}


class Aktualisierung extends Thread{

    private int von;
    private int bis;
    public Aktualisierung(){
        super();
        
    }
    public void run(){
        MainActivity a = null;
        int VonT = a.getVon();
        int BisT = a.getBis();
        
        long aktuelleZeit = System.currentTimeMillis();
        a.VergleichWLAN();
        
     //      Integer.toString(vonT);
      //     Integer.toString(bisT);
       //     int von = Integer.parseInt(vonT.toString());
      //      int bis = Integer.parseInt(bisT.toString());
           von = VonT * 3600000;
          bis = BisT * 3600000;
          try{
                Thread.sleep(100000);
            }
            catch(Exception ex) {}
            
            
    }
    public int fertigVon() {
        
        return von;
    }
public int fertigBis() {
        
        return bis;
    }        
     
            
    }


 class Hintergrunds extends IntentService {

     
      public Hintergrunds () {
          super("Hintergrunds ");
      }

      public long Zeit(){
          long aktuelleZeit = System.currentTimeMillis();
          return aktuelleZeit;
      }
      @Override
      protected void onHandleIntent(Intent intent) {
          
          
            
          // Normally we would do some work here, like download a file.
          // For our sample, we just sleep for 5 seconds.
          long endTime = System.currentTimeMillis() + 5*1000;
          while (System.currentTimeMillis() < endTime) {
              synchronized (this) {
                  try {
                      wait(endTime - System.currentTimeMillis());
                  } catch (Exception e) {
                  }
              }
          }
      }
    }
Warnungen:
Description Resource Path Location Type
Null pointer access: The variable a can only be null at this location MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 53 Java Problem
The value of the local variable aktuelleZeit is not used MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 119 Java Problem
The value of the local variable bisM is not used MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 54 Java Problem
Null pointer access: The variable a can only be null at this location MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 73 Java Problem
The value of the local variable bisM is not used MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 74 Java Problem
Null pointer access: The variable a can only be null at this location MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 116 Java Problem
 
T

toomuchcoffeeman

Ambitioniertes Mitglied
Wie gesagt... debuggen und sich die Inhalte der Variablen ansehen... Null pointer exception solltest Du googeln wenn es sich nicht grad selbst erklärt
 
P

paxis

Fortgeschrittenes Mitglied
Problem ist einfach wenn ich nur:
Aktualisierung a ;
int vonM = a.fertigVon();
int bisM = a.fertigBis();

schreibe, macht er das a bei a.fertigVon und a.fertigBis rot und sagt Description Resource Path Location Type
The local variable a may not have been initialized MainActivity.java /Uhrzeitregler/src/de/tobi/uhrzeitregler line 74 Java Problem

Hä?

Der ursprüngliche Beitrag von 17:14 Uhr wurde um 17:37 Uhr ergänzt:

In der Konsole taucht folgendes auf:
Code:
04-30 15:35:41.159: W/ActivityManager(289): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 15:35:41.159: D/ExchangeService(643): !!! Email application not found; stopping self
04-30 15:35:41.169: W/ActivityManager(289): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 15:35:41.199: E/ActivityThread(643): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d16c98 that was originally bound here
04-30 15:35:41.199: E/ActivityThread(643): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d16c98 that was originally bound here
04-30 15:35:41.199: E/ActivityThread(643):     at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 15:35:41.199: E/ActivityThread(643):     at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 15:35:41.199: E/ActivityThread(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 15:35:41.199: E/ActivityThread(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 15:35:41.199: E/ActivityThread(643):     at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 15:35:41.199: E/ActivityThread(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 15:35:41.199: E/ActivityThread(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 15:35:41.199: E/ActivityThread(643):     at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 15:35:41.199: E/ActivityThread(643):     at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 15:35:41.199: E/ActivityThread(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 15:35:41.199: E/ActivityThread(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 15:35:41.199: E/ActivityThread(643):     at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 15:35:41.199: E/ActivityThread(643):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 15:35:41.199: E/ActivityThread(643):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 15:35:41.199: E/ActivityThread(643):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 15:35:41.199: E/ActivityThread(643):     at java.lang.Thread.run(Thread.java:856)
04-30 15:35:41.279: E/StrictMode(643): null
04-30 15:35:41.279: E/StrictMode(643): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d16c98 that was originally bound here
04-30 15:35:41.279: E/StrictMode(643):     at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 15:35:41.279: E/StrictMode(643):     at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 15:35:41.279: E/StrictMode(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 15:35:41.279: E/StrictMode(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 15:35:41.279: E/StrictMode(643):     at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 15:35:41.279: E/StrictMode(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 15:35:41.279: E/StrictMode(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 15:35:41.279: E/StrictMode(643):     at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 15:35:41.279: E/StrictMode(643):     at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 15:35:41.279: E/StrictMode(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 15:35:41.279: E/StrictMode(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 15:35:41.279: E/StrictMode(643):     at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 15:35:41.279: E/StrictMode(643):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 15:35:41.279: E/StrictMode(643):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 15:35:41.279: E/StrictMode(643):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 15:35:41.279: E/StrictMode(643):     at java.lang.Thread.run(Thread.java:856)
04-30 15:35:41.279: W/ActivityManager(289): Unbind failed: could not find connection for android.os.BinderProxy@40f67a30
04-30 15:35:41.319: E/ActivityThread(643): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d17040 that was originally bound here
04-30 15:35:41.319: E/ActivityThread(643): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d17040 that was originally bound here
04-30 15:35:41.319: E/ActivityThread(643):     at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 15:35:41.319: E/ActivityThread(643):     at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 15:35:41.319: E/ActivityThread(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 15:35:41.319: E/ActivityThread(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 15:35:41.319: E/ActivityThread(643):     at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 15:35:41.319: E/ActivityThread(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 15:35:41.319: E/ActivityThread(643):     at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 15:35:41.319: E/ActivityThread(643):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 15:35:41.319: E/ActivityThread(643):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 15:35:41.319: E/ActivityThread(643):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 15:35:41.319: E/ActivityThread(643):     at java.lang.Thread.run(Thread.java:856)
04-30 15:35:41.369: E/StrictMode(643): null
04-30 15:35:41.369: E/StrictMode(643): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d17040 that was originally bound here
04-30 15:35:41.369: E/StrictMode(643):     at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 15:35:41.369: E/StrictMode(643):     at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 15:35:41.369: E/StrictMode(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 15:35:41.369: E/StrictMode(643):     at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 15:35:41.369: E/StrictMode(643):     at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 15:35:41.369: E/StrictMode(643):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 15:35:41.369: E/StrictMode(643):     at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 15:35:41.369: E/StrictMode(643):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 15:35:41.369: E/StrictMode(643):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 15:35:41.369: E/StrictMode(643):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 15:35:41.369: E/StrictMode(643):     at java.lang.Thread.run(Thread.java:856)
04-30 15:35:41.369: W/ActivityManager(289): Unbind failed: could not find connection for android.os.BinderProxy@40f68100
04-30 15:35:41.419: D/dalvikvm(643): GC_CONCURRENT freed 348K, 17% free 2448K/2916K, paused 7ms+6ms, total 84ms
04-30 15:35:47.580: E/ThrottleService(289): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
04-30 15:36:00.108: I/Choreographer(781): Skipped 31 frames!  The application may be doing too much work on its main thread.
Zuden komme ich irgendwie nicht in den Debugger :O
 
T

toomuchcoffeeman

Ambitioniertes Mitglied
Also debuggen sollte man schon können, das erleichtert einem die Arbeit. Versuch das mal hinzukriegen.

Was Dein Beispiel angeht:
Der Fehler sagt Dir doch bereits, dass "a" nicht initialisiert ist. Es fehlt das Instanziieren des Objektes.

Code:
Klasse k;
k = new Klasse();
int i;
i = k.getInt();
Ich gebe Dir jetzt mal den Rat ein wenig kürzer zu treten. Am Wlan fummeln, gleichzeitig Services und Threads und alles gleichzeitig ist zu viel. Dabei übersiehst Du so "Kleinigkeiten" wie das Erzeugen von Objekten, rufst Methoden auf primitiven Datentypen auf etc.

Fang kleinschrittiger an. Erst den Wlan-Kram. Wenn der funktioniert kannst Du den in einen Thread auslagern. Danach kannst Dich dann mit Services auseinander setzen etc.

Gruß,
Thomas
 
P

paxis

Fortgeschrittenes Mitglied
Also eigentlich ist alles fehlerlos, zumindest laut Konsole:
Code:
package de.tobi.uhrzeitregler;


import de.tobi.uhrzeitregler.R;
import android.media.AudioManager;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.app.Activity;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
          
          
          
      
           
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        
    }

    
public int getVon() {
    
    EditText VonT = (EditText) this.findViewById(R.id.editText2);
    String Von = VonT.getText().toString();
    int von = Integer.parseInt(Von.toString());
      int vonM = von * 3600000;
return vonM; 
}

public int getBis() {
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
      String Bis = BisT.getText().toString();
      int bis = Integer.parseInt(Bis.toString());
       int bisM = bis * 3600000;
      return bisM;
}
public void VergleichWLAN(){
    long aktuelleZeit = System.currentTimeMillis();
    Aktualisierung a = new Aktualisierung(); 
       int vonM = a.fertigVon();
       int bisM = a.fertigBis();
    if (aktuelleZeit > vonM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
    }}    
    if (aktuelleZeit < bisM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
    }}    
}

public void onClick(View v) {
    Button button1 = (Button) this.findViewById(R.id.BWLAN);
    button1.setOnClickListener((OnClickListener) this);
    Button button2 = (Button) this.findViewById(R.id.bStumm);
    button2.setOnClickListener((OnClickListener) this);
    long aktuelleZeit = System.currentTimeMillis();
    
 
        
        
       Aktualisierung a = new Aktualisierung(); 
       int vonM = a.fertigVon();
       int bisM = a.fertigBis();
       a.run(); 
    
switch(v.getId()) {

case R.id.BWLAN:
    
    this.VergleichWLAN();
    
    
case R.id.bStumm:
    
    if (aktuelleZeit < vonM){
        AudioManager Adm = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
        
        if(Adm.getMode() == 0){
            Adm.setRingerMode(0);
            
        }
        }
    }}

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}


class Aktualisierung extends Thread{

    private int von;
    private int bis;
    public Aktualisierung(){
        super();
        
    }
    public void run(){
        MainActivity a = new MainActivity();
        int VonT = a.getVon();
        int BisT = a.getBis();
        
        long aktuelleZeit = System.currentTimeMillis();
        a.VergleichWLAN();
        
     //      Integer.toString(vonT);
      //     Integer.toString(bisT);
       //     int von = Integer.parseInt(vonT.toString());
      //      int bis = Integer.parseInt(bisT.toString());
           von = VonT * 3600000;
          bis = BisT * 3600000;
          try{
                Thread.sleep(100000);
            }
            catch(Exception ex) {}
            
            
    }
    public int fertigVon() {
        
        return von;
    }
public int fertigBis() {
        
        return bis;
    }        
     
            
    }


 class Hintergrunds extends IntentService {

     
      public Hintergrunds () {
          super("Hintergrunds ");
      }

      public long Zeit(){
          long aktuelleZeit = System.currentTimeMillis();
          return aktuelleZeit;
      }
      @Override
      protected void onHandleIntent(Intent intent) {
          
          
            
          // Normally we would do some work here, like download a file.
          // For our sample, we just sleep for 5 seconds.
          long endTime = System.currentTimeMillis() + 5*1000;
          while (System.currentTimeMillis() < endTime) {
              synchronized (this) {
                  try {
                      wait(endTime - System.currentTimeMillis());
                  } catch (Exception e) {
                  }
              }
          }
      }
    }
Mit dem debuggen:
Ich starte immer das debuggen, aber dann kommt kein neues Fenster?!
Total komisch :O
Immer bleibt das fenster so, wenn ich auf Debugg klicke, wie im Anhang zu sehen :O!
 

Anhänge

P

paxis

Fortgeschrittenes Mitglied
Nach einigen Test konnte ich herausfinden, dass der Button gar nichts macht? :O
Also selbst ein Toast oder den Text eines TextViews kann ich nicht ändern!
Weiß wer wo mein Denkfehler ist?

So, mal mein aktueller Stand:
Code:
package de.tobi.uhrzeitregler;


import de.tobi.uhrzeitregler.R;
import android.media.AudioManager;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.app.Activity;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
          
          
          
      
           
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Button button1 = (Button) this.findViewById(R.id.BWLAN);
        button1.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                MainActivity a = new MainActivity();
                TextView Text1= (TextView) a.findViewById(R.id.textView1);
                Text1.setText("Test");
                Toast.makeText(getBaseContext(), "WiFi turned on",
                           Toast.LENGTH_LONG).show();
                a.VergleichWLAN();        
                
            }});
            
        };

    
public int getVon() {
    
    EditText VonT = (EditText) this.findViewById(R.id.editText2);
    String Von = VonT.getText().toString();
    int von = Integer.parseInt(Von.toString());
      int vonM = von * 3600000;
return vonM; 
}

public int getBis() {
    EditText BisT = (EditText) this.findViewById(R.id.editText3);
      String Bis = BisT.getText().toString();
      int bis = Integer.parseInt(Bis.toString());
       int bisM = bis * 3600000;
      return bisM;
}
public void VergleichWLAN(){
    long aktuelleZeit = System.currentTimeMillis();
    Aktualisierung a = new Aktualisierung(); 
    a.run();
       int vonM = a.fertigVon();
       int bisM = a.fertigBis();
    if (aktuelleZeit > vonM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false);
              Toast.makeText(getBaseContext(), "WiFi turned on",
                       Toast.LENGTH_LONG).show();
              finish();
    }}    
    if (aktuelleZeit < bisM){
         WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
         if(wifi.isWifiEnabled()) {
              wifi.setWifiEnabled(false); 
              Toast.makeText(getBaseContext(), "WiFi turned on",
                       Toast.LENGTH_LONG).show();
              finish();
    }}    
}
public void Laden(){
    Button button1 = (Button) this.findViewById(R.id.BWLAN);
    button1.setOnClickListener((OnClickListener) this);
    Button button2 = (Button) this.findViewById(R.id.bStumm);
    button2.setOnClickListener((OnClickListener) this);
    long aktuelleZeit = System.currentTimeMillis();
      Aktualisierung a = new Aktualisierung(); 
       int vonM = a.fertigVon();
       int bisM = a.fertigBis();
       a.run(); 
           
}
public void onClick(View v) {
Laden();    
//if (v. ==R.id.BWLAN){
    //TextView Text1= (TextView) this.findViewById(R.id.textView1);
    //Text1.setText("Test");
    //Toast.makeText(getBaseContext(), "WiFi turned on",
    //           Toast.LENGTH_LONG).show();
    //this.VergleichWLAN();    

switch(v.getId()) {

case R.id.BWLAN:
    TextView Text1= (TextView) this.findViewById(R.id.textView1);
    Text1.setText("Test");
    Toast.makeText(getBaseContext(), "WiFi turned on",
               Toast.LENGTH_LONG).show();
    this.VergleichWLAN();
    
    
    
case R.id.bStumm:
    
    
            
        }
        }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}


class Aktualisierung extends Thread{

    private int von;
    private int bis;
    public Aktualisierung(){
        super();
        
    }
    public void run(){
        MainActivity a = new MainActivity();
        int VonT = a.getVon();
        int BisT = a.getBis();
        
        long aktuelleZeit = System.currentTimeMillis();
        a.VergleichWLAN();
        
     //      Integer.toString(vonT);
      //     Integer.toString(bisT);
       //     int von = Integer.parseInt(vonT.toString());
      //      int bis = Integer.parseInt(bisT.toString());
           von = VonT * 3600000;
          bis = BisT * 3600000;
          try{
                Thread.sleep(100000);
            }
            catch(Exception ex) {}
            
            
    }
    public int fertigVon() {
        
        return von;
    }
public int fertigBis() {
        
        return bis;
    }        
     
            
    }


 class Hintergrunds extends IntentService {

     
      public Hintergrunds () {
          super("Hintergrunds ");
      }

      public long Zeit(){
          long aktuelleZeit = System.currentTimeMillis();
          return aktuelleZeit;
      }
      @Override
      protected void onHandleIntent(Intent intent) {
          
          
            
          // Normally we would do some work here, like download a file.
          // For our sample, we just sleep for 5 seconds.
          long endTime = System.currentTimeMillis() + 5*1000;
          while (System.currentTimeMillis() < endTime) {
              synchronized (this) {
                  try {
                      wait(endTime - System.currentTimeMillis());
                  } catch (Exception e) {
                  }
              }
          }
      }
    }
Zur Zeit stürtzt die App, sobald ich auf den Button klicke ab!
Zur Zeit unter anderem Error:
04-30 19:37:42.210: E/Trace(792): error opening trace file: No such file or directory (2)


UNd sowas:
04-30 19:38:04.667: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:38:04.667: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:38:04.667: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:38:04.667: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:38:04.667: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:38:04.667: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:38:04.667: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:38:04.667: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:38:04.667: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:38:04.688: E/StrictMode(624): null
04-30 19:38:04.688: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d04730 that was originally bound here
04-30 19:38:04.688: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:38:04.688: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:38:04.688: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:38:04.688: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:38:04.688: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:38:04.688: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:38:04.688: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:38:04.688: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:38:04.688: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:38:04.688: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:38:04.688: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:38:04.688: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:38:04.688: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:38:04.688: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:38:04.688: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:38:04.688: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:38:04.688: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40e5f2b8
04-30 19:38:06.353: E/ThrottleService(291): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
04-30 19:38:49.599: D/ExchangeService(624): Received deviceId from Email app: null
04-30 19:38:49.599: D/ExchangeService(624): !!! deviceId unknown; stopping self and retrying
04-30 19:38:54.697: D/ExchangeService(624): !!! EAS ExchangeService, onCreate
04-30 19:38:54.707: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = false, running = false
04-30 19:38:54.717: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:38:54.717: D/ExchangeService(624): !!! Email application not found; stopping self
04-30 19:38:54.737: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:38:54.737: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false
04-30 19:38:54.768: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19580 that was originally bound here
04-30 19:38:54.768: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19580 that was originally bound here
04-30 19:38:54.768: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:38:54.768: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:38:54.768: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:38:54.768: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:38:54.768: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:38:54.768: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:38:54.768: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:38:54.768: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:38:54.768: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:38:54.768: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:38:54.768: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:38:54.768: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:38:54.768: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:38:54.768: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:38:54.768: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:38:54.768: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:38:54.877: E/StrictMode(624): null
04-30 19:38:54.877: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19580 that was originally bound here
04-30 19:38:54.877: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:38:54.877: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:38:54.877: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:38:54.877: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:38:54.877: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:38:54.877: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:38:54.877: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:38:54.877: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:38:54.877: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:38:54.877: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:38:54.877: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:38:54.877: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:38:54.877: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:38:54.877: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:38:54.877: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:38:54.877: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:38:54.877: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40f130c8
04-30 19:38:54.917: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19928 that was originally bound here
04-30 19:38:54.917: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19928 that was originally bound here
04-30 19:38:54.917: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:38:54.917: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:38:54.917: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:38:54.917: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:38:54.917: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:38:54.917: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:38:54.917: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:38:54.917: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:38:54.917: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:38:54.917: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:38:54.917: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:38:55.037: E/StrictMode(624): null
04-30 19:38:55.037: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19928 that was originally bound here
04-30 19:38:55.037: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:38:55.037: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:38:55.037: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:38:55.037: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:38:55.037: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:38:55.037: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:38:55.037: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:38:55.037: E/StrictMode(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:38:55.037: E/StrictMode(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:38:55.037: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:38:55.037: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:38:55.037: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:38:55.037: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:38:55.037: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:38:55.037: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:38:55.037: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:38:55.037: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:38:55.047: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40f90738
04-30 19:38:55.087: D/dalvikvm(624): GC_CONCURRENT freed 356K, 17% free 2451K/2928K, paused 76ms+7ms, total 163ms
04-30 19:39:39.756: D/ExchangeService(624): Received deviceId from Email app: null
04-30 19:39:39.757: D/ExchangeService(624): !!! deviceId unknown; stopping self and retrying
04-30 19:39:44.827: D/ExchangeService(624): !!! EAS ExchangeService, onCreate
04-30 19:39:44.838: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = false, running = false
04-30 19:39:44.847: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:39:44.857: D/ExchangeService(624): !!! Email application not found; stopping self
04-30 19:39:44.857: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:39:44.877: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false
04-30 19:39:45.017: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cd77c8 that was originally bound here
04-30 19:39:45.017: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cd77c8 that was originally bound here
04-30 19:39:45.017: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:39:45.017: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:39:45.017: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:39:45.017: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:39:45.017: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:39:45.017: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:39:45.017: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:39:45.017: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:39:45.017: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:39:45.017: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:39:45.017: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:39:45.047: E/StrictMode(624): null
04-30 19:39:45.047: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cd77c8 that was originally bound here
04-30 19:39:45.047: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:39:45.047: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:39:45.047: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:39:45.047: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:39:45.047: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:39:45.047: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:39:45.047: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:39:45.047: E/StrictMode(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:39:45.047: E/StrictMode(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:39:45.047: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:39:45.047: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:39:45.047: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:39:45.047: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:39:45.047: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:39:45.047: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:39:45.047: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:39:45.047: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:39:45.047: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40f27c60
04-30 19:39:45.079: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19e98 that was originally bound here
04-30 19:39:45.079: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19e98 that was originally bound here
04-30 19:39:45.079: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:39:45.079: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:39:45.079: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:39:45.079: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:39:45.079: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:39:45.079: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:39:45.079: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:39:45.079: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:39:45.079: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:39:45.079: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:39:45.079: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:39:45.079: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:39:45.079: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:39:45.079: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:39:45.079: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:39:45.079: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:39:45.117: E/StrictMode(624): null
04-30 19:39:45.117: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d19e98 that was originally bound here
04-30 19:39:45.117: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:39:45.117: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:39:45.117: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:39:45.117: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:39:45.117: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:39:45.117: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:39:45.117: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:39:45.117: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:39:45.117: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:39:45.117: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:39:45.117: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:39:45.117: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:39:45.117: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:39:45.117: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:39:45.117: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:39:45.117: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:39:45.117: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40f068d0
04-30 19:40:00.057: I/Choreographer(291): Skipped 30 frames! The application may be doing too much work on its main thread.
04-30 19:40:00.067: I/Choreographer(352): Skipped 33 frames! The application may be doing too much work on its main thread.
04-30 19:40:05.137: I/Choreographer(291): Skipped 53 frames! The application may be doing too much work on its main thread.
04-30 19:40:05.807: I/Choreographer(291): Skipped 159 frames! The application may be doing too much work on its main thread.
04-30 19:40:05.927: W/SoundPool(291): sample 0 not READY
04-30 19:40:05.957: D/PhoneStatusBar(352): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK search* >
04-30 19:40:05.997: I/Choreographer(291): Skipped 43 frames! The application may be doing too much work on its main thread.
04-30 19:40:06.247: D/PhoneStatusBar(352): disable: < expand icons alerts ticker system_info back* home* recent clock* search >
04-30 19:40:06.317: I/ARMAssembler(37): generated scanline__00000077:03515104_00009002_00000000 [127 ipp] (149 ins) at [0x40afb1f0:0x40afb444] in 10064159 ns
04-30 19:40:06.477: I/ARMAssembler(37): generated scanline__00000077:03515104_00009001_00000000 [131 ipp] (153 ins) at [0x40afb450:0x40afb6b4] in 2676250 ns
04-30 19:40:06.597: V/TAG(291): bug 7643792: fitSystemWindows([0,38][0,0])
04-30 19:40:06.797: I/Choreographer(792): Skipped 145 frames! The application may be doing too much work on its main thread.
04-30 19:40:07.227: D/dalvikvm(291): GC_CONCURRENT freed 834K, 21% free 6693K/8368K, paused 13ms+45ms, total 382ms
04-30 19:40:29.872: D/ExchangeService(624): Received deviceId from Email app: null
04-30 19:40:29.872: D/ExchangeService(624): !!! deviceId unknown; stopping self and retrying
04-30 19:40:34.957: D/ExchangeService(624): !!! EAS ExchangeService, onCreate
04-30 19:40:34.977: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = false, running = false
04-30 19:40:34.977: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:40:34.977: D/ExchangeService(624): !!! Email application not found; stopping self
04-30 19:40:34.997: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:40:34.997: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false
04-30 19:40:35.017: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cfe7c0 that was originally bound here
04-30 19:40:35.017: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cfe7c0 that was originally bound here
04-30 19:40:35.017: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:40:35.017: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:40:35.017: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:40:35.017: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:40:35.017: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:40:35.017: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:40:35.017: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:40:35.017: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:40:35.017: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:40:35.017: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:40:35.017: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:40:35.037: E/StrictMode(624): null
04-30 19:40:35.037: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cfe7c0 that was originally bound here
04-30 19:40:35.037: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:40:35.037: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:40:35.037: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:40:35.037: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:40:35.037: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:40:35.037: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:40:35.037: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:40:35.037: E/StrictMode(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:40:35.037: E/StrictMode(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:40:35.037: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:40:35.037: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:40:35.037: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:40:35.037: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:40:35.037: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:40:35.037: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:40:35.037: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:40:35.037: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:40:35.048: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40f825f0
04-30 19:40:35.067: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cdff68 that was originally bound here
04-30 19:40:35.067: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cdff68 that was originally bound here
04-30 19:40:35.067: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:40:35.067: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:40:35.067: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:40:35.067: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:40:35.067: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:40:35.067: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:40:35.067: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:40:35.067: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:40:35.067: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:40:35.067: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:40:35.067: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:40:35.067: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:40:35.067: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:40:35.067: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:40:35.067: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:40:35.067: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:40:35.087: E/StrictMode(624): null
04-30 19:40:35.087: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cdff68 that was originally bound here
04-30 19:40:35.087: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:40:35.087: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:40:35.087: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:40:35.087: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:40:35.087: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:40:35.087: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:40:35.087: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:40:35.087: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:40:35.087: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:40:35.087: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:40:35.087: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:40:35.087: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:40:35.087: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:40:35.087: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:40:35.087: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:40:35.087: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:40:35.087: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@40f8ac30
04-30 19:41:19.999: D/ExchangeService(624): Received deviceId from Email app: null
04-30 19:41:19.999: D/ExchangeService(624): !!! deviceId unknown; stopping self and retrying
04-30 19:41:25.017: D/ExchangeService(624): !!! EAS ExchangeService, onCreate
04-30 19:41:25.027: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = false, running = false
04-30 19:41:25.047: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:41:25.047: D/ExchangeService(624): !!! Email application not found; stopping self
04-30 19:41:25.067: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:41:25.079: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false
04-30 19:41:25.097: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d08170 that was originally bound here
04-30 19:41:25.097: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d08170 that was originally bound here
04-30 19:41:25.097: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:41:25.097: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:41:25.097: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:41:25.097: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:41:25.097: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:41:25.097: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:41:25.097: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:41:25.097: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:41:25.097: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:41:25.097: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:41:25.097: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:41:25.207: E/StrictMode(624): null
04-30 19:41:25.207: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d08170 that was originally bound here
04-30 19:41:25.207: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:41:25.207: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:41:25.207: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:41:25.207: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:41:25.207: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:41:25.207: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:41:25.207: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:41:25.207: E/StrictMode(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:41:25.207: E/StrictMode(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:41:25.207: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:41:25.207: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:41:25.207: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:41:25.207: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:41:25.207: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:41:25.207: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:41:25.207: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:41:25.207: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:41:25.207: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@41150e80
04-30 19:41:25.237: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d07dc8 that was originally bound here
04-30 19:41:25.237: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d07dc8 that was originally bound here
04-30 19:41:25.237: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:41:25.237: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:41:25.237: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:41:25.237: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:41:25.237: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:41:25.237: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:41:25.237: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:41:25.237: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:41:25.237: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:41:25.237: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:41:25.237: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:41:25.237: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:41:25.237: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:41:25.237: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:41:25.237: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:41:25.237: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:41:25.257: E/StrictMode(624): null
04-30 19:41:25.257: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d07dc8 that was originally bound here
04-30 19:41:25.257: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:41:25.257: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:41:25.257: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:41:25.257: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:41:25.257: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:41:25.257: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:41:25.257: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:41:25.257: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:41:25.257: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:41:25.257: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:41:25.257: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:41:25.257: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:41:25.257: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:41:25.257: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:41:25.257: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:41:25.257: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:41:25.327: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@41150c18
04-30 19:41:25.347: D/dalvikvm(624): GC_CONCURRENT freed 450K, 19% free 2465K/3036K, paused 71ms+5ms, total 225ms
04-30 19:42:00.027: I/Choreographer(352): Skipped 30 frames! The application may be doing too much work on its main thread.
04-30 19:42:00.127: I/Choreographer(792): Skipped 54 frames! The application may be doing too much work on its main thread.
04-30 19:42:00.197: D/dalvikvm(792): GC_CONCURRENT freed 105K, 8% free 2664K/2892K, paused 70ms+32ms, total 281ms
04-30 19:42:10.150: D/ExchangeService(624): Received deviceId from Email app: null
04-30 19:42:10.150: D/ExchangeService(624): !!! deviceId unknown; stopping self and retrying
04-30 19:42:15.197: D/ExchangeService(624): !!! EAS ExchangeService, onCreate
04-30 19:42:15.207: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = false, running = false
04-30 19:42:15.207: D/ExchangeService(624): !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false
04-30 19:42:15.217: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:42:15.227: D/ExchangeService(624): !!! Email application not found; stopping self
04-30 19:42:15.237: W/ActivityManager(291): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-30 19:42:15.257: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cd26b8 that was originally bound here
04-30 19:42:15.257: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cd26b8 that was originally bound here
04-30 19:42:15.257: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:42:15.257: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:42:15.257: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:42:15.257: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:42:15.257: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:42:15.257: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:42:15.257: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:42:15.257: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:42:15.257: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:42:15.257: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:42:15.257: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:42:15.257: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:42:15.257: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:42:15.257: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:42:15.257: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:42:15.257: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:42:15.267: E/StrictMode(624): null
04-30 19:42:15.267: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cd26b8 that was originally bound here
04-30 19:42:15.267: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:42:15.267: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:42:15.267: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:42:15.267: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:42:15.267: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:42:15.267: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:42:15.267: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:42:15.267: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-30 19:42:15.267: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-30 19:42:15.267: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:42:15.267: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:42:15.267: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:42:15.267: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:42:15.267: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:42:15.267: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:42:15.267: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:42:15.277: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@4115f340
04-30 19:42:15.288: E/ActivityThread(624): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d18f78 that was originally bound here
04-30 19:42:15.288: E/ActivityThread(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d18f78 that was originally bound here
04-30 19:42:15.288: E/ActivityThread(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:42:15.288: E/ActivityThread(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:42:15.288: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:42:15.288: E/ActivityThread(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:42:15.288: E/ActivityThread(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:42:15.288: E/ActivityThread(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:42:15.288: E/ActivityThread(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:42:15.288: E/ActivityThread(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:42:15.288: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:42:15.288: E/ActivityThread(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:42:15.288: E/ActivityThread(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:42:15.308: E/StrictMode(624): null
04-30 19:42:15.308: E/StrictMode(624): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d18f78 that was originally bound here
04-30 19:42:15.308: E/StrictMode(624): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-30 19:42:15.308: E/StrictMode(624): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-30 19:42:15.308: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-30 19:42:15.308: E/StrictMode(624): at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-30 19:42:15.308: E/StrictMode(624): at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-30 19:42:15.308: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-30 19:42:15.308: E/StrictMode(624): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-30 19:42:15.308: E/StrictMode(624): at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-30 19:42:15.308: E/StrictMode(624): at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-30 19:42:15.308: E/StrictMode(624): at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-30 19:42:15.308: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-30 19:42:15.308: E/StrictMode(624): at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-30 19:42:15.308: E/StrictMode(624): at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-30 19:42:15.308: E/StrictMode(624): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-30 19:42:15.308: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-30 19:42:15.308: E/StrictMode(624): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-30 19:42:15.308: E/StrictMode(624): at java.lang.Thread.run(Thread.java:856)
04-30 19:42:15.317: W/ActivityManager(291): Unbind failed: could not find connection for android.os.BinderProxy@4115f6f8


Aber irgendwie spinnt das!
Ich mache morgen mal weiter ^^
Vielleicht kann ja ein Nachtaktiver weiter helfen :D
 
Zuletzt bearbeitet von einem Moderator:
A

amfa

Experte
Ganz ehrlich:
Dir fehlen irgendwie die Grundkentnisse in Java bzw in objektorientierter Programmierung.
Du solltest dich vielleicht erst mal damit beschäftigen bevor du dich direkt an Android Apps mit Threads und Services wagst.

Vorallem Threads sind selbst für erfahrende Entwickler nicht immer leicht zu handhaben vorallem wenn es um debuggen geht.

Nur mal als Beispiel:

MainActivity a = new MainActivity();
TextView Text1= (TextView) a.findViewById(R.id.textView1);


Weißt du eigentlich was du da machst?
Das was du da machst ergibt nämlich keinerlei Sinn.
Du baust hier ein neues leeres Objekt. somit dürften die Methoden eigentlich immer null zurück geben.
Wenn ich mich nicht irre umgeht der Konstruktor aufruf auch den Lifecycle einer Activity.

Ganz ehrlich du solltest dir vielleicht mal
Galileo Computing :: Java ist auch eine Insel - index
angucken.
Und erst danach versuchen richtige Apps zu schreiben.
 
P

paxis

Fortgeschrittenes Mitglied
Verstehe .

Habe zwar mal ein Buch durch gearbeitetet aber wohl zu viel vergessen.
Werde wohl mal nochmal von vorne anfangen ;).
Danke

Erstellt mit einem Samsung galaxy, genauer mit dem s+ :D