C
C
chieffka2015-04-20 16:36:48
Android
chieffka, 2015-04-20 16:36:48

Android application crash when calling "Launch Activity", what is the reason?

Specifics: when using Tasker and its Secure Settings plugin, in the latter I try to use the "launch activity" call. Accordingly, I choose an application, I see a list of available calls. However, some of them, when selected, cause the called application to crash with an exception class name - "java.lang.NullPointerException". I checked on 2 different devices, both have root, OS 4.2 and 4.4, the result is the same. Tell me which way to think?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Copperfield, 2015-04-22
@Copperfield

The NPE crashes because the activity you called is expecting some extras to come with the intent. I don't know how Tasker works, but I believe it sends an empty intent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question