Questions tagged as 'android-studio'

0
answers

Firebase Android connection error

I am sending the data from my app to fire base but when I do it I get the following message: 05-30 17: 59: 57.410 2757-2757 / bolivar.andres.app.andresbolivar.com.miapplocal I / HwPointEventFilter: do not support AFT because of no config 05-3...
asked by 31.05.2018 / 01:07
0
answers

How can I write these sentences written in Jquery (Mysql) to sqlite android?

$query=mysql_query("SELECT stock FROM tienda WHERE producto_id=$producto_id"); my_query("UPDATE tienda SET stock=stock$cantidad WHERE product_id=$producto_id"); Note: what I want my program to do is to be able to consult the database and then...
asked by 31.05.2018 / 02:18
0
answers

Search for Wi-Fi networks and list them on Android

I can not find the problem, there are no mistakes but it does not work for me. public class ConfigWifiBT extends Activity implements View.OnClickListener { WifiManager wifi; ListView lv; Button buttonScan; int size = 0; Li...
asked by 04.06.2018 / 16:01
0
answers

take picture on android from a class that extends from ChildViewHolder or child from expandable RV

In an expandable recyclerivew, when it expands to show the son, in the son I have a camera button, I try to take a photo and save it in the variable but I have problems because I do not get to the public void method onActivityResult (int request...
asked by 28.05.2018 / 20:08
1
answer

Problem with AndroidStudio permissions

I try to get my application to request and verify the permissions. int permissionCheck = ContextCompat.checkSelfPermission (this,                 Manifest.permission.ACCESS_FINE_LOCATION); The problem is that Android studio gives me an err...
asked by 08.06.2018 / 00:14
0
answers

AlarmManager or Service?

I am developing an app that plays a song on a certain date and time, it can be a day at different times so it does not always run on the same date, I created a method to load_date_date (); that I create an alarm with AlarmManager and then it is...
asked by 28.05.2018 / 12:12
1
answer

Go to another Activity

I'm trying to move to another activity that I name (RegistroActivity) with a button, but when I try it, it leaves me in the main activity, I did a test passed to other Activitys and if it allows it without problem, I do not know why it does not...
asked by 27.05.2018 / 07:30
0
answers

How to connect from my MainActivity to About Us (Activity) in Kotlin

Well, my question is how can I connect from MainActivity where I have the following selector: override fun onNavigationItemSelected(item: MenuItem): Boolean { // SELECCIÓN DEL NAV DRAWER when (item.itemId) { R.id.nav_inicio -&g...
asked by 27.05.2018 / 14:39
1
answer

Keep image of Firebase once loaded Android

I'm trying to create a Activity where you can set a profile image by uploading it to the Storage of Firebase from the gallery through a upload button, and the idea is to remain saved in that activity, but when going on activ...
asked by 27.05.2018 / 17:52
0
answers

how to know if a service is running

Suppose we create an app and create a service, this is the service code: public class Servicio extends Service { public void onCreate(){ super.onCreate(); Toast.makeText(Servicio.this, "Servicio activado ", Toast.LENGTH_SHORT).show();...
asked by 30.05.2018 / 04:03