Search Results

Search found 7 results on 1 pages for 'nickcartwright'.

Page 1/1 | 1 

  • Javascript data store solution using PhoneGap

    - by nickcartwright
    Hiya, Does anyone have any experience of storing data in JavaScript across all mobile platforms using PhoneGap? My ideal solution would be to use something like SQLite, but unfortunately SQLite isn't supported across all the platforms PhoneGap supports. I tried to ask this question a little while ago, but it got quite a few negative marks. If you think this is a bad / pointless question I would love to know as it will hopefully help me to understand the problem! Cheers, Nick.

    Read the article

  • Running Django Python on IIS 6

    - by nickcartwright
    Hiya, I'm having trouble running Django on IIS 6 and was hoping someone could help! I've followed this guide exactly a number of times: http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer However, when I try and view my site I always get the same message: "The specified module could not be found." Has anyone else had this problem? Does any one know the steps to fix? Thanks!

    Read the article

  • Anti-aliasing not working when resizing a UIWebView

    - by nickcartwright
    I'd like to add a Web View to my app at 60% scale (like seen in Safari in the browse other windows view): Notice how the content looks nice and Aliased! If I try and add the same Web view to my app: NSURL *url = [NSURL URLWithString:@"http://www.google.co.uk?q=hello"]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 400)]; webView.delegate=self; [webView loadRequest:request]; [self.view addSubview:webView]; Using the following transformation: [webView setTransform:CGAffineTransformMakeScale(0.6, 0.6)]; ..the scale is really bad quality and there appears to be no anti-aliasing. Does anyone know why this is happening or have a suggestion on how it could be fixed? Thanks! Nick.

    Read the article

  • Objective C override %@ for custom objects

    - by nickcartwright
    Hey there, I'd like to override the default print function in NSLog for custom objects; For example: MyObject *myObject = [[MyObject alloc] init]; NSLog(@"This is my object: %@", myObjcet); Will print out: This is my object: <MyObject: 0x4324234> Is there a function I override in MyObject to print out a prettier description? Cheers! Nick.

    Read the article

  • Django Inline Admin elements do not allow editing

    - by nickcartwright
    Hiya, In the Django admin I'd like the ability to edit my models referenced by foreign keys In-Line. I've read all the instructions, added a TabularInline object and my models are displayed there. All looks great, however, I only have the option to add new models and not an option to edit existing. Is there something I've been missing? All the documentation suggests the In-Line models are there to allow you to edit referenced models In-Line, however - all I can see is Add. Any help would be much appreciated!

    Read the article

  • how do I download a large file (via HTTP) in .NET

    - by nickcartwright
    I need to download a LARGE file (2GB) over HTTP in a C# console app. Problem is, after about 1.2GB, the app runs out of memory. Here's the code I'm using: WebClient request = new WebClient(); request.Credentials = new NetworkCredential(username, password); byte[] fileData = request.DownloadData(baseURL + fName); As you can see... I'm reading the file directly into memory. I'm pretty sure I could solve this if I were to read the data back from HTTP in chunks and write it to a file on disk. Does anyone know how I could do this?

    Read the article

1