Android Question Force display of a message

a_carignan

Member
Licensed User
Longtime User
Hello, I would like to know how to force the display of a message before the phone moves on.
Ps, I am using B4A. The message is displayed in a text editor.
 

Brian Dean

Well-Known Member
Licensed User
Longtime User
You are not providing much information, which is probably why you are not getting much help. Posting what you have done so far would make things much clearer.

But in the meantime, I presume that your file search is running some sort of loop, maybe one folder at a time. At the end of each pass add the file count from that folder to files processed so far, and calculate progress. To do that you need to know the total number of files that will need to be processed. Unless you can work that out very quickly you will need to have that information already prepared, maybe by doing a file scan when the app starts, or saving information from a previous run.

You say that you want to update a text editor with the progress information. Maybe you mean an EditText (although a Label would be more usual) but if not then, again, provide more information.
 
Upvote 0

a_carignan

Member
Licensed User
Longtime User
I wanted to use an edittext to display the current crawl directory. I found a way to achieve what I wanted by using a sleep command and calling the procedure with a wait for.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…