Connection to a PHP server

Hi, I'm new to BB development one I was wandering if I approach a problem the right way.

A potential client asked a marketing application in which its customers can manage their accounts online and delivers new coupons, sales, and promotions and these can be seen by the user instantly.

They want native apps for iPhone and BB.

The approach I use is to do most of the logic in the server (Apache, PHP, MySQL) and the customer (phone), apply updates, even better, if that is possible, that the server sends events to the client.

My Question is: is it possible to connect a native app for BB to a server (PHP app server) and let it get and send information?

I have most of the logic (say a logic of CMR system) on the server and use it for the purposes of BB and iPhone app?

Thanks in advance for your help.

I would appreciate if someone could point me in the right direction.

Welcome to the Support Forums...

You will need to implement a Web service with the necessary functions that will help you to perform tasks on the server end...

Mobile end you will interact with the web service and its functions. The request will be sent to the web service that, in response, will realize specific features of the side Server and give you the result. You need to check the result to see if the function call was successful or not.

For interaction as already said to you, you can use:

  1. KSOAP (the request is made in the form of XML).
  2. URL encoded post request (parameters are embedded in the url itself).

Tags: BlackBerry Developers

Similar Questions

  • failed to connect to the SMTP server

    I can't send mail in ThunderBird sometimes. I use 31.5.0 version but I was wrong this problem in older versions either.

    It is said:
    "The message could not be sent because the server name of the SMTP server connection failed. The server is may be unavailable or refuses the SMTP connections. Please check that your SMTP server is correct and try again, or else contact your network administrator. "

    Sometimes, every time. But really bad situation for me. It happens with hotmail, gmail and with my own email accounts. For the time being. It sends to all accounts except for Hotmail. I tried not in http://kb.mozillazine.org/Connection_errors_-_SMTP , but there is no change.

    Could you help me please abou this problem?

    Is - this smtp.live.com which does not send?
    Try this:

    SMTP.live.com / 587 / TLS

    Authentication the same as POP3 (username and password)

  • Last update has screwed up to connect to the IMAP server.

    The last update for Thunderbird seems to have changed something so that the connection to the IMAP server. All new messages downloaded but have not read a 'Loading Message' in the status bar. When it finally disappears content downloadable (web related) does not appear. In addition, I can send is no longer emails. The server times out. Worked fine yesterday.

    To diagnose problems with Thunderbird, try the following:

    If the safe mode for the operating system to resolve the problem, there are other software on your computer that is causing problems. The possibilities include but not limited to: AV scanning, virus/malware, background downloads such as updates of the program.
  • Download latest towers "connecting to the update server", will not download

    I tried to download the latest version of Firefox for the last 5 days on different internet connections. He turns and hangs on "connecting to the update server". The download will not be completed. Can you please help? Thank you.

    To install Firefox on a Mac, follow these steps:

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Delete Firefox in the Applications folder.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    If the download is interrupted, check the reasons for it: if it's a low slow connection, it would be wise to seek a faster point to connect.

    Please report back to see if this helped you!

  • Pavilion HPE-414sc: HP Support Assistant does not connect to the HP Server

    HP Support Assistant does not connect to the HP Server. Do not download messages and updates of definition. Does not collect configuration information. Does not scan my system. Does not prepare the action list.

    I installed Windows 10 once again. After installing HP Support Assistant work.

  • Software update gets stuck to connect to the update server

    For a very long time (since Firefox 4 or more), I'm notified of updates, but when I say update I just get a window that says it has download firefox and it connects to the update server and it stays there forever. I left open for days and it never goes away. I've always had to go download a new copy of updated, but I really like to get the auto update work.

    I tried to delete history/cache/etc for ever. I deleted everything related to Mozilla AppData, I lose everything, but always the software update gets stuck. Of course, he's stuck something other than trying to connect to the update server. Any ideas?

    I suggest you to go through the path alternative and easier downloading of

  • As he tried to update 8.0.1 firefox is unable to connect to the update server.

    After getting the prompt to update 8.0.1, Firefox cannot connect to the update server. I've never had a problem connecting to the previous updates in the past. I'm running OX 10.6 and the currently installed version of firefox is 7.0.1.

    try to install Firefox 8 on top of Firefox 7, or

    The profile is a file that store your personal information in a safe place

    here explain how to save the profile

    here explain how to restore it
    
  • Every time I open Firefox I get the meesage from follopwing: it's recommended storngly you appl this update as soon as possible. When I have TRD to di, show he's trying to connect to the update server but nothing happens

    Everytime I open Firefox I get the following message: it is strongly recommended that you apply this update as soon as possible. When I try to do, is to show that it is trying to connect to the update server but nothing happens

    You are welcome

  • HP Envy Notebook dv6: unable to connect to the proxy server

    I saw an error message "Unable to connect to the proxy server" when I try to connect to the internet via WIFI, even if the label shows who is connected to my home router.

    HR63 wrote:

    Thanks for the tip, there is so much information, the laptop with this problem belongs to my daughter and because she doesn't have an internet connection (can not download anything), there is another way to fix it?

    I don't know because the online is where most of the instructions are locate in. I copy and paste the links here, but unless you can print them out or print the online pages it becomes hard, but here are the parts of the txt of it. +

    http://malwaretips.com/blogs/unable-to-connect-to-the-proxy-server-removal/

    How to remove "Unable to connect to the proxy server" (Virus Removal Guide)

    This page is a comprehensive guide, which will remove "Unable to connect to the proxy server" virus from your computer and any other adware program that may have been installed during the installation process.
    Please complete all of the steps in the correct order. If you have any questions or doubts in any point, STOP and ask for our assistance.
    STEP 1: restore the default proxy to your machine settings
    STEP 2: remove failed to connect to the ad software proxy server from Internet Explorer, Firefox and Google Chrome with AdwCleaner
    STEP 3: delete impossible to connect to the proxy server with Junkware Removal Tool browser hijacker
    STEP 4: delete impossible to connect to the virus pop up server proxy with Malwarebytes Anti-Malware free
    STEP 5: check a second time for the "unable to connect to the proxy server" malware with HitmanPro
    (Optional) STEP 6: delete impossible to connect to the proxy server of Internet Explorer, Firefox and Google Chrome ads

    http://www.geckoandfly.com/9275/Internet-connection-error-unable-to-connect-to-the-proxy-server/

    It is with IE

    Step 1 - launch Internet Explorer

    Step 2 - Click the icon "but" it looks like a gear wheel...

    Step 3 - select 'Internet Options '.

    Step 4 - Select the 'connection '.

    Step 5 - Click Lan settings

    Step 6 - uncheck "use a proxy server for your LAN (these settings may not apply to dial-up or VPN connections)."

    Step 7 - click 'Ok' to save the changes

    If you are using a proxy server, check your proxy settings, or check with your network administrator to make sure that the proxy server is running. If you don't believe that you should use a proxy server. Here's a video tutorial:

    Also, if you can since I don't remember which browser your help that gave you this message that I had to go with IE as a default.

  • could not connect to the smtp server

    Hi all

    I'm on a 21.5-inch iMac using OS 10.11.3 at the end of 2012. Yesterday (and today...) Mail would not send anything and gives me a status 'offline' for sending. I use Gmail IMAP with 2 accounts. The same problem happened to my wife on his computer with the shared e-mail account. My iPhone (4) will send the mail from the same account. If I log in to Gmail directly I can send emails. I deleted the account and re-written information. I quit Mail and restarted the computer. I looked at several solutions in the forums and have tried what appear to be common ones (that I could find), but nothing seems to work. After restart of the account Gmail sent me an email saying I had been blocked for using a "precarious" app, and I checked my Gmail settings so that I can use less secure (as the devil which means?) apps. The problem persists...

    Mail connection doctor says that it is connected to the internet and my 2 IMAP accounts work, but 2 SMTP accounts (I guess for the sending of?) say "not able to connect to this SMTP server.

    It all started yesterday without changing all the settings or preferences that I know.

    Any ideas?

    Michael

    Have you checked the SMTP settings for the latest recommendations googles? Changed something on their end recently?

    You run a 3rd party cleaning apps (clean my mac, mac guardian, etc.) or AN Anti Virus on your Mac? If so, remove them.

    have you installed anything between mail works and does not?

    If so, remove it.

  • "We have problems to connect to the download server.

    I tried to download any type of update of Skype from my Skype upward and itself deleted my Windows 10 for no reason. Whenever I have try and install the program Skype, after clicking on the first two buttons of installation for preparation, I get this message: 'we have problems to connect to the download server. The only option is to 'download' again. And continues to be the same thing. What is happening and how to fix this?

    Try this download link (currently Skype version 7.16.32.102)

    http://www.Skype.com/go/getskype-MSI

  • Unable to connect to the Skype server!

    Always write can not connect to the Skype server. just like others. I use version 4.2 without problems, but about 1 week ago can't connect on Skype. Always write this message and try after 2 minutes later. Doesn't work, I try to download the latest version and at the end of installation even message, unable to connect to the Skype server. No problem with our PC

    Interestingly, I can't go to my Skype account with login Skype from my Windows Phone (Nokia Lumia 630).

    Conclusion is any problem with your server and connection PC, dosnt matter version of Skype. Please fix. I hope in a short time. Thank you

    Best regards y):

    having exactly the same problem on my Mac when I try to connect it just gives me that a message could not connect to the server. Can go to my ipad, same account etc, but not on the desktop. Anyideas? I tried to download latest version, but that does not help

  • HP8600 does not connect to the ePrint Server

    HP8600 does not connect to the ePrint server at all. I double checked all the settings and I can print to it from my applications when you are connected to the same network, but try to access the server of ePrint from the screen of the printer or the web interface cannot establish a connection.

    The printer is connected via a wireless network and can be printed from any device connected to our network.

    Everything indicates that there should be good. But can't seem to make bad connection ePrint. No error message not developed.

    The printer is on a network of b/g/n 2.4 GHz connected to a Netgear N600 DUal Band (WNDR3700 model).

    Version of the firmware of the printer is CLP1CN1232AR

    Any ideas? It does not appear to be blocked by a firewall, so really lost here.

    Hello

    Try to define an alternative DNS and check if that can help you:

    1. Tap the wireless on the top of the screen of the printer and look for the IP address is.
    2. Navigate to throguh IP of the printer, the web browser on your PC.
    3. Click the network tab.
    4. Under, click IPv4 wireless.
    5. Under the DNS Configuration, select manual.
    6. Set the address preferably as 8.8.8.8
    7. Set the e-mail address alternative as 8.8.4.4
    8. Click on apply to confirm the change.

    Now, turn the printer off and turn it back on and check for the difference.

    Shlomi

  • create the connection to the datafinder Server

    Is there a way to create a connection to the datafinder server in the script? I have a file location that must be typed in (you cannot find by browsing through the folders) and want to know if there are other methods of adding connections to the server.

    Thank you

    Artemis

    I was able to use the following which fixed my problem

    Call Navigator.ConnectDataFinder ("my DataFinder"). GetSettings(). SearchAreas.Add)
    Call Navigator.ConnectDataFinder ("my DataFinder"). Indexer.IndexFolder)

    But now I wonder if there is a way to check if a search box already exists in the datafinder.

  • FPGA connect for compiling the server

    Hi all

    I'm just trying to write my code for my Spartan 3 FPGA. I was moved to another computer so I tried to install the right tools... LabView 2010, the module, LabView FPGA 2010 so that the pilot of the Commission of the Spartan Xlinix I use. Windows XP (32 bit)

    Everything seems functional until the moment when I try to compile the code on my device. Apparently it "impossible to connect to the build server" or "compilation tools are not installed on this computer." I thought that all that is necessary to compile is included in the download of the module.

    Is there some piece of obivous I'm missing? Thanks in advance.

    Hi Oli,

    I had the same problem recently. It is very important that all the good software and drivers are installed in the order so that everything works as expected. Looks like you have installed the driver appropriate for the Xilinx Board, you may not have Compilation of Xilinx tools for your FPGA. For the Spartan 3 FPGA, I recommend that you download Xilinx tools 12.4. This will allow your computer to compile the FPGA bitfiles for your specific FPGA module.

    Kind regards

Maybe you are looking for

  • Plugged in vs. not connected

    Is this ok to use my macbook air connected when I'm at home, watch movies or while doing other things requiring more battery and then plug it out during the night and let him sleep on battery? The fact on and cycle to plug and unplug the battery in a

  • Performance of Time Capsule and "device not found".

    I am now on my 2nd TC average weeks because I thought the first was broken-, but I get the same questions on the second > A Wi - fi connection is very intermittent.  Seat 3 feet of the TC, I can get 450Mbps on my iPhone 6 and 5 minutes later her stoc

  • Firefox crashes randomly displaying webistes

    Only at random, 13 Firefox crashes when visiting a Web site. I checked for malware, and there is none. Safe mode means the same question. In addition, there are a few problems where Firefox would just stop responding. He wouldn't say no does not, but

  • Satellite Pro A200 - question on the BIOS update

    I have a Satellite Pro A200 (PSAE7E) with Windows Vista and XP that have been installed recently.In the driver of Toshiba page (BIOS update) says: "This Bios is only compatible for portable computers with Windows Vista!" (1) should I update my BIOS (

  • My replay speed looks like "the chipmunks"--all the replay is too fast?

    Why is my speed reading too fast?