NetTalk Central

Author Topic: Receiving data from a cell phone  (Read 4210 times)

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Receiving data from a cell phone
« on: September 01, 2015, 12:26:38 AM »
Hi

Has anyone got any tips about how to go about receiving a stream of data from a cell phone?

Situation would be that a phone app has a batch of data, say in CSV format, and is to send it to a NetTalk program which will load it into a DB.

Thanks

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Receiving data from a cell phone
« Reply #1 on: September 01, 2015, 12:38:25 AM »
check out web services in Nettalk - There is a method to accept a file

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: Receiving data from a cell phone
« Reply #2 on: November 16, 2015, 05:26:38 PM »
Hi Kevin

Could you give me some more info about this.  I have looked at -

http://www.capesoft.com/docs/NetTalk8/NetTalkWebFunctionality.htm#NetWebService

Which Method is the one you referred to - 'Allow Insert'? and how would I add it to my program?

Thanks

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Receiving data from a cell phone
« Reply #3 on: November 16, 2015, 08:17:55 PM »
Hi Keith,

I suspect reviewing some webinars here will bring you up to speed.
Specifically;
ClarionLive webinars #300, 302 and 304. (but especially #300 as a starting point)

Then user group webinar #60 and #77
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

Uploading files is easy, and those should get you going.

Inside the web service method - ie after the file has arrived, you can trivially parse it out with StringTheory using Split et al.
I covered that in ClarionLive webinar #337 last Friday.

cheers
Bruce