Android Question My app crashes

Baris Karadeniz

Active Member
Licensed User
My app crashes after working some time. I couldn't find why it crashes. Is there anyone who can help me? I can send my app.
 

DonManfred

Expert
Licensed User
Longtime User
But it doesn't work.
You start the Starter-Service in your code? WHY???????

Dont start or stop the starterservice

Change this sub in your Starter2

B4X:
Sub Service_Start (StartingIntent As Intent)
    StartServiceAt(Starter, DateTime.Now + 6 * DateTime.TicksPerSecond, True)
End Sub

B4X:
Sub Service_Start (StartingIntent As Intent)
    StartServiceAt(Starter2, DateTime.Now + 6 * DateTime.TicksPerSecond, True)
End Sub

PD: You really should look what you do and understand what you are doing. It is not funny to help you
 
Last edited:
Upvote 0

Baris Karadeniz

Active Member
Licensed User
You start the Starter-Service in your code? WHY???????

Dont start or stop the starterservice

Change this sub in your Starter2

B4X:
Sub Service_Start (StartingIntent As Intent)
    StartServiceAt(Starter, DateTime.Now + 6 * DateTime.TicksPerSecond, True)
End Sub

B4X:
Sub Service_Start (StartingIntent As Intent)
    StartServiceAt(Starter2, DateTime.Now + 6 * DateTime.TicksPerSecond, True)
End Sub

PD: You really should look what you do and understand what you are doing. It is not funny to help you

I am not an expert and I may do something wrong. Thank you for your help. It is ok now.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I am not an expert and I may do something wrong.
Start with reading the documentation of any method you are using.

The art you ignore advices suggest me you do not learn anything.
Saying the 20th time you are not a expert does not make it better. LEARN THE STUFF! Inform about any method, which properties and methods it has, which parameter are expected.
 
Upvote 0
Top