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
-
-2
votes1
answer24
viewsIs there a way to access a Vector programmable?
I have a vector of a star and wanted to access a path of it from within my Java class to change the color. <vector android:height="24dp" android:viewportHeight="197.24483"…
-
-2
votes1
answer87
viewsWhat is the name of the bottom bar of Android and how to manipulate it?
In my application I removed the background from the status bar with the following code: Window g = getWindow(); g.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,…
-
-2
votes2
answers117
viewsHOW TO MAKE A BOOT APPEAR ONLY TO THE ADMINISTRATOR
Can someone help me? I’m trying to make an admin page but I’m having difficulties, because anyone who logs in to the application, will see the button (ADD PRODUCTS) and (Delete products), because…
-
-2
votes1
answer251
viewsDoes anyone have any idea how to mount a multiple alarm system using the Workmanager library?
I am developing an application that works as "Alarm" to take the medicines at the right time. I am trying to use the "Alarmmanager" Repeating to run these alarms. However, some problems are…
java android android-studio android-service android-alarmmanagerasked 5 years, 3 months ago Andre Alas 54 -
-2
votes2
answers207
viewsHow do I make Firebase Cloud Messaging send a message to a specific user?
I’m trying to get Firebase Cloud Messaging to send a message to a specific user but I’m not getting... First I am registering the device and saving the id on my server:…
-
-2
votes1
answer30
viewsI need to call an Activity through a Fragment, I looked for some answers but they didn’t work
JAVA public class Contactofragment extends Fragment { Button btnMaps; TextView txtMaps; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {…
-
-2
votes1
answer40
viewsError while creating a file
For some reason you can’t create a file. W/System.err: java.io.IOException: No such file or directory Follow the code below: public class MainActivity extends AppCompatActivity { ImageView…
-
-2
votes1
answer59
viewsPlyer installation didn’t work, how to make it?
I’m trying to make an app that can send a notification to the user on his phone. For this I found the plyer package, so I used the linux commands to do the installation: `git clone…
-
-2
votes1
answer38
viewsFirebase replaces information instead of adding
I’m making a task app with Kotlin and firebase, but every time I try to add information to my database, it doesn’t add it but replaces the previous one. This is my code: class AddActivity :…
-
-2
votes1
answer84
viewsFloatingactionbutton using Relativelayout
Whenever I drag the Floatingactionbutton, it always goes back to the top left corner. Even using Relativelayout. I’m using Androidstudio 3.6 <?xml version="1.0" encoding="utf-8"?>…
-
-2
votes1
answer509
viewsAndroid app generating Exception: androidx.fragment.app.Fragment$Instantiationexception
My app is in production and I’m having a problem in a small part of the devices, I haven’t been able to identify the reason or at least reproduce the problem in a test environment, I did some…
-
-2
votes3
answers1630
viewsUpdate data on Setstate() Flutter page, enter Loop
I’m having trouble updating the status I’m taking a list and showing her If I put Setstate in _getProdPro loops, if I don’t put, the data is not updated on the screen, someone knows how I can call…
-
-2
votes1
answer110
viewsInvalid Layer Save Flag - only ALL_SAVE_FLAGS is allowed android API 28+
I’m having this problem after changing the targetSdkVersion of 25 for 28, I am having to make this change because it is necessary this sdk to publish in the google store. To exception generated:…
-
-2
votes2
answers64
viewsConstraint Layout cannot align to the corner of the screen - bottom of
Hello, I have a Layout. xml that has a text as parameter and that in the lower right corner of this screen should be displayed a Floating Action Button, as shown in the preview layout below What in…
-
-2
votes1
answer179
viewsLoop on an Object with an array variable
{ List<PedidosPendentesOBJ> listaPedidos = new ArrayList<>(); List<ProdutosPendentes> produtosList = null; JSONObject o = new JSONObject(ret); JSONArray ts = o.names(); for (int i…
-
-2
votes1
answer226
viewsProvider Flutter: Exception Caught by widgets library
All right ? I’m having an error after adding an initState with Provider I no longer know what to do, I did everything and did not solve my problem, really I’m lost! After I added this snippet in my…
-
-2
votes1
answer55
viewsBottomnavigatorbar is not accepting pages. How to fix?
I’m trying to make an app that uses Bottomnavigatorbar as a tool to navigate between screens, but by placing a page to be executed after clicking on one of the menu icons, it’s returning a string…
-
-2
votes1
answer133
viewsjava.lang.Nosuchmethooverthrow: No virtual method group(Ljava/lang/String;)Ljava/lang/String;
Oie I have a problem with an app in Android Studio, it compiles and runs on my phone, but when I click on some button it gives this error. Error: E/AndroidRuntime: FATAL EXCEPTION: main Process:…
-
-2
votes1
answer24
viewsHow can I take the result of the imc to and put in another Textview??? I tried this way
public void btCalcularIMC(View v){ float altura, peso, imc; altura = Float.parseFloat(edAltura.getText().toString()); peso = Float.parseFloat(edPeso.getText().toString()); …
-
-2
votes1
answer56
viewsDelete firebase user
Good afternoon, I’m having trouble settling an issue. I’m inside a fragment programming my delete account button, but it’s not working, nothing happens when I click on it, I think there’s something…
-
-2
votes1
answer38
viewsCheck if there is already value inside the Array and listview?
How can I make sure that no values are repeated inside the Array and listview? I’m making an app for "registration" code. It has an Edittext, and a send button, when clicking it takes this Edittext…
-
-2
votes2
answers28
viewsA question about Layout in android Kotlin
Good morning, I am developing a delivery app and wanted to make a cool layout and for that I looked at the layouts of the app that already exist and saw that a type of screen for the store products…
-
-2
votes1
answer52
viewsInstalling apk from an app from another app already installed
After research I found nothing recent or specific about it, so I decided to ask here. In the company where I work we have some mobile solutions and different customers use different sets of Apps.…
-
-2
votes1
answer59
viewsIs Webview in the background possible?
Good morning friends, I am creating a very simple app, it loads a url in the webview (site url of the tracking getrak) because when there is an occurrence the page plays a sound. My app works…
-
-2
votes2
answers53
viewsBy doubling the value returned when running onDataCahage in FIREBASE, can you help me?
I want to recover the value of a drive in Firebase and save that value whenever the field flag for "noDebitado" and thereafter, with each loop interaction for, I want to set a new value for flag…
-
-2
votes1
answer16
viewsThe app closes when the user leaves the account
When the user leaves the account the application closes. The problem arose when I changed the rules of the Altime from that { "rules": { ".read": true, ".write": true } } for that reason { "rules":…
android android-studio firebase firebase-database realtime-databaseasked 3 years, 5 months ago izadora 1 -
-2
votes1
answer21
viewsit inside the . addSuccessListener
I’m using Firestore for a project where I do a user query, however this giving problem when I get the "it" object inside the method. addOnSuccessListener, no it.name an Unresolved Reference error…
-
-2
votes0
answers5
viewsHow to open a Dialog from a Basedapter on Android?
I have a Button inside a Basedapter where relates the production orders of my APP, the Onclick of that button should open a Dialog with a new basedapter, but is giving the following Exception:…
-
-3
votes1
answer108
viewsProblem with programming logic in Java
Good afternoon to all, started two weeks ago a sequence of studies on programming for Android. I am studying by this book http://novatec.com.br/livros/googleand/sumario9788575221860.pdf bought it a…
-
-3
votes1
answer95
viewsIs it possible to install Android without editing the manufacturer?
Hello, If in a hypothetical situation, I have how to change the boot of my phone, can I install raw Android? Like, I know manufacturers change it before they install it, but without this edition it…
-
-3
votes1
answer109
viewsI’m in trouble, I want to encode the new code for utf-8 and I’m not getting it
// CODIGO ANTIGO QUE NAO ATUALIZA, MAS UTILIZA UTF-8. Cache cache = AppController.getInstance().getRequestQueue().getCache(); if (cache.get(URL_FEED) != null) { // fetch the data from cache try {…
androidasked 9 years, 9 months ago Mauro Santos 672 -
-3
votes3
answers581
viewsWhat strategy to use to create website that sends information to Android app?
I’ll make an Android app for a store. My idea is to create a website so that the store owner can send the price information and images to be displayed in this application. How to do this? It would…
androidasked 8 years, 8 months ago Ivan Filho 9 -
-3
votes1
answer70
viewsMillions of users simultaneously on Android
I see that there’s only beast on this page,and I’m new to mobile development,webservices,so I’d like to understand how this structure works, from now on my many thanks!
androidasked 8 years, 5 months ago Luiz Pinheiro de Jesus 13 -
-3
votes2
answers92
viewsWhat is the best way to develop icons for Android apps?
What is the best way to develop icons in Android apps?…
-
-3
votes1
answer56
viewsHow to change Padding or margin of homeasupindicator
How to take the space between arrow and icone android?…
-
-3
votes1
answer87
viewsAndroid studio development
I would like to know how to get an action in an Imageview , I put a character inside it and wanted it to jump . Remembering , I’m developing a game in Android Studio. Thanks in advance.…
-
-3
votes1
answer76
viewsObject null, I don’t understand why
I have this myDB object which is an object of the Databasehelper class, but when I try to invoke a method of that class it says that that object is null. Class where this object: public class…
-
-3
votes1
answer72
viewsCheck if the user has balance/credit
I am making an app in which I need to check if the person has credit on the mobile. I was wondering how can I do it. Mt thank you
-
-3
votes1
answer85
viewsIs there the possibility of creating a popup and inside it a textbox to type something?
Is it possible to create a popup and put something to be typed and two buttons, Cancel and OK? There is this possibility?
-
-3
votes1
answer356
viewsScroll between two dates
I have two dates in milliseconds. I need to recover every day of that period to make an insert in the database. I thought I’d do one for each day of that period, but I have no idea how to do it!…
-
-3
votes1
answer53
viewsHOW TO IMPLEMENT THIS FIXED TAB BETWEEN ACTIVITIES?
I’m developing an Android project, like a social network, I’m with the idea, it’s good, but I’m wanting to implement a function: A fixed menu, type, on the facebook app, has a fixed menu, News Feed,…
-
-3
votes1
answer631
viewsERROR IN ANDROID STUDIO APP CLOSING WHEN RUNNING
recently (and all of a sudden) an extremely annoying and annoying error has arisen in Android Studio, in fact the IDE itself does not point error in any code, but when I run an app that has images,…
-
-3
votes1
answer128
viewsFailed to add Class objects to the Array List
I have the class below: package carcleo.com.radiosingular.classes; import android.util.Log; import android.widget.Toast; import com.google.gson.JsonArray; import org.json.JSONArray; import…
-
-3
votes2
answers183
viewsWelcome the logged in user
I am creating a database to register users, I would like that after the user shows the login in another Activity one textView with a welcome message of some data entered at the time of registration.…
-
-3
votes1
answer1204
viewsHow do I see time q opened and closed an app on Android phone?
My Instagram showed my visa last at 3:00 a.m., but my last access was at 1:00 a.m., in Google I see this access at 1:00 a.m., but there only shows the time q opens the app, n até q horas stayed in…
androidasked 5 years, 6 months ago Priscila Queiroz 11 -
-3
votes0
answers20
viewsI need help am starting as android developer
Could someone help me with some questions about the programming area?
-
-3
votes1
answer59
viewsHow do I fix this mistake
I’m new in programming for android, I know java and c#, I want to press the button and change the label text only managed to appear on Toast package gabriel.meaperte; import…
-
-3
votes1
answer86
viewsRegister with Tabs
Gentlemen I am making a registration and I chose to do using Tabs because the same is extensive ( many fields ) and involves photos, this way I can put organized information, is the registration of…
-
-3
votes1
answer70
views"D/Error.Response: com.android.Volley.Parseerror: com.google.gson.Jsonsyntaxexception: Expected BEGIN_ARRAY but was STRING at line 1 column 1 path $"
I have a listview that shows establishments in the database. Until today, in the morning, it was displayed and now no more and this error/ warning appears on the console D/Error.Response:…
androidasked 6 years, 11 months ago GustavoSevero 2,567 -
-3
votes1
answer192
viewsException in thread "main" java.lang.Illegalargumentexception: Type without superclass: module-info
I created a game with libgdX and runs normally on mobile emulator, but now to generate the key apk it does not generate, I’m wasting a little time with it, someone knows the solution ? Exception in…