Kovacs Akos

Ranch Hand
+ Follow
since Oct 13, 2013
Kovacs likes ...
Netbeans IDE Firefox Browser Windows
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
5
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kovacs Akos

It is defined in RFC3161. I try to get following information from binary output. I use SoapUI to send request to service provider.


How is it possible to make it human readable?
6 years ago
I have started to develop an Android application with face recognition service. Base functions are working, but I haven't enough time to finish/maintain it. I am looking for someone, who is also interested in this project. Maybe we can work together on this "pet project" with use of ZenHub.
Here is current APK file: https://www.dropbox.com/s/o3we9vte5tok7z4/app-release.apk?dl=0
Please have a try and write to me if you are interested.
7 years ago
Sorry, there is a mistake in code above, second jsonarray should be replaced and it gives the value, that belongs to this so called "key" as in example: 0.802138030529022.
7 years ago
I have tried to reorganize my code:



But no luck, name string is empty.
7 years ago
So should I define two JSONarrays, array of array?
7 years ago
I have tried to parse with this updated code:



It gives following error for this format:

org.json.JSONException: No value for candidates

7 years ago
I see!
Yes, it is a really interesting situation because of these special "key-value" pairs. I haven't found some examples like this.
7 years ago
There is only one image in all the times and only need the identify of the first candidate. So candidates is also an object?
7 years ago
I use code above to parse JSON in a try-catch.



I use 2 as index in code below, because I would get values from candidates. I think, that is strange, because there isn't key-value pairs in array. I would like to get only the first key from this array (In this example subtest1.), its value isn't make sense.

7 years ago
I have tried to integrate Google Play Game Services with my libGDX project.
I've used this code in MainGame class:



I put this code in MainMenu class, where I would like to show up login Google's login form after some user interactions.


When I tried to run app, got following error:

Error: (77, 68) error: constructor MainMenu in class MainMenu cannot be applied to given types; required: MainGame found: no arguments reason: actual and formal argument lists differ in length

8 years ago
In every iteration are number, number+1, number +2 indexes. Incrementing +3 should make it possible not to examine 1 number twice.
8 years ago
There is a "big" list, which each elements are another lists.
8 years ago
I have lists in an arraylist(2 dimensional), elements are recurrent in lists. I would like to search for a specified element and replace the second element after it in all the lists.



Example - I search for 154 and 358, so zeros should be changed to 1:

[288, 362, 0, 365, 85, 0, 137, 10, 0, 154, 358, 1]

[285, 226, 0, 137, 10, 0, 20, 30, 1, 387, 297, 0, 154, 358, 1]



This code do it only for one match, not for all matches.
8 years ago


I would like to filter simple text from search result lists in Google. I would like to get only short description of each result, but I do not know, what should be the right regex for this purpose.

This code can filter URLs:


Example whole result:

Web search query - Wikipedia, the free encyclopedia en.wikipedia.org/wiki/Web_search_query A web search query is a query that a user enters into a web search engine to satisfy his or her information needs. Web search queries are distinctive in that they ... ‎Types - ‎Characteristics - ‎Structured queries - ‎See also



Needed part:

A web search query is a query that a user enters into a web search engine to satisfy his or her information needs. Web search queries are distinctive in that they



8 years ago
I would like to to up above defined array. It stores points with its coordinates.



I have a fixed number of elements in an integer list and want to overwrite original(above generated) integers with my own values from my list. Values are accessible in this way:



I have tried to use a simple for iteration, but overwrite every values more than once.
8 years ago