For example ...
I want the Android app to be displayed equally on both 5 "and 3" screens ...
And how do I apply a "scroll" layout, how to add a scroll to the layout on Android?
I'm starting my studies in programming with Java. I'm creating a class for object in NetBeans that alerts the following message:
Array concatenated with String
Why?
My code:
import java.util.Arrays;
public class PessoaGenerica {...
I'm having some problems trying to capture the value of some elements of my code.
1st - Problem with JDateChoose component
The code runs smoothly however the captured value goes blank, follows code
String dtreceb = ((JTextField) this....
Well, I have a text file with a few lines, for you to understand better, here is what I have in this file:
0
Zombie+160+-50
Zombie+160+290
Robot+-50+120
Spider+370+120
doors
1+BossRoom1
3+Loja1
Basically, I wa...
I have a question about how to set a time for image that was opened close. Would it be a tie?
I'm using ImageView :
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/im...
Friends, now the doubt is as follows, I need the "+" operation to be present to make the sum, but it always exits 1 + 2 and the two never make the sum. Anyone have any idea what it might be?
import android.app.Activity;
import android.os.Bundl...
How to do a barcode validation in Java?
A Java application that simulates a barcode reader. The program prompts the user to enter the 13-digit code of a particular product and then returns the information indicating that the code is valid or not...
I'm trying to create a file on Android, but a letter is appearing that I do not want to be written. Note the code:
File file = new File(Environment.getExternalStorageDirectory().toString(), "Arquivo.sth");
try { file.createNewFile(); }
catch (...
When displaying a date that was entered into the database, of type DateTime , the app shows the current date:
Iwouldalsoliketoconvertthisdatetodd/mm/yyyytofitaportraitlayout.Partofthecodethatdealswiththislist:publicList<Despesa>ge...