Questions tagged as 'android'

3
answers

How to make an Array created inside an AsyncTask be global?

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,...
asked by 31.01.2017 / 09:52
2
answers

round border on EditText Android

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...
asked by 19.08.2017 / 05:11
2
answers

App that every day of the week shows an activity

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     
asked by 07.08.2017 / 18:26
2
answers

How to make a Login and Password system securely for Mobile Applications? [closed]

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...
asked by 11.09.2017 / 16:45
1
answer

When erasing a character, how do I do something?

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...
asked by 07.03.2015 / 14:23
1
answer

Too big Array - Android

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...
asked by 04.04.2018 / 05:47
2
answers

How to change the title of an 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...
asked by 16.03.2018 / 03:42
2
answers

How to force the Landscape / Landscape position? [duplicate]

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.     
asked by 01.05.2018 / 03:39
1
answer

Question about screens of a quiz (quiz)

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...
asked by 30.12.2014 / 13:43
1
answer

You need to be using android studio to program in react native [closed]

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...
asked by 26.11.2018 / 16:23