ScrollView embedded in TableLayout embedded in RelativeLayout with ListView outside Not Working

Before I added my ListView, along with changing my TableLayout height to "wrap_content" as opposed to "fill_parent", my ScrollView displayed properly. Here is my XML: <RelativeLayout...

Observer pattern in c++

I am having a bit of trouble with observer pattern I have a beverage class that uses decorator fine. I am trying to implement observer to let an observer( say a cell phone/text message) in this...

Observer and Decorator used together c++ *REVISED*

I have a program thats a coffee house that does beverage as a decorator / wrapper... I also have a observer and i am trying to tie that in with beverage. so, when the order is placed cellphone one...

Need help with update for observer c++

I have a order beverage type program. I am tryig to implement observer pattern so when the order is placed the cellphone /observer will display the order, basically letting them know of an...

What is the difference between the sql blob and image types

This question was actually posed to me this morning by one of my compadres, and it completely threw me, in so far as I didn't even realise SQL had an 'image' datatype so I've always simply gone...

With Ant, how do I create seperate jar files from one src directory?

I have one source directory in which I am trying to create separate cod files since my resources (PNG files) are beyond the limit imposed by the RAPC compiler. I am trying to create: .cod(s) for...

How to skip the item in an rss feed if the `description`node does not exist?

How do I skip the item in an rss feed if the description text does not exist? I tried with this line below but I still get an error, if($x -> item($i) -> getElementsByTagName('description')) {...

Pokergame with PHP and Jquery - Browser-Back-Button behaviour

For practicing reasons I programmed a little Texas Holdem Game in PHP with some JQuery Animations. Every action (bet, fold, check, raise, call) is submitted via a HTML form to a PHP script. Now...

Using buttons to search through an sqlite database

I am developing an android application that takes user information entered in an edit text as an argument in an sql argument. An example of this is if I were to type in "Business A" and click one...

Android application closes when clicking a button

I am developing an android application that takes user information entered in an edit text as an argument in an sql argument. An example of this is if I were to type in "Business A" and click one...

Android application unable to start activity

Hello I am programming an android application that has a database that allows the user to search through it for specific events. Currently I am running into an issue with the activity getting...

Null Pointer Exception In sqlite Database

I'm coding an android application that allows a user to search in a database and see results from the database based on their search. Currently I am receiving a NullPointerException and I am not...

Trouble Populating SQLite Database

I am programming in android with an sqlite database. I have a class DBAdapter which creates my database and table and has a method to insert data into the database. In my DBActivity class I use...

Button in android application causes null pointer error

I am programming an android application and I am using buttons on a homescreen that take a user to other screens. Currently all of my buttons work but one. In my homescreen I am trying to take...

Twitter typeahead

Question #1: I have the following code: // NOTE: Initiate auto-complete $('#edit-keyword').typeahead({ remote: '/products/autocomplete.json/%QUERY', wildcard: '%QUERY' ...

How to fix [BXSQ0001] An SQL exception occurred: 'No suitable driver found for jdbc:mysql://...?

I'm evaluating use of Base-X's SQL module with MySQL. For a simple experiment I started with something similar to the example from http://docs.basex.org/wiki/SQL_Module: let $conn :=...

Android: How to iterate multiple JSON object Arrays in the same file

I have tried searching for this problem and solution but i haven't found any. I have a JSON file which has information about locations, each has an array of images like this { "locations": [ ...

DOMDocument parsing data inside a CDATA

I have this xml (had to cut/paste via HTML). <tr> <td>http://www.example.co.uk/the-view-from-22/feed/</td> <td>Example Blogs » The View from 22 » Example...

How to exclude a particular html tag(without any id) from several tags while using scrapy?

<div class="region size2of3"> <h2>Mumbai</h2> <strong>Fort</strong> <div>Elphinstone building, Horniman Circle,</div> <div>Veer Nariman Road, Fort</div> <div>Mumbai 400001</div> <div>Timings:...

JS slider/carousel - staggered and jerky transition between background images when clicked

Here's the website: http://54.169.61.153/coffeehouse/merchandise/mobile-apps/starbucks-mobile-applications-2 The image above is the section of my jerky slider. Scrolling is smooth but the...

Removing duplicate names in array using Knockout JS

I'm trying to figure out how to remove duplicate names for a Google Maps project using Knockout JS. I have a list of coffee shops (multiple locations for a few chains) and I only want the name to...

How to assign the data of a centroid (marker) to the voronoi/thiessen polygon it belongs to? (R)

In his article Kyle Walker showed a method to make Voronoi Polygons in Leaflet. He drew Voronoi polygons around each starbucks coffeehouse in Fort Worth by means of the following...

How can I get specified value from array of NgbTypeahead

Here is my form.html <form #f="ngForm" (ngSubmit)="save(f.value)"> <div class="form-group"> <label for="coffeeHouseName">Názov kaviarňe</label> <ng-template #rt ngFor let-cf="result"...

How to using Spring @RequestMapping annotation with attribute name in Spring MVC

As I know in the Django Framework offers a way to name URLs so it's easy to reference them in view methods and templates. For example: # Definition in...

An unclear requirements.txt error which results in not being able to install

From today, I started getting error while installing modules from requirements.txt, I tried to find the error module and remove it but I couldn't...