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
answer85
viewsAccessing another APP within mine with Oauth 2.0
How to use Oauth 2.0 to change Apps. I have some Apps and I want that within it we can access other Apps (from the same provider), without having to login again.
-
0
votes1
answer174
viewsError during upload request to Amazon S3
When trying to upload an image is giving problems and would like to know what the problem and how to solve. Amazon request: public void amazon() { String fileName = photoFile.getName(); long…
-
0
votes1
answer40
viewsImageview error cannot be converted to Byte[]
I am mounting an application to which you want to save the image in the SQLITE Database. I am not able to proceed because the following error occurs ImageView cannot be converted to Byte[] I ask to…
-
0
votes1
answer714
viewsError saving SQLITE: table .. has in column named
Error when saving the image path in SQLITE. Says it does not have a column named pathImage in the products table attached to the image with the error for better understanding. My Dao Product Class:…
-
0
votes0
answers58
viewsHow to synchronize data between different users?
I’m new to programming and I’m trying to create an app. I’m trying to figure out how I can synchronize the data between a group of users. For example, I want an application where one user can add…
-
0
votes1
answer98
viewsThe last Listview item is always deleted even by deleting an item in the middle of Arraylist
I own a Adapter any and by clicking on an delete icon, the item in my ArrayList is removed. The problem is that even by removing the desired item, the ListView is updated, always removing the last…
-
0
votes1
answer1443
viewsError: Jsonexception: End of input at Character 0, when sending Android information to a PHP Webservice
I’m sending information from Android to a PHP Webservice via lib Volley. Everything works perfectly, except with special characters. Map<String, String> params = new HashMap<String,…
-
0
votes2
answers1011
viewsupdate method (sqlite) does not update database data
I have a listview that displays the items of the database with an update button, this button calls the screen with the values set in editText, I edit, click save, it returns me the updated message…
-
0
votes2
answers73
viewsCalendar on Android
Hello personal I am new here and forgive me for some immaturity in the area of programming for Android. The business is the following I am developing an application that needs to pick a date, so my…
androidasked 7 years, 8 months ago Jorge Avila 1 -
0
votes1
answer164
viewsError connecting with Webservice + Soap + Android
Good afternoon, I am having a problem connecting to the webservice. I am using ksoap2 library. public class CallSOAP { public final String SOAP_ACTION = "http://tempuri.org/yteste"; public final…
-
0
votes1
answer51
viewsSqlite shared between android Flavors
Hi, I’m looking to make a paid ad-free version of my app that is already published in the play store. I wanted that if a person buys the paid version he does not lose all the data already registered…
-
0
votes1
answer1233
viewsHow to use Elevation?
I went to use Elevation to test, but I inserted it in the XML of a button and did not change the elevation of it , if you can help me , thanks from now
-
0
votes1
answer776
viewsHow to view HTML elements in an Android Textview?
I am developing an Api that returns some texts, but these texts have tag HTML, is bold <b> or line <P> would like to know what would be the best way to print this in a TextView, or if I…
-
0
votes1
answer180
viewsSearch Data in a Listview with Arrayadapter
I have a listview with Jsontask to search in my database is everything OK. In this listview I have several fields, Plate, Brand, Model, Year. etc. I saw some examples on the net but it is for simple…
-
0
votes1
answer539
viewsHow to make a post using Retrofit
I need to create a post in the retrofit to which sending follows this pattern, I have each class separately and a class IDVerification that count all together, and I don’t know which way to mount…
-
0
votes2
answers1481
viewsChange the Navigationdrawer menu color?
Change the Navigationdrawer menu color, the one that Oce pulls up a drawer and brings up the menu ]1…
-
0
votes0
answers57
viewsAlarmmanager and Broadcastreceiver stop working when mobile is turned off
I created an Alarmmanager that calls a Broadcast that triggers an event that should happen from time to time. This working but if I restart (turn off/on) the phone loses service and no longer the…
androidasked 7 years, 8 months ago Regilan Meira 126 -
0
votes0
answers102
viewsError starting Activity in Api 17
I have a code that is working perfectly in api 25, but when I run it in api 17 it gives this error below: 03-25 13:26:59.750 1895-1895/? E/AndroidRuntime: FATAL EXCEPTION: main…
-
0
votes0
answers62
viewsContext, when to use?
My question is simple, what is the context function in an application ? what’s the difference between using one and not using one? thanks in advance !
-
0
votes1
answer773
viewsError with Coordinatorlayout
XML: <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"…
-
0
votes1
answer102
viewsError when compiling Phonegap
When running the command to compile phonegap phonegap build android But you make a mistake: [phonegap] executing 'cordova build android'... Running command:…
-
0
votes1
answer118
viewsAndroid - How is gen folder generated?
I created a program that uses a base project to generate other projects. The applications have the same functionality, what changes is the layout, the images, the names of the packages, etc. The…
-
0
votes1
answer601
viewsdisplay listview in the same Activity after consultation
I have this consultation layout with a Listview: After marking the RadioButton and write the search parameter would like the list to appear with the database data (detail, I have a Listview that…
-
0
votes1
answer2062
viewsError in Android Studio what to do?
Seems this mistake to me Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. Error:(2) Error retrieving…
-
0
votes1
answer109
viewsHow do I maintain and display Countdown when leaving the app?
I’m building an app to run tasks every hour, and I want to show countdown. But when I exit the app, when I return, the countdown restarts. I need that when I return to the app, the countdown is…
-
0
votes1
answer54
viewsEvent onClick with Android Preferences
I have some preferences within the PreferenceScreen in the archive xml/preferences.xml. These are some items that I need to be shown to the user. See below: <Preference…
-
0
votes1
answer129
viewsHow to use an arithmetic signal to separate one value from another in a mathematical string?
I’m developing a calculator that, at the end of the code, performs a function called mostrarResultado(), this function receives the campoTexto from the screen, Ex:("2+3"), and I want whatever the…
-
0
votes1
answer42
viewsFriendlychat - date in messages
I implemented in my Android Studio project the Friendlychat available in codelab. But there’s no date and time in the messages. How to Implement the Date and Time in this Project? In this link are…
-
0
votes0
answers67
viewsDynamic creation of imageview
How to create imageviews on android dynamically based on a result of a database search? For example, I have a product that will always have an image. But he might have one or two extra images. How I…
-
0
votes1
answer70
viewsTimepicker as a draggable bar
It is possible to make a timepicker this image shape? So I can put in a range, hours. If so, is there an example or a library? If not, any suggestions? Imagery:…
-
0
votes1
answer119
viewsFind current location
I am developing an application where I need to remove the current location of the user, the problem is that the code I developed returnsme the last coordinates existing on the device and I only…
-
0
votes1
answer76
viewsForms of monetization in applications
What ways to monetize apps you use ? And which are the easiest to apply?
-
0
votes1
answer55
viewsFloatingactionbutton ,how to appear on all screens?
How do I make this Floatingactionbutton (Email button) appear on all my screens , without having to put one on each screen?…
-
0
votes1
answer50
viewsTransparency effect on components
How to use the transparency effect on my components such as a button or a textview?
-
0
votes1
answer120
viewsWhy does the app close when I start Activity?
I have in my onClick method the button to open the Activity within the Registersreadyoactivity, as follows. Bundle args = new Bundle(); Intent i = new Intent(CadastroProntuarioActivity.this,…
-
0
votes1
answer324
viewsHow to open new Activity by clicking on the child element in Expandablelistview?
I wonder if it is possible to open a new Activity by clicking on a child element of a ExpandableListView, keeping in mind that for each child item element open a specific Activity? My layout…
-
0
votes1
answer185
viewsListview update does not work
Hello, Can help? On the search screen is returning the data from the previous research plus the new research performed. Listview does not update only with new search return results. I’ve used the…
-
0
votes1
answer297
viewsHow to use gif on Android?
I’ve tried using GIF on ImageView , but it doesn’t work , has some way to make Android accept GIF images?
-
0
votes1
answer582
viewsDynamically add new views
I have an Activity that contains the cardView of the image at the end of the question that has 3 edittext. I was wondering how I can do so that when I click on some button, a new cardview with the…
-
0
votes1
answer336
viewsHow to add scroll in ion-tabs with various tab?
I am developing an app in Ionic, with this, I have a page with tabs, but I intend to put 10 tabs and will not fit in the devices, how to put a horizontal scroll to the tabs? <ion-tab title="Home"…
-
0
votes1
answer80
viewsHttp access via gson with parameters
In my first investment in android development, I came across the following need. I need to create a login screen by accessing the one address and capturing the gson return below. How could I do?…
-
0
votes1
answer1055
viewsSearch View in a Listview
I am trying to implement a Search View in a List View of my project. I saw some tutorials but I could not implement any because there was always an error here and there by the peculiarities of each…
-
0
votes0
answers365
viewsHow to make Progressbar fit the screen?
I’m developing an app for my site and finally manage to add a ProgressBar that accompanies the page loading, then manage to put a style and now just missing that it really starts from the beginning…
-
0
votes1
answer49
viewsIs there any standard for documentation of the architecture of an android application?
I am developing an application and only now, at the end of the development, a person was assigned to help me and asked me to do a detail of the architecture to facilitate the understanding of this…
-
0
votes1
answer150
viewsIntegrating Webservice C# with android
I have a C# Web Service but I can’t consume it on Android. Follows the Code of android and the LogCat. //----------------------------- Conectando a Base WS class asynProjeto extends…
-
0
votes3
answers604
viewsRecyclerview adapter: problem when changing the color of a button
I’m using RecyclerView and putting together a list of buttons. I can change the color of button according to a if, if the condition is true it changes, but when you go up and down the list, you end…
-
0
votes1
answer103
viewsHow to stop Handler inside an asynctask
I have the following asynctask, which contains an Handler inside it, but when I leave Activity I close the async but sometimes Handler keeps calling the async after it’s closed. No crash in the…
-
0
votes1
answer90
viewsListview lines disappear when scrolling
I’m wearing a listview and populate it with a cursoradapter. When scrolling up and down the lines disappear. If I start with 30 elements, as I scroll up and down I get less... until I get more or…
-
0
votes0
answers49
viewsHow to list multiple items horizontally with title and description?
i am developing a virtual store for Android and would like to list the products horizontally with your title, price and description, I tried to do using Linearlayout but ended up giving error due to…
-
0
votes2
answers442
viewsHelp with sounds in Libgdx
I’m using this library for games , and wanted to know how I could do to put sounds to play during the game and with preset time?