Questions tagged as 'android'

1
answer

How to create a new window for each click button? [closed]

Hello, I'm a beginner in programming for android, and I'm making an application (work from the TI course). It is as follows: The first Activity has 12 buttons with background of "tables", representing the tables of a restaurant. When clicking...
asked by 21.11.2015 / 15:47
2
answers

Record all events touch of an activity?

I need to make a complete log of all the actions of a user in an activity: For example:    click on R.id.btn_ok view       longclick on R.id.listview-item     
asked by 13.11.2015 / 19:39
1
answer

How to format text in a TextView?

I want to add formatted text (can be in html) on my TextView screen but I'm not getting it. I have the string in the values: <string name="lbl_explicacao"> <![CDATA[ <b> TESTE </b> TESTE...
asked by 17.11.2016 / 20:10
2
answers

Time comparison

Please, I am trying to compare hours (type Open Now / Closed Now). But I can not. To save the current time, I'm using: object.put("h11", h11.getText().toString()); object.put("h22", h22.getText().toString())...
asked by 24.11.2016 / 00:01
1
answer

startActivityForResult () and onActivityResult () in Fragments

I have a MainActivity that allows me to open two Fragments . The Fragment_1 class has a Button that in its Listener opens a second activity through the following call: Intent intent = new Intent(getActivity(),...
asked by 24.07.2015 / 16:12
1
answer

How to Transform a Bitmap into java.io.file to send to Amazon S3

I'm having trouble sending a Bitmap to Amazon S3 using the amazon S3's own SDK. To send something to Amazon S3 you need to be a file, such as transforming Bitmap into java.io.file to be able to send through TransferObs...
asked by 14.12.2015 / 18:38
1
answer

Updating data from one activity to another

I am making a android application that uses telnet communication and receives data every second ( ActivityTelnet ). I would like to treat some of this data in another activity ( Activity1 ). However, when I am in...
asked by 18.08.2015 / 16:30
1
answer

Error Android Studio 1.5.1

Good night, I'm new with Android development and in my first project I'm getting error the following error "Exception in thread" png-cruncher_20 ", below it follows the complete error log, could anyone help me? > 'Executing tasks: [:app:gen...
asked by 15.12.2015 / 00:49
1
answer

How to call fragments in the DrawerNavigation?

I created a new project in android studio and chose to use navigationDrawer , I created my screens now I would like to call them. How do I implement this method and toggle windows in the menu of an application using: public boolean onN...
asked by 07.06.2016 / 04:10
1
answer

Change app title in Xamarin Android

I'm not able to get this string $projectname$ from my title into an application on Xamarin Android. I have already tried editing AndroidManifest.xml and AssemblyInfo.cs and nothing. I searched for this string in the e...
asked by 22.05.2015 / 23:39