In my original version I populated my spinner from an Array, placed in strings.xml
And to know which selection the user made, he used the following code
code 1
@Override
public void onItemSelected(AdapterView<?> arg0, View arg1,...
I'm developing a mobile application using Android studio 2.2.2, and wanted to leave my application with that look.
ButI'mnotabletoputtheborderandthelineabovetheeditText <?xmlversion="1.0" encoding="utf-8"?>
<LinearLayout xmlns:andro...
I'm making an app, which upon entering it, it detects the date and already shows the acitivity for that date, how do I do it? for example today 07/08, then it will show the activity configured for the date 07/08
I created a security system in php with mysql for my website, but by the browser on desktop computers, the session is stored in cookies, and it is easy to know which user is logged in and what are their limitations in each query, since I will ha...
I'm using this method to delete the last character typed in a TextView :
texto = txtTexto.getText().toString();
int length = texto.length();
txtTexto.setText(texto.substring(0, length - 1));
But when I delete a character, I type a p...
What problems could I face in handling many arrays ?
When I say arrays I mean at least 25 , each containing 1000 index.
Performance :
Will the performance of my application be affected? I say for example, when loading activity...
I have an activity and I need to change its title programmatically, I found a way but it does not work for me, see:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activi...
How to force the Paiagem / Landscape position in my activity to always activate and lock the Portrait / Portrait position.
I want my application to start in landscape position and not be able to turn to portrait position.
I'm making an APP like this from the image below. My question is how to do it, for example as we can see, you have 35 questions and the first one is answered, in which case you have 35 Activity ?
What would be the best approach in this...
Do you need android studio to program in react native?
My machine does not run the program well, you can hardly use it.
While to the emulator I can test the apps by the mobile without problems.
I have already been told that I only need to creat...