simulate unable to open database error in iphone dev 5.0 [closed] - ios

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Hi i have a requirement to simulate an error that states the iphone applicatio is unable to open the database and display values from it. i use sqllite. Please let me know how to simulate that error. I tried by locking the database file, changing the db file to readonly, but nothing happened... please let me know how to simulate the error...

Open the database with a separate connection, set exclusive locking mode, and make some change (you don't need to commit it).

Related

How can I update/add unlockables into my app without an update? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need to add unlockables to my application, but the problem is that I don't want to have to send out an update every time that I want to add something new. I have read a bit about servers and JSON and XML. I just wanted to check to see if anybody else had a better idea?
If you are talking about something like a logo change then, short of an app update, the only option you have is getting it from an outside source such as a server transmission. But now you are talking about in-app purchases which, if you have not already, should read up on.
https://developer.apple.com/in-app-purchase/In-App-Purchase-Guidelines.pdf
Server based image and/or text transmissions are easily done and if I understand your last comment correctly, these updates would not be very frequent anyway.

Disable the iPhone when user going over 10mph [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How can i disable the phone when user going over 10mph , disable means user can't use email or any text writing work.I am able to calculate the speed but not disable or hang the iPhone.
Please help me.
Thank You
You can't, You might be able to make your own app give a warning that you are traveling to fast. But there is no way to disable to iPhone.
All apps are sandbox and have limited acces to the other apps or the system.

iPhone SDK: eMail application source code [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to make an emailing application but I wanted to know if there is maybe already an application that provides their source code so I could get a head start. Like maybe just the simple concept of placing emails in a table view and retrieving them from a server. If there is anything out there please let me know.
If you do a google search, you should be able to find what you are looking for. Here are some I found.
http://mobile.tutsplus.com/tutorials/iphone/mfmailcomposeviewcontroller/
http://m.youtube.com/#/watch?v=ECkJh2mnFc8&desktop_uri=%2Fwatch%3Fv%3DECkJh2mnFc8
The geeky lemon drop one is pretty good.

How to dial number starts with * in iphone app [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am developing an iPhone app and I need it to call a number that starts with *, is there a way to overcome Apple's restrictions (I know they prevent that)?
If Apple has explicitly restricted something then you can't just "overcome" it in the build in SDK. Usually the only way to get around Apple's security protocols is to develop an application strictly for Cydia.

How to unlock folder in delphi [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
i had created two service,both are using same folder..i want to unlocked the folder when first service work got over..plz help?????
Its not clear what you want. But two or more processes can use the same folder.
You can't delete or rename a folder that is in use by another process.
If you read and write a file at the same time, results can be unpredictable. But if you open a file you can specify if you want exclusive access.

Resources