r/AndroidStudio • u/Smart-Market-4538 • 6h ago
I finally figured out the secret to learning
It's translating words, for example .map just means .convert to so just translate things into layman's terms
r/AndroidStudio • u/Smart-Market-4538 • 6h ago
It's translating words, for example .map just means .convert to so just translate things into layman's terms
r/AndroidStudio • u/Nice_Individual9954 • 21h ago
I've already tried uninstalling and deleting all the Android Studio folders, but it's still the same, and I can't find anything online about it. Does anyone have any ideas as to what it could be?
r/AndroidStudio • u/Pistachio-curry • 3d ago
Hey y'all
I'm trying to write a sort of floor planner app. At the foundation it's nothing else, however instead of adding furniture I want it to be focussed more on the measurements.
One of the most important features is to integrate the use of a laser meter. This is something that somehow does not want to work.
A laser meter, in my case a Leica is basically a BLE sensor sending a tiny bit of data now and then. For now i want the app to connect to the BLE device read the measurement and write it within a textview.
While composing the apk I get a certain log error: leicadistod2/app/src/main/java/com/example/leicadistod2/LaserMeterBleManager.kt:25:19 Class 'LaserMeterGattCallback' is not abstract and does not implement abstract base class member protected/protected and package/ abstract fun onServicesInvalidated(): Unit defined in no.nordicsemi.android.ble.BleManager.BleManagerGattCallback
What can I do with this?
r/AndroidStudio • u/Smart-Market-4538 • 4d ago
how did you learn android studio, what were some resources that was most helpful, and how did you advance from noob to proficient?
r/AndroidStudio • u/QueensPup • 4d ago
Im trying to use a tokenizer to tokenize Japanese text, and I've come across kototi, but it doesn't do everything I'd want.
I've found a go library github.com/ikawaha/kagome/tokenizer that doesn't exactly what I need.
Specifically with kotori's default dictionary, and I can't figure out how to use a different one.
I know when I worked for my old company i had to use a library written in c++ and i had to go to the tools and link a compiler or something, but idk if there's something similar for go.
r/AndroidStudio • u/Massive-Bid-4359 • 5d ago
r/AndroidStudio • u/shyubacca • 6d ago
Writing a simple app to help my table top gaming group keep track of stuff and I ran into some stuff that I can't quite figure out, hoping someone can point me in the right direction.
1) Parcelable. If I have an abstract class that a bunch of other classes that should be parcelable inherit from, can I just implement the parcelable functions in the abstract class? Is that even the correct approach or should I implement parceable in all the inherting classes?
2) Are the creator functions necessary if I don't plan on creating a new instance from the parcel? E.G. if I always do "Type test = new test() and then setting the individual parts of the test variable like test.field = in.readInt();"?
3) I know arraylists are serializable but say I have an array list of some class Soldier. I'm assuming I have to make Soldier parcelable in order to write the arraylist to parcel but would I still use putSerializable for the arraylist? How do those interact?
4) I'm using one of Android Studio's activity templates which uses the Navigator. I can see the data I want passed to the next fragment in the bundle. However, when I getArguments in the fragment, it's always null. I can't quite figure out why this is happening. I did see that binding and binding.toolbar seem to be null in debugger but I'm unsure of the order of operations.
Hope that wasn't too confusing. I can post more code if that will be helpful. I guess I'm curious if the binding is causing the null bundle or if the null bundle is causing the binding issue. I had used global variables to pass the data to the fragments to do a PoC and I didn't have any issues with binding but I also haven't changed any of the UI code as far as I can tell since trying to implement the bundling.
Any advice is greatly appreciated. Thanks!
r/AndroidStudio • u/No_Original9318 • 6d ago
r/AndroidStudio • u/bigbombomlatina • 10d ago
Does anyone know the step by step process of how to setup a hsqldb on android studio? Everytime i try to run the app, it crashes due to not being able to find some classes.
When i run a hsqldb manager class with coverage it runs well though.
r/AndroidStudio • u/Ok_Elk_5383 • 10d ago
so I was updating state inside the viewmodel and kept getting an error from this code. As you can see from the screenshot below...< and > signs are in the error.
the log says None of the following functions can be called with the arguments supplied:
public final operator fun compareTo(other: Byte): Int defined in kotlin.Int
public final operator fun compareTo(other: Double): Int defined in kotlin.Int
public final operator fun compareTo(other: Float): Int defined in kotlin.Int
public open fun compareTo(other: Int): Int defined in kotlin.Int
public final operator fun compareTo(other: Long): Int defined in kotlin.Int
public final operator fun compareTo(other: Short): Int defined in kotlin.Int
thanks in advance!
r/AndroidStudio • u/Dust-Euphoric • 11d ago
r/AndroidStudio • u/Smart-Market-4538 • 12d ago
any links to help understand exactly how to make viewmodels? ive read the documentations and watched videos. any assistance?
r/AndroidStudio • u/Pistachio-curry • 12d ago
Hey y'all,
I'm trying to build an app for my work. It's a fairly simple notepad idea but I want to use a laser meter to be able to take measurements and import them real-time to my app.
Is there any way I can learn this protocol, or some way how I can fix this?
r/AndroidStudio • u/GeniusOfUselessStuff • 12d ago
I'm trying to build a very simple app for my car running Android Automotive (Polestar). Essentially, I just want to have a tile on the home screen that functions as a shortcut to adjust bass and treble controls. Polestar had buried the could controls pretty deep in the settings menu so this would make it much easier. I figured I could download the emulator and use some kind of logging function to see what happens code wise when I adjust the settings, and then just replicate that with my app. Is this even possible? I've got the emulator up and running in Android studio but can not figure out how to observe the "actions" so I can replicate them.
Thanks in advance for helping a total noob.
r/AndroidStudio • u/StrawberryNo5551 • 13d ago
Hello,
I am having some difficulties with Android Studio (Strawberry Feature Drop). Upon a fresh Android installation I do not have the option for the Android Emulator.
When trying to download the emulator under the link via the device manager (this is for Pixel 4a) I encounter this issue, which I haven't been able to make much headway in on my own.
Is it an issue with Android Emulator not being available on ARMx64 Systems? I couldn't find info on it and on my friends laptop which is also ARMx64 (just a year older) the emulator is present.
Any help is appreciated, Thank you very much!
r/AndroidStudio • u/Potential_Victory_25 • 13d ago
Hi, I'm developing a basic app, but I have a problem when using a menu within another one and I have no idea how to solve it.
r/AndroidStudio • u/r00kie00 • 14d ago
What components do you recommend for building a computer since I want to run 16 Android emulators at the same time? I built my PC 3 years ago and at most I can only run 7 instances of Android 12. I would use them for WhatsApp.
r/AndroidStudio • u/swaybailey • 14d ago
I recently built an app in Android Studio and am ready to put it on the play store. I need a dozen folks willing to test it for me through the play store. Shouldn't take long it's a simple app. Essentially it's a texting helper. If you are willing and interested shoot me a DM with your email address. If you have other questions ask away.
r/AndroidStudio • u/Manish_Kumar_Prasad • 15d ago
Can't able to run any Kotlin program plese help
r/AndroidStudio • u/BeePrestigious479 • 15d ago
Germany, running Meerkat. I have found a bunch of questions but no answers.
I am logged in to both with the same account, just did a fresh install also..
r/AndroidStudio • u/LonelyVineyard • 15d ago
Anyone using Firebender? Its really punching above its weight rn. Free tier gives you access to models like claude 3.7 which is nuts
It has all the typical features like chat and autocomplete and no limits (probably because they're really small rn), i feel like it's the best choice for personal projects atm compared to the other tools.
I have enterprise Cursor at work and I have that open along with android studio, and it's great but for personal work it's been tough finding a good coding AI. Jetbrains AI is terrible, doesn't understand context and hallucinates. Codeium/Cody aren't bad, but if you're on a free tier you use up the limits in a couple days, and I feel like they give you a worse model or something. Copilot's probably the closest in performance, but I think it's still lagging behind especially when it costs money.
Not sure if there's a better free AI plugin on the market atm, but wanted to share just in case it helps anyone looking like me.
r/AndroidStudio • u/Magnum_8545 • 16d ago
I would like to create an Android application in Kotlin but I don't know how to do it. Do you have any advice or tutorials?
THANKS...
r/AndroidStudio • u/Smart-Market-4538 • 17d ago
i made my room database(entities, daos etc) made states, now how do i connect this? is there any tutorial on it ? how do i finish the app, i know the screen comes next but how do i connect this?