Aris Doxakis

Ranch Hand
+ Follow
since Dec 05, 2004
Aris likes ...
Android Java Windows
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aris Doxakis

Hello,
i have the bellow code that gets all rows from a sqllite table, but no rows are returned and no errors are been thrown.


thanks in advance.
10 years ago
Good morning,
There is a lot of sound on implementing mobile apps (Android,iOS,Windows phone) using respective native ways or use a HTML 5,CSS3 route for these applications. What are you opinion on this matter. For myself i have learned both Android and iOS development for my business, but is it easier and more productive to use HTML5 for this?
Thanks in advance.
ok solved, i had to use the generic ip address 10.0.2.2 so i can use my web service through the emulator. First time happened, before i used my laptop ip address to use the webservices. A little weird...
11 years ago
Good morning,
I am using a .NET web service through my android application. I can view that the service is working correctly through my browser, but when i use the emulators browser, i can see the methods from the web service but the method when clicked doesnt return nothing. Now when i use it through ksoap2 in my android application it returns a java.net.SocketTimeoutException. What is wrong with this. It only returns a float number.

thanks in advance.
11 years ago
what uri do i use to save to sdcard? is it like /sdcard/myfile.pdf ? and what if the device doesnt have an sdcard? where can i save the files so i can then open them with adobe reader within my appplication.
thanks again.
12 years ago
any help please? i can see that the files are created in the directory /data/data/package/files/ but when i try to open them adobe reader or/and word to go displays a message 'permission denies'. is there a fallback to save files that can be opened through other apps(adobe reader) from my app?

thanks again.
12 years ago
Good morning,
i am a little confused on the concept of reading/writing files to an android device. Firstly i get a byte[] object from a web service, i want to save it to a file with name.doc, if it is a doc file, i know what file i am getting each time from the web service. Were do i save this file so i can then open it from an intent to wordtogo fror example? if the device does not have a sdcard were do i save it. i use this code below for saving the file to data/data/apk name/files but when it executes the open file commands it says permission denied.



thanks in advance guys..
12 years ago
yeah figured it out an hour ago after staring the line of code

thanks for the help..
12 years ago
Hello,
I have the below json array, i validated it on a json validator and it is correct,
{"OikExodaID":22829,"KAAnam":0,"KAFinal":205000,"KADap":205000,"KAEntal":155640.6,"KAPliroth":155640.6,"KATimol":0,"DSum":155640.6,"AdiathPistosi":0,"SumParaDapanis":155640.6,"DiathParaDap":49359.4,"UpoloipoEntalm":0.0,"Anexoflita":0.0}

and when my class tries to parse it to an java object, i get the following error,
11-23 09:32:15.928: E/error message(386): A JSONArray text must start with '[' at 1 [character 2 line 1]

any idea why this is caused? i have 5 more functions returning json strings from a web service that work perfectly, just this one doesnt work as it supposed to..

thanks in advance.
12 years ago
Good morning,
I have a simple class like below


i use it as ArrayList<lstObject>

how can i create a function in the class that sums all the Amount fileds from all the objects in the list and returns the sum of them?

in example have a function getSummary() that returns the sum of all objects in arraylist?

thanks in advance for the help.
12 years ago
i am actually want help on how to filter the objects in the arraylist, my sorting function works.

thanks again.
12 years ago
I have a array list that contains a number of custom objects.
My object has the below structure :
myObj.ID
myObj.Name
myObj.Date

is there a way i can filter this array by its name or date in any way?
12 years ago
Hello i did what you said and it works perfectly. One more question, not opening new post because it is for the same list of objects, how can i filter this list of objects from text in a edittext?
Can this be done dynamically or is there another way?

thanks in advance.
12 years ago
Good morning,
I have a array list that contains a number of custom objects.
My object has the below structure :
myObj.ID
myObj.Name
myObj.Date

is there a way i can sort this array list by id or name? The data comes from a web service not in an ordered way.

Thanks in advance.
12 years ago
Good morning again,
I had an application that worked with Android 1.6 - 2.3. I am updating it to work with Android 3(Tablets). I had an activity that used Tabs(4 tabs exactly). How can i implement a tabHost using Fragments. My UI is divided in 2 pieces. On the left i have a menu that changes on user choices, and on the right i display each fragment called from the user. Now one of my options open a fragment that has to have 4 tabs in it. How can i implement this??
Dont need to use deprecated code or backward compatibility, because it will work only for tablets version 3 and up.

Thanks in advance.
12 years ago