Hello,


I am still developing an App to take screenshots from a service in background. 
I decided to install Android Screenshot library from ADB.
But now the problem is this:

When I try to connect to Android Screenshot library (AsL) from an IntentService 
using this code I get a null pointer exception:
try {
bindService (new Intent(pl.polidea.asl.ScreenshotService.BIND), aslServiceConn, 
Context.BIND_AUTO_CREATE);
} catch (Exception e) {
Log.e(TAG, e.toString());
}

How can I access to a Bind service from an Intent service?

Regards
        Jonathan Chacón
Jonathan Chacón
Accesibilidad tecnológica, estudios e I+D+i
Investigador
Tel: 91 121 03 30
Email: [email protected]




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to