Most voted "android" questions
Android is an operating system for mobile devices developed by Google and the Open Handset Alliance. Use this tag to reference questions related to programming for Android and be relevant only to this operating system. Use the [android-subject] tag instead of [subject] alone.
Learn more…8,935 questions
Sort by count of
-
0
votes1
answer60
viewsFuture is not recognized in Flutter (Dart)
I’m studying Flutter and recently I’ve had a rather boring problem. I was using Future for my asynchronous programming and I did all the code, just like the example I was seeing. However, I realized…
-
0
votes0
answers14
viewsList of properties with Soapobject on Android
I have the following parameter structure in the webservice, and the Alistafoto parameter is a list (array): <parameters> <NCodCli></NCodCli> <AListaFoto>…
-
0
votes0
answers13
viewsCapture user date and move on to be selected with BETWEEN Sqlite, Android Studio
Personal I am trying to carry out the selection of a list of data in the database Sqlite, using the following code snippet, the selection in the form that is made below is already working well.…
-
0
votes0
answers16
viewsPosition search Itemclick Arraylist
Good Night, I have an Activity with Recyclerview and Searchview by clicking on any cell brings me a new attempt with the information of the chosen cell, but when searching a given word returns item…
-
0
votes0
answers30
viewsProblem When Streaming Android Camera to Wowza
I’m trying to transmit the camera image of Android by rtsp to Wowza, but without success. No error returns, but also in local Wowza no traffic appears. I have local Wowza for testing at…
-
0
votes0
answers26
viewsHow to call the camera instead of the webview (php) application gallery in android studio?
My code works to call the gallery, but I need instead of the gallery it open the camera first with gallery option. Follows code below import android.app.Activity; import android.content.Intent;…
-
0
votes0
answers43
viewsflutter - Migrate to Android embedding v2 - plugin audioplayers error
I have a bit of a problem (I believe). Earlier today, I was working on my app and everything was ok, but now at night I went running and got this error message: Upgrading to Android embedding v2 (I…
-
0
votes1
answer11
viewssetOnFocusChangeListener problem with edittext without filling
someone could help me please. I am with a problem, I made a setonfocus in my app, for it calculate and show the result as soon as the user click outside the edittext, however if the user does not…
java android android-studio android-activity android-adapterasked 3 years, 8 months ago Jonathan Castro 1 -
0
votes0
answers13
viewsAndroid Studio (Java) - Help with gesture direction detection using buttons
Hello, I’m starting to program, I’m making an app where I need to press a button and if it gets pressed and is dragged I want to know the direction it was dragged. I’m using the Java language.…
-
0
votes1
answer155
viewsRecyclerview No Adapter Attached; Skipping layout (Kotlin) How to resolve?
Oops guys, I’m having this problem. I’m developing a CRUD in Kotlin and I’m having difficulties in the database reading page... Once I enter Activity, loads the Textsviews and all the other elements…
-
0
votes2
answers31
viewsLocking app when adding a new page in Pageradapter
I’m creating a Viewpager using a Pageradapter, and a Tablayout for the pages, it creates pages normally, but when I try to create a new page after setting the Adapter from Viewpager, the Crasha app,…
-
0
votes1
answer17
viewsProblem with Annotation after updating android studio
I have an implementation made with Socket.IO on android. However after I update the android studio, everything stopped working... I created routines to facilitate lib implementation, one of them is…
-
0
votes0
answers77
viewsAndroid 11 crashes when sharing file
I always shared files via my app, but with the version of android 11 I could not perform this process anymore, because the file in question will not. I tried using Fileprovide as per the…
-
0
votes1
answer32
viewsError making calling methods from one class through another
My application crashes when I write this code below, I am trying to stop the Login Class in the Registration Class and access the Login class methods through the Registration class.…
-
0
votes1
answer36
viewsObject of listview for each Manactivity
I would like to call a Manactivity for each object of the listview, without passing anything to the new one because I will create the content of the separate Manactivitys. However as this the code…
-
0
votes1
answer24
viewsResponse from the API
I am implementing a Search function in a list, I want to get the answer from my API to see if it is correct for my Search. How do I get the response of a fun @GET from my API? I’m using Retrofit…
-
0
votes1
answer26
viewsinsert data date sqlite - java
Hi, I am trying to pass a date set by the user to the database, but whenever I click add the application crasha and I have the following error: java.lang.Illegalargumentexception: Cannot format…
-
0
votes1
answer21
viewsError with Nav Controller
I am facing problems running my app because it does not open the main, the problem is in my Nav controler but do not know how to solve it. Log: E/AndroidRuntime: FATAL EXCEPTION: main Process:…
-
0
votes1
answer36
viewsPivot Room Sqlite
Good night, you guys. I am using select below, but I would like the turns to be columns. As there is no pivot option, how can I do this? select tma.turma as TURMAS, tno.turno as TURNOS, count…
-
0
votes1
answer19
viewsHow to get the Primary Key ID of the information from a line clicked on Listview?
Hello, I am new to Android programming and am doing a project of which I need to do a CRUD with a litView, anyway, I already have it displaying the data, however I would like to know how I do to get…
-
0
votes0
answers22
viewsAsynchronous Tasks using Kotlin Coroutines
I’m readjusting an application and need to implement asynchronous routines using the coroutines. I am currently trying to use the function 'Globalscope.Launch(Dispatchers.Main) {}' as an alternative…
-
0
votes0
answers21
viewsHow to browse a multidimensional list in flutter
I have a list that I will use to form a Drawer, passing it title, link and icon. List<List<String>> DrawerList = [ ["Perfil", "/perfil","Icons.vpn_key"], ["Turmas",…
-
0
votes0
answers32
viewsFlutter Navigator "Context argument type cannot be assigned to the 'Buildcontext' parameter type"
I’m trying to navigate to another page on the flutter, so I insert the line: Navigator.push(context, Materialpageroute(Builder: (context) => Loginpage())); however context of that error: The…
-
0
votes1
answer16
viewsJava Filter (Android) with Parsequery field type Pointer
How I would make this query, being that this field (product) is of the pointer type, which references another table (group)? ParseQuery<ParseObject> queryProdutos =…
-
0
votes0
answers10
viewsHow to Change Action Bar Top Andoid Studio Background
I need to make this layout, whose design is not mine I have already agreed to change the icone of the overflow, but I need to put this green bar with this image, being it a button, for now I only…
-
0
votes1
answer32
viewsErrortext conditional does not work
I’m trying to use a validation on Textfield, I tried it as Textformfield too, but without success! I would like that when typing or pressing the Confirm button, the error message appears or not in…
-
0
votes0
answers20
viewsHow to Record and Read Files on Android 11(API 30)
When I run the APP and at the time of reading and downloading a PDF file, I get the error of: corrupted or missing file. I know that Android 11(API 30) has problems with external files. This is my…
-
0
votes0
answers18
viewshow to take firebase data and put it into a textview?
I want to take the user data registered in Firebase and put them in a Textview, but I’ve tried several ways and none worked. Code of Profile Fragment: public class PerfilFragment extends Fragment {…
-
0
votes1
answer24
viewsHow to pass a parameter from an Activity b to Activity A
Good evening, I need help to solve the following problem, I’m doing a Million Dollar Show style game. I have a main activity that is where the questions occur and has the buttons that trigger the…
-
0
votes0
answers26
viewsImage Tag does not render image from device, only from outside Native React device
I’m trying to make a kind of gallery in React Native but I found a problem when accessing local files (in case only images), I used the Cameraroll library that is now in the React Native Comunity…
-
0
votes1
answer26
viewsI can’t make a setOnItemClickListenner with a Long (Android Studio)
I have a Person class with the attribute "code" type Long. I have an error in this code block. Code1 is where I got the ID. list.setOnItemClickListener(new AdapterView.OnItemClickListener() {…
-
0
votes0
answers17
viewshow to pass props within constants in React-Native
Hi, I’m developing an app in React Native and I have this convert function that gets 3 props(code, codein and name) they all get a String and I want to put the prop code in place of USD, so it…
-
0
votes0
answers5
viewsError when building with Android Studio with Vuzix Speech SDK
I exported a project in Unity to Android Studio in order to implement the voice commands function of Smartglass Vuzix M400, the problem is that I am trying to build and the following error appears…
-
0
votes0
answers16
viewsPermission Denial: Intent Service Mode
I am trying to start the activity of an android system application but is occurring the following error. Apparently you need a permit, how can I get such permission ? java.lang.SecurityException:…
-
0
votes0
answers16
viewsHow to use Reference in Firebase?
I am training in a digital point hitting app, and I wanted to know how I could create a rule for each user to be able to register 4 daily point i would have the Users document and the Records…
-
0
votes0
answers11
viewsAndroid serial communication
I have an Android app that does serial communication with an interface. The device I use has two serial ports: ttymxc0 and ttymxc4. When I try to access both ports at the same time, the library…
-
0
votes0
answers16
viewsNotifications with Jobscheduler is not working
I want my app to send notifications once a day, so I’m using Jobscheduler that looks newer (I’ve tried alarmmanager and there were other errors). However, I’m not getting any notifications, nothing…
-
0
votes0
answers22
viewsTextfield componentization with color changes
After componentization of a Textfield from the login page, the color changes (fillColor and labelStyle) do not work properly. The main class login_view calls the Component (Textfieldcomponent). //…
-
0
votes0
answers7
viewsCordova Can’t save files inside root folder
I’m trying to save it in the briefcase Download in the root do dispositivo Android, but do not access it and the file is not created, not even if I create directory. In the Cordova documentation you…
android apache-cordova front-end cordova-pluginasked 3 years, 2 months ago Matheus Perozini Magalhães 1 -
0
votes1
answer16
viewsSend data from one Activity to another
Good afternoon, I’ve been trying to pass an Edittext from one Activity to another, but I’m not getting it. Activity A. listaViewLivros.setOnItemClickListener(new AdapterView.OnItemClickListener() {…
-
-1
votes1
answer296
viewsProblem with string alignment
I have a problem in my Android project that I am not able to solve. I have a series of strings that are summed to form a larger string as the following example: String teste1 = "O.P. Processo…
-
-1
votes1
answer485
viewsHow to Create a Live Wallpaper
I would like to know in which area of the application (Androidmanifest.xml, etc.) I need to indicate that my application is able to provide wallpapers to the area of Live Wallpapers.
androidasked 10 years, 8 months ago user4647 -
-1
votes2
answers109
viewsI have a question about Imageview
I have a question regarding Imageview has how I leave a tremendous picture or blinking as soon as I load the screen that it is? Someone could inform me as a postcard some tutorial
-
-1
votes1
answer472
viewsAlternative mobile development - Java FX, Android, Codenameone
I’m conducting a research of native mobile development alternatives with some market tools. In addition to the platforms' own native development tools (iOS and Android, for example), I found some…
-
-1
votes1
answer2580
viewsPick up show and change Time / Date
Good morning! I would like to take the time of mobile play on the screen so the user can change and save the time the user chooses and the same thing for the date. example to do like the alarm clock…
-
-1
votes1
answer57
viewsNo implementation found for int
I’m having trouble trying to use some extra libs in my project I have a JNI folder and or OBJ both have the necessary files, only the time I click on the button to perform the action happens this…
androidasked 10 years, 7 months ago user3487417 1 -
-1
votes2
answers1603
viewsDelete All Sharedpreferences from Android App
I am in the middle of a development of an application on ANDROID, which contains many Activity and for each Activity has some checkbox and I am using Sharedpreferences to save what was selected if…
-
-1
votes3
answers4045
viewsDBMS to Sqlite
Can anyone recommend me a good SGBD Sqlite as I am using the sqlitebrowser to manage the databases of my Android applications, but I can’t do almost anything on it.
-
-1
votes1
answer196
views"No view found" error closes my application
I’m creating a project with two screens, one with a button and the other with a list of phone numbers. Only when I click the button, the error message appears "Unfortunately app has stopped". My…
-
-1
votes1
answer100
viewsManagement of phone calls on Android
My application needs to know two information (the ones I didn’t find on Android Developers): when a call ends and if this spent any cell phone balance. I’ve found the states IDLE, OFFHOOK and…