Questions tagged as 'android'

2
answers

How to calculate the average speed (km / h)?

I need to calculate the average speed (km / h) and show this information in the Activity in "real time", just as it is shown in the GPS Apps. How to make such a calculation and encode it on Android?     
asked by 25.08.2014 / 16:15
1
answer

Android Event Keyboard OK Button

Good afternoon, people again, asking for help. I would like to know how to get the OK button event from the keyboard. Example if I have a login and I want it to click on ok it will have the same effect that the button would enter from my applica...
asked by 09.07.2014 / 22:05
1
answer

Save in the photo the coordinates of the place where it was taken

I would like in my application when taking a photo, that this photo saves the location coordinates in the details of the photo, would it be possible? Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE.); intent.putExtra(String.valueOf...
asked by 17.07.2014 / 13:47
1
answer

Android Studio with problem in MainActivity

I started to use Android Studio today, and when creating the Application Project I came across a problem: I can create, but the MainActivity class gets full of errors and I have not changed anything about the application. That's it, have...
asked by 19.02.2015 / 22:21
2
answers

Android - Is it good practice to use default strings.xml for national applications?

I am developing an application for a school auto, my question is in the question of encoding the files are all UTF-8 by default or is it only applied to values like values-en-rBr? My concern is only if the special characters like ç ã are going t...
asked by 05.10.2018 / 21:23
1
answer

How to create a TextView and ImageView via code?

I would like to know how to create a code TextView and ImageView and destroy it via code.     
asked by 20.02.2016 / 14:20
2
answers

Android - Cycle to check whether a CheckBox is enabled or not

Within the event of a Button I have a while loop that is constantly checking the status of a CheckBox . The problem is that if CheckBox is activated, Freeze! Can anyone help me with this? botao.setOnClickListener(new...
asked by 28.04.2015 / 12:35
1
answer

How to click the ListView item and call another screen?

I created a listView where it shows my registered item, how do I to click the item I want it to open a new screen with the description and details of the item? Class where my table is displayed: public class MostraTodosOsLivrosActivity exte...
asked by 08.05.2015 / 16:44
1
answer

Error: Service Intent must be explicit

Hello, I'm having the following error on android, can someone help me? Erro: Service Intent must be explicit: Intent { act=SERVICEPUSHNET } Code: SMART.JAVA package imm.pt.immsmart; import android.content.Intent;...
asked by 22.08.2018 / 10:40
1
answer

Android Layout Limit

Good morning, I made a Layout for my last project, and agr want to expand the fields, so I want the layout not to finish in the corner of the screen, I want to slide my finger and lower the screen Where would I make that change ?? Thank you in a...
asked by 04.11.2015 / 19:32