I've been following a tutorial unfortunately this tutorial is 2 years old and (at timestamp 47:57) where the guy said to press Alt+Enter and import the TextView (called "tvTodoTitle" in this instance) just doesn't work on my version of Android Studio (details pasted below). When I Alt+Enter I...
val cursor = contentResolver.query(Uri.parse("content://sms/inbox"), null, null, null, null)
if (cursor != null) {
//cursor.moveToFirst()
cursor.moveToPosition(1)
var text = cursor.getString(12)
Toast.makeText(applicationContext,text,Toast.LENGTH_SHORT).show()...
I am trying to do this very trivial task, but I cannot find any complete instructions on how to do it.
So far, I gathered that
APK is just an archive that files can be added to using aapt add MyApp.apk file1 file2 ...
Or the files must be added to the assets folder
The APK must be less than...
How can I send a notification or reminder to a user based on their product's expiration date? Can someone please help me? Sorry I just started Android Development.
Avast detected Android Studio (the latest version) as ransomware.
Here is the message:
studio64.exe is trying to delete or change the file C:\ProgramData\Microsoft\Crypto\RSA\b42cc0c3858a58db2db37658219e6400_9205d3aa-d330-4b9c-977e-9d84ee659886...
Ransomware
By the way it was the first time i...
Hello forum,
I am currently debugging an app in Android Studio and I am in a situation where I have an object and I need to find where this particular instance was created. In other words: I need to find the constructor call that created that particular instance.
My current workflow is to find...
Hi,
I am planning to buy a laptop for android development. Is Intel Iris Xe Graphics along with i7, 16GB ram and 512GB SSD enough for Android Studio and emulator to run smoothly without any lag?
Some people said Intel Iris Xe Graphics is not enough to run emulator. I am a bit confused on...
There are two modules:
app (main/application module which contains both Java and Kotlin classes)
lib-wrapper (Android-library module which contains Java classes)
lib-wrapper is published on the Amazon S3 bucket and used as a library dependency in app module. Proguard rules are applied for the...
Is it possible to record a video while playing a video with android-studio? I would like to record a video via a mobile phone's camera while playing a video via YouTube or any video player. For example using the [camera2...
I'm developing an ARCore app with Unity and I'm trying to test it on Android Studio's Android Emulator. I've built the .apk file and installed it on the virtual device but the app crashes a few seconds after starting up. Before that, it's only possible to see the app's UI, while the rest of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.