Posts

objective c - iphone uitableview or uiscrollview better? -

objective c - iphone uitableview or uiscrollview better? - regarding on negative commenst here simplify question in little steps i have view based application communicates web service , recives xml, parse xml , map contens appropriate view component (e.g if thats date show question datepicker, if question has 2 values show segmented control, if more pickerview..etc) dynamic questionary many pages. 1-app receive xml 2-parse xml , latest un-answered questions (there can unlimited number of questions per each page), each question need asked either textbox or picker view or segmented command depending on question type, may need few labels explanition, , validation alerts, , question label. each question , label should have different fonts , colors, defined in xml. 3- user answers questions inhe page , press send button. 4-web service receives, checks answers , sends new question(s) asked depending on answers given. 5-app receives new xml (each xml includes whole state i....

session - How to make php scripts run in parallel? -

session - How to make php scripts run in parallel? - script1.php <?php session_start(); sleep(10); script2.php <?php session_start(); i run script1.php in browser , after script2.php in browser window. session_start() in script2.php can't execute until script1.php not finished executing. why happened , how create php scripts run in parallel? try <?php session_start(); session_write_close(); sleep(10); related: thoughts on php sessions php session file-locking

Issues when using sqlite db copied from assets folder on Android -

Issues when using sqlite db copied from assets folder on Android - although getting favorable reviews, next errors piling , giving grief: java.lang.runtimeexception: unable start activity componentinfo{com.svs.missions.missionsgalleryview}: android.database.sqlite.sqliteexception: no such table: missions: , while compiling: select * missions banner not null order title collate nocase @ android.app.activitythread.performlaunchactivity(activitythread.java:2787) @ android.app.activitythread.handlelaunchactivity(activitythread.java:2803) @ android.app.activitythread.access$2300(activitythread.java:135) @ android.app.activitythread$h.handlemessage(activitythread.java:2136) @ android.os.handler.dispatchmessage(handler.java:99) @ android.os.looper.loop(looper.java:144) @ android.app.activitythread.main(activitythread.java:4937) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:521) @ com.android.internal.os.zygoteinit$methodandargsca...

xml - Eclipse / Android raw txt file error (Content is not allowed in prolog) -

xml - Eclipse / Android raw txt file error (Content is not allowed in prolog) - i need place raw *.txt file in android-project read , output general terms , conditions in dialog. however, eclipse shows, .txt file contains errors (see title). it's not xml file , should treated raw file. why error?!?! how can prepare it? thanks in advance. solved: eclipse restarting not help. creating file eclipse 'new file'-wizard on raw folder helps. it's kind of bug. dont: create file in folder , set in res/raw folder afterwards. eclipse doesn't recognize file has been move folder problems should ignored. alittle buggy tho. it sounds interpreting xml file; in res/raw or assets/ ? non-xml resources should set in 1 of 2 project directories. android xml eclipse text-files

asp.net - Does .net still use ADO.net? -

asp.net - Does .net still use ADO.net? - im using .net 4.0 , when talk database using sqlconnection class etc still ado.net or has dinosaur died? ado.net live , well. every orm out there .net built on it's not going away anytime soon. asp.net ado.net

android - Json to string array using Gson -

android - Json to string array using Gson - i'm having troubles deserialization of json: [{"categorium": {"created_at":"2011-06-09t08:57:41z","c1":"rete stradale","updated_at":"2011-06-09t08:57:41z","id":1}}, {"categorium":{"created_at":"2011-06-09t13:50:29z","c1":"servizi pubblici","updated_at":"2011-06-09t13:50:29z","id":2}}, {"categorium":{"created_at":"2011-06-09t13:50:37z","c1":"illuminazione","updated_at":"2011-06-09t13:50:37z","id":3}}, {"categorium":{"created_at":"2011-06-09t13:50:46z","c1":"inquinamento","updated_at":"2011-06-09t13:50:46z","id":4}} ] how can extrapolate "c1" attributes, can homecoming string array of ...

localization - Find differences in a .po file -

localization - Find differences in a .po file - i have .po file translated strings identical original ones. however, few different. how find ones differ original? use podiff i used it, workd me. in c, have compile it. create friend localization diff gettext po