Posts by Eduardo Brito • 59 points
14 posts
-
1
votes0
answers157
viewsQ: Error: android.view.Inflateexception: Binary XML file line #0: Error inflating class <Unknown>
Whenever I run my app on some devices (In the ones that received this error, API was 21. In the others with higher API works without errors), this error message appears that I can’t decipher. It…
-
0
votes2
answers195
viewsQ: Optimize Firebase Realtime Database and Firebase Storage actions
How can I optimize user experience and application fluidity when I’m, for example, reading data from Firebase Database or even downloading Files from Storage? Using runnable’s to handle processes or…
-
0
votes1
answer33
viewsQ: Android App Creation Problem - Java
I need to ask a number of questions, for a problem that was imposed on me, regarding the creation of an Android application in Java. To describe the circumstances, I am creating an app to serve my…
-
-2
votes2
answers4075
viewsQ: Java - method to check whether a String contains a certain character
I have a problem with this method. It seems to me, whenever I try to use it with some String, I get false for the value of a, even if the string contains these three characters. Someone can tell me…
javaasked Eduardo Brito 59 -
0
votes1
answer252
viewsQ: Creating a Method to Replace Characters in a String
Can someone help me create a method that replaces the Characters of a String? For example, String nova = antiga.replace('a','1'); This only replaces a letter. I wanted to create a method for all…
javaasked Eduardo Brito 59 -
0
votes1
answer37
viewsA: How to store the last 5 opening dates of an Android activity in a list
public class Activity extends AppCompatActivity { public static final String PREFS_NAME = "Preferences"; Calendar c = Calendar.getInstance(); SimpleDateFormat sdf = new…
-
0
votes1
answer37
viewsQ: How to store the last 5 opening dates of an Android activity in a list
public class Activity extends AppCompatActivity { Calendar c = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat("dd:MMMM:yyyy HH:mm:ss"); String strDate = sdf.format(c.getTime());…
-
1
votes1
answer169
viewsQ: How to keep a Textview text after the App closes
Good, I’m new to Android, but I would like to know how I can keep/save the information that is in a Textview, so that this is not deleted when close application. public class Activity extends…
-
-1
votes1
answer860
viewsQ: Use 3D Blender to create games for Android
Good, someone knows if it is possible to use Blender 3D to create games for Android, and program them through Android Studio?
-
0
votes2
answers29
viewsQ: (Java, Android) Button - Set Click’s limit
Good, can someone tell me how to set a limit to the number of clicks on a button, and when you reach that limit, prevent the button from being clicked again? Here it is: public void N1(View v) {…
-
0
votes2
answers161
viewsQ: Java - parseint()
public void OK(View v) { EditText editTextView = (EditText) findViewById(R.id.editTextView); String myEditValue = editTextView.getText().toString(); int equação = Integer.parseInt(myEditValue);…
-
1
votes1
answer355
viewsQ: "Virtual Keyboard" - Java Android
Good, I could use a little help. I was thinking of creating a kind of keyboard with just a few buttons for my Android application but I’m not getting what I want. I intended to create this keyboard…
-
0
votes2
answers124
viewsA: Java (Android) - Mathematical Equations
Thank you very much Isac!! But I had to change a few things in your code.. Take a look at the view : @Override protected void onCreate(Bundle savedInstanceState) {…
-
1
votes2
answers124
viewsQ: Java (Android) - Mathematical Equations
I need a little help. To get to the point, I was trying to create a small system of equations that would allow me to get a set of numbers with a few small particularities. Basically what I intended,…