Questions tagged as 'android-activity'

0
answers

How to open a new activity without closing the drawer menu?

I have an activity and in this activity I have the drawer menu. How do you call another activity without the drawer menu adding up? I just want to change the activity content. I tried to use fragment but it does not erase what is already on the...
asked by 23.05.2017 / 19:34
0
answers

Problem with Tabs and Adapter

I have a problem here. I have this code Home screen: publicclassInicialextendsAppCompatActivity{privateImageButtonbutton,button2;protectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.ac...
asked by 08.06.2017 / 14:29
1
answer

Activity Life Cycle + system.currentTimeMillis ()

This activity is about life cycle on Android, I read several materials but still lost? Can someone please explain it?     
asked by 19.05.2017 / 01:47
1
answer

Problems setting up an adapter in the list

I need to create a dynamic list, I do not quite understand how it does, some people told me it's done with adapter and so I'm trying to do it. According to break point my data is arriving perfectly, and all of it is being set correctly...
asked by 24.05.2017 / 15:04
0
answers

Parameters between fragment and activity

I have an activity with a fragment inside, however I want to pass the parameters in the fragment when I change activity, what do I do?     
asked by 27.04.2017 / 16:06
1
answer

Back to the screen fragment

Good evening, everyone. I have a main and 3 classes fragment. When accessing main, I can slide to each fragment correctly. However, in each fragment I have functionalities. If I access one of these functions and try to go back it always opens...
asked by 25.04.2017 / 23:07
0
answers

Method only works while minimizing / maximizing app

I'm developing an app for TCC using the Google Places API . A part of the code returns the places / establishments close to the user. However, when I run the app and enter the class responsible I have no return. But if I minimize the app and th...
asked by 22.03.2017 / 17:39
0
answers

How do I call an activity from a click on an item in an ExpandableListView?

I'm developing a project where there is a tablayout and in one of the tabs an expansive list. But I wanted a method so that when I click on the specific options in the expand list open another activity with its respective charac...
asked by 17.03.2017 / 00:49
2
answers

Home Screens Dynamic

I would like to create something like this: Se(O banco de dados tiver tabela criada) { Manter a Activity Principal; } Senão { Abra Activity de criação da tabela; } In short, the android will open the main Activity and check...
asked by 14.03.2017 / 04:32
0
answers

How to instantiate the Firebase object for my URL, Help with the Error below

package br.com.netcriativa.umadeb.activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.su...
asked by 10.03.2017 / 02:44