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
votes0
answers106
viewsHow to connect Xamarim with Visual Studio 2015?
Hello, I downloaded Visual Studio last week with the main goal of mobile development. Visual requested the installation of Xamarim and the like, and I did everything, however, after all…
-
1
votes0
answers218
viewsConsume Webservice asmx with Android
I am trying to get SOAP provided from an asmx local webservice on my android emulator. On my PC the result is as follows: In the emulator however, I tried to open in your browser in two ways: Using…
-
1
votes1
answer640
viewsHow to recover json data from a URL using HTTP POST on android?
I need to recover values Json of a given URL using HTTP POST, but I’m having a hard time getting started. How can I perform such operation on Android?
androidasked 8 years, 11 months ago Diego Kappaun 524 -
1
votes1
answer84
viewsShow an application A within the Fragment of another application B
In my app, when the user clicks Add Contact I call the Contacts app using a Intent. But instead, it would be possible to open a Fragment whose content would be the Contacts app itself, i.e., show…
-
1
votes0
answers198
viewsHow to send a message via Facebook Messenger?
I’m making an Android application that needs to send a message through Messenger Facebook. My application is already integrated to Whatsapp... by Whats I always check if there is the application…
-
1
votes1
answer991
viewsReceiving data through the connection between the Internet and the Internet (Ethernet Shield)
I built an app to receive data from a sensor connected to the Antarctic over the Internet using a Shield Ethernet. For this I took the result of the page and separated only the sensor measure on…
-
1
votes0
answers85
viewsBytebuffer byteBuffer = Bytebuffer.NEW();
I have a problem with Bytebuffer byteBuffer = Bytebuffer.NEW(); I can’t understand why I don’t have access to it. NEW, it simply doesn’t exist, I don’t think and I don’t find it... I need it to…
-
1
votes1
answer1835
viewsFormat layout for Zebra printer printing
I was able to print on a Zebra RW 420 printer, but I don’t know how to format the texts, I looked at the documentation to send the data to the printer and noticed the following: String cpclData = "!…
-
1
votes2
answers988
viewsMessage when user is exiting application
I know I can use the AlertDialog for this, but without creating button, only when the user is pressing the back to exit have appear an alert? Like, when it comes out (it involves the Android system…
-
1
votes2
answers164
viewsApp Automaticao Residencial
I’m creating a home automation app, in it I have the main screen that when selecting the desired category it opens a second screen with the commands (example category lights, it opens the commands…
-
1
votes1
answer5215
viewsHow to click on the Listview item and call another screen?
I created a listview where it shows my registered items, as I do so when clicking on the desired item it opens a new screen with the description and details of the item? Class where displays my…
-
1
votes0
answers214
viewsHow can I save the data from parse.com in the device’s memory?
I’m trying to do something simple, but for me a little complicated, I’m trying to save the data coming from parse.with on the device, because when it has connection to the internet it works, but…
-
1
votes1
answer651
viewsAndroid App Closes Unexpectedly
I followed the steps and just copied the programming from the google website. I made a button, that it checks the connection with my network, through the IP and Port, when clicking the button, if it…
-
1
votes1
answer226
viewsimplementing onClick
My problem is this: I have a string array with the name phrases, where I have several sentences. And I’d like to show them all in one TextView one by one each time you press the button "next". Any…
androidasked 8 years, 10 months ago Diomar Rodrigues 15 -
1
votes0
answers72
viewsLogin with Facebook on Android App
Good afternoon guys, I’m developing an application that requires logging in with facebook. But there is one detail: I need the support in the application for the android sdk in the 3.0 minino which…
-
1
votes1
answer1143
viewsView BD Sqlite on Android Device Monitor
I’m trying to view my BD Sqlite on Android Device Monitor, but in the folder data, I don’t see any files to export and so I can’t see my BD. What could I be doing wrong?…
-
1
votes1
answer167
viewsCreate a constant that loads multiple images and shows them on the screen
I’m developing a game and it’s just randomly generating an image on the screen. I would like to implement 3 different images, which through a random were appearing automatically on the screen, and…
androidasked 9 years, 6 months ago Mateus Santin Junior 101 -
1
votes1
answer72
viewsColor by Actionbar
I wonder how I can change the color of Actionbar dynamically ? I’ve tried to take getSupportActionBar but I couldn’t get.
-
1
votes0
answers86
viewsHow do I make one image not run over another?
All right? I have a code where I can move several images with the mouse but when dragging an image it goes over the others. I want to move it without going over. Follows the codes: package…
-
1
votes0
answers121
viewsdetecting movements using onTouchEvent
I found this method on the internet to detect movement, but I would like when it moves right it executes a command (example changes button color), but I’m having trouble implementing this code if…
-
1
votes0
answers59
viewsError running AVD - The filesystem is already 140800 (4k) Blocks long - Nothing to do
When I try to run my AVD, it hangs on the part illustrated in the low image and returns the error resize2fs 1.42.13 (17-May-2015) The filesystem is already 140800 (4k) blocks long. Nothing to do! I…
-
1
votes0
answers61
viewsFind friends who have confirmed an event in graph_api
I have been researching for a while how to make this type of request without using FQL (since FQL is obsolete). The only method I actually found that works is to get the list of people who are…
-
1
votes1
answer596
viewsAndroid orientation (PORTRAIT/LANDSCAPE) addTextChangedListener
I’m having a problem at the moment when my App changes its orientation from PORTRAIT to LANDSCAPE or vice versa. I tested my code and identified that the problem is in the command lines where are…
-
1
votes0
answers47
viewsApp turns white and suspending all threads on Logcat
Guys, I’m studying Android on my own and in my studies I created a hangman game, only when I replace the word to be discovered in String "word" with a word that contains repeated letters like…
-
1
votes0
answers22
viewsSecurity with Accountmanager
I am using the following method to collect the user’s email for authentication (email only) in my app: AccountManager.newChooseAccountIntent(null, null, new String[]{"com.google"}, false, null,…
-
1
votes0
answers929
viewsAlertdialog ANDROID accent error
I’m having problems with the AlertDialog, when opened it exhibits the accents and neither cedilla, in the place appears that old "triangle with interrogation in". What to do to solve? public void…
-
1
votes1
answer220
viewsMenu does not call Activity
My menu doesn’t call Activity, I’ve done some tests and it doesn’t work, I don’t know what else to do. Can someone help me? package com.chl.infotrans.infotrans; import android.content.Intent; import…
-
1
votes1
answer430
viewsCommando gcc on Android Terminal Emulator
I am looking for an IDE for my mobile phone and found the Android Terminal Emulator. However, some Commands are different. I would like to know the command to compile in the terminal. For example:…
-
1
votes1
answer53
viewsDate and Time update to check if you are online
In my android app I have a service that sends from time to time a user location and saves in another field lastUpdate the day and time that happened the update. Currently use…
androidasked 8 years, 10 months ago Mateus Carvalho 1,494 -
1
votes1
answer84
viewsHow to create a Double Toolbar?
I googled, but I never found a way to make a double Toolbar(material design) like the image: https://chris.banes.me/content/images/2014/11/layout-structure-toolbars-toolbars-04_large_xhdpi.png…
-
1
votes2
answers114
viewsMap variable only gets null value
I’m making an app for people with addresses. Every time I open the map setting the initial location with the phone’s GPS, the app locks and closes. While analyzing the code I realized that the…
-
1
votes0
answers919
viewsConsuming webservice Soap on android
I’m trying to consume a webservice but I’m in trouble. I already tested in soapUI and the webservice is perfect, the problem is time to consume in Android Studio. I got the following wsdl: This XML…
-
1
votes1
answer689
viewsHow to put a scrollView inside a Textview if I already have a scrollView in the layout?
I put a scrollView in the layout and still needed to put a scrollview in Textview, but only one of them works, if I already have the layout, textView does not work. Does anyone know a way to leave…
-
1
votes1
answer818
viewsHow to decrease the apk size generated in Unity?
In the Unity I realized that the apk generated with no texture image script configuration, ie with nothing comes out with a size of 20 MB, because they come out with this size and if it has to…
-
1
votes1
answer1066
viewsHow to create a button in the google maps API to add a bookmark?
The doubt is as follows... I searched for a few days before coming here, but I just think how to add the marker in a manual way like the google example: // Add a marker in Sydney and move the camera…
android google-maps google-maps-android-api-2 google-location-apiasked 8 years, 9 months ago Paulo Neto 105 -
1
votes2
answers380
viewsError in getWritableDatabase()
I’m trying to open the database to enter values in the class CadSalario, but I’m making a mistake in dbHelper.getWritableDatabase(); and I looked on the net and I have to call a context, someone can…
-
1
votes1
answer468
viewsAndroid Listview equal to Instagram
I’m developing a project in Android Studio, the project screens are all made in Fragment, I’m using the Material Design followed the tutorial here, and would like to make the main screen a Listview…
-
1
votes1
answer42
viewsHow to recover images from an android device through a date?
I need to recover all images (internal and/or external) that is on my device, but I need to filter this search for a date. Example: I need to find all the photos taken on 10/02/2016. Just out of…
-
1
votes0
answers73
viewsMeasure object area in images
I researched on the subject and am studying opencv for android because I think this is the way to detect objects in images (in my case disease spots). You can close the question and when I am in a…
androidasked 8 years, 9 months ago Modesto Barreto 61 -
1
votes1
answer1100
viewsConsuming JSON webservice with the use of Asynctaks
Well, I’m trying to make an application that logs into a database, previously I was using the thread method to get, this working, but at the time of informing the error messages on the screen, or…
-
1
votes2
answers117
viewsMultiple images inside an Image Button with padding
I own a ImageButton and within the same need put 5 images at the same time, being one in the center and the others around alluding to be expanding. So how do I put all the images at the same time on…
androidasked 8 years, 9 months ago Aleff Matos 327 -
1
votes1
answer288
viewsiText framework generating empty file (0 kb)
I have a project that was generating the Pdfs normally, generating the texts and images in the file, it was a beauty, however, a while later it left unexpectedly to generate the file in the correct…
-
1
votes1
answer208
viewsCheck that Notification is active
I need to identify if a Notification specifies (ID Notification) this still active in the list of notifications from Android. Status: I have a method that cancels the Notification so far everything…
-
1
votes1
answer83
viewsError in Windows 10: Error retrieving Parent for item
I have this problem here: Error:(1) Error retrieving Parent for item: No Resource found that Matches the Given name 'android:Textappearance.Material.Widget.Button.Inverse'. I think it is because…
-
1
votes0
answers105
viewsProblem with List and Hashmap
I have a list as stated below: List<Map<String, String>> lista = new ArrayList<Map<String, String>>(); Map as declared below: Map<String, String> mapa = new…
-
1
votes1
answer1502
viewsHighlight multiple dates with Android Calendar View
My app logs events with date and time on sqlite, has a menu that will show all these records in a calendar, marking the dates (no schedules) in the calendar, as an event app... When the user clicks…
androidasked 8 years, 9 months ago felipe.rce 1,969 -
1
votes2
answers960
viewsTechnologies for Instant Messaging App
I want to develop an Android app(native) instant messaging as Whatsapp for my TCC, I would like to know what technologies for the Java platform offer support for this type of communication, some API…
-
1
votes1
answer1153
viewsHow to create a Textview and Imageview via code?
I would like to know how it creates via code a TextView and a ImageView and destroy it via code.
-
1
votes1
answer279
viewsandroid.widget.Linearlayout cannot be cast to android.widget.Listview
When running my application, this error appears: 05-28 05:33:33.773: E/AndroidRuntime(28824): java.lang.RuntimeException: Unable to start activity…
android android-layout android-fragmentasked 9 years, 6 months ago Vinícius Venancio dos Santos 329 -
1
votes1
answer109
viewsReturn existing dates between two other dates - Android
I would like to know if there is any class or library that returns the existing dates between two dates that I pass. For example: would pass the dates 23/02/2016 and 25/02/2016 and return me the…
androidasked 8 years, 9 months ago Fernando Ferreira 39