Giter Club home page Giter Club logo

ndk-samples's Introduction

NDK Samples Repository

The NDK-Samples repository holds Open Sourced samples for the BlackBerry® 10 Native SDK.

All APIs shared in this repository are Open Source under the Apache 2.0 License

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

Code Organization

Each Sample added to the repository should be placed in its own directory. Make sure you name the directory something simple, yet descriptive. Each Sample must also have a README file at the root of its directory.

Contributing Samples

To add new Samples or make modifications to existing Samples:

  1. Fork the NDK-Samples repository
  2. Make the changes/additions to your fork
  3. Send a pull request from your fork back to the NDK-Samples repository
  4. Send a message via github messages to the Repository Committers below to indicate that you have a pull request for them to review

Repository Committers

Bug Reporting and Feature Requests

If you find a bug in a Sample, or have an enhancement request, simply file an Issue for the Sample and send a message (via github messages) to the Repository Committers to let them know that you have filed an Issue.

Disclaimer

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.

ndk-samples's People

Contributors

ablake avatar jhoffmannrim avatar mlepage avatar nlandry avatar pelegri avatar phofman avatar seanpaultaylor avatar svelikevitch avatar timwindsor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ndk-samples's Issues

Invalid path to libbps.so

Hi,

I found a little bit misleading default project configuration, preventing all of the samples from running on PlayBook beta 2.0.0.6149 (using public NDK 2.0 beta2).

The problem is that each bar-descriptor.xml contains wrong reference to the libbps.so, which is supposed to be part of the resulting binary.

The wrong path looks like this:
<asset path="${QNX_TARGET}/../target-override/${CPUVARDIR}/usr/lib/libbps.so" type="Qnx/Elf">lib/libbps.so.1</asset>

While it should be:
<asset path="${QNX_TARGET}/${CPUVARDIR}/usr/lib/libbps.so" type="Qnx/Elf">lib/libbps.so.1</asset>

I have completely no idea, why "target-override" would be required here as it contains only "libAirStub.so". Could you please bring it to light? ;)

Here is a link to the forum post, which helped me to solve it.
http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/playbook-and-sample-applications-unresolved-symbols/td-p/1457545

Could you please update the projects, so they are ready to run on a device out-of-the-box ?

ERROR

while running the program bellirgent blocks the following error comes

.\src/GameLogic.h:31:25: fatal error: Box2D/Box2D.h: No such file or directory

even i found out no such file exist. so any help??

Overlay an image onto video

Basically I want a small image on top of my video stream and change this image based on user input. Can someone tell me how I can do it?

Box 2D Installation Instructions

Please provide installation instructions for Box 2D. The sample does not work out of the box. How do you install Box 2D/add it as a dependency into the project?

Thanks.

Geolocation no longer works on Playbook

Checked out current repo using git -- there's a build error right off the bat with one of the build flags '-fstack-protector-strong', so I changed it to '-fstack-protector-all'. After building and deploying the application immediately exits. No splash screen comes up. The log says:

No such process
Unable to initialize screen.

I reverted to a commit closer to the playbook NDK (a5f882d)... this build and runs without issue. Maybe some BB10 specific changes broke the example on Playbook?

Remove Templates

The following templates should be removed from the next branch in this repository:

GLES11Template
GLES20Template
ScreenTemplate

VideoWindow doesn't work on simulator

NDK 2.0.1. OS version in simulator is 2.0.1.358.

VideoWindow exit silently after running. Through debugging I found mmr_input_attach() call return error code 5. It is MMR_ERROR_UNSUPPORTED_MEDIA_TYPE according to mmr_error_code definition in types.h.

Does simulator support video playback through mmr_ functions?

NDK-Samples/VideoWindow not using GLES 2.0

The VideoWindow sample says in its readme.txt that it's using OpenGL ES 2.0 to display a Window, but the code inside main.c is clearly showing it's not. Am I wrong?

I'm learning to reproduce video on an OpenGL ES 2.0 context in other project (with cocos2d-x), and I've really had a hard time trying to use this example there. It would be really useful to have a NDK sample that does not use fixed-pipeline functions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.