Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4669026yHey, I'm not the only one that found the docs impossible π
π©obligatory flag for future references to a better way of getting into android dev. -
flutter.
no need to thank me, one less person letting themselves be abused by the morondroid dev ecosystem is reward enough. -
Elyz69656yI didn't find it that bad to get into tbh π€ I have had a course on Android development this semester which is coming to an end and I can say I highly enjoyed the course book "Android Programming The Big Nerd Ranch Guide" by Phillips, Stewart and Marsicano, which was a light and easy to follow tutorial basically on some of the fundamentals. This might be too low level for what you're looking for but it helped me wrap my head around things at first. Also might not help you if you're already knee-deep in it but if someone else is wanting a gentle starter I found it alright π€·βοΈ
You're totally right about the error messages though. Many a print statement and frustrated sighs have crossed my path trying to write an app for my exam project. -
@Elyz just because theres a book that helps you get into it doesnt mean that its good: a language and framework should be designed to be understood easily, without you having any surprises whatsoever
-
Elyz69656y@gnulinuxer4fun didn't say that. Just that it helped me get into it in a painless way. I imagine I would've torn my hair out too if I had just gone in blind. Tbh I don't think it's that poorly designed, but to each their own π
-
Condor323326yWhew! Quite the rollercoaster of a rant here. Awesome! π
And yeah I tried Android development blind in the dark a while back as well, quickly reconsidered that though. Overcomplicated, the docs are useless if you're new to it, and I hate how they make you use the Android IDE specifically.
"Oh but there's a vim plugin for Android Studio!" How about FUCK NO, I want to use actual vim just like I do for everything else!?
There's a special place in hell for that clusterfuck of an ecosystem. Only thing that's good about it would be that at least it doesn't require you to shell out a couple grand for an overpriced laptop from Apple, just to run the damn IDE - Xcode. But still... -
Elyz69656y@Frederick ah yes, I definitely agree on the layout resource thing, that's been annoying me too. I guess I'm just not outraged by the whole thing because I haven't tried Swift π€π maybe that would be a good summer project bandwagon to jump on.
-
I had a similar experience that sent me back to webdev. Even though my current work project is for android, i can make an app way more easily with javascript and then wrap with cordova when i need android specific code or to package it for the play store.
That's right, my experience was so bad that I chose hybrid app dev over native!! (Cue mass hysteria, glass shattering etc) -
@billgates I just need a phone app that can do this:
- record audio (I dont even need to save it)
- be decently fast (given that i'll run many FT's for each second of recording on it)
- look decent enough
- allows for ad-revenue etc (I wanna get paid too, goddamnit xD) -
@Nanos godot is cool but not specialized for building an android app - it might become a pain because you will have to do everything the gamedev's way (yes, even animations ;-))
-
donuts236726y@Elyz I learned Android 3.0 for just 1 or 2 apps when I was in uni. Pretty sure nothing I learned works anymore so rather than relearning just Android, I prefer ReactNative. Haven't gone through the whole tutorial or build a complex app but it's like killing 2 birds with 1 stone. Plus I am definitely not a mobile Developer.
-
donuts236726y@gnulinuxer4fun hmm.. guess would need to figure out with tool supports all your requirements. You still need plugins that can run on platforms.
Also I think you need the ones start compile to native otherwise you'll get CORS errors... Those were annoying.. I remember now...
Also found this so I guess really do need to do some research and see what's best.
https://outsystems.com/blog/... -
-
@tenCharacters actually, this is probably the only context where preference for those hybrid platforms/web ecosystem in general seems reasonable
-
Condor323326y@Midnigh-shcode definitely hard to find the exit when everything's pitch black, that's for sure π
-
@Condor btw, funny thing, in my native language, you'd pronounce "q!" basically the same way as spanish "qué?!"
so i always imagine people exiting vim right after starting it, audibly exclaiming "qué!?", as in "why the hell did i launch this thing?!" O:-) -
@Condor oh, and what absolutely fascinates me is Jonathan Blow's programming streams: running vim (i think) on Windows, in some console emulator or something, using it for coding, while having VS open in the background all the time, switching to it only to compile and run the code.
to me, it's the best piece of absurdist humor. -
Parzi86636yno one has python compilers/wrappers except for Windows.
"lol just install the python library"
maybe I just wanna be able to run a fucking trimmed binary instead of lugging around the entire Python library?
"well python is too high-level for that"
Pyinstaller is a thing, why can't we do that for Linux? Or Android? -
no good tutorials?
https://youtube.com/playlist/...
https://youtube.com/channel/...
and the docs are pretty decent imo (but i have to admit that they have space for improvement here and there), can't say anything about the template code though, i always start with an empty project. taking 2 days to figure out how to add event listeners? sorry, but that's your own fault, it's really not that complicated; not even an Android-specific pattern
Can't argue with the rest though, that's definitely true -
I don't blame you, each has its own way of thinking, for example I have the exact same rant but for these:
1. Responsive web design
2. C/C++
3. Python
4. Go
Just a problem of adjusting your way of thinking, the reason I suck in the above list, I always fail to adjust my way of thinking to how you actually need to think.
For example if you move on to Swift/iOS, you have two ways of doing that, either add observer, or right click -> drag mouse from UI element to your source code then the event is added, on .Net you just double click on the button and there ya go, VS creates the event for you and takes you there. It is all a matter of how you think.
If you have any issues let me know we can sort it out if you really want to get into Android development -
@Krokoklemme Its not an android pattern not tk have the objects in the code file?
getElemtnById is pretty confusing and only hard to find in doc -
@gnulinuxer4fun I'm not quite sure what you mean with the former
and what's confusing about it?
TextView tv = findViewById(R.id.xml_id);
seems pretty straightforward to me tbh -
@Krokoklemme it is unexpected. You'd expect the button to be in the java by default, also it clutters code
-
@gnulinuxer4fun you expect to magically have a reference to a view in your activity from a dynamically inflated layout? or do you mean that the standard way to do things should be to create layouts imperatively?
it's still less clutter than writing your layouts directly in Java though (which admittedly is the framework's fault, could've been made simpler) -
@Krokoklemme I expect the stuff to be implemented in the java like ever other gui framework does?
-
@gnulinuxer4fun what GUI libraries/frameworks have you used? o.O pretty much all i know use declarative layouts by default
Qt (Widgets and QtQuick), WPF, gtkmm, JavaFX; all recommend using some form of markup for that ^^
but i digress -
@Krokoklemme Except they generate header files in order for you to natively use everything in Cpp
-
@gnulinuxer4fun QtWidgets uses that as an optimization, yes; my point still stands
-
@iAmNaN oh, yeah, i've heard that diseases tend to jump hosts after mutating enough XD
-
Some clarity on the enum bit: enums are still relatively expensive on Android so if it's something where high performance is needed Google typically skips enums.
Related Rants
Okay i'm done - YOU FUCKING ANDROID STUDIO MORONS. Being at a high level in C++, I tried to do some android coding. THERE ARE FUCKING NO GOOD TUTORIALS, NO GOOD DOCS, HECK, THE SELF GENERATED CODE OF THE IDE IS WRONG: WHAT THE FUCK IS GOING ON YOU FUCKING MORONS?
oh wait, let me first import android.widgets.rant;
or was it android.widgets.devrant.rant; or was it android.dr.rant.RantManager;?
Oh wait, I know lets search the docs?
OH WAIT THE DOCUMENTATION DOESNT HAVE THAT.
NOW HOW ABOUT I JUST TRY THE EXAMPLE CODE? WELL UH-UH! YOU HAVE TO FIND OUT YOURSELF WHAT TO IMPORT IN ORDER FOR IT TO WORK. ALSO, WHAT FUCKING UP WITH THAT PERMISSION SYSTEM? ITS SO BADLY DOCUMENTED!!!
Oh wait, I'm sure that I have to change something in this file... or was it that other file?
GOD
how dare they have style and design guidelines?
MORONS!
I will resort to implement my app idea in godot, idc anymore... I don't want to burn out because I used the "official high standard" tech.
it definitely isn't high standard and definitely not good. Thank you morons@google
THANK YOU FOR NOTHING
A FRAMEWORK WHERE I NEED 2 DAYS TO FIGURE OUT TO ADD EVENT LISTENERS TO MY THINGS IS DEFINITELY NOT ONE I'D LIKE TO USE.
also, whats up with
AudioRecord (int audioSource, int samplerateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes);
ARE WE BACK IN THE C ERA? CAN'T YOU BE BOTHERED TO IMPLEMENT SOME SIMPLE FUCKING ENUMS????
WHATS THE POINT OF AN OOP LANGUAGE IF YOU ARE GOING TO USE IT LIKE C?
Oh wait I found a tutorial ... First trigger: "java scripts". Second trigger: this guy LITTERALLY ONLY TEACHES YOU HOW TO PLACE WIDGETS ON THE CANVAS. THANKS FOR NOTHING SHERLOCK!
Oh btw: did you know that android studio gives the best error messages?
"Error: illegal start of expression"
NO ERROR MESSAGE - NOTHING!
YOU BETTER USE THE IDE OR YOU GO HOME YOU FUCKER!!!
Oh and btw: if you want to read the best documentation - the code itself YOU GOTTA AGREE TO OR TERMS OF SERVICE!!!! WE DONT WANT ANYBODY TO BECOME SUCCESSFUL WITHOUT US KNOWING!!!!!
THANK YOU GOOGLE FOR NOTHING!
YOU FUCKERS!
thanks godot for *atleast* existing. You are the... last pick i'd pick, but :shrug:, I have experienced android studio now.
If anybody has any advice on what to use instead, please go ahead. And you better not tell me how good you are at android studio. I DONT CARE ABOUT WHAT YOU CAN IMPLEMENT IN ANDROID STUDIO. I JUST WANT SOMETHING THAT IS USABLE WITHOUT HAVING TO BE EXTRA CAREFUL WHEN DOING *ANYTHING*!!!!
fuckers.
rant
android studio
rage