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
-
hasu23186yPS: I want to have a diary app essencially. No idea why. I just wanted to build my own for some reason to style it the way I want.
Also I wasn't sure where other apps might store the data and I'd like to keep it local.
Any advice is appreciated by the way. -
hasu23186y@24th-Dragon woah. Why is kotlin so popular right now? What can it do that java can't?
I want so store everything localy and avoid networking for now.
I have no experiences with databases though -
That SDK shit doesn't even run properly on my PC - it complains my CPU is too old (WTF). At least, the NDK works so that I can bypass all that crap.
-
C0D4669026yAt least you can use the thing, it complains my CPU doesn’t support virtualisation, despite the fact it does, and I ain’t paying $$$ just to run a cloud emulator 😕
-
@hasu could be; I have an AMD Phenom2 1100T six core, the last of that generation from I think 2010, and it should actually support virtualisation.
-
C0D4669026y@Fast-Nop @hasu
Yup AMD Here aswell.
I was going to give android dev another go but yea... got to love several hours of downloading SDK + OS image (slow internets will be slow) only to press build and it shit its self. 👍 -
Don't forget to enable virtualization in the BIOS. I know a lot of people complain about it not working and they forgot this. It worked on my old AMD system that is now 9 years old (lol bulldozer)
-
Not sure why hello world doesn't work against 28 but here's couple of my tips:
- Kotlin 100% (it's awesome, ask anyone) and because fuck Java and fuck Oracle (and fuck NVidia just for good measure)
- use ANKO and carefully consider if you need DataBinding at all
- use Coroutines and Future API (not Rx)
- adopt early androidx (jetpack) libs
- use LiveData
- use Constraints Layout and it's baby bro Motion Layout
- learn and use Themes and Styles as intended (very powerful) but lots of devs completely ignore it and then hack the code to cover their ignorance -
lucaIO12156yThe exact same thing has happened to me when I wanted to get started with Android. This is just so sad, just imagine how many aspiring coders got depressed because of this and never tried Android again
-
lucaIO12156yAnd a little tip for the diary app: Why don't you just mod an open source diary app to fit your needs?
-
Now y'all know why some of us have a certain level of love for IOS
Its a matter of installing xcode and hoping that the current version is not absolute shit(50 50 chance for every xcode release) vs the complete wtfckness that is android studio
Wanna see some scary shit?? Google how to trigger a shake event for ios, once you find the function(yeah, a fucking function and that is it) jump and look for Androids monstrosity of an API.
I really really really really fucking hate the Android app development process. Its so fucking conflicting. I prefer android as a mobile os, but have way more fun coding for ios.
Fuck me -
hasu23186y@lucaIO tbh I haven't thought about it. I guess i think its easier for me to get to know it all from scratch instead of reading through lots of code from other people?
@LordPeeve thanks for the details. I have a constraint layout and shitty themes is one of the reasons I'm onto this at all. I found out how to set a gradient background and I'm already happy. Lol.
@AleCx04 it makes it sound like ios is the "easy way to go" both in usage of devices and apperently coding.
For me, I'm a chaotic person by default, so I don't mind some chaos if I get what I want from it.
Never had an ios device tbh and I am just not into them. They generally do not seem appealing to me? I like a certain chaos :)
Coming from research code: the amount of documentation and examples is amazing. :D
I'll give Kotlin a go. Whats androidX? -
@hasu that sounds cute as hell and everything. But as far as being a professional developer goes then I'll pass.
Sure as shit my customers would not appreciate a "chaotic" mentality or approach. By a wide margin. -
hasu23186y@AleCx04 i don't intend to do this professionally right now and I'll try to keep my code clean and non chaotic.
Also I have the general impression that if I put up with the chaos of Android I get a lot more customization, options and power out of it then I ever could with ios.
Also I don't support their "we have adapters for everything and you need apple devices all over" approach. I'd rather support Samsung although they are not perfect either. -
@hasu not really no. You can do exactly the same with both. With the Android API it feels that way because you need more fine tuning to make up for the intense level of fragmentation. If anything it makes people feel that it is broken or incomplete.
Kotlin does take away some of the pain, but I never thought it had anything to do with Java. It could have been any language and it still would have resulted in an overly complex API.
There are some things that are reaaaaally cool like creating custom lauchers or custom camera apps(these things are seriously cool)
And as a platform I really like and love Android far more than ios(reason why I use Android) but I just wish the development was more straightforward.
But yeah, that "unnecessary trouble nobody needs" thing?
Get ready....for tons more -
@AleCx04 the drawback with iOS dev is that you have to buy quite expensive stuff, starting with a Mac. As always with Apple, that's mediocre hardware at exaggerated cost. For a student, this is just not feasible.
-
@Fast-Nop agreed on the expensive part, but would not say that it is mediocre by a wide margin.
To a student it really sucks and even as a professional I will never call 2500+ for a laptop feasible at all. I love both of my macbooks, but i really disliked the price.
If you got the skills they pay themselves yes....but still man, 1200 is pushing it for a laptop...over 2000 is jist ludicrously expensive. -
@hasu you'll have fun :D where are you getting your tutorials? Straight from the docs is one of the best places
-
@AleCx04 just some examples, Apple has difficulties with their keyboards recently. Oh, and they aren't spill resistant, which is ridiculous in their price class. The desktop Macs totally suck because you end up in a truckload of stupid and expensive adaptors. The hardware specs themselves aren't impressive either (rather: outdated and STILL expensive as they were a few years ago), and e.g. graphics cards and RAM sockets are deliberately incompatible just to make them more expensive. That's what you inevitably get with a system that is designed as lock-in to avoid competition.
-
@Fast-Nop never had any issue with the keyboards. Whatever I buy could be completely waterproof and I would still avoid on my life dumping something in it(which I have never done on my life)
For what I use the macs that I have(ios, android, web development, professionally, not a hobbyist) i have never...EVER had any issue with the ports then again the 2013 model had all the ones that I needed and the 2017 was given to me by my workplace with everything covered...adaptors and everything. Still have not used one. Like, at all.
There was an issue with the 2013 model. Wanted more ram. 100 bucks later(which is chump change) it was taken care off.
I don't care for desktops, windows, linux osx whatever, i stick to laptops since I am jumping everywhere and I don't game.
The one case in which I would care about hardware is if I ever have to deal with dl at work. Which even if I had to the company would take care off -
@Fast-Nop now, don't get me wrong. I respect that some people like doing a ton of modifications and shit like that with their computers.
I don't, I just need to get to work. Take my shit from a to b with the least amount of shit possible to keep earning the dough I do. I don't have time for fuckery.
The macs let me do that and they last for years without me having to change them constantly with limited fuss. I had never had to contact Apple support, I have never had to take it anywhere to be fixed. I had never had to do any of the shit that gets thrown at me as an "argument". And the expensive part does suck , but other than that I would rather 1800(what I paid for the 2013 model) nd still be using that bitch beyond 2018(which will still be viable till beyond) than 1000,400,800,700 whatever on something that will take away my valuable time. -
hasu23186y@AleCx04 on others you csn chsnge ram without having to pay someone to do it because you can easily do it yourself. And tbh if I can get a laptop with screws instead of glue I'd go for it. Always. I don't care that it's more bulky. If I get options to fix it myself it's worth.
But I guess different people have different priorities.
Related Rants
I decided that I wanted to try and write and android app. So here I am, following their "Hello World" tutorial, for good measure, just to find out that using that with the newest SDK 28 produces errors and needs work arounds. Already. In the Hello World example.
Just created the project anew with SDK 27. Cannot be bothered with this and this time.
But seriously. What the fk. Get your shit together Android. <.<' It's not such a strong kickback but it's unecessary trouble nobody needs...
rant
android
android studio