Questions tagged as 'android-activity'

0
answers

Get the color name from the HEX value

I'm trying to make an Android application that can capture the colors, but I just figured out how can I get the HEX value, but I really need the color name! please I need an alternative that shows the name of the colors Below is all the code,...
asked by 12.07.2018 / 21:12
0
answers

How to fix the Error ActivityNotFoundException?

I have two activities but in extremely different packages as shown below: MainActivity package com.main.package; import ...; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState)...
asked by 25.07.2018 / 13:16
0
answers

How to display a directory in a fragment?

Hello. I have an activity and I have two fragments in it. In one of these fragments I would like to display a directory. I did this to create the directory that will store temporary files. File minhaPasta = new File(Environment.ge...
asked by 12.07.2018 / 06:26
1
answer

Clear activity list

I need when I get to the last question screen of my application I can go back to the menu screen that is the screen after the main and only in this final screen of questions that I can zero the list. Thanks!     
asked by 08.07.2018 / 20:39
0
answers

___ ___ erkimt '' android ... CoordinatorLayout '' problem in Android Studio can not place components in layout ______ qstntxt ___

When I create a new project, the XML looks like this:

ThenIcannotdraganycomponentintoit.

AndI'mnotgettingtheemulatoreither.WhenIclickonthedebug(greenarrow)theerrormessage"IDE Error" appears and does not open the emulator.

Do you have any idea what it can be? I already researched the internet and I did not find my problem.

    
___

When I create a new project, the XML looks like this: ThenIcannotdraganycomponentintoit.AndI'mnotgettingtheemulatoreither.WhenIclickonthedebug(greenarrow)theerrormessage"IDE Error" appears and does not open the emulator. Do you have any i...
asked by 03.09.2018 / 22:52
0
answers

NullPointerException error in GoogleMap of Fragment

A Fragment (of the map) that lies within an activity, when I click on From Activity, can you change properties of the map that is in the Fragment? By clicking on the Navigation Drawer Map item it performs the following method: public...
asked by 14.06.2018 / 15:54
0
answers

Open 2nd activity from a service with mainactivity turned off

Well, I have a problem and I can not find a solution, I've tried everything and either one or I get the EOF of the application or the screen is all black and does not open to activity. The service is opening videos or web pages, for a certain...
asked by 13.06.2018 / 14:39
0
answers

Create DialogFragment after closing a second activity

I have a flow of screens this way in the Android project: Activity1 - > Fragment1 - > DialogFragment1 - > DialogFragment2 - > Acivity2 - > Fragment2 When I exit DialogFragment2 for Activity2, I close DialogFragment2. Afte...
asked by 19.06.2018 / 21:17
1
answer

How to switch from the second to the third screen?

Recently I started to develop a small application that relies totally on switching screens from buttons. There are still many details to be resolved, but what worries me now is how to make the switch to change the screen. I have already been abl...
asked by 25.05.2018 / 15:14
1
answer

How to open an Activity from a java class?

I have a java class called Firebase, this class only does firebase functions ... I am authenticating a new user in firebase, so far so good .. O problem is that I can not move to another Activity, it's giving the following error: 05-24 23:...
asked by 25.05.2018 / 02:01