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
answer3326
viewsHow to create custom transitions in Android Studio?
I would like to know how to make custom transitions on Android. Transitions between activities are always the same. Have some tutorial that teaches you how to improve transitions?
-
1
votes1
answer438
viewsApp webview Session or cookie
Hey, you guys! I’m creating an app (hybrid) for android, from HTML5, CSS and JAVASCRIPT, like Webview. I will use API through PHP using MYSQL, exchanging information with JSON. My question is this,…
-
1
votes1
answer75
viewsHow to get Android version and device RAM size?
I’m developing an app that checks Versao Android and Memory Ram Size. How can I get this information?
androidasked 7 years, 8 months ago Antonio Salvador Samuel 13 -
1
votes0
answers29
viewsSpecific attribute with Xmlpullparser
Good afternoon, everyone, I’m trying to consume an XML file from a Url. So far so good. Only I am consuming by the tag "img" and the attribute "src". Only the tag "img" appears twice and each one…
-
1
votes1
answer82
viewsHow do I check if the device has virtual buttons?
How to identify devices that have virtual buttons to treat the space they occupy on the screen ?
androidasked 7 years, 8 months ago Arthur Silva 186 -
1
votes1
answer63
viewsalertDialog with confusing layout in Fragment
I can’t change the layout of a alertDialog() who inherited a layout I don’t know where. I’ve tried to set a customAlertDialogLayout also unsuccessful. I’ve tried changing the context and nothing…
androidasked 7 years, 8 months ago Rodrigo Givisiez 53 -
1
votes0
answers69
viewsActivity does not work as it should
Good afternoon, I have a class that receives parameters from another Internet to perform the search in a webservice, when you enter onCreate, check if the instance is being created for the first…
androidasked 8 years, 10 months ago Ronaldo Lopes 453 -
1
votes3
answers181
viewsHow do I use the new Java 8 Date API?
I would like to know how I compile in my Gradle Build to make available the new java 8 date API in my android studio
-
1
votes0
answers309
viewsMaterial and design contact profile screen
Opa. Does anyone know if you have any project ready on github or elsewhere on this type of screen ? It is the contact screen with material and design I would like to implement this screen in my…
-
1
votes2
answers496
viewsBuild Gradle Eterno
I couldn’t find anything like it. When I try to run a book project it gets like this: "Gradle: Resolve dependencies: 'app:_debugCompile'" And do not compile for anything. I changed my Gradle file to…
-
1
votes0
answers35
viewsHow to call an Activity from a click on an item of an Expandablelistview?
I’m developing a project where there’s a tablayout and in one of the tabs an expansive list. However I wanted a method so that when clicking on the specific options of the expandable list open…
-
1
votes1
answer109
viewsAndroid how to optimize a large chain of ifs
I would like to know how to optimize a large chain of ifs so that the code becomes more efficient and readable. My Android application uses version 2.3.3 (API 10), in this application I have an…
-
1
votes0
answers67
viewsPopupmenu appearing at the top of the screen
I did an implementation of a PopupMenu being called within a Adapter of a ListView, the mistake that this happening is that when I call the PopupMenu, the same is being displayed at the top of…
-
1
votes1
answer180
viewsHow to create getter from Local Date variable?
I have a class called Hospede, where I have the method getData_entrada(), that returns a variable LocalDate(new java8 API). However, when I try to capture this method, it always returns to me…
-
1
votes1
answer82
viewsWhat are the criteria to compile in the minimum version of Android
I’m developing an app and I had to import a Github project as a module, zxing, I chose to import as a module instead of importing as a dependency because then I can edit the classes and disable most…
androidasked 7 years, 8 months ago Davi Resio 187 -
1
votes0
answers51
viewsIs it possible to receive a null object from another fragment on Android?
The problem is this: I have two fragments, the first has a list, which if clicked, sends an object to be edited in fragment B. In fragment A there is also an inclusion button that when clicked opens…
-
1
votes1
answer1181
viewsSave user information to Firebase Realtime Database
In accordance with the documentation says, one should not use the getUid() user to authenticate users to the backend server; instead, use the getToken(). However, I see a lot of code out there using…
-
1
votes0
answers103
viewsHow do I connect to a user-selected SSID?
I’m doing my thesis and I’m developing an Android app to set up home devices Iot (wifi). In this case, the devices are being simulated using a Rspberry Pi 3, which creates an access point (captive…
-
1
votes1
answer121
viewsError compiling project.Buildgradle
I uninstalled the android studio and installed again and now I can’t compile my project. The following message appears: Error:Plugin with id 'com.android.application' not found. build.Gradle:…
-
1
votes1
answer61
viewsImporting images from Google to the Android app
I’m building an App in which I want it to allow, through a button, I choose images from the gallery and include and save inside the application. But I have a problem IMAGE_GALLERY_REQUEST because…
-
1
votes0
answers205
viewsFirebase Auth with Facebook - Save information to Realdatabase
Guys, I’m using Firebaseuth to authenticate in my Android app with social networks like Facebook and Google, however, with Google Login I can do in addition to authenticate, save the returned user…
-
1
votes0
answers71
viewsClose an Activity and start another (Intersticial admob)
I have an Interstitial admob on an Activity and when I press a button I put the following lines of code: botaoid.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v)…
-
1
votes2
answers600
viewsMpandroidchart
I am using Mpandroidchart to make charts. The problem is this, when I have many items in the caption, it expands leaving the chart small. You can create a scroll in the caption instead of expanding…
-
1
votes1
answer2842
viewsUbuntu Cordova - Build with problem
Guys I’m going up Cordova on Ubuntu 64, but I’m having build problem. [Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually. Failed to find 'android' command in…
-
1
votes0
answers72
viewsHow do I put this menu in my app?
It has a button that by clicking or sliding to the side it will open the menu and appear the options…
-
1
votes1
answer45
viewsHow to use Shadows?
How to use the Shadows effect on my components?…
-
1
votes1
answer84
viewsProblems to enable remote access SQL Server + Android
Good afternoon I made a webservice on Asp.net, and I need to access it through an android application. In any normal function, it works normally, but if it is a function that has access to the…
-
1
votes1
answer1070
viewsHow to apply transparency gradually in a Linearlayout
Good morning! I’m having trouble finding some property of Linearlayout to control transparency. My situation is as follows I have a Linearlayout with a background image, and I also have…
androidasked 8 years, 10 months ago dnsfirmino 401 -
1
votes1
answer160
viewsLoad Fragment using tablayout
I have some Fragments with TableLayout, is in that order: 1, 2, 3, 4, 5, 6 I used the method viewPager.setOffscreenPageLimit(5) when I create mine viewPager. So far ok, I don’t want him carrying…
androidasked 7 years, 8 months ago Igor Fastroni 31 -
1
votes0
answers785
viewsHow to change the file style.xml Delphi firemonkey
I wonder how to change this file style.xml to change the notification bar of android in standard material design (http://antonioleiva.com/material-design-everywhere/). That is I want to change the…
-
1
votes0
answers303
viewsAutocompletetextview display items that have accent when typed without accent
I own a AutoCompleteTextView, defined as your Adapter I have a list that receives the name of cities as, for example, São Paulo, but if I inform you in the field the value Sao Paulo, without the…
-
1
votes2
answers1453
viewsLeave app only in portrait mode
How to make the application work only in portrait mode, and when turning the screen nothing happens ?
-
1
votes1
answer197
viewsMVP - What is where?
I have a question about the MVP. In my studies I understood that in M = Model there is everything that has to do with business rules and codes for handling business-related data, bank access,…
-
1
votes1
answer217
viewsHow to Install Appium
I’m trying to instate the Appium in Android Studio, but I’m not sure how to do it. How can I install the Appium in the Android Studio ?
-
1
votes1
answer112
views"Unfortunately, *my app* has stopped" in the data pass to Activity
I’m making an app that formats bibliographic references according to ABNT, but there’s been an error to pass the data typed by the user to the next activity, that displays the formatted data. Follow…
-
1
votes1
answer63
viewsgetView is not being called but getCount has items in Listview
I’m having a problem with a Listview that isn’t loading the values. That’s my situation: I have an application that at a certain point opens a Tabbar with 2 Fragments and inside one of these…
-
1
votes1
answer55
viewsProgrammatically set button text color
I have a button created in my class Main via code, that is, programmatically. See: Button btnJonSnow = new Button(this); btnJonSnow.setText("Jon Snow"); How can I program the color of the button…
-
1
votes1
answer103
viewsReactive Native error when generating Android app
I’m running the commands: react-native init AwesomeProject cd AwesomeProject react-native start And then that command: react-native run-android The error that appears: How to correct this error ??…
-
1
votes1
answer1531
viewsHow to use more than one extends?
When I create the project it comes like this public class MainActivity extends AppCompatActivity{ would like to use more of a extends how to do ? import android.support.v7.app.AppCompatActivity;…
-
1
votes2
answers471
viewsError generating Key Store
I was following the steps of a book , to publish an application , but when creating JKS the android studio returns me an error…
-
1
votes0
answers348
viewsHow to create an Activity where the user can create a profile in the application
I am developing an application and in this application the user will be able to create a profile for it, with its name, photo, email, etc. My question is this part of the photo, how do I insert some…
-
1
votes1
answer346
viewsButton that when clicking and holding it has a sharing function
I have several buttons that when clicking , emits a sound , I want to make the click and hold the button appear the sharing options , for facebook Whatsapp etc how do I do it ? , follows my button…
-
1
votes0
answers216
viewsHow to Insert on Android?
Using Sqlite and Android Studio how to INSERT ? Let’s use as an example a table with the following data: String name Age int Double media Using different data types;
-
1
votes1
answer107
viewshttppost is not solved in my class in my application
I can’t import class from org.apache.http.conn on my Eclipse app. This is my class: package br.com.cadastro.cadastrocompleto.suporte; import java.io.IOException; public class WebClient { private…
-
1
votes1
answer66
viewsStrange behavior of Basedapter on android
I have a ListView with CheckBox, that one ListView is organized with two List in Adapter, one that would be all items, and the other only with the selected. I created a CheckBox to add the…
-
1
votes1
answer168
viewsHow to return to the top of an Activity?
Following the standards of Material design, by clicking on a button of a Bottom Navigation that is already active, Activity should roll to the top I have a Framelayout with Coordinatorlayout, which…
-
1
votes1
answer784
viewsReact Native installation error
I am trying to configure the environment of the Active Act on my computer. Able to install the choco package manager. But when I try to install python2 with the command: choco install python2 this…
-
1
votes1
answer182
viewsHow to call an id hosted in the Activity layout extended by Fragment?
Well, I’m developing an app, in which if you have a navigation Drawer and in this navigation I put to open each item in a new Activity, and in each acitivty will have a layout, right so far okay.…
-
1
votes0
answers155
viewsJquery and keyboard on android and IOS
i am having difficulty capturing which character the user pressed when using smartphone with ANDROID/IPHONE. I use the jquery keyup event, but the answer is always Undefined or 229. Someone knows…
-
1
votes0
answers59
viewsError trying to enter data in mobile database (Android Sqlite)
I am trying to insert 864 objects in the mobile database. I can enter up to 450, but then generates an exception: System.Argumentexception: Busy. Does anyone have any idea what might be going on?…