• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

android studio

  1. M

    Android Intent help for login redirection

    Hey all :) Im trying to add an intent to my java code in order for login/register to be redirected to Main Activity. Have seen examples of intent around the web but unsure of how to add one within my code without messing it up. Does anyone know how to do so? Thank ya:love:
  2. T

    "Device Explorer" missing on Android Studio "Giraffe" (M1 Mac)

    Android Studio Giraffe | 2022.3.1 Patch 2 MacBook Pro 16" 2021 (Apple Silicon) Mac OS X Ventura 13.4.1 (c) (22F770820d) Hello, Sorry if this is a "stupid" question but I recently installed (just the other day actually) Android Studio on my PC and was able to browse my AVDs filesystem using...
  3. S

    Issues with signing app on Android Studio

    I am just at the end of my app development cycle but unfortunately I can't sign the app bundle to upload it to the play store. When I attempt to use the "Generate signed APK" function it throws up this error message after I've put in the details of the keystore and moved on...
  4. V

    Searching for a Desktop that could handle Android Studio

    So, I am currently working on a WEAK 8gb ram office computer and it obviously cannot handle Android Studio (running my apps, and opening the emulator, functioning fast is all a struggle) I'm in a search for a new desktop and I don't want to make a mistake so here are some specs I found and I'm...
  5. MrMajorThorburn

    Android Studio: Can I modify the project templates

    I am using Android Studio and would like to modify the project templates so I get the theme and other resource values every time I use those tempates. Is this possible?
  6. D

    Android Studio | No Play store in my virtual phone

    Hi Not sure if this is the correct section but does anyone know much about Android Studio? I googled on ways how to emulate android phone so I can test intune mobile device management stuff I followed this guide and it was pretty easy to set up: Setting up an Android Emulator for testing Intune...
  7. K

    How to do automated testing of a smartwatch app in a emulator?

    I have an android app that can connect to a smartwatch. In android studio i can manually pair a smartphone emulator and a smartwatch emulator, but i was wondering if there is a way to automatically run smartphone emulators, pair them to a smartwatch emulator and test different metrics like...
  8. hrcd

    Can't get ImageCapture use case working for CameraX in Android Studio

    Hello. All I'm trying to do is have a simple preview and image capture working. However, I keep getting an error stating this... "androidx.camera.core.ImageCaptureException: Not bound to a valid Camera" I've been trying to get chatGPT to help figure it out but none of it's suggestions seem to...
  9. T

    Android Studio Constraint Layout Error

    I am getting such an error while compiling the application. When I make a LinearLayout, the error disappears, but when I use a ConstraitLayout, the error appears. Java Class Xml I get this error when I try to convert LinearLayout ConstraintLayout. I changed the Java Class to...
  10. sarahk

    Android Studio won't open

    My MBP died & is in the shop so I've booted up a mac mini after many months, upgraded everything (macos 13.4 (22F66), xcode, vscode, intellij, you name it) including android studio which launches, puts the icon on the dock, then disappears. I've deleted the app, I've deleted...
  11. W

    Help!: What wrong with this code?

    I am a newbie to coding with Android Studio / Korlin. To get started I am trying to build a simple app that give a Treeview of the internal storage of the device its run on (In the AVD I am using a Pixel 6 Pro - 34. The below code build and I can create the APK and deploy it, but opening it, it...
  12. W

    android sdk location should not contain whitespaces

    Hi, For my unity project I need a higher sdk. When I want to change it in android studio (settings -> andriod SDK) I get the message: "android sdk location should not contain whitespaces" The location is: "Program files" with whitespaces C:\Program...
  13. D

    Apps Star Wars initial credits style Android Studio / Java

    Hi all! I've asked this very same in other forums but I had not luck. I want to create a TextView, TextField or similar with an effect in title mentioned. I am newbie programmer so this is being hard to me. I saw libraries such as CreditsRoll but are all so old and deprecated. I've tried...
  14. A

    Android App Banner Ads without AdMob

    I wish to add my own banner ads to my Android mobile app. Not AdMob ads. I've searched high and low for a tutorial on how to do this but I cannot find one. I'd be grateful if anyone knows of such a tutorial as I have spent a lot of time trying to figure it out but without success. Thanks, John
  15. L

    how do i Allow file access from android web view?

    hi, i am loading a web page in to the android web view. When loading done, the upload button is not working. any idea for fix this please?
  16. M

    "Can't resolve symbol 'mywebview'"

    Hey all:giggle: Adding Webview to my app since I have website already made but getting the error above within my MainActivity.java page. All of the xml file are coded fine its just this problem. Can anyone help? Thank ya!!! Code: private Webview mywebview; @override protected void...
  17. A

    cast-enabled Android App vs. Cast-enabled Android TV

    I see there is Google Cast-enabled Android App and Google Cast-enabled Android TV. The first is said to be the sender and the second the receiver. Do I have to have both of these to create an Android TV app that can be on Google Chromecast device? If yes, how do I do this?
  18. J

    parseUri instead of getIntent(); does not work ...

    Hi, I would like to use parseUri instead of getIntent(); but parseUri the does not work. What I have to do ? try { //Intent intent = getIntent(); Intent intent = (android.content.Intent) parseUri( "android-app://com.example.myapp.MainActivity", 0); // message...
  19. J

    Exception dispatching input event :(

    Hi, I am trying startActivity function on a set of simple images which are placed to a GridView, but I am getting a suspicious error - see below. Can someone help me where is problem ? Here is source code (AndroidStudio 2022.1.1 Patch 1, Java)...
  20. A

    Android Studio - How do disable "Go to declaration" when long press on a Mac

    When I long press a highlighted area or keyword in Android Studio (Electric Eel) on my Mac, it automatically jumps me to the declaration, which is extremely annoying, as I invoke this feature by accident 99.9% of the time. As such, I would like to disable it. However, I couldn't find any...
  21. L

    Apps usbManager.getDeviceList() returns empty list after boot

    I'm developing small android app using android studio and java. App have to write to serial port of connected Arduino. There is no issues with connection to device once otg cable plugged, but if I reboot the phone while cable is plugged app unable to establish connection. It turned that...
  22. F

    Beginner Android Studio setup

    I was watching this on youtube and noticed that everything is completed automatically in his Android Studio. For example at 3:08 he gets a drop down menu in MainActivity.kt which consists of the id's created in activity_main.xml. I do get a dropdown but it doesn't consist of the id's that I...
  23. M

    Grid layout Android Studio

    I am trying to learn about Android Studio Grid Layout with a simple example with four buttons. I have made three copies of a button to get four buttons but they stay on top of each other. I have set 2 rows and 2 columns. Shoulden't the buttons adapt to four separate buttons in a grid? I have...
  24. T

    Apps How to get constraints working in Java

    I am trying to programmatically define objects in one of the activities, so I'm using the ConstraintSet class it Java to do it. However, when I run the application, all of the widgets that I gave constraints to with java go to 0,0 as if they don't have constraints. I've tried looking online but...
  25. J

    Issue to write SD Card

    Good morning, I would appreciate some help with an issue that I have with a code in Java with Android Studio. This work perfectly in Eclipse, but not with android. This apk consists of saving data from a form to a txt file. I can't see any error while debugging, but no folder or file is...
Back
Top Bottom