Questions tagged as 'android'

2
answers

How to align strings to use in a listview?

In my Android project I need to create a table with a listview but the data always comes misaligned. I put each record in my database at a position in an array of strings so I can use it in listview . The method I use to try to alig...
asked by 27.01.2014 / 18:01
1
answer

Is Android an OS or software stack?

The settings given by Google for Android    "Android is an open-source software stack for a wide range of mobile   devices and a corresponding open-source project led by Google. " and by American Wikipedia    "Android is an operatin...
asked by 19.05.2014 / 21:20
3
answers

Java / Android: How to display in StackTrace Log

How can I display the entire exception error code (FullStackTrace) in the Android Log? try { //CODE }catch (Exception e){ Log.e(TAG,e.getStackTrace()); }     
asked by 18.12.2013 / 22:08
2
answers

Private Play Google App

Is it possible to upload an app to Google Play and it's only available to a list of users I'm interested in? As happens on YouTube you can only see that video who is allowed to view that link. I have the following situation, I need my app t...
asked by 19.05.2014 / 17:00
2
answers

Calculate difference between dates

I need to calculate the difference between the date of registration and the current date, if it is greater than 6 months, return Boolean. I am registering the bank on the date of registration as follows: public static final String DATE_FORMAT_...
asked by 15.11.2015 / 16:08
2
answers

View player in the Android notifications area

I created an application that transmits a Streaming of the radio, but if I "minimize" the application it continues to play. So I'd like to know how I can get you to open a box on Android's notifications list, like the Play Music Ijust...
asked by 18.09.2015 / 23:40
3
answers

Pure Java and Android Application

I'm a beginner in Java. I preferred to start studying pure Java, that is, I discarded studying through dragging components. I knew JavaFX; I preferred to study the construction of these components at hand as well. I learned many things, many eve...
asked by 06.08.2015 / 14:33
3
answers

Implement HTTP POST and GET requests on Android

How do I send information via get in an url on Android, passing parameters? And how to return the data as JSON from my PHP?     
asked by 08.12.2014 / 20:20
2
answers

What is the difference between Activity, FragmentActivity and Fragment?

What are the differences in performance, performance, etc. in inherit from each of the classes in the controllers of views (XML) on Android?     
asked by 12.05.2016 / 15:54
1
answer

"java.lang.SecurityException: Permission Denial" on Android 6 Marshmallow (API 23)

I'm trying to register a broadcastreceiver so I can check out a new sms that might arrive on the device. I'm getting an error only in android marshmallow in the following snippet of code from my fragment: public static final String BROA...
asked by 30.03.2016 / 22:28