iOS Question App in background

Giusy

Active Member
Licensed User
Hi,
I want, when the app is in background, only call a little sub.
It's possible, and how?
Thanks
 

Giusy

Active Member
Licensed User
:( Oh @andrew it's too complex for me.
In effect when my mp3 play and the user press the home button (of the device), I want only modify my button in "pause".
What do you think, I have to give up?
 
Upvote 0

Giusy

Active Member
Licensed User
In fact this sub scares me much less than the others. ;)
I'll try it and tell you something.
Thank you very much
 
Upvote 0

Giusy

Active Member
Licensed User
Hi @andrew with a breakpoint the program don't execute the sub
 

Attachments

  • background.PNG
    background.PNG
    7.3 KB · Views: 174
Upvote 0

Giusy

Active Member
Licensed User
Hi, @andrew
even me in a simple program works.
Can it be due to the fact that I use a timer and the following routine?

B4X:
Sub Timer1_Tick

    If Main.sploroISPLAYING =True Then     
       
        label1.Text =  ConvertToTimeFormat(SPLORO.Position) & " di " & ConvertToTimeFormat(SPLORO.Duration)
    Else
        Return
    End If
End Sub
 
Upvote 0
Top