Here's your error:
java.lang.NullPointerException at
com.my.service.onCreate(ISPService.java line:230)
Take a look at line 230 of ISPService.java and try and see what could
possibly be null.
On Jul 29, 12:45 pm, codefish <92soc...@gmail.com> wrote:
> thank you for your reply
> I added try/catch
thank you for your reply
I added try/catch code but I got no exception
and it still doesn't send a email ;(
try
{
_context.startActivity(i);
Log.d(LOG_TAG, "startActivity() called");
} catch (Exception e)
{
e.printStackTrace();
Scratch that. My mistake. I missed the Intent.createChooser line.
Have you taken a look at:
http://www.anddev.org/email_send_intent_intentchooser-t3295.html
?
I don't see any immediate errors in your code.
On Jul 22, 8:30 pm, Joseph Earl wrote:
> You email is not getting sent because you are no
You email is not getting sent because you are not doing anything with
your sendIntent. You create it but then never use it.
On Jul 21, 7:32 am, codefish <92soc...@gmail.com> wrote:
> i want to handle exceptions in Service.
> my exception handler sends error report email.
> so i add FLAG_ACTIVITY_NE
First off, are you sure that your UncaughtExceptionHandler is not
throwing an exception?
On Jul 21, 1:32 am, codefish <92soc...@gmail.com> wrote:
> i want to handle exceptions in Service.
> my exception handler sends error report email.
> so i add FLAG_ACTIVITY_NEW_TASK flag and it works fine in o
5 matches
Mail list logo