Questions tagged as 'android'

1
answer

Is it possible to make requests in android applications through the web with php?

I'm working with php and initially I was curious about one thing, I'm needing to make a request (particularly a login) in an android application more with my platform in php on the web, is there any service that allows me to emulate an apk in on...
asked by 12.07.2017 / 22:39
1
answer

How to get the context in a fragment?

What should I insert into a method that needs the context argument in this fragment? public class Tab1tests extends Fragment { private ViewPager mViewPager; private DatePickerDialog.OnDateSetListener hourSetListener; private DateP...
asked by 08.07.2017 / 13:37
1
answer

For the same value last time it was used [closed]

How do I make the value of contador of for start with the same value as last time it was used? Because this for always starts when I start activity , and I need it to not start at 1 each time I start activity , w...
asked by 18.07.2017 / 19:29
1
answer

How to receive all Firebase Storage images and display in a listview

I have several images captured via camera or gallery that was uploaded via app in Firebase Storage, using Glide to display images, but only manually (added one by one in the hand), and my up-loaded images are named with the datatime. I need a te...
asked by 19.07.2017 / 05:32
1
answer

Controlling the session on android

I'm using SharedPreferences to generate a session on android. I wanted to do a check that, after a while (5 minutes for example), it gives a timeout, zeroes that session and redirects to the Login. Is it possible to do this using SharedPreferenc...
asked by 05.07.2017 / 18:02
1
answer

Skip list for another Activity

I am creating an application, at this point in the application, you choose how many products you will get from a List made with RecyclerView and this list will be passed to another Activity where it will be loaded into a ListView. I wanted to...
asked by 19.09.2017 / 18:56
2
answers

How to know which Fragment is being displayed

My app has an Activity that controls the inclusion of Fragments. Follows: public static void adicionarFragment(Activity activity, Fragment fragment){ FragmentManager fragMgr = activity.getFragmentManager(); FragmentTransacti...
asked by 01.09.2017 / 20:25
1
answer

API rest not receiving anything from another app other than mine [closed]

Can you prevent another application from sending or receiving information from my REST?     
asked by 21.09.2017 / 21:15
2
answers

Consuming Json [Array & Object] on Android

According to the comment from some users here , I read some articles talking about more or less what I wanted to do . Article read:    consuming JSON From I tried to create my own code , but I have serious problems , > wh...
asked by 30.06.2017 / 21:08
2
answers

RadioGroup in ListView does not maintain selection after scroll

I have a Listview with some information and within them have a RadioGroup, but when I roll all my screen checkbox is unchecked coz the listview is creating these checkbox again. I need to have my checkboxes tick when scrolling the page. Here...
asked by 30.06.2017 / 18:43