thanks everybody for the help, I successfully built the code and ran it in emulator, which is a big progress for me given the fact that I was never into the mobile development, wow!
Now is the next step. I'm trying to verify the behavior and check if the above mentioned line I corrected made any impact to the call log. I connected to the emulator via console, and I am able to make an inbound call like gsm call XXXXXXXXXX, and now the question is how to automate it? I need to fake 500+ calls, ideally 10000 and see what is happening with the call log, if it is being wiped after 500 limit or no. Can anybody help me how to achieve that? The AVD console works via telnet on localhost, which prevents me from doing any bash scripting. Any idea how to push console commands in batches, via script, in a loop?
@Andromxda can you please give some hint?