Simple iPhone database app
$30-100 USD
Paid on delivery
I am looking for someone to write a simple app for the iPhone. To start the app will have only a single window with a text label and a button. When that button is pressed or the phone is "shaken" a random text object will be selected from the included sqlite database and displayed in above the button in place of the original text label. If the button is pressed again a new random object will be loaded.
## Deliverables
I am looking for the app code, database, and interface to be designed. The app will have a single window with a black background and 2 objects. The first object will be a text label where an initial message will be displayed in white text reading "Press or Shake to activate". The second object will be a rectangular button which will be white with black text reading "Tap Me Now!"
Once the user taps the button or shakes the iPhone the app will perform a query against the included sqlite database. To optimize performance the query should only pull back 1 randomly selected row from the database and display this Text item as a text label in place of the opening "Press or Shake to activate." message. If the user taps the button again or shakes the iPhone another random row will be selected from the database and displayed on the screen.
As far as the display parameters, everything should begin centered vertically and horizontally on the screen. I would like the app to have the ability to rotate with the iPhone so if the phone is rotated on it's side the text and button will display correctly continuing to be vertically and horizontally centered.
The database will simply contain a text column in addition to the ID column and any other columns deemed necessary by the developer to efficiently select random objects. There should be some function to prevent the same item from being returned multiple times in a row.
The code should be clearly commented in case I would like to make any changes in the future.
If you have any further questions please feel free to ask.
Project ID: #3574865