SmsInterceptor problem

drabnojdan

Member
Licensed User
Longtime User
:sign0085: I try to intercept a SMS and to display as text in my app but I fail and error is the following: "Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/phone/ContactsWrapper$Contact;
at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
at com.android.dx.dex.file.DexFile.add(DexFile.java:143)
at com.android.dx.command.dexer.Main.processClass(Main.java:301)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
at com.android.dx.command.dexer.Main.access$100(Main.java:56)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
at com.android.dx.command.dexer.Main.processOne(Main.java:247)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
at com.android.dx.command.dexer.Main.run(Main.java:139)
at com.android.dx.command.dexer.Main.main(Main.java:120)
at com.android.dx.command.Main.main(Main.java:89)
1 error; aborting
Standard dexer."

please help ... do you have an example that is working?
 
Last edited:

gemasoft

Member
Licensed User
Longtime User
Good people. my request for help is that achievement intercept sms, but receives it reads it and then fails on the first application that uses captura.el code is the example.
 
Upvote 0

gemasoft

Member
Licensed User
Longtime User
searching the forum I found a solution that resulted rather than the method Sms_MessageReceived Sub (From As String, Body As String) As Boolean return untrue.
 
Upvote 0
Top