Skip to content

Latest commit

 

History

History
 
 

GDHttpClientFileUpload

GDHttpClientFileUpload

This sample demonstrates how to perform a forms based HTTP file upload using BlackBerry Dynamics networking APIs. This sample requires the BlackBerry Dynamics SDK for Android to be installed. Refer to the Getting Started guide for instructions on how to install and configure it. https://developers.blackberry.com/us/en/resources/get-started/blackberry-dynamics-getting-started.html?platform=android#step-1

Applies To

Android Studio

  • BlackBerry Dynamics SDK

Author(s)

  • Mark Sohm

Contributing

To contribute code to this repository you must be signed up as an official contributor.

This sample was tested with the following environment:

  • BlackBerry Dynamics SDK 10.0
  • Android Studio 2020.3.1
  • Android 11

How To Open the Project

Note that you must install the BlackBerry Dynamics SDK for Android in order to build this sample.

  1. Clone the repo to your computer.
  2. Launch Android Studio.
  3. Click on File menu, Open.
  4. Navigate to the directory you saved the project and click OK.
  5. Open the settings.json file in the assets directory and update the GDApplicationID to be unique.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Before you use this sample application which integrates the BlackBerry Dynamics SDK (the “SDK”) you must read the BlackBerry Dynamics SDK Development License Agreement (“the Agreement”). By building this sample which integrates the SDK, you agree to the Agreement terms and conditions. If you do not accept them, do not download, build or run this sample application.