problem with modified jquery ui photo manager

I'm using a modified version of the jquery ui photo manager example on their site. My problem i am having is i want the photo to go to an external link as well as being dragable. How do i do...

How big is an object reference?

What is the size that a reference in Android's Java VM consumes? More info: By that I mean, if we have String str = "Watever"; I need what str takes, not "Watever". -- "Watever" is what's saved...

AutoComplete fixed selection?

How do i have an AutoComplete selection based on alphabetic instead of fixed switch cases? The situation is, everything working except when i input keyword with "B" showing Badrul as first...

Switch cases maximum implementation?

I am using a single switch cases which will have more than 100 cases statement to be used. Are there any limit ? The usage of cases are for the suggestions of my AutoCompleteTextView, android...

Why result set is empty

String name = request.getParameter("type"); String queryString = "SELECT * FROM Customer WHERE TYPE='Provider';"; rs = statement.executeQuery(queryString); while(rs.next())...

Removing the empty values from the array

I have a array which i have extracted from html using DOM. Now as the below array shows there are many empty data which i dont want. So wenever i try to remove the empty values from the array its...

Querying CSV meta data for an image gallery in Kirby

So I downloaded and really enjoyed getting started with Kirby http://www.getkirby.com For those not familiar it is a file based cms. As standard you can drop a bunch of images in a directory e.g....

How to parse this type of XML data in iOS?

How do I parse enclosure_details attributes? Here is my XML output. <enclosure> <enclosure_details url="http://cdn..com/media/gallery/p18gmcacuj1o4n1572b1m1qnel1c6.jpg" length="12345"...

how to iterate a list in jsp from the values obtained from mysql database

i have written a program to select a particular column from mysql database in java and i want to display it on my server side using jsp. In my jsp page , i have a select tag and some options which...

Submitting a bootstrap form not working

I'm trying to submit my Bootstrap form using php so that the data entered into the form is emailed to me from the page. Something somewhere is not working though, and unfortunately my php...

PHPMailer email being sent without an attachment

I am trying to use PHPMailer to email form results, and I am getting the email. For some reason though the email is coming through without any attachments. Obviously I must be doing something...

Error invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference

All I am trying to do is let the user get a list of the places of types he likes. For example if the input was hospital my application would open google maps with the search string "Hospital". But...

How to add polylines to this particular Google Maps?

Can someone help me with what I need to add and where so I can make polylines between Markers for my journey on my site. Thanks in advance. I try to figure out by myself and I didn't sucseed. If...

How to prevent Azure CDN bandwidth abuse by malicious bandwidth-vampire requests?

Just to let folks know, I did edit the post slightly as some people have suggested, and the question has been posted on Azure CDN forum here. The reason I am posting it on StackOverflow as well,...

How can I put a magnific pop-up gallery inside a carousel?

So I have a website organized inside a carousel so the navigation it's really fluid. The only problem is that I want to put a magnific pop-up or fancybox (I've tried with both), inside one of the...

No 'Access-Control-Allow-Origin' error but image is rendered

My project is hosted in a local web server. Scenario A When I try to access my test.html file via file:// it gives me XMLHttpRequest cannot load http://127.0.0.1:8887/images/main/2.jpg....

Listview in Activity to Fragment

I have a clickable listview in an activity. What I want is when I click from the list, it will go to a Fragment. Does anyone know how it is done? Also, if there's a way when the user click from...

Reverse scroll & sticky elements

I wanna make a reverse scroll page with every element that stick in the bottom when it touch it (all is in the title). I tried to catch pieces of code and assemble them but it doesn't work very...

Using Instagram API to make users populate images into my Django application directly from Instagram Pictures

My use case or what I want to do is: Users click a Upload button, it authenticates user, its shows Instagram images, users select, and user click upload button to upload images or videos (media)...

Incorrect Marker Placement on Google Maps

Working on a map with multiple markers. For some reason all the markers are off by the same amount to the west of where the lat/long pair should be placing them. See in action here:...

Swift UIPickerView 1st component changes 2nd components data

I created this UIPickerView where the 1 components selection decides what the 2 components data is. Yet, whenever I start moving the UIPicker it throws the "libc++abi.dylib: terminating with...

How to display chinese characters in pdf using itextg 5.5.9 in android

I am using itextg 5.5.9 for generating a pdf. All the english characters are displayed correctly but the chinese characters are not displayed. Is there any way to display chinese characters on...

how to fix this error in my register form

Warning: Cannot modify header information - headers already sent by (output started at /home/rsegomyu/public_html/registrations/userregister_action.php:42) in...

Unable to access element of the dropdown using selenium webdriver

I am trying to access the dropdown's element, html is as follows: Select the category of your business. Attractions/Things To Do ...

android finish() not finishing my activity

I have 2 activity (Nota and Pembayaran) activity. in Nota activity, I show some data on textview. when layout_link_pembayaran clicked, it will Intent to Pembayaran activity. In Pembayaran...

how to fix firebase json parse error while saving data to realtime db?

I'm saving data to firebase realtime db all works fine until these json string arrives. it shows invalid json parse { "biz_title":"UCO BANK ATM in Perambakkam", "list_price":0, ...