Lotus Domino Server Access from iPhone - iphone

I am new to lotus notes and domino server. I want my iPhone application to have access of domino server. I want to get Contacts from domino server in my iPhone Application.
I googled for it,I found many documents. but I couldn't find perfect data flow for that. can any one explain me how can i get Contacts/Calendar/Mail from domino Server.
What is the purpose of using java Agents for lotus notes?
In simpler word, I want to make Lotus notes for iPhone with iPhone SDK 3.0.
Thanks,

As you can't use the lotus java libraries to access Lotus Domino, your best bet would be to access Lotus Domino via HTTP to get the data.
The simplest way (if you have no experience whatsoever developing in Lotus Notes) would be to try and get the data from the existing views in names.nsf (the Server Directory) and the mail databases. To do so, you can call a view with the following parameters:
http://www.yourserver.com/names.nsf/($users)?readviewentries
http://www.yourserver.com/names.nsf/($users)?readviewentries&outputformat=JSON
In each case you are getting the data from the view "($users)" in the "names.nsf" database, in XML or JSON format.
If you need more data than is available in the existing views, I would recommend against creating new views (as it would imply modifying the standard templates). For that, I would create a new database with agents that recovered de info you need and returned it in the format you prefer.
Agents are just blocks of code (usually written in LotusScript, which is similar to VBasic, or Java). They can be scheduled to run at certain times or events, or called directly (from notes or via URL). You could call an Agent using an url as such:
http://www.yourserver.com/names.nsf/myAgent?openagent
From the agent you could access any data in the server (if you have permission to) and return a "text/html/whatever not binary" to the program requesting the URL.
Note: Lotus Domino 8.5.1, that has just been released, includes the ActiveSync protocol, so I'm not sure about the need to recreate the Notes Client in the iPhone.

You mention contacts initially, and then you mention mail / calendar / contacts. What are you trying to achieve in your iPhone application? If you're trying to build some kind of Notes client locally, that seems crazy. There are two options out there already:
Simply use iNotes (i.e. web access for Notes mail etc.) which works well in Mobile Safari or;
Use the IBM Lotus Traveler product, which uses ActiveSync to use Domino mail / calendaring / contacts with the native clients on the iPhone.

Related

What are the ways available to connect iOS app to fetch data from or via microsoft dynamics crm 2011? [duplicate]

I'm looking to interact with my Microsoft Dynamics CRM system from my iPhone, performing tasks such as pulling down, updating, creating and deleting records.
Is this possible? If so, can anyone link me to any good resources on the matter or provide me with any information you feel would be relevant?
Many thanks,
Jack
Yes this will be possible and there are at least some relevant pointers in the CRM SDK (Development from Non-.NET Clients in Microsoft Dynamics CRM) however general support and anecdotal information is sparse (in fact the referenced topic and it's links are all that exist in an official sense).
You will be accessing via the SOAP endpoint and the link to the WSDL for that is exposed via the CRM UI (Settings > Customizations > Developer Resources).
I'd start with downloading the CRM SDK and reading the topics I linked to.
Caveat - I know nothing of Objective-C or IOS
I don't know anything about this, but maybe that'll help: http://www.cwrmobility.com/
If your looking to develop something yourlself, this might help: http://www.microsoft.com/en-us/download/details.aspx?id=13621
It is possible, you'll need to use the web services API.
MSDN web services API docs
It uses JScript, so on the iPhone, you should use NSURLRequest and NSURLConnection to retrieve the data coming back.
Here is another link for using JSON, as iOS has a JSON parser built in now
MS CRM using JSON

How do I create an iPhone app to take a picture and send it back to an Oracle database?

I'm trying to create a program that you can take a photo with your camera, and send it back, where it will then be attached as a field into an Oracle database. An existing app that this is similar to (if I'm not explaining it clearly enough) would be bank apps that allow you to photograph the front and back of your checks, then send them off to a different location to be processed.
From my understanding, I would need some sort of middleware and not access the database directly with the pictures taken, but I'm just trying to get the project off the ground at the moment.
So, my immediate questions are:
What sort of base project template would be the best to use for this kind of app?
What sort of code is required to send a file from one location to another? (I'm mainly used to these scenarios in .NET languages, not in xCode)
Expose an HTTP based service (and that can be written in any language and run on any platform e.g. GNU/Linux).
The app itself would be native iOS, and you can certainly consume web-services.
The server itself is just your basic CRUD system backed by a persistent store, in your case an RDBMS.
[iOS] <-----/net:HTTP/---->[server]<==/LINQ/==>[RDBMS]

How do I go about writing an app that writes to and reads from a centralised data-store?

I've been asked at work to write a simple iPhone app that allows people to write ideas that go to a central depository, which then allows other people in the office to view.
So I'm just wondering what would be the best way to store such data, should I use a simple SQLite database? What Cocoa libraries are used to access/modify the database?
Also, does Apple allow apps to be rolled out to a private network as opposed to going through the App store?
Ideally, each person's login is just their normal Microsoft Outlook email address. Is there a Cocoa library for accessing Microsoft Exchange?
Thanks.
This is 4 questions rolled into one, so here are my 4 answers:
1) If your app's purpose is to share information, you shouldn't store anything on the iPhone. Create a simple HTTP server (could be PHP, Ruby, whatever), with a simple interface (GET/POST), with a backing database (could my MySQL, SQL Server, so noSQL, whatever). Make the iPhone send requests to that server, no local storage required.
2) If your database is distant, you'd use NSURLConnection/NSURLRequest (or a Mutable variant). If you use XML, there is a built-in XML facility, if you use JSON, you can use: JSON Framework.
3) You can, with an Enterprise account. Apple Enterprise Developer Program
4) I don't know about Exchange support. I think you should find something in the SDK though.

iphone development

i am sapna.and we have to develop an application in an iphone having features:-
Identifies a unique user and captures profile.
Admin module / configuration module to assist user define the data points and their bound values.
Support of upto 250 data points to monitor, and monitor upto 50 on the client side
Provide tabbed interface with not more than 10 points of data grouped in a single tab / tag
Output to be generated in text and graphical form
Support iphone features of touch etc
Web service to retrieve point data from the database.
we have learnt that mac os and iphone sdk is required.now for data transfer what is reqiured ? is it API.or web services.what is reqiured.what topics ahoulkd be studied for developing this project.i am fully new to this domain.waiting for your reply.
HTTP rest requests are very easy, and can be architected as non-blocking on the client side. The iPhone has minimal support for XML and JSON is far easier (IMHO) using one of the json libraries such as those here.
You may want to use the deviceID as the unique user identifier (depends on your definition of unique I guess)
To learn iPhone programming, I can highly recommend the CS193P course available (at the moment) on iTunesU.
For web transfers, you can do HTTP REST very easily so I would architect your server side to talk very simple HTTP. There is built-in support for XML, but you will have to parse results from the server manually.
For Tab UI support, you can just look at the examples included in the SDK, it's not difficult.
For graphical output, you will want to create your own UIViews that override the draw function. You will have to learn the CoreData API in order to produce high-quality renderings.
If you are new to this, and are more familiar with C# or even Java, I highly recommend looking at the MonoTouch system.
First of all u need a Mac based system and the iPhone SDK installed. I think you are trying to make an iphone version of the web application. it will be better for you to download the MAMP(Macintosh Apache MySQL PHP) Server and install it to debug your application. its simply the mac version of WAMP and LAMP. (hope you are familiar with PHP).
You can then configure you MAMP for debugging and once the debug is complete you can host these PHP files to the actual server.
Remember, you need to get the results from the server in the XML format. and you need to write code to parse the XML you generated at the server.
Hope this information is helpful.

Serve a form without a web interface

Anyone doing any work using "offline" forms? We have an application that requires inputting data from outside our company. I was thinking about sending a form out via email, allowing the form to be filled out then sent back. Obviously a web application would be the best solution, but management doesn't seem ready to build the infrastructure and security to support that. I've read a little about PDF forms is that a good solution or are there other solutions?
Have you considered InfoPath? These can be created and distributed through email. And then the data can be collated automatically.
Also, consider using Google Spreadsheets with Google Forms. It's free and infrastructure is outsourced.
PDF forms can work as well.
Another possibility is to use Microsoft SharePoint. If your company uses Microsoft Office for the people filling the forms you referring to, you could deploy an Office based solution and gather information with Sharepoint Server.
Check this link out.