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

androidstudio

  1. M

    Android Studio Webview help

    Hey all:) I have an app that requires a login. Well after login my screen gets redirected back to the login page not the main page. Does anyone know where at in the code (within the java or xml page) do I edit so that after login it successfully goes to the main page. Thank ya
  2. L

    How to make a widget for Samsung Galaxy Watch 4

    Hi! I have just made an android application for my Samsung Galaxy Watch 4. But now I would like to make it a widget too, I have tried to find somewhere how to make widgets but cannot find out how to do so. I have tried to in my current project to "add widget" but then everything breaks (had...
  3. M

    Wear OS and mobile native app debugger issues

    Hey guys I've created an android application with a wearos module contained within it. This might be a rookie issue given that I'm new to android development (I'm from a web dev background) but I'm struggling to get my wear and mobile apps to communicate, when they are in debug mode...
  4. C

    Question about files on Android Studio

    I have a question about using a real phone to run my Android Studio app. I have been working on an app as part of my senior design class and have it working as I want when emulating my device. However, when using my real device (Galaxy S7 Edge) it will crash when I try and run it. I believe this...
  5. L

    Android Studio hexagon shaped keyboard keys

    Hi, I am trying to make a keyboard with hexagon shaped keys. I made hexagon shaped Drawable. Can I change the shape of the keyboard key to a hexagon shape or make a keyboard where keys are ImageViewws? I am using Keyboard class. Best regards, Leo
  6. Umang Upadhyay

    Application not working in release mode(in production) on play store

    Hello, I am facing a problem with my native android application. Everything works fine when I am testing my app through local build apk in android studio. But the same application is not working properly in production(in play store). It was working fine few months ago, it suddenly started having...
  7. Badar Ismail

    Need assistance to make an OCR Android Application in Kotlin:

    Im wanting to make an Android Application in Kotlin using Information Extraction, what it is supposed to do is, it's supposed to extract text from a picture lets say a menu of a restaurant and once scanned, it's supposed to read it out aloud. Can anyone tell me where I can find a video or a...
  8. S

    How to share the sqlite audio file to whatsapp or gmail?

    Hi guys, I am trying to share the audio file which is recorded and stored inside the app, using the SQLITE in which the path is stored. I need that audio files to shared in whats app and also attached in gmail. So i try to copy the audio file from sqlite to internal dir. but the file is not...
  9. N

    Need help with Android / Java development

    Good afternoon, members of the forum. I have an application, with MainActivity, which starts a service when the application starts. The service sends a POST request to the server every 10 seconds. Everything is fine, requests are received, but only before the phone screen is locked. If the...
  10. O

    Apps subtitle not showing in exoplayer 2.7.3

    i use exoplayer to play mkv video from external url. the video is horriblesub and i try to add my own subtitle (.vtt) but the subtitle does not showing. only original sub from the video is showing..how can i switch the original subtitle in video with my own subtitle ? if i play mkv video with no...
  11. Ahsan Farooq

    Apps I want to set selection of spinner dynamically from singleton class object

    I have created a spinner.I set onItemClickListener on spinner and in Listener the selected item position is stored in singleton class.Now I want to set spinner selection on the basis of that position. I debug my app and there is position is available but spinner is not selecting specific value...
  12. Gleis

    Apps Android Studio - App closes when you press the main button even thought the code is working fine !

    Tried many methods by changing the code, but it closes every time I press the "Try" button. You can find the Design, XML & Java code below. Also Android Studio is up to date. The "//" is the old code I tried. public class MainActivity extends AppCompatActivity { //int randomNumber...
  13. A

    Apps Android Retrofit: Unable to upload image to server. Uploads 0 kb image when using file_put_contents

    Hi, I am trying to use retrofit to upload an image from the android device to mysql database and server. Below is the java code that I am using for uploading the image: ``` private void uploadImage() { Bitmap fullSizeBitmap = BitmapFactory.decodeFile(pathToFile); Bitmap...
  14. Design Issue

    Design Issue

  15. Gleis

    App Inventor Which is the best OS to choose in Android Studio?

    Hey guys! I was just wondering, which is the best OS to choose when opening a new project in Android Studio? Is there any other difference, except for the numbers of users using that specific operating system? And which one you recommend me use? Editied : OS=Minimum API level Thanks :)