Questions tagged as 'android'

3
answers

Passing values between Fragment and Activity

I have a fragment that consists of several buttons. The goal is that when I press one of these buttons the fragment disappears and passes the value associated with that button to the activity that is in the background. What is happening i...
asked by 18.06.2016 / 20:53
2
answers

Enabling Internet Connection in an Android Application

I would like to know a way to identify if the android cell phone is connected to the internet independently if it is the mobile network of the mobile or wifi carrier, and if it is not connected, I activate all connections both wifi and mobile da...
asked by 20.07.2015 / 21:23
2
answers

Eclipse future for Android development [closed]

What are the impacts of Google no longer supporting Eclipse? Can I still use the tool to create Android applications?     
asked by 10.07.2015 / 17:54
1
answer

Events of touch swipe, swipeRight and Left do not work on android 4.4.2

Touch events do not work on Android 4.4.2 Would anyone know how to fix this?     
asked by 16.01.2015 / 04:18
1
answer

Change Actionbar button icon

I have this layout with this heart button, so inside the click event of this button I change the icon IwantedtochangemyhearttherebythisheartwhenIclick The answer below solved more than one problem You need to override the onCreateOption...
asked by 10.02.2015 / 14:21
1
answer

Upload imageView using image path

I have a listView loaded with DB data on a screen, on another screen my app beats a photo and saves the photo path in the DB, until then I was able to do it normal, now how to put the image in Imageview ListView using the p...
asked by 24.03.2016 / 03:28
1
answer

How do I save read-only data? Should I use SQLite in this case?

I'm developing an application (a widget actually) that shows some phrases in the user's home . I have about 1000 phrases of approximately 150 characters , how will I store it? In that case is DB worthwhile?     
asked by 20.02.2015 / 19:39
1
answer

Manipulating buttons on items in a list

Personal I have a problem on my list. In my list it is the same as the image below: ThearrowsshouldincreasethenumberofgoalsofthecorrespondingtextView,butthisisnotthecase.RegardlessoftheitemIclickedonthearrowstheincreasedvalueisalwaysthatof...
asked by 11.11.2014 / 20:38
1
answer

How to put items from a Listview in strings.xml

I have a custom listview, with images and text: private void createListView() { //Criamos nossa lista que preenchera o ListView itens = new ArrayList<ItemListView>(); ItemListView item1 = new ItemListView("Alimentacao", R.dra...
asked by 25.11.2014 / 01:40
1
answer

Run a GCM function before uninstalling app

I have an Android application that is using GCM, I wanted to know how the unRegistered method works, how can I do it, so that when the user uninstalls the application it automatically quits my GCM and also like to take it out of my database the...
asked by 23.07.2014 / 22:40