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...
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.
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.
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?
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.
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..
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?
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.