Questions tagged as 'android-activity'

0
answers

Create dialog from Activity

I was able to show an activity in the form of a dialog, but it does not respond to the context. When you click on the edit item button in my Recycler View, a form opens for changes. I'm using the method below, but no function of the form execute...
asked by 29.09.2018 / 01:27
1
answer

Normal and long click only work after first clicking ImageView

I have a problem that when I click on the image, the first time nothing happens, only after the first click that the simple click function works and long click. XML Code: <ImageView android:id="@+id/idimagem" android:layout_width="wrap...
asked by 16.09.2018 / 17:54
0
answers

Data via Query String from Webview to Activity

I'm not a great Android programmer. What I do is based on something javascript I know, which is not much either. So I wanted your help. I have an application that runs in webview, in mainActivity. But I need to send an information to another pag...
asked by 11.09.2018 / 21:26
1
answer

When I click on the ListView to open another Aciticity the app hangs and fexa

I'm creating an app that looks for nearby wifi networks and then I can connect to them, but I caught it at first because I can scan it, but when I click on some network in the list, which would redirect me to another Acitiviry, the app hangs and...
asked by 09.09.2018 / 22:30
2
answers

Component ID does not appear in MainActivity

The problem is this: I add a component in my ActivityMain, a button for example, but when I go to do the findviewById (ID) of the component, its ID does not appear in MainActivity, it was working normal before, add a new button and its ID no lon...
asked by 29.08.2018 / 02:50
2
answers

Android - EditText does not return typed value

I'm trying to retrieve a value to generate a random password, however the field   "size" is not returning what you typed. The error occurs in the following block: int tamanho = Integer.parseInt(findViewById(R.id.tamanho).toString()); F...
asked by 27.08.2018 / 01:56
0
answers

Error opening project Android app

While opening the Android app project for a friend of mine on my PC, I came across these errors. How do I resolve this? screenshots: Grandle'scode(moduloapp): apply plugin: 'com.android.application' android { compileSdkVers...
asked by 25.08.2018 / 01:52
2
answers

Passing data between Activity Android

Well, I'm making an app and I have a login screen that connects to the database from a web service, but I have a problem, I want to get the user id and user name to pass these Data for another Activity and I am not getting .. For when the person...
asked by 13.05.2016 / 20:43
1
answer

open a new activity when clicking on an item in the listview

I created a listview but I'm not sure what command I should do for my items to open a new activity for each one. Below is my code so far: public class pg_apoio extends AppCompatActivity { @Override protected void onCr...
asked by 01.08.2018 / 02:58
1
answer

android app update

Hello, I'm new to android development and I'm having some questions, I'm developing an APK using a webview and I'm often updating it with some improvements. Since I work more than 200km from where APK tablets are installed, I'd like to make A...
asked by 24.07.2018 / 19:17