This is a discussion on Data grids? I want to be able to display a report! within the iPad Development forums, part of the iPad App Store category; Hey all, how's it going? I'm totally new to this thing. I've done a Hello World app using the iPhone SDK and that's about the ...
![]() |
![]() |
![]() |
![]() |
![]() |
|
|||||||
| iPad Development Interested in creating apps or games for the new Apple iPad? Discuss your ideas and questions here. |
![]() |
|
|
#1 |
|
iPad Fan!
![]() Member #10906
Join Date: Jul 2010
Location: United States
Posts: 6
|
Data grids? I want to be able to display a report!
Hey all, how's it going? I'm totally new to this thing. I've done a Hello World app using the iPhone SDK and that's about the extent of my knowledge so far. I have a programming background but it's all been Windows based using ASP.Net. I took a C++ class in college but that's as far as my C knowledge goes!
Anyway, the company I work for has charged me with creating an iPhone/iPad app that will allow our customers to run simple reports. We work in the retail world so the reports will show something like sales data by store number. The user keys in the store number(s), hits "GO", and a report pops up in a datagrid. Problem is, I want to just simply start with trying to populate a datagrid with some data and I don't know how to get started. I've researched, Googled, and even followed a tutorial on the Table View object (was NO help and their XCode interface had different things than mine did). So...how do I go about getting started with doing something like this? I just want to be able to connect to a database and run some sql to fetch some data back into a datagrid. Seems easy enough and I could do it pretty quickly in an ASP.Net environment, but this whole iPhone/iPad thing is new to me. Appreciate any help. |
|
|
|
|
|
|
|
#2 |
|
iPad Master!
![]() |
To get this up quickly I suggest you use what you already know. ASP.net before moving to something more complicated like populating tableviews and making data grids.
Let the user enter the info, hit GO and then all the data you want gets requested via an asp.net page you have setup and displayed to the user in a UIWebView You can then make the app a little more usefull than a website would be by added something like a button called Near By Stores. The click it and the app checks GPS coordinates and displays the nearest X number of stores. They then can get info quickly for what ever stores are nearby as well as manualy entering a store #. This is all done while keeping most of your code in the ASP.net language that you already know well. Iphone app just passes info to your page and requests the info be displayed back as a webpage. |
|
|
|
|
|
#3 | |
|
iPad Fan!
![]() Member #10906
Join Date: Jul 2010
Location: United States
Posts: 6
|
Quote:
|
|
|
|
|
|
|
#4 |
|
iPad Master!
![]() |
No, when you put a UIWebview inside your app its almost like dragging and dropping a small safari browser window into the app.
it all would be displayed right inside the app. the users may not even notice that its a webpage thats being displayed. |
|
|
|
|
|
#5 |
|
iPad Fan!
![]() Member #10906
Join Date: Jul 2010
Location: United States
Posts: 6
|
Nice. I'll see what the boss says about that.
|
|
|
|
|
|
#6 | |
|
iPad Master!
![]() |
Quote:
the upside of doing this also is that you can make changes and updates to what is displayed to the user without requiring new versions of the app to be downloaded and installed. Changing apps and getting the updates out to the users can been a long process. and if you go through the apple app store its two weeks for them to review the app before approving the update and making it available for users to download. |
|
|
|
|
|
|
#7 | |
|
iPad Fan!
![]() Member #10906
Join Date: Jul 2010
Location: United States
Posts: 6
|
Quote:
Now...to get started...is there a tutorial on the UIWebView?
|
|
|
|
|
|
|
#8 | ||
|
iPad Master!
![]() |
Quote:
Code:
//tell the UIWebView to load the page. NSString *webLink = @"http://mikestoolz.com/"; NSURL *webURL = [NSURL URLWithString:webLink]; NSURLRequest *requestStory = [NSURLRequest requestWithURL:webURL]; [pictureWebView loadRequest:requestStory]; |
||
|
|
|
|
|
#9 | |||
|
iPad Fan!
![]() Member #10906
Join Date: Jul 2010
Location: United States
Posts: 6
|
Quote:
I saw that when I was doing the Hello World tutorial.
|
|||
|
|
|
|
|
#10 |
|
iPad Master!
![]() |
synthesize pictureWebView
and in the .H file make sure you add IBOutlet UIWebView *pictureWebView; @property (nonatomic, retain) UIWebView *pictureWebView; You can change pictureWebView to what ever name you want to call it, thats just what I used in my app. |
|
|
|
![]() |
|
|
| Visitors found this page by searching for these keywords: |
iPad data grid |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Only three screens for app display? | jacamoore | iPad Help | 2 | 07-02-2010 03:32 PM |
| Cellular Network Data - measures data use since...? | MLimtiaco | iPad General Discussions | 2 | 06-30-2010 09:21 PM |
| iPad display bug | jameslawson | iPad Help | 7 | 06-02-2010 05:31 AM |
| I did it!! Display anything from your iPad | Zip | iPad Hacking | 3 | 05-14-2010 03:40 PM |
| VGA display question | mediapad | iPad Help | 0 | 04-10-2010 09:06 PM |