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
answer14245
viewsHow to change the application version in android studio?
I’m about to launch an app and know that at some point I will make updates, but I did not find in the tool the location to change the app version, since it is different from Eclipse ADT, which was…
-
2
votes2
answers4746
viewsHow to adapt an Android app to various screen sizes?
For example, for example... I want the app on Android to be presented equally both on screens from 5" to 3"... And how do I apply a "scrolling" layout, how to add a scroll to the Android layout?…
-
2
votes2
answers1837
viewsHybrid app database using Cordova
What are the possible and most viable solutions to use a database in a hybrid APP (Android/iOS) made on Intel XDK (Cordova)?
-
2
votes1
answer1453
viewsImproved Application to Server Communication
I am developing an application that needs to communicate with the server (send and receive data). What would be the best way to make this data exchange safely and performance? Through REST/WEB…
-
2
votes2
answers81
viewsHow to keep the layout in standby mode?
Well I have two layout teste_1 and layout teste_2 , when I turn apparatus for portrait appears teste_1 and when I turn apparatus for landscape appears teste_2, have to leave this layout in standby…
-
2
votes1
answer164
viewsAndroid: how to group buttons?
Hello, in my application I have a textview with a question and then I have 3 buttons that are the possible options for the answer. Can anyone tell me how to group these 3 buttons to have a kind of…
-
2
votes1
answer269
viewsAccessing Wifi settings from android (IPV4)
I’m accessing the Wifi settings of Android, and is charging as if I’m searching for a standard IP IPV6. I wonder if there is any Wificonfiguration property to set to IPV4
-
2
votes1
answer1120
viewsIs there any method that returns information about the smartphone?
I want information like the version of Android and device model, the method System.getProperties() me returns the properties of the App.
-
2
votes2
answers132
viewsEdittext is deleted when use setSelection() within onTextChanged method
I’m trying to put a phone mask on by the method onTextChanged, the text received in this method is coming in reverse, and when I try to put the method setSelection() for the cursor to position at…
-
2
votes2
answers548
viewsIs there anything that works like a "Firebug" for Android?
I need to recover my Whatsapp password to use Whatsapi. I’ve tried everything that was offered by her (Missvenom, WART, Reverse Engineering [ I couldn’t ], register through API [ itself also without…
-
2
votes1
answer265
viewsHow to insert a Toolbar into Actionbardrawertoggle?
I want to insert an icon like Toolbar but my Android Studio denounces a conversion error to Toolbar... this is the code from which he denounces the error: actionBarDrawerToggle = new…
androidasked 9 years, 7 months ago Everton Luis 1,499 -
2
votes1
answer388
viewsChange of theme of alertDialog as per Android version
I’m developing an app, which uses some alertDialogs at certain times. my question is the following, I would like to leave the theme of these Alerts according to the Android version of the smartphone…
-
2
votes1
answer1890
viewsWhat is the real use of Sqliteopenhelper on Android?
I was watching a course online devmedia explaining about Sqlite on Android, in the example of the course was made a basic crud, were created 1 bank and 2 tables. In the example, I was creating two…
-
2
votes1
answer65
viewsError returning in getView method
I’m doing the app in Action Bar and I have a problem returning the value within the method getItem. Here’s the code: Java test. public class Teste extends Fragment { @Override public View…
-
2
votes1
answer1142
viewsHow to create a sidebar menu with hamburger icon?
I’m starting to use Intel XDK now and I have a question about menu development, I would like to create a side menu with the burger icon and after opening the menu, it becomes a X to close. Following…
-
2
votes1
answer448
viewsList View - returning more than 1 data in a row
I’m implementing a app and I have to have a list view which shall list ALL previously registered "NOTES" using the listing method implemented in the DAO; Each line of Listview must present the…
-
2
votes2
answers200
viewsError loading listview of parse.com
Hi, I’d like to know what I’m doing wrong, because I run the app and it always gives an error, giving a stop. ListView listview; List<ParseObject> ob; ProgressDialog mProgressDialog;…
-
2
votes1
answer278
viewsHow to go to the top of an Activity on Android
I am developing a Java project for Android that is a Quiz and every time I go to the next question I visualize the radio Buttons and would like to position the screen at the top, so that the user…
-
2
votes1
answer2332
viewsRefresh activity after swiping your finger on the screen
How do I update the APP activity after the user swipes their finger down on the screen. How to detect this action to trigger an event in my code?
-
2
votes1
answer269
viewsListing internal memory files in Listview
I intend to create a app that by clicking on "Lists" create a list using ListView based on files found in a particular internal memory folder(path).
-
2
votes1
answer1074
viewsBackground Color of Listview in zebra
I have a layout with two Edittext and an Imageview that will be added to Listview via Basedapter. I wanted to change the background color of Listview in zebra. The problem is that if Listview has…
-
2
votes1
answer258
viewsHide Actionbar in one Ragment but show in another
I am working on a project that is being done virtually all based on fragments. So far, I’ve only got one activity and 4 fragments, within which I need only one of them not to have the ActionBar.…
-
2
votes2
answers358
viewsAndroid app problem when sending SMS to email
I am new as Android programmer, I made the following application; package br.com.google.email; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import…
-
2
votes1
answer829
viewsEdittext Android Accents
someone there knows how I can and if you can do the following, in my Edittext wish the user could not put accents. In case it would be better to treat the text and remove after typing?
-
2
votes2
answers1667
viewsLeave photo rounded equal Whatsapp
I started a short time in the development area for Android. I would like to know what feature I use, in XML, to leave a rounded photo equal to a Whatsapp contact. I already use for some images the…
-
2
votes1
answer985
viewsSend string via bluetooth on Android
I’m developing an Android app that sends a string with the value ola by bluetooth. How do I send ola by bluetooth to a specific address such as 00:00:00:00:00:00? A function that sends a string via…
-
2
votes2
answers538
viewsHow to Generate Drawable Images for Android from Photoshop
How do I generate images drawable for an Android app from a file .psd? I have the .psd with buttons and images of background, but I don’t know how to convert it and use it in the app I’m developing.…
-
2
votes1
answer54
viewsDownload files with Cordova stored in the database
Is there any way to download documents stored in a database mysql, in my aplicativo híbrido cordova?
-
2
votes0
answers2379
viewsIntel XDK project + Bootstrap framework + listview without scroll
I’m developing an app on Intel XDK (1995 version) where the layout is basically a footer with a grouped button inside it. The chosen framework is the Boostrap. Below the image of the app running in…
-
2
votes1
answer1231
viewsDelphi XE8 + Android - Splash screen closes before the app loads and shows black screen for a long time
I’m creating an APP in Delphi XE8, so far so good, the problem is that when my app will be loaded on Android, the splash screen closes too early, the app hasn’t loaded yet, so it shows a black…
-
2
votes1
answer258
viewsListview Customizado
Guys, I have a listview that loads data from a database. These data are numbers themselves, and I would like to be able to differentiate them. Like... if the number is zero, I’d like it to be a…
-
2
votes1
answer3204
viewsCreate Phone Mask for Edittext
I’m trying to create a mask for my phone field, I saw some forums and tried the code below, but it is putting another pattern... I need to put in the pattern. EditText inputField = (EditText)…
-
2
votes0
answers48
viewsLicense free Contruct 2
Researching read that Construct 2 has a recipe limitation in the version free you can’t make any profit with the game, but when they say it means that the game can not generate revenue nor by…
-
2
votes1
answer242
viewscan not find Symbol class Builder
I created a project in Android Studio 1.0, Login Activity. I did the following: No Build.Radle compileSdkVersion 21 buildToolsVersion "21.1.1" dependencies { compile fileTree(include: ['*.jar'],…
-
2
votes1
answer151
viewsDropdown-free Action Bar menu icon
I’m trying to remove the dropdown menu from the Actionbutton Overflow from the Action Bar. In this case it would be the one that has the 3 points, one on top of the other, as default and as default…
-
2
votes2
answers531
viewsWhat is the correct way to get the device date?
This is a relatively simple question, but one that has broken my mind a lot. I need to pick up the date and time at a certain point in my app’s run, but I don’t know what is the most recommended way…
-
2
votes2
answers548
viewsPass String array by parameter to tela2
I am following a tutorial on the Internet and I came up with a small doubt that is the following. In the tutorial, I place items from a String array in a listview and in it I can select various…
androidasked 9 years, 11 months ago Emerson Moraes 323 -
2
votes1
answer348
viewsCheckbox checked/unchecked does not obey instructions
To Activity is started with the layout activity_home and the CheckBox unchecked. When I touch CheckBox, the layout becomes the activity_home_avancado, however the Checkbox remains unmarked. At the…
-
2
votes1
answer85
viewsNotification - Customize Actions
I wonder if it is possible to customize a Notification with your actions. Example: RemoteViews remoteViews = new RemoteViews(getPackageName(), R.layout.customnotification); Notification.Builder…
-
2
votes1
answer426
viewsHow to get the path to my Sqlite database?
I need my app to allow me to back up and re-store the data that is recorded in Sqlite. I followed some tutorials from the internet but I’m not able to make a copy of the data! String packageName =…
-
2
votes1
answer215
viewsHow to block an item from a listview?
I have a list of Textview in a Listview, and by clicking on one of the Textview I have access to a Fragment. How do I stop, when I’m in one Fragment, the Textview responsible for opening it is…
-
2
votes3
answers74
viewsProblem when creating project
Every time I try to create a project in Eclipse Luna for Android on the Console gives various error messages. I have already installed the normal ADT and SDK. Now I can’t do anything anymore because…
androidasked 9 years, 5 months ago Victor Augusto 61 -
2
votes1
answer107
viewsandroid-support-v7-appcompat Do not generate . jar
I’m importing the android-support-v7-appcompat project that lies on: '../Android/sdk/extras/android/support/v7/appcompat/' Configure it as reported in android documentation, despite not showing any…
-
2
votes1
answer333
viewsSqlitedatabase turn back into json
Good afternoon, I need to do a query but I can’t use the cursor. Example I have an object that I created that is called Databasehelper, within it I created some methods…
-
2
votes1
answer1966
viewsWhy is my app not compatible with some devices on Google play?
I posted an app on google play, but unfortunately it’s not available for some of my devices. I am very confused, because in the development with Eclipse, I used the same devices for testing and they…
-
2
votes1
answer628
viewsHow to use variables in a location outside the scope where they were created?
I have the following code: public class TracoActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
2
votes1
answer54
viewsDoes anyone know how to put "UTF-8" and "Scrollview" on Android via Java code?
I am developing a dynamic form, so I am doing everything via java code without using xml. Does anyone know how to add UTF-8 and Scrollview I’m not getting.
androidasked 9 years, 5 months ago daniel12345smith 2,120 -
2
votes1
answer573
viewsTabs on Android
I’m trying to implement a simple code just to show two tabs on Android and later add a content dividing into two activities, one to show examples with IF and the other with SWITCH. I created the…
-
2
votes1
answer212
viewsNotification fixed at the top
I created a Notification but it always compresses and goes down, I would like to leave it always expanded and always at the top of notifications
-
2
votes3
answers124
viewsDifferences xml lines Android (Eclipse)
Guys, in the course I do Android he works on the platform Eclipse(Old version) and I in the latest version, when the teacher uses the command: android.id in it’s all right, but if I type this line…