Android Question [Solved] Sub activity_pause signature does not match expected signature

RichardN

Well-Known Member
Licensed User
Longtime User
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
Error occurred on line: 0 (Main)
java.lang.Exception: Sub activity_pause signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject com.my.app.main_subs_0._activity_pause() throws java.lang.Exception

class java.lang.Boolean,

Any idea what be causing the exception above?
 
Last edited:

RichardN

Well-Known Member
Licensed User
Longtime User
B4X:
'Don't make this silly mistake, it becomes very difficult to track down!

   Sub Activity_Pause

   End Sub

'It should look like this....

   Sub Activity_Pause (UserClosed As Boolean)
  
   End Sub
 
Upvote 0
Top