Tagged Questions
6
votes
2answers
214 views
Android Thread and Runnable
This is my code for running a background thread. I believe it is very poor in naming and code structure.
...
6
votes
1answer
64 views
Image-downloader/wallpaper setter
I'm making an image-downloading app that sets the image as the device wallpaper. For this I used the class:
ImageDownloader.java
This class has a function which ...
5
votes
3answers
271 views
Multiple background tasks
This is taken from my post at Stack Overflow here.
I need your help to review my code for improvement and best practice.
...
5
votes
1answer
74 views
Downloading a page in Android
I tried to create a class which downloads the html source from a link and saves it. I'm a newbie to all this Android stuff, even new to Java, but this is what I have so far.
It seems to work at ...
4
votes
2answers
1k views
Review Request - Android CountDownTimer activity
I'm new to Java and Android. While I've created a project that seems to work, I'd like some opinions on how to make it better.
The app is going to be used as an interval workout timer/music player ...
4
votes
1answer
1k views
findViewById - in separate class
I'm new to Android and I wanted to create a class that would load an ad inside the current layout. All the layouts have a RelativeLayout id=adLayout
From my main, ...
3
votes
1answer
540 views
Android sharing selected text to other apps
I am somewhat new to Java. I want to know if this is the proper way to share text with other Android applications, and if I am properly determining if the text is selected. Is there a better way to ...
2
votes
3answers
305 views
Calculating men's risk of getting coronary heart disease
I'd like anyone here to help me clean up my code. It's about calculating men's risk of getting coronary heart disease. Here's the link to my method.
...
2
votes
0answers
70 views
Android Gradle script in multi-module project
I've a multi-module Android project build by gradle with the new android-plugin 0.10.+
All modules are mainly configured from the root project.
I've enable the new code coverage feature. The major ...