view

iPhone expandable view on top of another view

Hey there, I'm creating an app that has a tabbar at the bottom and no status or navigation bar at the top. I want to create a teaser view at the top that is 320x50. It will appear on top the main view for some of the tabs. Similar to the way an ad might appear over a view. Sometimes the teaser view will be hidden. When a user click...

Any way to hide test classes from the Hierarchy View in Eclipse?

I love Eclipse's hierarchy view which quickly shows all the subtypes and supertypes of my Java classes and interfaces. However, the results I am looking for are made confusing by the fact they also show all the types from my unit tests. While I find this helpful at time, I mostly find it annoying. Any way to filter this? ...

How can I find the underlying column and table name for an Oracle view?

This sounds like it should be simple to do but not so! There is no Oracle (meta-data) view that I can find that gives the underlying column and table name for an Oracle view column. The only way I have found of doing it is to parse the view source SQL (which is far from and exact science). Just to explain what I want, consider the follo...

MVC Transfer Data Between Views

Hi All, I just started to learn MVC and trying to understand how it works. I dont want to send user to different views for all edit, insert and list operations. In my sample application a View contains a list of items and below the list there is a form (for inserting new items) with action "{Controller}/Create" but there is no Create ...

Activities, Views and Dialogs in Android. Proper application structure for game...

I was in the midsts of tinkering in android with the goal of trying to make this small exploration game. I actually got pretty far so far: a nice sprite system, a title screen with a main menu that is all in game code (no UI buttons or anything) that launch various activities. An activity that loads this cool map view, that when clicke...

Grant a user permission to only view a mysql view

Hi, I'm using MySQL 5.1.44, let's say I have a table with records inserted by different users of my application, how can I give some specific user access to only see his records on the table? I've think about creating a view with his records but don't know how to create a mysql user that only can view that view.. So, is it possible to ...

Android Extending View and creating from XML Null pointer exception

Hi all, I've created a custom view by extending View, it draws fine but When i try and refer to the object in the xml so I can say add a touch listener if reports a null pointer exception. My xml file is extremely simple <com.projector.interaction.layout.MapMouseView2 xmlns:android="http://schemas.android.com/apk/res/android" an...

iphone hostingView does not fit parent view

hello, I have some problems with the layout of my core plot graph. To be more precise, I have created a GraphViewController (.h, .m and associated nib file). In the nib file I have added another UIView. This embedded view will be used to set the graph (as I do not want it to use the whole view). I then need to create a hosting view  from...

My Snapshot views in ClearCase have disappeared, how can I get them back?

I have 3 views on my machine, I can see the structure on the windows directory but now when I open ClearCase I cannot see any of them on the ClearCase Navigator...how can I add them? ...

Vim change configuration in folder viewing mode

When I enter a folder in vim by pressing gf while over a path, I enter some kind of folder viewing mode. I don't have for instance, line numbers set in it automatically. How do i change the configuration for the folder viewing mode in Vim? ...

iphone switch views with buttons, SecondView over FirstView

Hi, to all im newbie developer and trying to create my first iPhone app, sorry my english not good i trying to make 2 views and the second view display over first view, but the second view is not full screen, is 320x400 i cut 80pixels, to see the buttons from the first view... and i making that with tutorials from one book, but in book...

MySql Query: Select top 3 rows from table for each category

I have an table with records and this table has an row called category. I have inserted to many articles and i want to select only to articles from each category. I tried to do something like this: i created an view: create view limitrows as select * from tbl_artikujt order by articleid desc limit 2 and than i created this query:S...

How to detect if view's parent activity is being destroyed.

I want to do some cleanup in a view when the activity is being destroyed. Is there any way to get a callback in the View when the activity is being destroyed? I tried using onDetachedFromWindow, but I'm not sure whether it is correct thing to do. ...

How to share a view across various activities

Is there any way to share the same object of the View across various activities? For example myApp has 4 activities, and every activity shows a Logo at the top of the screen. Now each activity will initiate 4 copies of the same Logo. So is there any way to get around this? And if 3 out of 4 share the same logo? ...

Mysql - can I have a View that is an in memory image of a table

I have a table with about 3000 records that I query often. Does mysql provide some sort of View that can load the table in memory and stay synced with my table (similar to a cache), so i can query this view and have really fast results? ...

[CakePHP] How can I get record ID on Edit view layout?

hi all, how can i get ID of current record, on Edit view layout? tnx in adv! ...

Postgres Editable Union View

I have a table which stores 'links' between 2 people. In order prevent further complications down the road on an application I am building, I want to create an editable view, that shows the link records and an inverse copy of the link records. Meaning if Joe is linked to Sally, then the view should show Joe linked to Sally and Sally li...

How to use HTML in grails messages.properties for mail sending

In grails, I use a GSP template to render an HTML email sent out with the mail plug-in. This works fine, however the GSP template uses a param which is in turn retrieved from my messages.properties file. Now I want to use HTML, e.g. <br/> inside the messages.properties, but it in the mail it appears as text and the tag is not interpreted...

Add Unique Index on Union View (SQL Server 2008)

I have a view which combines two tables using UNION ALL. Is it possible to create a unique index on the view? ...

Are View numbers affected by Bots on Forums?

I'm a second Admin on a forum and have noticed that the number of View of threads varies from thread to thread quite a bit. I was told that a lot of those Views are from the many Bots that come in and go thru the forums. My question is, do they up the View number every time they come in a check a new post in a thread, or are all of tho...