Hey guys,
I have written an App which works with contacts in Basic4Android.
My App downloads Facebook Friends Information and saves it to the phone, but to save more than 300 contacts to my devices contacts takes some time and if I do it on MainThread, it hangs my whole Phone for about one Minute completely.
I will need to do this operation in Background, but I cant find a way to do it with B4A.
In Java I would use AsyncTask<>... But I have written my App with B4A now and I wouldnt like to write it completely new in Java....
Is there a way to do a background job in B4A?
Thank you for your help in advance
regards
Dennis
I have written an App which works with contacts in Basic4Android.
My App downloads Facebook Friends Information and saves it to the phone, but to save more than 300 contacts to my devices contacts takes some time and if I do it on MainThread, it hangs my whole Phone for about one Minute completely.
I will need to do this operation in Background, but I cant find a way to do it with B4A.
In Java I would use AsyncTask<>... But I have written my App with B4A now and I wouldnt like to write it completely new in Java....
Is there a way to do a background job in B4A?
Thank you for your help in advance
regards
Dennis