Questions tagged as 'android'

2
answers

How to pass data from one fragment to another

Hello I received the following exercise: • Fragment 1 should have two text boxes where the user can enter two numbers to be added, and a button to trigger the addition • Fragment 2 must have a TextView in the center of the screen to dis...
asked by 19.04.2016 / 05:10
1
answer

Working with RadioButton and RadioGroup

I'm trying to make a screen where the user would have to choose between the options in <RadioButton and if he chooses the right accounts to the right and otherwise to the wrong, having finished, after clicking "Reply" is equal in the p...
asked by 19.04.2016 / 05:19
1
answer

Error when completing Activity through another class

Can anyone explain why the LISTADO NO FINAL DA PERGUNTA error occurs, terminating the application, when I try to terminate the application through another class: class1.class : ... ... AlertDialogManager alert = new Aler...
asked by 27.01.2015 / 00:15
2
answers

Setting a time to close an image when opened

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...
asked by 27.01.2015 / 16:55
3
answers

How do I show Eclipse the SDK and AVD Manager icon?

I have the JDK, Android SDK and Eclipse Plugin installed, but when I go to the window Eclipse tab I do not see the Android options to configure the AVDs and the SDK. > How to make Eclipse show the SDK and AVD Manager icon?     
asked by 27.01.2015 / 13:47
1
answer

Get method values to get results in the ANDROID calculator

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...
asked by 08.09.2015 / 04:31
1
answer

Does anyone know of a program to decompile an apk and get the source code?

I used 7zip, but it does not decompile the code that matters, it only decompiles the xml files. Does anyone know of a program that does this? Thanks in advance!     
asked by 10.09.2015 / 15:29
1
answer

Error writing file on Android

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 (...
asked by 13.07.2015 / 01:34
3
answers

HttpHostConnectionException - Android

I made% with a simple Visual Studio Community 2013 to register a person and receive a person, and I'm trying to consume this service with an android app, I'm emulating the application with the Web API emulator. Home When it does...
asked by 12.01.2015 / 21:54
1
answer

How to detect if wi-fi and / or bluetooth are connected

Good afternoon! I would like to know if anyone knows some open source code for an application to check if wi-fi or Bluetooth are connected.     
asked by 16.01.2015 / 20:27