Here are the examples of the java api android.content.Context.a() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
19
Source : s.java
with Apache License 2.0
from JackChan1999
with Apache License 2.0
from JackChan1999
public bc f() {
try {
return f.a(this.f).a();
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
17
Source : SoundInkService.java
with Apache License 2.0
from JackChan1999
with Apache License 2.0
from JackChan1999
public static void a() {
if (c != null) {
c.a();
}
Log.d(SounreplacedInterface.getLogTag(), "sounreplaced service is pause");
b.a("sounreplaced service is pause");
}
14
Source : SoundInkService.java
with Apache License 2.0
from JackChan1999
with Apache License 2.0
from JackChan1999
public int onStartCommand(Intent intent, int i, int i2) {
this.b = getApplicationContext();
g.a();
g.a(this.b);
if (c == null) {
c = new SignalCheck();
}
a aVar = new a(this);
a = a.b().toString();
new a(this.b).execute(new Void[0]);
c.SetMQMethod(2);
c.a(g.a().b);
Log.d(SounreplacedInterface.getLogTag(), "sounreplaced service is started");
b.a("sounreplaced service is started");
return 2;
}