So I decided to try making a Perchance-App. I have no idea what I’m doing, this is my first app. So at the moment, this is just an ugly search that’s not working yet. But it’s a start. Maybe someone more capable than me could look into the search and talk to me/send a pull request. Anyway, spread the word, maybe we can take this somewhere.
very cool!
Though you may find Kotlin WebView does not play nice with Perchance AI. I tried to put a Perchance AI art gen in a kotlin webview long ago and it was detected as like ‘adblocked’ if i remember right.
nice experience you are gaining! Kotlin is very powerful. And cool idea with the improving organization. I probably wont look in to the Search since it’s a bit out of my way, but kno that with Kotlin you can solve anything. Even if you have 30+ bugs, those are 30+ opportunities to learn what you did wrong and not do them again. also I highly suggest making a simplified Toast function you can place anywhere easy peasy for when solving issues (equivalent of console.log to tell yourself what variables are at each step so you can pinpoint when a value isnt getting from point A to point B).
I’m not even sure what an app would be that the site is not. What are your goals for making an “app” for perchance?
It’ really simple: I want to search, rename titles, tag and sort into folders. I see what bookmarks can do, but my idea is to take it just a little further. I mean, there is an app for wikipedia as well. Plus it’s a great excuse for me to get into coding. :)
Also, you can place your Context on a Companion Object and reference it as a global from anywhere. (may be useful in making a toast that works conveniently in weird places where you can’t otherwise reference the Context).