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
-
-1
votes1
answer37
viewsMaps KEY is not working
Recently I had to format the pc... And I took a backup of my projects... When I reinstalled Android Studios and opened my project I realized that the map is not showing!!! But all the rest of the…
-
-1
votes1
answer601
viewsFlutter: Error when adding more than 3 items to a Listview
Hello, all the Listview of my application in Flutter if add more than 3 items occurs to Exception below: I/flutter (13259): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY…
-
-1
votes1
answer101
viewsAndroid studio: how to organize images in subfolder
when placing the images in a new subfolder of drawable, the images and the new folder no longer appear in the left panel, in the "android" tab, in the other tab as "Packages" the folder is there.…
-
-1
votes1
answer47
viewsError declaration Android-Studio
I wonder why my android studio is giving these errors in the statements, this print ai is a new project, statement made by own android studio this giving error.…
-
-1
votes1
answer122
views<android.support.v7.widget.Toolbar> and does not show the image
I’m wearing and the picture’s not showing…
androidasked 5 years ago Marcelo CL 21 -
-1
votes1
answer514
viewsLost Keystore android
I lost my android Keystore and can’t update the application. How to retrieve my key was not registered in the storage program?
-
-1
votes1
answer39
views"Non-static method" error
Below is my part of the code that is giving this problem: "Non-static method' write(byte[], int,int)' cannot be refenced from a Static context". I don’t understand this error message! Could you help…
-
-1
votes1
answer123
viewsText search in the database (Firebase)
Good evening I need to customize a search to recover data from the Restaltime database. I currently use the following code to query an item in my database: query =…
-
-1
votes1
answer44
viewsCheckbox selection
Good night, In my app, I need to select a total of 2 Checkbox boxes. After selecting 2 boxes, all others should be set with setEnabled(false). So far so good, but how will I know which box was…
-
-1
votes1
answer27
viewsDelete position of array
Good afternoon I have an order app, record the items within an array when I need to delete an item from the request, somehow the array size does not decrease for example I registered 3 items and…
-
-1
votes1
answer48
viewsMeteor problem with remote control for Android
AVD - Sim SDK - Sim Adb - Sim Meteor add-platform android - Sim They all worked on this command: Meteor run android the following error occurs: C:\Users\Raphael Kieling\Documents\Estudo -…
-
-1
votes2
answers352
viewsWhat mistake is this and what can I do to fix it?
Error: ADB exited with Exit code 1 Performing Streamed Install adb: failed to install C: pedidos build app outputs apk app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package with.ample…
-
-1
votes1
answer48
viewsgetWindow() command is not recognized
Someone help me for love of desu, to using SDK 29 so the problem is not that at least...…
-
-1
votes1
answer1221
viewsError with Map<String, Dynamic> - Cannot recognize String as Dynamic
I have the following Flutter error: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'String' This error is occurring when I have run the code seginte: List…
-
-1
votes1
answer27
viewsIcons larger than the text box
How do I decrease the size of these icons in my layout?…
-
-1
votes1
answer21
viewsWhy does the Button Widget text always get uppercase when inserted?
I am creating a UI programmatically and every time I insert the text in the setText() buttons, the text is uppercase. In the xml UI the same thing happens. I would like the UI to keep the text as it…
-
-1
votes2
answers42
viewsProblems with React-Native
Hello, I was installing the React-Native on my PC, when I went to give "npx React-Native run-android" inside the project folder, it gives an error:…
-
-1
votes1
answer1993
viewsHow to leave a fixed footer in the Android layout?
I have the following layout on xml on my Android designer: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"…
-
-1
votes2
answers45
viewsHow to display text at a certain mysql time
Good evening, my compliments, I have a php system with mysql, could someone help me with my question? My site displays data from companies in frontend. The open and closed time data are in the…
-
-1
votes1
answer16
viewsLock rotation when clicking
I’m making a Puzzle but I’ve caught it in one part. It seems simple, but I can’t find a solution. Well, I’m using the mouse to click on an object so that it will rotate to a certain angle, but I…
-
-1
votes1
answer9
viewsBackground Service being killed on android
We created a GPS monitoring application, every 30 seconds or so the application updates the user’s position on the server. With the recent changes of Android 8 and following, we saw that the issue…
-
-1
votes1
answer37
viewsHow to import java class from another app’s src folder?
For example, I have several apps. They all have in the src folder the same java class (example: Calculator.java which is the same for everyone). Only when I modify this class, I have to copy it to…
-
-1
votes2
answers385
viewsI can’t change the button color (xml) in Android Studio
I can’t change the color of the button in Android Studio. Whenever I create a button by XML it takes the primary color that is set in Themes.xlm and when I set a color, the code does not error but…
-
-1
votes1
answer81
viewsFailed to build Android Studio project :app:packageDebug
Execution failed for task ':app:packageDebug'. > A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable > Entry name…
-
-1
votes1
answer19
viewsHow to create pixels on the canvas in java
I am building a drawing app (For a progam workout) and had the following question, How to create plagued java pixels on the screen?
-
-1
votes1
answer9
viewsHow to implement a separate android project on Gradle dependencies, without modifying the path or url
I have this scenario in Gradle (build.Radle) implementation ("br.com.mycompany.feature:feature:$mycompanyFeatureVersion") { transitive = true exclude group: 'br.com.mycompany', module: 'comons' } I…
-
-1
votes0
answers11
viewsBuild error in android studio using Kotlin
When I compile my application it does not build and from this error, how do I fix? in another application it works. java.lang.Assertionerror: annotationType(): unrecognized Attribute name MODULE…
-
-1
votes1
answer31
viewsHow to create a navigation bar that stays open even when the user leaves the app?
Speak, Glr! I’m a beginner in React Native. I would like to know if it is possible and, if yes, how to create an "options bar" that appears even outside the app, when the user leaves the open window…
-
-1
votes0
answers6
viewsHow to perform tasks with closed app (without being terminated) on android Xamarin
I’d like to sync with the bank to show notifications to users, but everything I encounter is with the app minimized, I need you to segment with the app closed, IN BACKGROUND
-
-1
votes1
answer165
viewsSeveral Imageview defined src in xml, from java.lang.Outofmemoryerror error:
I have a FrameLayout which contains the list of courses with picture of the respective courses, all defined in XML, but error occurs. There are several images, around 15, with about 1280 x 1024…
-
-1
votes3
answers458
viewsListview images and quantity - Android
Next, I have 2 questions that relate, so I’ll ask on 1 topic. Well, I use this query to return a list of strings with product names. public List<String> getMedico() { List<String> list =…
-
-1
votes1
answer697
viewshow to popular the object array with Sqlite data
Well come on, I’m doing an application, this will have several student names. I made a method that add each name in a table of BD. in the comic is like this(Antonio, Pedro, Caio, Felipe......). I…
-
-1
votes2
answers29
viewsInflateexception
The error is as follows: 02-02 10:41:14.546 30898-30898/com.compscitutorials.basigarcia.navigationdrawervideotutorial E/AndroidRuntime: FATAL EXCEPTION: main Process:…
androidasked 7 years, 9 months ago Lari Souza 39 -
-1
votes2
answers99
viewsIcons in actionbar do not appear
I have a Fragment and I’m putting these two methods in the class @Override public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { menuInflater.inflate(R.menu.alerta, menu);…
-
-1
votes1
answer50
viewsWhite at the bottom of the screen with Scrollview
I put a ScrollView in one of my layouts, to allow users with smaller screens to view all information. The problem is that when I start the application on my mobile phone (5.5') I see a white band…
-
-1
votes2
answers436
viewsRecyclerview is behind/hidden from Toolbar/Actionbar
Solution: link Good evening, guys, how are you? I have a problem and to be clear I took a print to show you: As you can see the list (Recyclerview) is getting behind while it should be below the…
-
-1
votes1
answer7399
viewsHow to resolve java.lang.Runtimeexception error: android.os.Transactiontoolargeexception
Guys I’m having this error when I try to share a bitmap via Intent on Android 7.0, I’ve researched enough and could not solve, so I saw Google itself has the recommendation to avoid the error…
-
-1
votes1
answer1886
viewsHow to import projects and modules from Android Studio via Git
Hello! Good afternoon. I am a bachelor’s student in information systems and am practicing development for Android. My teacher provided a Git link containing a "pack" of each subject covered in his…
-
-1
votes1
answer68
viewsDesktop C# Mobile Comparison
I am a young man in the world of programming, the language I decided to learn was C#, and I did well to learn. These days a friend of mine gave me a good idea for a mobile app during a conversation…
-
-1
votes1
answer77
viewsWhen I place a main screen, this main screen disables the calculator on the second screen
I made the App to add two numbers, but when I put a start screen with only one button to call the sum screen, the calculations of the sum screen are inactive, how to solve? Thank you Screen…
androidasked 7 years, 7 months ago Gilberto Almeida 1 -
-1
votes1
answer598
viewsButton to open a new Activity is returning to the initial Activity
In my application I made a login screen and put a button to authenticate the user through Facebook, after logging in the main screen and on this screen has a button that calls a new Activity. So far…
-
-1
votes1
answer612
viewscall a screen with only buttons and methods
I need to create a screen that calls another, but I want to do it using only methods, and in the code I did it is not calling the other. On the first screen I have a list and a button include. When…
-
-1
votes1
answer70
viewsI’m not getting the inclusion of the bank
I’m studying android and I’m doing the bank’s CRUD... only I made the code and put to run it does not work. It has the layout with a field to write what you want to save and on the side a button,…
-
-1
votes2
answers634
viewsHow to receive instant payment by credit card?
Well, these days I had to refuse a site and application proposal, because they needed to have a form of payment by the application/ site where it should be approved instantly, so that the order was…
-
-1
votes1
answer715
viewsonClick Recyclerview Android
I’m following this implementation tutorial of Tablayout and Viewpager with Recyclerview: Tablayout and Viewpager with Recyclerview I’m using this project to test how to catch the click action in…
-
-1
votes1
answer193
viewsInsert a Splashscreen or imageView into app crosswalk webview
I have a crosswalk webview application. as my site takes about 5 seconds to open on screen, I thought about inserting a splashscreen or imagemview ( I don’t know if there’s a difference between the…
-
-1
votes1
answer56
views -
-1
votes1
answer38
viewsTabs with different sizes (Viewpager)
I need to create an APP with multiple tabs, same as Tagram and Whatsapp. And that when you pass to a specific Tab, it stays in fullScreem, or unless the Actionbar disappears, and when you pass to…
-
-1
votes1
answer719
viewsPass text to an Edittext
I’m making an android app that reads a barcode. I saw a video on Youtube that taught how to do and replicated to take as a basis and worked well. The problem was when I tried to put the read return…
-
-1
votes2
answers320
viewsGet the user’s location (City, State, Country) with the facebook login?
How do I get the user’s city, state and country, with a facebook login? I have the code below: facebook.setReadPermissions("email", "public_profile", "user_birthday","user_location"); private void…