Posts

java - How to run Applets on Android? -

kgs app seems run applets, need figure out how. android not support applets , missing large number of classes needed applets.

configuration - Saving Eclipse Desktop View Arrangement -

i have been using eclipse on/off years find views not stick. example see debug , log screen below. place them there , don't stay. switch debugger or close , open , find eclipse has no memory of view arrangement established. question this, once desktop arranged way want it, how save view configuration in reliable way can go it. seems basic never clear me how can done or if can done. find myself rebuilding bottom row of views way want it. how can save view configuration? in particular, see debugger window in java perspective walk thru. don't want other debugger stuff example. thanks

php - Images not saved when saving a web page ! -

i building web site using php. i'm using zend framework on apache server. www folder structure following: +www | |_+css | | | |_images | |_js | |_images now problem whenever save page images inside 2 image folders(1 inside www , other inside css) aren't saved. when explore saved page using firebug find css of div referring image inside folder named images (which isn't created). link image ...so can tell me what's wrong ? coz have manually copy 2 images folders saved file every time. assuming mean 'save page firefox's save page option': option broken, , doesn't save everything. there plugin firefox fix this: https://addons.mozilla.org/en-us/firefox/addon/save-complete-4723/

date - Django question: Having a problem with saving -

hello have edit item form. view, @ item.current_item_status_date . def edit_item(request, client_id = 0, item_id = 0): client = none item = none status = none contact = none status_id = request.post.get('status_id', none) contact_id = request.post.get('contact_id', none) save_item = request.post.get('save_item', none) save_status = request.post.get('save_status', none) try: client = models.client.objects.get(pk = client_id) item = models.storageitem.objects.get(pk = item_id) except: return httpresponsenotfound() try: status = models.status.objects.get(pk = status_id) contact = models.contact.objects.get(pk = contact_id) except: pass if request.method == 'post': form = forms.itemform(request.post, instance = item) if form.is_valid() , save_item not none: item.current_item_status_date = date.today() ite...

c# - Which library to use to extract text from images? -

i writing program when given image of low level math problem (e.g. 98*13) should able output answer. numbers black, , background white. not captcha, image of math problem. the math problems have 2 numbers , 1 operator, , operator +, -, *, or /. obviously, know how calculating ;) i'm not sure how go getting text image. a free library ideal... although if have write code myself manage. try post regarding using c++ google tessaract ocr lib in c# ocr tesseract interface

Android Gallery async image load -

is possible use async image loader project http://open-pim.com/tmp/lazylist.zip gallery widget? tried: public view getview(int position, view convertview, viewgroup parent) { imageview imageview=new imageview(activity.getbasecontext()); imageloader.displayimage(urllist.get(position), activity, imageview); imageview.setscaletype(imageview.scaletype.fit_center); imageview.setlayoutparams(new gallery.layoutparams(150, 150)); return imageview; } but had no effect. you must tag image views appropriately asynchronous task can update them once images retrieved cache or network: imageloader.displayimage(urllist.get(position), activity, imageview); imageview.settag(urllist.get(position));

jquery - Use Ajax or Attributes for Images -

what better dynamically loading images- using ajax function or changing image's src attribute desired link? please supply snippet of code answer. thanks depends on definition of "better," since javascript doesn't deal binary streams, i'd recommend "changing image's src attribute" option. var mysource = '/path/to/image.jpg'; var img = new image(); img.src = mysource; // or $('#someimageid').attr('src', mysource);