All Questions
7 questions
1
vote
1
answer
261
views
Safely and Quickly Trim a Byte Array of Audio in Java
I'm trying to take a raw byte array of audio and trim it.
The user selects a start and end value using a range slider.
...
2
votes
2
answers
174
views
Code for getting the coordinates of points on the chart
I am a beginner android developer. I am working on one of my applications. For this application, I wrote an algorithm that is needed to obtain data that is used to build a diagram. I have a list of ...
3
votes
0
answers
115
views
Java Android Sudoku solver
I made a simple and non recursive Android Java Sudoku solver implementing Algorithm X with links inspired from dancing links. The code is on Github (start with the Solver class and the ...
0
votes
1
answer
140
views
5 input based search form for Android
I've been trying to look for a better way in which a user has up to 5 inputs in which they can search for results in a database.
I have 2 EditTexts in which the ...
7
votes
3
answers
8k
views
Fastest way to change the HSV value of all pixels in a bitmap
I want to change all the pixels in an image to have the same value, in terms of the HSV colour space.
At the moment I'm running the following code:
...
4
votes
2
answers
2k
views
Memory efficient A* (AStar) Algorithm
I am writing a solved for 15 puzzle game which will find the solution path to any NxN board. For easier boards the algorithm works great solving almost any 3x3 boards, most 4x4 boards, but when I go ...
3
votes
5
answers
2k
views
Checking that an entered date is before the current date
I want to write a function which returns true if a selected date is smaller than the current date, else return false.
This function is working as expected but I want to know the best possible way to ...