Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4333244
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:21:59+00:00 2026-05-21T10:21:59+00:00

I want take pictures using black berry camera for my app, it is possible

  • 0

I want take pictures using black berry camera for my app, it is possible in v5.0 and yes then how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T10:22:00+00:00Added an answer on May 21, 2026 at 10:22 am

    Yes it is definitely possible, but not a very simple task if you don’t get some advice up front.

    First and foremost, there is some sample code that is shipped with the Eclipse package at least (CameraDemo) that shows how to create a viewfiender using a Field, Player, and VideoScreen. The biggest issue is third party developers cannot overlay anything on top of the view finder (which is the what they’ll call the Field after you set it as such with a VideoControl.

    Also, you are very limited to what size you can set the Field — I only got half size and fullscreen working, some dimensions got ignored and others caused it to not be displayed at all.

    Here is some code that shows this:

    private Field _videoField;
    private Player _player;
    private VideoControl _videoControl;
    
    private void initCamera() {
            try{ 
                _player = Manager.createPlayer( "capture://video??encoding=jpeg&width=640&height=480" );
                _player.realize();
                _player.prefetch();
                _videoControl = (VideoControl)_player.getControl("VideoControl");
                _player.start();                
                if (_videoControl != null){
    
                    _videoField = (Field) _videoControl.initDisplayMode (VideoControl.USE_GUI_PRIMITIVE, "net.rim.device.api.ui.Field");
                    _videoControl.setDisplayFullScreen(true);
                    add(_videoField);
                }
            }
            catch(Exception e)
            {
               //show error
            }
        }
    

    After you do this you can use

                byte[] image = _videoControl.getSnapshot(sizeAndEncodingParamters);
    

    to snap the picture. To determine what sizeAndEncodingParameters your device supports, you can use System.getProperty("video.snapshot.encodings"); which will return a String[] that you can iterate over to determine what to use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my iPhone app, I take a picture with the camera, then I want
What I want to do: Take a picture using my own PictureActivity* and add
I want to help user to take their pictures with a plugged in video
in my Activity, i want to take a picture with android.hardware.Camera. The code (see
I want my Android app to take a picture, as part of something larger
I want to take a sequence [44 1 11] generated using (map #(nth %1
I am capturing image by using camera in my app. 1) it saves image
I want to develop a web app using html5, js. One of the feature
I'm planning to develop web app using html.(using html tool like phonegap). I want
I want to add images from photo library or by using camera to my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.