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
answer79
viewsGoogle Cloud Messaging and Synchronization Standardization
I am building a project that will use Google’s GCM, something new in my projects, and I would like to know the following. At the time the user makes his registration who will request the first data…
android web-service api pattern-design google-cloud-messagingasked 9 years, 3 months ago Giancarlo Abel Giulian 3,999 -
1
votes1
answer176
viewsCommunicating Android app with Bluetooth
I’m trying to perform an implementation to display paired Bluetooth devices and those connected around a mobile phone. I did several research, I found a example and now I’m trying to build an…
-
1
votes1
answer645
viewsAndroid studio installing the app over another app
I’ve been using the same apk to perfect it, went to the folder and gave a Ctrl v Ctrl c and started editing the new apk. I changed the name, the name of the folders, I changed some screens, only…
-
1
votes1
answer92
viewsCaused by: java.lang.Unsupportedoperationexception: addView(View) is not supported in Adapterview
I’m making that mistake: Caused by: java.lang.Unsupportedoperationexception: addView(View) is not supported in Adapterview I researched and the errors that were cited did not solve my problem. I…
androidasked 9 years, 3 months ago Caique Oliveira 1,143 -
1
votes1
answer476
viewsAndroid Studio, how to collect data from other screens and show on the last screen?
I have an app with 5 screens, The first screen the basic user information where user inserts the information; In the second screen the information about your interests; On the third screen your…
-
1
votes1
answer122
viewsProblem using the Jaybird
I am unable to connect in my bank using the jdbc of Firebird. the bank is very old and I can not discard it yet, I need to at least download the customer list and save on sqlite. the problem happens…
-
1
votes1
answer167
viewsImport dependency google-api-client
Good morning! I’m trying to matter google-api-java-client of github for my Android project; I’m using the AndroidStudio, and follow my build.Lade apply plugin: 'com.android.application' apply…
-
1
votes1
answer50
viewsError in android studio after update
I updated version 1.2.0 to 2.2 and now every time I try to create or open a project appears : Fatal error initializing 'com.intellij.Debugger.Debuggermanager' And don’t let open the project, some…
androidasked 8 years, 5 months ago Tiago Coelho 739 -
1
votes1
answer954
viewsGPS oscillating even when in a fixed location
I’m working on an Ionic app, with traceability, but the gps signal oscillates very certain 200m, even being in a fixed place, know some solution for this?
-
1
votes0
answers204
viewsAndroid/Sdk/build-tools/22.0.1/aapt'' finished with non-zero Exit value 1
I have this problem in my project and I’ve tried the souluções of these posts: Post 1 Post 2, but none of them worked for me. The projector runs perfectly in Android Studio 1.2, but when I upgraded…
-
1
votes1
answer1024
viewsFilter Edittext from listview on android
I’m making this code that’s running blaza, but there’s a problem, in my string it’s written "Mr. Jose Ventura" then when I type only "Jose" or just "Ventura" nothing appears in the search, could…
-
1
votes1
answer492
viewsCreate an android database
Hello personal I am learning php and mysql and I came up with the idea to host a question site on my mobile and share wifi with my friends so they can access my site and answer my quiz without…
-
1
votes1
answer171
viewsRemove shadow from Tablayout API 21
I want to remove the shadow of TabLayout, but in API 21 nothing is working. I tried to define windowContentOverlay or the elevation for null and nothing works. The rendered screen looks like this:…
-
1
votes1
answer121
viewsEncryption on Android
I want to save information inside a database on Android. But for the sake of security, I’d like to encrypt this information. Does anyone have any simple code for this? (and that it is possible to…
-
1
votes1
answer378
viewsHow to view images with a proportional screen size with libgdx?
How do I display my game images in the size proportional to the device screen size, so that if an image is 1/3 wide of the screen on a 480x800 screen it should also be 1/3 wide on the 320x480 or…
-
1
votes1
answer47
viewsOpen another activity silently
Here’s the thing; I added a button to open an activity from another app. It is possible to open only silently, that is, anonymous, invisible, minimized, or better, without the user noticing!? Intent…
-
1
votes1
answer60
viewsRemove title space in Alertdialog
I have the following dialog in my application As you can see, in it I will not use Titulo (nomequalquer.setTitle("blabla")) nor Message. I would like to know what I can do so that this white space…
-
1
votes1
answer101
viewsList changes color at wrong position
I made a method for when I click on a listview item it change color. The problem is that it also changes color all items that have a range of 12 items of the item I clicked. For example: I have a…
-
1
votes1
answer77
viewsANDROID Database Connection Error
I created a database on localhost, and wanted to pull this database to my Android, created two classes, CONEXAODAO, and Conexaomysql: public class conexaoDAO { public String tabelaDepartamento () {…
-
1
votes0
answers346
viewsMake Calls / Send SMS between Android emulators
Using the AVD Manager, created two devices - one with API level 22 and another with API level 23. Loading both devices with the emulator, I would like to make calls and send SMS from one to the…
-
1
votes1
answer301
viewsOpen Video in a Webview
I made a java browser for Android using webviews, it works perfectly except for the fact that it does not play videos via stream. I want to know how do I make it possible? Thank you..…
-
1
votes2
answers106
viewsError importing csv files from FTP to the application
I am creating an app and I am trying to import some csv files that are on ftp into android. then I have hers the following way: Spinner will list all the files present in the "import" folder that is…
-
1
votes1
answer193
viewsAndroid Toolbar occupying all layout space
I’m trying to carry out the implementation of a Toolbar in my Android application, but for some reason it takes up all screen space. I wonder why, since I am using the Below property in the layout…
-
1
votes2
answers132
viewsHow to get the reference of a dynamically created Edittext when you click it?
I created some Textviews and Edittexts dynamically as in the code below: public void criaForm(){ for (int i = 0; i < vet.length; i++) { TextView tv = new TextView(this); tv.setText(paises[i])…
androidasked 9 years, 3 months ago daniel12345smith 2,120 -
1
votes0
answers62
viewsJPA + Ormlite android: not all of the entity are returned
good evening, I’m having the following problem. I’m using JPA with Ormlite to make persistence on Android. I created a class Produto and a Categoria, both inherit from an abstract class…
-
1
votes1
answer168
viewsClick on the icon of the action bar to open a new entry
I would like to know how to click on the icon/word in the action bar and open a new. Here’s what I’m doing: @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId())…
androidasked 8 years, 5 months ago Artur Mafezzoli Júnior 441 -
1
votes1
answer970
viewsChange variable from another class
I have two Activity/classes, follow the boot of my first Activity where when I click goes to the second Activity: public void onButtonClick(View v){ if(v.getId() == R.id.Busuarios){ Intent i = new…
-
1
votes1
answer3299
viewsHow to leave Activity in full screen?
I have the following Activity: I would like to remove the bars that are highlighted by the yellow rectangle: I’ve tried changing Androidmanifest.xml by adding the following line, but the application…
-
1
votes2
answers1472
viewsHow to destroy my Activity?
I need to destroy my Mainactivity when I exit the app. How can I do this?
-
1
votes2
answers673
viewsApp name does not appear in emulator equal appears when I’m fiddling with code
The name of the application that I’m making in android studio does not appear on the emulator screen. The installed icon is appearing and the name, but it does not appear on the screen or in the…
-
1
votes1
answer1643
viewsAndroid Studio freezes in Gradle: Resolve dependencies ':app:_debugCompile'
When I open Android Studio Gradle runs several processes. When arriving in Resolve dependencies ':app:_debugCompile' he hangs and even telling abort does not respond. This is my build.gradle: //…
-
1
votes0
answers74
viewsRotate android image without resizing it?
I am "translating" a program written in c# for Android, and I had a problem during the rotation of an image. The code works normally, but returns an image of size different from the original, I…
-
1
votes0
answers82
viewsPinning Certificate Application in APP
I would like to apply pinning in an app but never applied. I’ve seen some articles on Pinning, like the of this link, but it doesn’t specifically explain where I have to put it, and how I put it in…
-
1
votes1
answer6018
viewsHow to make a POST using the Httpurlconnection class of Android?
I need to send a JSON generated in the application Android for a web application. Using the class HttpUrlConnection I did the following encoding: private void sendPost(String url, String postParams)…
-
1
votes1
answer3532
viewsDirectory Download Android
Hello, in my app I download a CSV file, but it never appears in Smartphone Downloads, I can only view it with the File Manager. And also when I try to pass the file to the computer, I can’t find the…
-
1
votes1
answer772
viewsApp removed from playstore for violating section 4.4 of the developer’s distribution agreement
I recently sent an app to the playstore and it was working normally since last week. I got thousands of users, everything was wonderful, until today google, just like that, without me having done an…
-
1
votes2
answers5462
viewsError while compiling in Android Studio
I made a first project in android studio, but when compiling it generates the following errors: Error:(2) Error retrieving Parent for item: No Resource found that Matches the Given name…
-
1
votes1
answer436
viewsWhat to use instead of . getIntent
Does anyone know what syntax I use instead of .getIntent. Follows my code: Intent myIntent = Intent.getIntent(); if(Intent.ACTION_SEARCH.equals(myIntent.getAction())){ String query =…
androidasked 8 years, 5 months ago Artur Mafezzoli Júnior 441 -
1
votes0
answers327
viewsconnection via socket server android, client c#, server within another network
I was able to do the communication C# -> Android without problems, but when Android connects to a local network, I do not know how to make this connection via ip, since it acquires the local IP.…
-
1
votes0
answers107
viewsUpdate UI during print screen process
I have a Activity and several Fragments in it and, in a Fragment, I have a list of images. I want it, through a floating button, to print all the images without having to change the image that…
-
1
votes0
answers97
viewsHow can I find data from a live youtube stream?
Hello, I am trying to bring a live stream that is performed by a fixed address on youtube through an api, using youtube.liveBroadcasts.bind. But for that, I need to get the following data: id and…
-
1
votes2
answers69
viewsAlternative to Absolut Layout
I saw that the AbsoluteLayout has been discontinued for reasons of standards on different phones. Currently use the RelativeLayout, but if by it keep the objects in relative positions, if I change…
-
1
votes1
answer405
views -
1
votes0
answers59
viewsAndroid - How to turn off automatic camera lighting?
I would like to disable automatic camera lighting on Android. When I use the camera for example, if I approach something to the lens while shooting, it makes the shooting clearer. I would like to…
-
1
votes1
answer41
viewsNotifications stop appearing and gives console error
It was receiving about 7 notifications as soon as the user logged in that were set by an alarm and sent to an alarm receiver where it creates the notification each with its id. I ran the app again…
androidasked 8 years, 5 months ago Tiago Coelho 739 -
1
votes1
answer357
viewsSave the Shard’s state?
In a simple app I have Fragments and need to save their state, so that when the user returns from one fragment to the other, the typed text, chosen number, checked box, etc... suggestions ?…
-
1
votes0
answers302
viewsEncryption/Decryption Android
Does anyone have an example of Encryption/Decryption on Android? And that has an interesting security? Remembering that I use the Java language in Android development.
-
1
votes1
answer2790
viewsApp runs on emulator but no icon appears
I’m creating an app for Android using Android Studio. The application works normally when running on the android emulator, however, neither in the emulator nor when I run an apk and install on…
-
1
votes0
answers33
viewsMonetizing android app
Good morning! I want to put an app in the play store for 99 cents. How will I get the money for each app download? I read something about google Wallet but I can’t download the application in…
-
1
votes1
answer1064
viewsHow to change the color of Edittext’s bright cursor?
I’d like to know which attribute name changes that color bar,.…