dev

Repeated Multiple Definition Errors from including same header in multiple cpps

So, no matter what I seem to do, I cannot seem to avoid having Dev C++ spew out numerous Multiple Definition errors as a result of me including the same header file in multiple source code files in the same project. I'd strongly prefer to avoid having to dump all my source code into one file and only include the header once, as that's g...

Iphone Dev on Linux, Windows

I'm buying a mac in a month or so but could like to start working on an Iphone app before I actually get my mac. Is this possible on xp or ubuntu? I know that I won't be able to compile it or test it for the iphone to I get my mac but maybe I can get alot of my upfront work out of the way. ...

HttpBasicAuthentication in IPhone

Hi All, In my iPhone app, i am trying to display an image on iphone from my server, which needs authorization. I am trying to use NSURLConnection to get the image, but it is not asking me for the user credentials. i.e it is not at all going to didReceiveAuthenticationChallenge method. Can anyone help me with this issue. Thanks, nbojj ...

Navigation toolbar rightside two buttons

Does anyone know how to add two system buttons to the top right side of my navigation toolbar. I know that custom buttons can be added, and i really dont understand why the system buttons can't do this to. And i really need it, i need a add button and an edit button. edit to reorder and delete table rows. add to add a new row. I cant...

Combining images

I want to place the picked image ontop of another image, so that my picked image wil be placed in some sort of frame i made in photoshop. After combining the images i want to save it to the disk. Does anyone knows how to do it, or mayby a link to examples? ...

My rotated image doesn't have sharp edges

I am rotating my image with the following code: CGAffineTransform rotate = CGAffineTransformMakeRotation( [ratio floatValue] ); [imageView setTransform:rotate]; But it doesn't have sharp edges, does someone knows a solution for this? Here's the link to the image i get: link ...

10 degrees rotation image cut off

I rotate my image with: UIImage *image = [UIImage imageNamed:@"doneBtn.png"]; CGImageRef imgRef = image.CGImage; CGFloat width = CGImageGetWidth(imgRef); CGFloat height = CGImageGetHeight(imgRef); CGAffineTransform transform = CGAffineTransformIdentity; CGRect bounds = CGRectMake(0, 0, width, height); transform = CGAffineTransformRota...

ASP.NET Problem with upload on production server but not in dev

Hi everyone, maybe a simple question but I really don't know what to do. When I submit a file through a form using , it works perfectly on my dev machine. When I try the same thing on the server, it gives me the error below. The error doesn't help me at all because I don't even have this function in my code (CaptureCollection) and I d...

iPhone SDK: GameKit and large files + connection lost

Hello! Since some time I've been playing with GameKit, but now I'm facing relly bad difficulties. I'm going to send through Bluetooth bigger files - 1-2MB. I've already prepared a packets (about 8kB each). My app works as described on followin scheme: iPhone - sending header: file divided into 25 parts iPod - received header: OK I go...

iPhone UITextView leaves room for 2 lines at the bottom

Hi Guys, When i start typing text in a default textView in my viewcontroller, its not going to the bottom of the textfield. It leaves room for 2 more lines of text and then starts scrolling. I want it to start scrolling when i start going beyond the last line. I tried everything, and i dont know what i can do? Anyone any ideas? ...

iPhone Dev - Is it possible to load an app's mainWindow conditionally?

Is it possible to code this sequence of events once an iPhone app has been launched? User launches application. AppDelegate.m checks if data is present in internal database. If yes, MainWindow.xib loads. If no, AnotherViewController.xib loads. I've only seen app examples that load the MainWindow.xib without conditions. If it is possib...

iPhone development on many machines

I have more than 1 Mac, and I would like to do development on all of them. I know I need to sync my phone on each machine, but that is the least of my problems. It looks like I am not able to run apps on my phone except apps that are developed on one of them. Is there anyway (sensible) to be able to use both my MacPro and MacBook Pro ...

What do ctime, atime and mtime of /dev/tty7 suppose to mean on a Linux that runs X?

What do ctime, atime and mtime of /dev/tty7 suppose to mean on a Linux that runs X? Perhaps ctime is the time X started? It seems that I got conflicting results for atime and mtime... the time a key was pressed? the time something was written to the screen? If it depends on the distribution, I'm particularly interested in the answer f...

iPhone views programming

Hi ! I'm trying to have 2 views in my app, using 2 buttons on my home screen. For each of these buttons i've created a new class and added the following code to my view controller : ViewController.h : #import <UIKit/UIKit.h> @interface Gallerie2ViewController : UIViewController { } - (IBAction)switch2class1:(id)sender; // 1st button - ...

Tool for interactive dev environment setup and tasks

I'm looking for a tool allowing to define interactive dev environment setups. I am not looking for a tool that automates downloading and installing tools such as IDEs, SDKs and the like. Nor am I looking for a '1 click' approach to setting up, replicating dev environments. Maybe it will be easier if I explain the kind of situation I am...

Getting rid of Value attribute of a textBox when using clone method in jQuery

Hi, Im having problem with this form im working on. Whenever I add, or refresh the page, the values are still there. I believe this is because the clone method copies the value attribute from the textBox. Is there any way I can get rid of them when i add another textBox. <html> <head> <title>JQuery Example</title> <script type...

What are the pre-requisites to become a Business Developer

I am not sure if this is the right portal, But i believe many entrepreneurs are available here. I wanted to know how can someone get in to business development. what are the factors that are necessary if the person has no MBA degree. is it possible to get into such profession. I mean is it just the fact you must know how to write RFP, or...

Guidelines regarding developing a flash web-site (especially loading - order swf, xml, etc...) ?

I would like to know, if you people out there could help me out, regarding the best practices or the a better way for creating a flash website... Actually I would like to know whether we should load the xml first and then the swf and other components or the other way round ? I am bit confused, even if anybody could refer some book to di...

UIScrollView with 3 UITableViews

I made a UIScrollView like the Weather.app. On the first page I've placed a UITableView which shows data loaded from a website. On the second and on the first page I also want to place a UITableView. The other two tables should also load data from a website, but from another URL. Now my question. How can I set up a UIScrollView with 3 ...

How can i create my own video chat using Flash ?

Hello. I would like to create a video chat. no text, just 1-1 video, which is very simple. Is it possible with Flash 10? Does it cost any money to use Stratus ? Do you know if there something similar already out there ? Thank you. ...