All Questions
13 questions
1
vote
1
answer
895
views
Android APP FTP uploading file implementation in Java
This is a follow-up question for Android APP FTP host profile class implementation and Android APP connect to FTP server in Java. I am attempting to perform the upload operation to specified FTP ...
1
vote
1
answer
66
views
Android APP user registration page implementation
This is a follow-up question for Android APP User class implementation. I am attempting to build a user registering system and this post shows the user registration page implementation.
The ...
1
vote
1
answer
80
views
Android APP Password Strength Assessment class implementation
This is a follow-up question for Android APP User class implementation. I am attempting to create a password strength assessment class which is named ...
2
votes
0
answers
396
views
Custom MediaController with full screen video image option
I have overridden setAnchorView() of MediaController class to display full screen option icon using below code.The code seems to be working fine in devices I tested but I have few doubts for which I ...
2
votes
1
answer
90
views
Code for adding a user to the database
I have a code that adds a user to the database, getting the username from the dialog.My fragment implements the interface with the onInputSend method, which is called by the dialog when the user ...
2
votes
1
answer
1k
views
Retrieving access token from SharedPreference
Here is code that retrieves an access token from SharedPreference.
...
3
votes
1
answer
22k
views
Checking for Internet connectivity on Android
I wrote this code to check an internet connection and was wondering if this is the best way to do this check.
...
3
votes
1
answer
3k
views
Functionality for automatic retry after exception
I have made the following system to automatically retry network calls if some exception is thrown. (Earlier posted on stackOverFlow, solution inspired by what @Boris answered)
...
5
votes
1
answer
6k
views
AsyncTask which allows to handle exceptions on UI
The AsyncTask available in android, gives you the result from doInBackground on the UI thread so that you can update UI ...
5
votes
3
answers
2k
views
Class for catching error and logging
I often write something like this in my code:
...
4
votes
1
answer
382
views
Simple helper method for JUnit3 tests
In JUnit 3, I cannot tell JUnit what type of exception is expected. In JUnit 4, the ...
12
votes
2
answers
2k
views
Productivity app for Android
I wrote a productivity app for Android. It lets you switch system settings, like Bluetooth, wife, screen brightness, volumes, ringtones, mobile data, airplane mode, etc. Unfortunately I have ...
3
votes
2
answers
9k
views
HttpClient error handling
I would be happy to hear feedback on my implementation of HttpClient. I am not so strong with error handling so I want to improve. My thought process behind this was that ...