Hello,
My layout contains a ListView (the parent is a LinearLayout). I have defined a certain drawable to be the ListView's background. The screen looks like this:
When I click/press the white empty space below the last row, I get this:
Any idea how this happens? Couldn't catch any click event in this activity...
I need to rotate a 2d sprite about the y axis. E.g., I have a 2d top-view sprite of an aircraft. When the user turns the aircraft the wings should tilt into (or out of) the screen to show that it is turning.
var blockGraphics : Graphics = null;
blockGraphics.clear();
blockGraphics.beginFill(255);
blockGraphics.drawRect(10,10,10,10);
I am trying to simply draw a rectangle but nothing appears on the screen. What am i missing?
(learning Cocos2D)
After creating a CCLabel and adding it to a CCLayer like this:
//From HelloWorldScene.m
// create and initialize a Label
CCLabel* label1 = [CCLabel labelWithString:@"Hello" fontName:@"Marker Felt" fontSize:10];
label1.position = ccp(35, 435);
// add the label as a child to this Layer
[self addChild: label1];
How do I determine when a user has TOUCHED the label on the screen?
Hi
I have set the background of my UITable with a custom image.
self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]];
The problem im having is the background image is scrolling and doesn't look good at the top and bottom of the screen where you see the image being joined.
Is there a way to fix the position of the background image and just have the table scroll over the top of it?
i would like to take a live video feed from a video camera or 2 to do split screen stuff and render on top of them. How can i capture the input of the video?
i found some old code that uses pbuffers.. is this still the optimal way of doing it?
i guess their is a lot that depends on the connection interface, whether it is USB or fire wire or whatever?
thanks!
I'm a PHP noob.
I have a database that I will update weekly with a CSV. So far I've managed to upload the file to the server, open the file with PHP, and insert the data in my table.
Now I want to return the unique records that were added (on screen or in a file). How do I do this?
Our website has been working and still works if we are connected to the LAN but now if someone is elsewhere and tries to connect, they are presented with the screen called "User Authentification" asking for a username and password. What would have changed? The website is http://pc.bartselectric.com Any help is greatly appreciated. Thank you in advance.
Hi,
I want to develop an application in which i doesn't any idea about how to create my app with which controller class i should i have gave?
My application first screen contain TabBarController and i have also inserting UINavigationController.
On above scenario i little bit confused which type of controller(confusion in TabBarController, NavigationBarController or simple ViewController ya windows based appliaction) should i take.
From a widget when I relaunch an activity which resides in home screen after pressing home button, none of the events of that activity is getting called in HTC hero. It is working as expected in 1.5 emulator. How to solve this issue?
I implemented the code to dislay the bar at the top of the stackoverflow screen: http://stackoverflow.com/questions/659199/how-to-show-popup-message-like-in-stackoverflow
What this does is display the div over top of the div at the top of the page. How can I display the new "bar" div and push the others down? Just like StackOverflow does.
I implemented the code to dislay the bar at the top of the stackoverflow screen: http://stackoverflow.com/questions/659199/how-to-show-popup-message-like-in-stackoverflow
What this does is display the div over top of the div at the top of the page. How can I display the new "bar" div and push the others down? Just like StackOverflow does.
I would like to create a query on a field which after a certain number of characters adds/displays a number of dots to show the user that there is additional text to read. At the moment there is a syntax error using the following code in which it doesn't like the "Left" instruction:
X:IIF(len(description) > 5, Left(description, 5) & "....", description)
Note: "X" is what i am naming the field 'description' in my query screen in Access
I have noticed that alot of sites now, have all of their images in single files are then use background-position to offset the rectangle which is shown on the screen.
Is this for performance reasons? If so why?
How to disable errors just for particular php function, and in the same time to know that the error occurred? For instance, I use a php function parse_url, to parse an array of urls, sometimes it returns an error, what I want to do is to parse next url once error occurs, and not to show it(error) on the screen.
That little "i" with a circle around it on the iPhone, like on the bottom right hand side of the screen in the Weather application, is there a way we can use that icon in the SDK? Thanks.
I want to record voice and sync that up with animation on the iphone as a user touches the screen. Are there apis that will help me accomplish this? I've not done anything like this so I"m having a hard time visualizing the type of algorithm that would help me accomplish this.
Hi there!
I've been messing around with VS2010 beta 2 (ultimate) on windows7 and already I have a nasty problem - when I try to run devenv it's only shows me very-nice-beta2 splash screen and cpu usage of devenv process run to sky.
If thats can help - on machine i have already vs2008 installed.
Is it possible to have a full screen canvas element in the background of a webpage and "normal" markup elements like a table in front of it?
like the following snippet (if it wouldn't be used as alternative content):
<canvas id="imageView" width=100%; height=100%;>
<table>...</table>
</canvas>
I have an iPhone app that I'm porting to the iPad. I store several of the ViewControllers in xib's that I would like to resize when they're loaded. For example my startup screen with options is a bitmap that can easily scale up (despite the mis-matched aspect ratio) and I'm trying to figure out where I have ability to resize the image/window during xib loading.
I'm trying to duplicate the drag and reorder action of the icons on the iPhone screen. I did find one page here that offers some insight... but their demo doesn't even work. So the search continues.
I'm new at jQuery, but am getting there. If I could locate a demo of this solution I could work with it.
I have three xml layout pages, 1.welcome screen (with "next " button) and clicking on next button should bring second page 2.welcome page with ("register" button) this takes to another window/page 3. with name and other details. I have all the three pages GUI built i.e the xml file , how to put them all together and get them working.
Hello - I have an image that is currently stored in variable of type "File"..
File img = ...;
What is the easiest way to display this image onto the screen so I can verify it is working correct?
Thanks!