Loading

Input text dialog Android

When a user clicks a button in my app (which is printed in a SurfaceView), I'd like a text dialog to appear and I would like to store the result in a String. I'd like the text dialog to overlay the ...

Can I use NSURLCredentialStorage for HTTP Basic Authentication?

I have a cocoa class set up that I want to use to connect to a RESTful web service I'm building. I have decided to use HTTP Basic Authentication on my PHP backend like so…

in Drupal 7 how to save image name or path into database

this is my code for image upload in local computer and database also bt it store the image on local computer bt not hoing in database : in data base i have three fields id,name,image $items['...

Are literal strings and function return values lvalues or rvalues?

Just wonder if a literal string is an lvalue or an rvalue. Are other literals (like int, float, char etc) lvalue or rvalue? Is the return value of a function an lvalue or rvalue? How do you tell the ...

Does chrome store allow submit extension if using lib knockoutjs?

I'm developing chrome extension, I use knockoutjs library to developing and almost complete. So my question is: does chrome store allow to submit extension if using knockoutjs lib?

AsyncTask and Looper.prepare() error

I have the following codeclass OverlayTask extends AsyncTask { @Override public void onPreExecute() { if (sites != null) { myMapView.getOverlays()...

Pop up window for my MVC application

I have this site when an employee enters his coupon number and browse through the various options of the site. I need to add an pop up window which enables an employee to change the coupon number

python list comprehension explained

I have no problem for understanding this:a = [1,2,3,4]b = [x for x in a] I thought that was all, but then I found this snippet:a = [[1,2],[3,4],[5,6]]b = [x for xs in a for x in xs] Which ...

Bootstrap 3 modal vertical position center

This is a two part question: How can you position the modal vertically in the center when you don't know the exact height of the modal?Is it possible to have the modal centered and have overflow:...

How to properly override clone method?

I need to implement a deep clone in one of my objects which has no superclass.What is the best way to handle the checked CloneNotSupportedException thrown by the superclass (which is Object)?A ...