Questions tagged as 'android-activity'

0
answers

two listview on the same screen but only one appears after the execution, help

I'm trying to make a screen for an app, where I want a text, a listview and then a text and a listview . I made the codes, but at the time of execution only only the two texts appear and the first listview , the second does no...
asked by 23.11.2017 / 01:21
1
answer

Class control internet connection Android - Wifi-3G

Hello. Currently I control screen by screen the type of internet connection to which the user is connected or not. I use a method similar to this: /*Check conection*/ ConnectivityManager manager = (ConnectivityManager) getSys...
asked by 17.11.2017 / 14:37
0
answers

Angle Capture

I'm doing a project that involves capturing the angulation of movement using the cell phone. The angulations have already been calculated and are working. The problem I'm having is with the following proposal:    Since a patient will take the...
asked by 01.12.2017 / 02:47
1
answer

Android Activity does not open

I'm making a retrofit connection app, but I'm not understanding why my activity is not opening. My code: public class CotacaoAlteraActivity extends AppCompatActivity { private ListView listView; ProgressBar pbar; EditText custoalterar, emb...
asked by 24.10.2017 / 19:20
1
answer

The progressDialog bar does not appear

I entered everything in the code, but the progress dialog bar does not appear, I can not find the error, can anyone help me? Follow the code: package com.example.fantin.cardapio; import android.app.AlertDialog; import android.app.ProgressDial...
asked by 13.10.2017 / 15:47
0
answers

Alarm manager, main screen

I made an app that generates an alarm at 7 o'clock, it's catching on perfectly, the problem is when I get this alarm from the Main Activity in Manifest, when I do this, the app no longer generates the alarm, what do I need to do to get ? Well my...
asked by 26.09.2017 / 01:39
0
answers

How to send data from an Activity to a Fragment?

1 I have a question a while ago. I want to pass a value from activity to fragment , however, from the error when opening fragment to be specific at the time of receiving this value, I believe. That's how hedge: estab =...
asked by 12.09.2017 / 21:46
1
answer

How to Run a Recicle View on Other Activities

How do I put a recycle view or a list view into some other activity? Example: I created a project with name X in it as soon as I put the layout as Empty activity and so it generates an activity_main layout and a standard MainActivity class,...
asked by 12.09.2017 / 15:46
0
answers

How do I capture data from a stream (Music name, album art, band name)?

How could I capture the metadatas of an audio stream and put some data like album cover, song name, and display it in my activity.     
asked by 21.08.2017 / 06:00
0
answers

Error creating multiple buttons in XML (Android Studio)

I'm creating an Android application that needs to have 20 buttons and each button will open a different screen. The application compiles correctly, but when I get to the screen that has the 20 buttons it automatically closes, I realized that if...
asked by 10.08.2017 / 05:30