Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8307965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:39:43+00:00 2026-06-08T18:39:43+00:00

I have an application that is written in Monotouch and one function that it

  • 0

I have an application that is written in Monotouch and one function that it offers is taking photos that are then synchronized back to a Sybase Sql Anywhere database on our server. This mechanism is working fine on the Windows version of our application, but on iOS we have hit technical issues pertaining to saving the photos in the Sybase Ultralite database on the iPad or iPhone. Very briefly, the photos are saving correctly if we set the resolution to VERY low on an iPhone, but failing if the resolution is higher. The issue is related to the size of the image data that is being saved. On an iPad, the photos are generally larger than those taken with an iPhone, so saving to the database is failing more often on iPad than iPhone.

Anyway, that is just some background to our situation and the actual Ultralite issue is not the focus of this question. What I am looking for here is alternative solutions (Objective-C or Monotouch) for providing this functionality. I immediately think about saving to a local database and then replicating the photo data back to the server because I have a lot of experience with database replication. But maybe there is a better way of solving this?

The solution must allow the application to:

  • Save a photo so that it is available locally (even after shutdown of the application or restart of the device)
  • Must allow photos to taken and saved offline, because an internet connection is not always available.
  • Either synchronize the image data back to the server database or synchronize a URL back that the application in the back-office can retrieve the photo. Obviously, at the point of synchronization the application must be online.

Can anyone suggest solutions or API’s that might allow me to provide this functionality without having to synchronize the image data? I am thinking along the lines of maybe saving the image to the cloud and then synchronizing only a URL that can be used in the back-office to retrieve the photo. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:39:45+00:00Added an answer on June 8, 2026 at 6:39 pm

    From what you have wrote, I might suggest that you do not correctly persist images on the iOS devices. The memory on them is very limited and keeping batches of HR images in RAM will result in memory warnings and application crashes. You should consider using CoreData to store the local links to the images that are being saved to disk. I presume, you are familiar with UIImagePickerController delegate callbacks that allow you to retrieve your UIImage and save it to your Application’s Documents directory, so I’m omitting it. I’m not sure what do you mean by “Must allow photos to taken and saved offline”, as neither UIImagePickerController nor AVFoundation are not dependent on the Internet connection. So in order to save images offline, just kinda use one of these (UIImagePickerController is more preferable, if you do not need to show any custom UI on your camera screen, and much easier to begin working with). If you need to synchronize multiple images at the same time, you should show a UIProgressBar and upload images in a queue, whereas each REST request you’re making is a multi-part data request used to upload a single image at a time. This way you will not have any issues with memory management, you can also use the HR quality for the taken images, there’s no need to use the lowest one. For HTTP connectivity you might want to consider using ASIHTTPRequest as it’s plain, very simple to work with and might save you some time with multi-part requests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that was written in vanilla ASP.NET that I would like
I have an application that was originally written in Borland C++ and used a
I have to support an application that was written in .NET 1.1 many years
I have an application that called several other .exe components written in delphi. The
I have C# application that makes use of some C libaries(which I have written
I have written an application that keeps erasing my shared preference. It was always
I have written a PHP application that uses Objects heavily. Added, deleting, updating etc..
I have written a little console application that uses s#arp. I can create an
I have written a Scala (2.9.1-1) application that needs to process several million rows
I have an application written using C++ Builder 5 that uses the TDocument class.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.