B4J Question Can I do this with B4J?

ExcludeReality

Active Member
Licensed User
Hi everybody! Way back in the day, I developed some apps with Basic4ppc. One of these, a desktop app, I would like to update. I'm thinking about rewriting it for B4J. I'm not very familiar with B4J and I want to know if it's possible to do certain things with it, which I need for this app.

Here's what I want to do:
1. Capture a screenshot of my desktop (basically, "print screen"). In Basic4ppc, I did this with the ImageLibExDesktop library.
2. Manipulate images (draw, crop, rotate).
3. Get a list of all the files in a directory. In Basic4ppc, I used the FileSearch() command.

Can I do these things? Are these features built-in or do I need external libraries? Help is appreciated.
 

Cableguy

Expert
Licensed User
Longtime User
You will almost surely need external libs, but the answers are :
1 - Yes (https://www.b4x.com/android/forum/threads/server-screen-capture-server.37292/) Although you'll need to tweak it a little
2 - Yes (https://www.b4x.com/android/forum/t...-and-return-it-as-an-image.73635/#post-467681)
3 - Yes - (https://www.b4x.com/android/forum/threads/list-all-files-in-the-folder-and-also-sub-folders.74236/)

Note: ALL THESE RESULTS WERE FOUND WITHIN 5 MINUTES USING THE FORUM'S SEARCH ENGINE!! GUESS WHAT? IT WORKS!!!
 
Last edited:
Upvote 0

ExcludeReality

Active Member
Licensed User

Thank you Cableguy. Yes, I know about the search function, I started using this forum 10 years ago. I just couldn't find what I was looking for, so I thought I'd ask.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I didn't meant it as a personal attack, but it's getting more and more frequent seeing posts that a simple search would prevent...
I understand that sometimes finding the right keywords to search for is the hardest part...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…