[Tizen Application-dev] Help Required

정진민 jinmin at samsung.com
Tue Jul 21 23:24:56 GMT 2015


Hello Subho, 

 

I recommend you to use libcurl instead of libsoup if you want to submit your application into Tizen store. 

Since an application is not allowed to use libsoup, the rootstrap does have any libsoup header/lib and your application which uses internal APIs such as libsoup cannot pass the Tizen Store QA. 

 

Regards,

Jinmin

 

From: Application-dev [mailto:application-dev-bounces at lists.tizen.org] On Behalf Of Manasij Sur Roy
Sent: Wednesday, July 22, 2015 1:03 AM
To: Carsten Haitzler
Cc: application-dev at lists.tizen.org
Subject: Re: [Tizen Application-dev] Help Required

 

Hello Subho,

 

- You can use libcurl for HTTP request-response : http://curl.haxx.se/libcurl/c/

 

- Tizen platform also supports libsoup (https://developer.gnome.org/libsoup/stable/) but if you are developing from IDE then I think the rootstrap does not have libsoup headers/lib.

 

- For json response parsing you can use json-glib (https://developer.gnome.org/json-glib/stable/)

 

-BR,

 Manasij

 

 

On Tue, Jul 21, 2015 at 5:47 PM, Carsten Haitzler <tizen at rasterman.com> wrote:

On Tue, 21 Jul 2015 16:16:15 +0530 Subho Dey <subho.dey at tcs.com> said:

> Hi,
> I am new to Tizen , I am Primarily an IOS App Developer , Currently involved
> in a POC Where it requires to communicates with a Rest Api with a Tizen
> Native Application. I could not find any code snippet regarding http request
> and response handling in Tizen. Most of the time the website and
> documentation websites are down. Need your help on this.

ecore_con_url does this. it will give you raw data as events for your http
get/postt (you will still have to do your own parsing of that text - eg xml,
json or just raw text or binary).

https://docs.enlightenment.org/auto/efl/group__Ecore__Con__Url__Group.html
https://docs.enlightenment.org/auto/efl/examples.html
https://docs.enlightenment.org/auto/efl/ecore_con_url_download_example_8c-example.html
https://docs.enlightenment.org/auto/efl/ecore_con_url_cookies_example_8c-example.html
https://docs.enlightenment.org/auto/efl/ecore_con_url_headers_example_8c-example.html

i am not sure it's "allowed" (need to look it up) but it is there on tizen.
there is more code if you google for it that does posts too.

--
Carsten Haitzler (The Rasterman) <tizen at rasterman.com>
_______________________________________________
Application-dev mailing list
Application-dev at lists.tizen.org
https://lists.tizen.org/listinfo/application-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20150722/fcfb9cd6/attachment-0001.html>


More information about the Application-dev mailing list