Camera Access in Mobile Media API

Hi,
I've recently started working with the Mobile Media API; I'm trying to access the camera in mobile phones. Whilst I've been able to do this via the VideoControl class, access via VideoControl is not ideal, as I actually want to carry out some processing on the image before I display it. Can anyone give me an idea as to how to access the pixel data from the camera directly, rather than having to go through VideoControl.
I assume it is using DataSource and SourceStream, but as they are an abstract class and interface respectively I'm not quite sure where to go to get a useful instance.
Hope that all makes sense. Thanks a lot.

Hi
The VideoControl class u r using is the best way because it encapsulates other funcitonalities like CreatePlayer ().As far as i know there is no way to acess camera pixels in CLDC and MIDP.Wel if u come to know about it please let me also know .
Thanx.
Amit

Similar Messages

  • Mobile Media API  and JMF

    can I use the mobile media api and JMF to send media from a pc and receive it on a java enabled mobile device (cell. phone).
    Thanks in advance

    ya u can.... u gotto use mmapi in mobile...and jmf in server...write a servlet code in jmf....call it from client using http connection

  • Two free copies of Mobile Media API (MMAPI) book available

    Hello everybody,
    My book on Mobile Media API has now been released by Apress. This book is called Pro Java ME MMAPI and you can buy it of Amazon (http://www.amazon.com/gp/product/1590596390/ref=sr_11_1/103-6578893-2197420?%5Fencoding=UTF8) or Apress's book website (http://www.apress.com/book/bookDisplay.html?bID=10101). The Apress website also contains a sample chapter on MMAPI lifecyle and events.
    I have two copies of the book to giveaway to anyone who promises to write a review on Amazon. Please email me if interested at [email protected]
    This is what the book covers from the publicity release:
    "Pro Java ME MMAPI book explores this API in detail. This book explains the architecture of this API, explores how this architecture sits with the Mobile Independent Device Profile (MIDP) and shows you how to make the best use of the multimedia capabilities of a Java enabled phone.
    This book has detailed examples that cover the basic stuff, like simple audio playback and tone generation to more advanced issues, like synchronized media playback, video, audio and image capture and streaming live radio. The book uses a real world mobile phone to demonstrate these examples, besides the Java Wireless Toolkit emulators and Motorola and BenQ emulators.
    This is the first book by a major publisher that covers this topic in detail. It provides an all-in-one reference to create multimedia applications for Java enabled phones using the MMAPI."
    I hope you find the book useful. :)
    Regards,
    Vikram Goyal
    [email protected]
    Author of Pro Mobile Media API (MMAPI) by Apress
    http://www.mmapibook.com

    hi ..
    did you have an answer to the first post ? if u did plz share me
    atspal@hotmailcom
    Kind Regards
    Ali

  • Playing a video using the Mobile Media API - JSR135

    Hello to Everybody,
    does anybody know the very exact video-format that a S60-Nokia-Phone
    suppot ? I create a video-file with the Quick Time Video Player Version 7.0.3.
    Following video-file-features :
    Content Type is 3gpp - Release 5
    Video-Format : H.263
    Data-Rate : 64 kbps
    Image-Sitze : 176 x 244 QCIF
    Image-Rate : 10 Images per second
    Key-Frame : All - 24 Images
    When I invoke the "start-method of a Player-Instance" in my MIDlet on a
    Nokia-S60-Emulator of the Nokia Prototype SDK 3.0 for J2ME I get the
    following Exception :
    java.lang.ArrayIndexOutOfBoundsException: 13
    at com.nokia.phone.sdk.concept.util.mmedia.video.v3gpp.VideoTrack.readFrame(VideoTrack.java)
    at com.sun.media.SourceThread.process(BasicSourceModule.java:664)
    at com.sun.media.util.LoopThread.run(LoopThread.java:135)
    Here the emulator is hanging...
    Now I kill the Emulator-Process and the Exception continues with...
    java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.player.VideoPlayer.doPrefetch(VideoPlayer.java)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.player.BasicPlayer.prefetch(BasicPlayer.java)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.player.BasicPlayer.start(BasicPlayer.java)
    at com.nokia.phone.sdk.concept.mirrors.mma.media.MMAManager.start(MMAManager.java)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.nokia.phone.sdk.concept.gateway.g.a(g.java)
    at com.nokia.phone.sdk.concept.gateway.g.run(g.java)
    at java.lang.Thread.run(Unknown Source)
    Can anybody reproduce this error-message or does anybody encountered this error and know the solution ?
    Maybe "QuickTime Video Player 7.0.3" is the wrong software to
    create 3gpp-Videos ? Is there anything else advisable to produce 3gpp-videos ?
    Best Regards and thanx for investigations...

    App menu > Premierepro > Keyboard Shortcuts...
    Then inside the Keyboard Shortcuts dialog, find: Application>Window>Markers and assign a shortcut. The only hard part is finding one not yet in use... you'll probably have to use shift/option/ctrl modifiers.

  • Java Speech API / Mobile Media API ?

    Does anyone know whether its possible to use JSAPI or MMAPI in mobile phones currently in the market?
    If it aint then I am really surprised because the sound manipulation possible is very useful.

    Hey guys, surely some of you folks must have used it...

  • I have a MacBook Air with OS X and am having trouble accessing the ADT Pulse Home Security System cameras.  The mobile (iPhone and iPad) apps allow access no problem, but I can't get a picture on the MacBook.  Have tried Safari and Firefox browsers.

    I have a MacBook Air with OS X and am having trouble accessing the ADT Pulse Home Security System cameras.  The mobile (iPhone and iPad) apps allow access no problem, but I can't get a picture on the MacBook.  Have tried Safari and Firefox browsers.  Anyone have any ideas?  Thanks.

    From a Catherine to Katherine -- Had the exact same problem!!  I had to enable Java twice - both in Safari and then on the MacBookAir itself.

  • Media API on Personal Profile

    Hi,
    I'm trying to write an appliation which uses the Camera on my PDA. I'm using IBM J9 on the PDA with Personal Profile, and my application uses lots of AWT widgets, so it's not possible to move to Midlets.
    I was trying to add the MIDP library to my application to be able to access the camera. For some reason I can't do this, because J2ME applications can only use one profile. Is there anyways to add the Multi Media APIs to Personal Profile applications ?
    Can anyone give me some advice on how to make this work ? or point me to an alternative way of accessing the camera on my PDA.
    Cheers,

    yes,..ive tried the mmapi with creme cdc vm and it works,...but,only for playing wav,..i dont know about video. coz my program isn't working top play video with it...

  • Access to office 365 api

    Hi team, 
    i have been building up native applications and has access to Microsoft tenant in azure and there i have already the mobile application. Also i can add the webapi's to my application once when i went to configure tab and hit add on the bottom.
    So from here i can add office 365 exchange online api and set the delegated permissions to required field.
    Also i went through couple of articles and videos which shows how to get access to office 365 api.
    http://www.microsoftvirtualacademy.com/training-courses/deep-dive-integrate-office-365-apis-in-your-mobile-device-apps?m=11496
    As mentioned in video we add the connected service and it sign in to microsoft account and register the app.
    Also add some client id to App.xaml . And when we went to tenant application page we can see the new registered app with a client id.
    Please let me know if i already has the application in azure and i have added the office 365 exchange online api , then shall i need to do above steps or i can directly hit the api service Uri's.
    thanks,
    NItesh

    Hi,
    need to add the office 365 exchange online web api in Azure and set the required permissions.
    then following this video code we can connect with office apis
    http://www.microsoftvirtualacademy.com/training-courses/deep-dive-integrate-office-365-apis-in-your-mobile-device-apps?m=11496
    also following url can be referred if we need directly to communicate with office 365 api using Oauth authentication method.
    https://msdn.microsoft.com/en-us/office/office365/api/api-catalog
    Thanks,
    Nitesh

  • [New_Feature_Requirement] [iOS 8] Detecting permissions for camera access

    Here is the feature request: Feature#3837401 - [New_Feature_Requirement] [iOS 8] Detecting permissions for camera access
    Problem: The camera privacy control is now required by iOS 8 for all regions. With iOS 8 any application that use camera encountered with a dialog asking for permission.
    http://useyourloaf.com/blog/2014/07/16/ios-8-camera-privacy-settings.html
    But we cannot detect permission for camera access by AIR.
    StatusEvent event not firing by AIR: "Note: This event is not dispatched on the AIR platform. It is used only in Flash Player."
    Camera - Adobe ActionScript® 3 (AS3 ) API Reference
    So, if user don't allow use camera our application even cannot detect that. It could make application useless. Also it could cause problems with our applications in AppStore.
    Please consider to provide some way to handle camera access. It could be StatusEvent like with Flash Player.

    "Do Not Put iOS8 on an iPhone 4S"
    http://gizmodo.com/dont-put-ios-8-on-your-iphone-4s-1635763610?utm_medium=referr al&utm_source=pulsenews

  • FS 1400 plan/ access to mobile web

    I have the Family/Shared Plan nation wide 1400, and I have read that it include access to Mobile web.
    Does Mobile Web include?
    Mobile Email?
    Mobile Web in Media Center?
    VZ Navigator?
    If it does, does it still have to payed as toward to the Data sent or received (incl. Mobile Web advertising) is $1.99/MB?
    Because the two features seems to be the same yet different.
    I have a Samsung Intensity, with access to mobile web, would I still have to pay the bill of using MB for the mobile web or does it count to the Family Shared Plan of 1400?

    No plan offered currently by verizon offers access to the mobile web without the 1.99 charge per mb usage. there are some premium and connect plans that are grandfathered but are no longer available but they were expensive anyways.
    Heres a great breakdown for you to decide from:
          The best value is an unlimited data plan for 29.99 a month which will allow unlm access to the internet for one price. It grants you access to mobile web, media center, anything needing internet you could think of on a phone.
          The next plan available (which sounds like would suit you) is the $15 - 150mb data plan. If you are using emails and not really going on hardcore surfing all day every day then this will work out perfect for you. Also with this plan you will want to keep an eye on your data usage just to be on the safe side by dialing #data or #3282 which will tell you how many mb you have currently used for the month. The reason I bring this up is cause the way this plan works is that your not billed for overage after your 150 allowance, as soon as you hit 150.01 or higher mbs you get hit with another $15 for every 150 mbs used.  Now dont get me wrong 150 mb is ALOT of usage and an amazing value for your dollar.
        The last plan available is the pay as you go mb. This plan is !.99 per mb you use, and if you are going to use it for checking your emails you will also be required to fave the $5.00 mobile email feature which is free with the other data plans. Now breaking this out, if you have the $5 moblie email plan and use only 5mb stretched out throughout a full month you are already going to be at the $15 data plan.
        So I hope this clears any questions you have about data charges and usage.

  • Camera access delay

    Hi,
    camera API worked fine in viewer but there's a bug in application downloaded from store. Camera access alert appears with big delay! Users have to skip the article with no result and get the alert several articles later. I've tested it on six devices (from iPad2 to iPad Air) and the feature worked promptly on two of them (4th and Air). It doesn't work at all in DPS Tips app (iPad 3)!
    Sure the needed checkbox is active. Folio version is 28.
    Guys please check the API

    I found out that camera workes well when issue is downloaded to the end. But unfortunately the feature is lost for those who don't want to wait and start reading immediately

  • How do I set up devices to access my mobile hotspot once its on?

    How do I set up devices to access my mobile hotspot once its on?

        Great question Bnrybtch019. It's important to have access to all your features, I can help you with that. Since you didn't specific a phone model, these are the steps for a popular Android-Operating Phone http://vz.to/1yrBX0e .
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • How do I get access to Mobile documents admin console login with SAP HANA Cloud cockpit?

    Hi All,
    I am trying to launch SAP Mobile Documents from my trail version of SAP HANA Cloud.
    The Help link which I had followed  via link:
    https://help.hana.ondemand.com/help/frameset.htm?dc618538d97610148155d97dcd123c24.html#concept_0B49F10346C94249845EC16364FFF66D_76
    In SAP Cloud HANA Cockpit Using the link available in Authorization>Authorization Management
    I had created an user assigned to a Group, and Group has been assigned to a  Role ODP-OPERATOR,
    Next step, when I am trying to assign a token, I could not able find a token. How to get a token from here?
    My intention of creating user, group, role and token is for getting access to Mobile documents admin console.
    However I have also tried to access the mobile documents admin console via link
    https://smd-p1886950994trial.hana.ondemand.com/mcm/admin
    When I browse the above link, It shows HTTP 503 the requested service is not currently available.
    I am not sure, How to get access Mobile documents Admin page from here
    Could someone clarify on this please?
    Regards,
    Saravanan.R

    Hi,
    I have managed find an answer from this link SAP Mobile Documents on SAP HANA Cloud saying, SAP Mobile documents trial is not available in SAP HANA Cloud cockpit.
    Regards,
    Saravanan.R

  • Why do I keep getting this 500: Server Error [20-0004] when trying to access Bell mobility?

    When trying to access Bell Mobility account I get 500: Server Error [20-0004].  Is this a problem with my mac or their server?

    Have you tried on another device?
    The folow sugests it is a server issue (not your computer)( but give several actions to confirm that.
    http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm

  • How to get network IP camera of images or media ?

    Please tell me how to use jmf to get network IP camera of images or media?
    if you can provide source code, send me please
    my e-mail: [email protected]
    thanks!!⊙ω⊙

    Hi
    m also doing almost same work..wht u r tryied to do. I got the JMF-code, which capture video from webcam & split it in to Frame. But don't know how to capture video from ip-camera.....Can u help me...???

Maybe you are looking for

  • Exists in CDS view

    Hi I wonder if the Exists condition can be used in the CDS view (WHERE EXISTS (SELECT *  FROM .... ) . I actually never managed to used subqueries in any cds view so I wonder if this is a limitation for CDS view or if I just do not get the syntax rig

  • Non-Cumulative KF data loading

    Hi, I have to copy the data from a non-cumulative cube to it's copy cube(Created using the copy cube option). I have created the DTP and directly loaded the data to copy cube. When i compare the data between these two cubes, it is not same for the no

  • flexlib:MDICanvas backgroundImage="@Embed(source='/imgFolder/imgFile.png')/ compatability problem

    Dear all, We have a project that doing migration from flex 3 to flex 4. We use flexlib the latest version of flexlib - 2.5 - flex4.zip. However we confronted problems that several of attributes that flex 4 doesn't support: Constraints are listed as f

  • Slow Boot MBP 2012 SSD on 10.8.3 - Tried several fixes

    Hi, I have a MBP 2012, I upgrade it with Samsung SSD 830 256GB and 16GB RAM. Boot: 50 seconds Shut down: 20-30 seconds (uncheck documents on iCloud preferences and seems to shut down on 3 to 5 seconds) Since the begining I figure how to make it work

  • Configuring weblogic's internal webserver for clustering

    Hi           I have created a weblogic cluster running on 9001. The cluster has 2 managed servers running on 8001 and 8003. I can access the application depolyed on the cluster by using http://localhost:8001/Appname & http://localhost:8003/Appname.