I want create a book

kazaki

New Member
hello ,
I'm a beginner in basic4android, I started programming small programs, I have knowledge in java and python , VB No, I would like to create a small book, can i use label or there is other tip like using predefined text form .
thank you .
 

andymc

Well-Known Member
Licensed User
Longtime User
Hi kazaki,

B4A supports strings of any length. One idea would be to store your "books" pages as seperate strings, then store these strings as objects in a list, you could then save the list of pages to a file using the randomfileaccess library. When you load the list of pages from the file to run the program, you would select the page you want as a position in the list then write the object out to a label on an activity.

You could put some buttons on the screen to flip forward and back pages then clear and redraw the page when these buttons are pressed.

there are lots of ways of doing this but this is how I would start. People with more experience will no doubt give you better methods.
 
Upvote 0

kazaki

New Member
hello,
I'm sorry for the late response, I was traveling, thank you very much for your help , it works fine,thank you klaus and thank you andymc.
I am a licensed user and i want buy a licence of 30 users with half price as student , can i access to all functions ? .
Thank you !
 
Upvote 0
Top