Posts by AlexSusama • 117 points
11 posts
-
0
votes0
answers22
viewsQ: how to create a directory on android system?
I’m using the following code to create a directory when the user presses a button inside a Fragment, but it’s still not working, and I don’t know why. File dir = new File("/novaPasta"); try{…
-
0
votes1
answer207
viewsQ: Static modifier in an attribute
I’m wondering if the Static modifier necessarily needs to be in the same package as the other classes in my project. Example: I have a class called user within the user package and another class…
-
1
votes2
answers115
viewsQ: FATAL EXCEPTION error when loading image gallery using Asynctask
I’m creating a small gallery and I’m having trouble uploading the images using Asynctask class Adapter: public class AdapterGaleriaFragment extends BaseAdapter { Context ctx;…
-
0
votes1
answer190
viewsQ: I cannot fix this java.lang.Nullpointerexception error
I am creating a simple app to show the images in a kind of gallery but I am unable to show the images in the view by Adapter. Always give this error Nullpointerexception Adapter class: public class…
-
0
votes1
answer49
viewsQ: What API to use to create a gallery
I need to create a gallery but I don’t know how to load the images from the card in the view. Can anyone help me which API to use?
androidasked AlexSusama 117 -
2
votes2
answers221
viewsQ: Memory problems when loading many images in listview
I made an application where it is possible to take a photo and save its path in the database and then show in a listview along with other information. Everything goes well when there are few images…
-
0
votes1
answer63
viewsQ: How to make an image reference?
I want to make simple app where user select an image of SD card and then can save its reference in sqlite so it can be displayed in a listview, but still do not know how I can make this reference.…
-
-4
votes1
answer1528
viewsQ: Save images in the database and then show in a listview
I want to save images by sqllite and then display them for a listView, but I don’t know how to do it. Can someone help? No need to show lines of code I just want to know the logic I should follow or…
-
2
votes1
answer1518
viewsQ: how to simply place an icon in actionBar?
I want to put an icon on my Actionbar already searched for this information here on Stackoverflow, but the answers I found are very complicated (I’m beginner) and so I wanted to know if it has a…
-
3
votes1
answer424
viewsQ: I want to put more than one paragraph in my android xml, do you have how?
I’m trying to do something very simple. I want when the user press the "msg" button to appear a message with at least two short paragraphs just below the button, but I’m finding it difficult to put…
-
2
votes1
answer320
viewsQ: How do I format the value of a double variable on android?
I am making a small application that aims to calculate the BMI of a person, but I am not able to format the output of the value to only two decimal places always looks like: 22.222222 or 31.23232322…