Questions tagged as 'android'

4
answers

How to tell if application is open

I would like to know if you can check if the application is open, with a user using it or if it is in the background and it is using another application. Depending on whether you have it open and user using it I will do a function, if it is n...
asked by 16.03.2015 / 20:17
1
answer

Change the activity theme

I try to change my theme to @android:style/Theme.Holo.Light in AndroidManifest but when the app runs in an emulator it stops working. I followed a video lesson and it looks exactly the same. I do not know what it can be. In logcat what...
asked by 01.04.2015 / 19:40
1
answer

How do I make a ListView update a title at the top, as I scroll the scroll?

I do not know how to explain very well what I want without images, but I need to learn how to make a ListView that changes title as you go down ... It's basically like in HTML when you make long pages and separate the sections by an anchor, wher...
asked by 31.10.2014 / 13:45
1
answer

Camera does not work

I tried to access the camera from the phone, it worked 3 times, then the screen went black (Print below) in API 24, I tested it on a cell phone with API 22 and it worked, with API 24, This? public class fotos extends AppCompatActivity { s...
asked by 17.04.2018 / 06:14
1
answer

How to make GET and POST requests on android with a quick and up-to-date tool?

I'm currently using volley for web requests. But I find this tool very slow. I researched google for alternatives, but all the results I find are old, from 2017, 2016 down. About org.apache.http They are said to be obsolete,...
asked by 11.05.2018 / 02:20
1
answer

Blocking the WebView Cache

To elaborate a WebApp, and use a WebView to open a specific url within the app! But the app is caching everything, so if I make any changes to the site, the app does not "compute" this update because it reuses all information that is in the cach...
asked by 15.09.2015 / 02:44
1
answer

NoClassDefFoundError error after removing external API (YouTube)

I'm developing a nice project and I came across a difficulty that I could not get out yesterday, the project stopped recognizing all api's, butterknife, YouTube, everything ... The following is the error:    NoClassDefFoundError: Class not...
asked by 28.09.2017 / 11:45
1
answer

How to retrieve a soapObject from a webservice return

androidHttpTransport.call(SOAP_ACTION4, envelope); SoapObject result = (SoapObject) envelope.getResponse(); System.out.println(result.getProperty("nmConsultor")); return result.toString(); In case I would...
asked by 16.04.2014 / 16:20
2
answers

Open a lightbox image in the same layout from a button

Good day, people. I have a problem that I can not solve, I already fucked a lot in the posts here and in the youtube tutorials and nothing. I'm developing an android app for a project in college, but I'm not a programmer, I decided on the app to...
asked by 02.11.2017 / 14:13
1
answer

Publish applications to stores that differ in detail

I see some applications that are very similar I'll say even identical with a different brand or a small detail. I'll give you an example: Globosat has multi-channel apps, but it's all the same app with different content, at least for the most...
asked by 28.08.2018 / 13:45