Community mailing list archives

community@mail.odoo.com

Re: odoo development for ios app

by
Serpent Consulting Services Pvt. Ltd., Jay Vora
- 07/23/2015 06:25:23
Bhavik,

This is a simple iOS/Objective C code on base foundation. There is no framework involved.

Thanks.

On Thu, Jul 23, 2015 at 3:52 PM, VYAS BHAVIK <vyasbhavik@rocketmail.com> wrote:
Hello Husen , 
Thank you very much for help. 
Is it Foundation framework or COCOA framework that you used? 
Or are you using any third party library? 
Pardon me if it's a very basic question,but currently i am stuck at this point. 
Thank you in advance.



On Thursday, 23 July 2015 12:37 PM, senthilnathan g <bornspy@gmail.com> wrote:


+1

On Wed, Jul 22, 2015 at 7:47 PM, Husen Daudi <husen.daudi@serpentcs.com> wrote:
We used this code for the Authentication from iOS to ODOO using ODOO web services.

  NSMutableArray *argslogin = [NSMutableArray arrayWithObjects:DATABASE,USERNAME,USERPASSWORD, nil];
    NSString *serverlogin = [NSString stringWithFormat:@"http://%@:%@/xmlrpc/common",HOST,PORT];       
    NSString *methodlogin = @"login";                                        
    XMLRPCRequest *requestlogin = [[XMLRPCRequest alloc] initWithURL:[NSURLURLWithString:serverlogin]];
    [requestlogin  setMethod:methodlogin withParameters:argslogin];
    NSError *myErrorlogin;
    XMLRPCResponse *response = [XMLRPCConnection sendSynchronousXMLRPCRequest:requestlogin error: &myErrorlogin];
    NSString *xmlData = [response body];
    NSLog(@"xmlData   %@",xmlData);
For calling any other method instead of common web service you can use object web service can call read, write, create and unlink methods.

Hope this help.


Regards,
Husen Daudi,
Managing Director,
Serpent Consulting Services,
S : husen.daudi
Follow : Twitter | FaceBook | LinkedIn

On 22-Jul-2015, at 12:10 am, venkatarao.nagendla@browseinfo.in wrote:

Hello,
Greetings,
I have odoo development for IOS app :
I tried to connect with odoo database to retrive the data from ios 
application,but it gives me connection failure.
So which third party librarys  using in ios application.
So i am not sure where i am going wrong.I hope i have explained the 
issue clearly.
Please guide me if i am making any mistake.
Thank you.
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



--
 Regards
Senthilnathan G
+91-94888 91888
+91-87544 15304
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
The Splendid journey of 2 years in Numbers
---
Regards,
Jay Vora,
Managing Director,
<img src="cid:part1.09000700.05080805@serpentcs.com" style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Serpent Consulting Services Pvt. Ltd.
Web : http://www.serpentcs.com
Mobile : 91 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog : http://jayvora.blogspot.com