Questions tagged as 'android-studio'

0
answers

Android Studio, problems creating two screens

I searched google out and did not find a solution. I created two Actionviews through intent. And even one screen goes to the other. But the problem starts when I try to put functions on screen2. The application compiles but it hangs on the phone...
asked by 09.08.2018 / 21:29
0
answers

Infinite Loop when logging in via Facebook - Webview

Good night now in the webview that I am working I have the following problem, when I log in via facebook on the site encapsulated by the webview I am redirected to the login page of the face I fill in my data and click on login, it authenticates...
asked by 21.08.2018 / 00:44
0
answers

How to call mainActivity methods inside a handler?

I'm having a hard time calling two methods created in my main activity by a handler. This handler is static, and when I throw its static attribute so that my non-static methods can be called, it returns an error saying that my handler can not be...
asked by 11.08.2018 / 00:26
0
answers

Problem Retrieving Data from Firebase and Moving to Object

I'm trying to make an inventory app in order to study. Where items can be added, saved in the firebase and then displayed in a RecyclerView Items are currently being saved in the firebase: Butwhenitcomestorecoveringthemwith:valueEventListene...
asked by 15.08.2018 / 03:04
0
answers

How to implement a GameView code inside a class? (in java code for android)

I'm new to java and I'm developing a project, I have the following code below: paint.setColor (Color.rgb (250, 0, 255)); canvas.drawCircle (xa, ya, 10, paint); What I use in the GameView draw method to create circles in my project (a game)...
asked by 06.08.2018 / 01:33
1
answer

App Bar does not appear

In fact it even appears in the program, but not in the simulator Following the Java code public class Perguntar extends AppCompatActivity{ @Override protected void onCreate (Bundle savedInstance) { super.onCreate(save...
asked by 03.08.2018 / 18:51
0
answers

Do a search Within a custom Listview with firebase

Basically my project resembles a social network, using the firebase realtime database, however I came across a problem, I created a custom listView and my idea was ... How I had 2 childs > Users > Posts, in the Child post has a user email n...
asked by 02.08.2018 / 03:27
0
answers

Post upgrade upgrade error Android Studio

I upgraded my Android Studio to version 3.1.4 and after that it gives the error below as soon as it starts to sync. I researched the possible solutions in Stack Overflow and also on the website of Android developers, but I did not succeed....
asked by 10.08.2018 / 12:30
1
answer

Android Studio says some classes have not been used and almost all code is red

I was fiddling a bit with the code, when suddenly it was this way you can see in the image below. I have no idea what caused this, I tried Clean and Rebuild and nothing. Most of these classes that it points to as unused, are being used an...
asked by 31.07.2018 / 15:19
1
answer

How to enable PDF download in webView with Android Studio

//MainActivity package app.inova.appfatto; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.webkit.WebViewClient; pub...
asked by 02.08.2018 / 20:59