view

List with 400 items + images

What is the correct way for building a scrollable list with images that will be able to dill with 400 items? Should I use UITableView for these? What is the correct way for storing and retrieving the data? SQlite? Thanks- Nir. ...

how can we get x-y-z parameters from webcam via matlab?

Hi There, I am using web-camera to capture real-time image via matlab, and succeeded to preview the video using simple videoinput, getsnapshot, and preview functions. To be honest, I am not really satisfied with the result though, because the view-angle is still too wide and I can not set the position of my webcam manually, means I ca...

ipod albums landscae view

Hello, I would like to know if there's an API to implement a view which is similar to the iPod albums Landscape view. I tried using Scroll view but couldn't the get the required output. Also, I would like to know if MMS can be implemented in an iPhone application. I did some searching, but no luck. Jailbreaking aside, is there any API...

Getting property of zend view using a helper called in the layout script

I've written a helper in order to make my main nav. Part of this helper checks if there is a user logged in by checking if a user has been assigned to the view if($this->view->user) { //do stuff } However when I call this helper in my layout script it is unable to access $this->view->user; it has NULL value (although var_dump($this->v...

modal views, or maybe not?

What I need is to correctly dismiss the picker controller's modal view with all subviews (some kind of AR app) and show app's features or in other case a map, and following code gets me only a blank screen: - (id)init { ... self.cameraController = [[[UIImagePickerController alloc] init] autorelease]; self.cameraController.so...

Rotating a view in android

Hello i have a button i want to put on a 45 degree angle. For some reason i cant get this to work. Can someone please provide code to accomplish this? ...

need solution for split cell value (string) and view this as link in VIEW in ASP.NET MVC 1 project

In my table i have: id, header, centent and foto columns. In foto column are cells included string values for egxample :(foto1.jpg,foto2.jpg). J split this and the result input to table. I'm trying to view this in Details.aspx. I must view one record from table in my database plus one split cell as links. View the hole record is not the ...

Changing one view to another

Anyone know of any example or codes which i am able to input so that a view which is the menu of my game is able to start the game on clicking start game button? Its like from menu view to the game view. I had already done up the game just need my menu to link to the game. Thanks alot for any help. ...

how show animation when going to second view without using navigate controller ?

Hi, In my test application (im learning) i have 2 view controllers. on the first view i have button "go to second view". what i want to do : when user click the "go to second view", the first view move left and go out of the screen and the second view will appear from the right and replace the first view. now, this animation is happen...

How to implement the View or Download functionality like gmail in PHP?

If you click view,you'll open that file in browser, while download will pop up a dialog to save that file on your disk. ...

testing (rspec) nested model partials in rails 2.3+

With the 2.3.x+ rails feature of nested models, I think I need to have access to a form builder instance to properly spec partials for rendering the nested models. Pulling from the complex-forms-examples: For example, here is an enclosing form that creates and passes the form builder to the nested model rendering view: <div class="chil...

How to get the selected value of a dropdown in the MVC View itself

Hi all, I have a drop down in a MVC View, which is some thing like this: Html.DropDownList(id, Range(0,10) .Select(x => new SelectListItem {Text = x, Value = x})) In the view itself, I need the selected value of this drop down. I know that I can access that in a JavaScript, but I am looking for a way to get it...

Row Rank in a MySQL View

I need to create a view that automatically adds virtual row number in the result. the graph here is totally random all that I want to achieve is the last column to be created dynamically. > +--------+------------+-----+ > | id | variety | num | > +--------+------------+-----+ > | 234 | fuji | 1 | > | 4356 | gala ...

Find Control inside Grid Row

i m using parent child grid and on child grid i m doing Show / hide threw java script. and child grid i bind run time with Templatecolumns like GridView NewDg = new GridView(); NewDg.ID = "dgdStoreWiseMenuStock"; TemplateField TOTAL = new TemplateField(); TOTAL.HeaderTemplate = new BusinessLogic.GridViewTemplateTextBox(ListItemType.He...

SQL View not working with Entity Framework MVC 1.0

I have a SQL View (SQL Server 2008) that contains 4 columns and works just fine in SSMS. I added the SQL View via Database Update to my Entity Framework model. No complaints, but I noticed that EF decided to make 2 of the 4 columns EntityKeys. The problem I'm having is that when I run the query in my app code, I get the right number...

import 495 Cell to TableView

Hi I want to create a table-view with 495 cells. I want to import cells with NSArray, is it right way? If yes, how can create 495 cells with simple code? Not like this : @"Cell 1" @ "cell 2" @"cell 3", @"cell 4", @"cell 5" ............. @"cell 495" ...

Passing parameterized list to view in MVC using Entity Framework

In a MVC project am trying to create a view which has the Title from a parent table and the subsequent list below it from its related Child table. I pulled the tables into the project using Entity Framework and in the controllers namespace created the follwing Viewmodel: public class ServicesViewModel { public ServicesViewModel(Lis...

Do I need a second table for this database logic?

Hi folks, Firstly, this DB question could be a bit DB agnostic, but I am using Sql Server 2008 if that has a specialised solution for this problem, but please keep reading this if you're not an MS Sql Server person .. please :) Ok, I read in a log file that contains data for a game. Eg. when a player connects, disconnects, does stuff...

C# sockets model view control

the following is part of a socket class that im working on. what i am stuck with is in serverEndAccept i would like to pass/return a string indicating the accept has been successful. for these am i to use delegates? also by declaring delegates would it not breach the application Model isolation? i.e. i need this to be an independent clas...

How to find view's bottom edge position in android listview?

I have a listview with a bunch of items in it. I want to be able to check if the bottom edge of one of the list's child views is off the bottom of the listview and by how much. Is there any way to do this? ...