Questions tagged as 'android'

1
answer

How to open an activity from a calculation?

I'm a layman in android studio and need to do a program on a BMI calculation. The idea is simple, in the first activity he asks for his weight and his height, after that he must make the account of the imc (imc = weight / height²) and if the res...
asked by 23.09.2017 / 20:38
1
answer

How to save form in android studio and send pro firebase

I have a simple form, with name, surname and age. I want to send the data typed in the editText of this form to the firebase. The solutions found in the smp web are referring to login forms which leaves the code very complex. I have already c...
asked by 26.09.2017 / 18:20
1
answer

HTML Entities in PHP and Java

I'm using htmlentities () in PHP to store data in the database, replacing ç , ã , and other characters by HTML entities: <?PHP htmlentities ("Ampliação"); //Resulta na string "Amplia&ccedil;&atilde;o In Java (Android) I need...
asked by 26.09.2017 / 02:31
2
answers

How to list the last message of all conversations

I'm creating a chat in android studio, so I need to list the last message between the chat user and his contacts, regardless of whether he sent or received the last message. I made the select below in mysql and it works, but in sqli...
asked by 26.09.2017 / 01:59
1
answer

App without data franking consumption [closed]

Hello. I am searching to see how some applications that allow its use without consuming data from the internet franchise work. IFood, for example, has this feature, among others, such as Magazine Luiza, etc. Does anyone know how to give more...
asked by 28.11.2017 / 17:12
1
answer

Suspending app publishing on Google Play

My application was suspended after an open test alpha environment was attempted. Question: Is there any way to submit the app and evaluate it without impacting the developer account? I'm really an amateur in this area and I have a few days...
asked by 15.10.2017 / 14:06
1
answer

Save in the gallery image taken by the camera and pick up the path of that image. - Android [duplicate]

I have an android app that uses the camera to take photos and show in ImageView , except that the picture taken is not saved in the gallery. I would like to know how to save the image in the gallery and get the path of this saved image a...
asked by 15.10.2017 / 11:28
1
answer

How to change the color of the button you pressed?

I'm developing an app that randomly generates an add-in account and generates 4 values as possible responses and which are placed on 4 buttons (also in a random way). I would like to know how I do it, when I click on any of the buttons (the p...
asked by 16.10.2017 / 03:47
1
answer

How to search from SearchView in the actionbar data from RecycleView using Kotlin?

Follow the code below: class MainActivity : AppCompatActivity(), SearchView.OnQueryTextListener { var list = ArrayList<Shop>() var adapter = ShopAdapter(this, list) var imageModelArrayList: ArrayList<Shop>? = null...
asked by 15.10.2017 / 14:06
1
answer

How do I grab each JSON object, add it to a list and show it in activity?

I have to develop an ecommerce app and I have a question regarding lists. I'm getting a JSON with some product data from an API and I'm trying to grab each object from that JSON, put it in a list and show each product with its data in an Activit...
asked by 15.10.2017 / 20:45