Is there any API available to read drm files in ios devices?

Hi,
I am ios developer and trying to read DRM files using my app.
I want to know is there any API available for the same.
Thanks in Advance.

Hi Prathap,
No, there is no Java API specific for RDF functionality available. However, Java client applications can use JDBC to access the RDF store. A partially relevant post is at How do you query Oracle RDF database using Java program? . The JDBC documentation will have detailed documentation on using JDBC.
Code snippets for one way of accessing SDO_RDF_MATCH through Java is below:
<..........>
sbStmt.append("select * from TABLE( ")
.append(" SDO_RDF_MATCH('(?S ?P ?O)',")
.append(" SDO_RDF_Models('")
.append( <model_name> )
.append("'),")
.append("null,null,null))")
.append(" where rownum <= ")
.append(iNumRows)
ResultSet rs = stmt.executeQuery(sbStmt.toString());
while (rs.next()) {
System.out.print("\n");
System.out.print(rs.getString("S"));
System.out.print(" (");
System.out.print(rs.getString("S$RDFVTYP"));
System.out.print(") ");
System.out.print(", ");
System.out.print(rs.getString("P"));
System.out.print(" (");
System.out.print(rs.getString("P$RDFVTYP"));
System.out.print(") ");
System.out.print(", ");
System.out.print(rs.getString("O"));
System.out.print(" (");
System.out.print(rs.getString("O$RDFVTYP"));
System.out.print(") ");
<............>
<...... handling CLOB values that are returned ....>
// read CLOB if applicable
Reader reader = null;
try {
CLOB clob = ((OracleResultSet) rs).getCLOB("O$RDFCLOB");
if (clob == null) {
System.out.print("not a long literal ");
else {
reader = clob.getCharacterStream();
char[] buffer = new char[1024];
// reading 1K at a time (just a demo)
int iLength = reader.read(buffer);
for (int i = 0; i < iLength; i++) {
System.out.print(buffer);
System.out.print(" ...");
finally {
if (reader != null) reader.close();
<..........>

Similar Messages

  • Is there any API in J2ME sdk to get the moibile device ID?

    Hi,
    I am very new to J2ME. Is there any API in J2ME sdk to get the moibile device ID (mostly the phone number)? Does MIDP 2.0 provide this or is it there in someother optional JSRs? Does it portable across all the devices?
    Regards

    Use Device provider API if they support otherwise in J2ME its not permitted due to security issue.
    Sun-shine.

  • Is there any API available to do string search and replace?

    as above?

    For simple string searching have a look at java.util.StringTokenizer.
    Regular Expressions are included in v1.4.
    Have there a look at the String class itself and the new java.util.regex package.
    Greets
    Puce

  • Is There Any Software Available To REMOVE DRM From WMA Fil

    if so please let me know!
    email all info to [email][email protected]][email protected][/url] if you don't post here, thanks!

    Yeah it's quite simple, just burn it to a CD-RW and then rip it with copyright settings off
    It would probably be illegal to use a program to remove it I guess, but I don't know how to get hold of one anyway

  • Is there any API for performing Assembly Completion with LPN

    Hi,
    Is there any API available for performing Assembly Completion with LPN..??
    Thanks and Regards,
    Ramnish.

    We had looked into doing something similar, and this post is the closest we found.
    https://community.qualys.com/thread/11816
    Basically you will need a middle-man between Qualys and ConfigMgr to house the data. This may be a new database, or a whole seperate platform. I expect this could easily be done with SQL and SSRS.
    Also note, database edits to the ConfigMgr database are
    not supported  by Microsoft, I would recommend using a central system to pull data from Qualys and ConfigMgr without modifying either.
    Daniel Ratliff | http://www.PotentEngineer.com

  • Is there any API to update table IC_WHSE_INV

    Thank You in Advance

    Hi All,
    Is there any API available in Oracle to update the table IC_WHSE_INV

  • Are there any APIs to load FND and other objects

    Hi
    We are having HR2HR configured and running between EBS R12.1.3 and Fusion. But the HR2HR does not bring in data in EBS like in Descriptive Flex Fields (DFF), User Defined Tables (UDT), Extra Information Types (EIT) & Lookups. How can we bring in this data in to Fusion. Are there any APIs? If not what is the Support model from Oracle if we are directly updating the tables?
    Thanks!
    Srinivasa Sunchu

    Happy Camper: Based on doc 1482027.1 in support system:
    DFF is not currently supported by HR2HR.An Enhancement Request (ER) has been logged to request this functionality:
    ER: Bug 12883914 - ER REQUEST - DFF FLEXFIELDS AND EIT'S NEED TO BE INCLUDED IN THE HR2HR AND INTER
    >
    For alternatives and the Support model I do not have answer, will reach out to try to find out.
    Kiran: This is an external forum, so the readers would not have access to internal documentation. Are the HCM scripts available externally i.e. through the support system? If not are there plans for providing them externally ?
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Is there any APIs for FND attachments

    Hi,
    Is there any API for FND Attachments. I would like to load the concurrent output generated as an attachment to the record.
    So I'm planning to write PLSQL to read the file and load in to fnd_lobs. Later I would like this attachment available thru UI.
    Looking for Public or Private APIs to achieve above task.
    Thanks,
    Satya

    Dear,
    I found this very Information Site...
    URL http://www.pvmehta.com/myscript.html
    Hope for future you will get benefit from it...
    Regards,
    Kamran J. Chaudhry.

  • Is there any API ( HTTP / WebService ) for listing the objects supported ?

    Hi
    I wish to know if there is some mechanism ( API ) that I can make use of to dynamically get the list of objects ( accounts , leads etc ) supported by Oracle CRM on Demand ?

    How to convert Vector elements into array of objects?
    Is there any API for this?
    For ArrayList class there is Method i.e.
    Object ob[]=arr.toArray();
    But i don't know abt vectors.
    plz give me the example.The toArray() method is available in the List interface. SInce ArrayList and Vector are both implementing classes... they should have this method. In short, the same would work for Vector. Logical, isn't it?
    ***Annie***
    (since when did I start thinking logically...)

  • Is there any API to add and remove certs from acrobat trusted identities?

    Is there any API to add and remove certs from acrobat trusted identities? if this is not possible any work around for this. Please help me

    No, there is not – that would be a security concern.

  • Is there any API's to create requisitions?

    Hi
    Is there any API's to create requisitions?
    Appreciated quick reply
    Regards,
    Ramesh.

    I am currently using a Sinetfactory thirdparty package from JScape for the Secure FTP functionality(FTP over SSH). But Sinetfactory package tranfer rate is much slower than the manual sftp(command-line run in linux server for manual ftp using ssh).
    Since it is very slower than ordinary sftp(ftp over ssh), I thought of using other thirdparty FTP package which supports FTP using ssh port. Can anyone please suggest me a thirdparty package which will has the sftp functionality and with better transfer rate.

  • Is there any API to insert/update RA_TERRITORIES table

    Hi
    I have to create diff territory combinations for new customer creation.
    Is there any API for inserting records to RA_TERRITORIES table.
    I did n,t find any thing related to this.
    Thanks&Regards
    RS

    Hi,
    Thanks for the reply,
    But JTF_TERRITORY_PUB is not updating ra_territories table.
    I think its not useful for my purpose.

  • Is there any policy available by Apple through which I can exchange my iPhone 4s to iPhone 5?

    I have recently bought iPhone 4s. Within one month iPhone 5 get launched. Is there any policy available by Apple through which I can exchange my iPhone 4s to iPhone 5? I am ready to pay the extra amount.

    I have recently bought iPhone 4s. Within one month iPhone 5 get launched.
    I bought iPhone 4s on 20th July.
    Huh?  How did you figure that the iPhone 5 was launched "within one month" of your purchase??  The iPhone 5 wasn't released until September in the USA and later in India.  Your sense of entitlement exceeds your skill with a calendar.

  • Is there any way I can read my ibooks on my MacAir?, Is there any way I can read my ibooks on my MacAir?

    I recently purchased a book through itunes but I'm unable to open it on my MacAir.  Is there any way I can read ibook on my MacAir?

    Hello,
    If it's an iBook and not a PDF then no there is no iBook application yet for Mac OS X to read iBooks.
    iBooks are only available for iSO devices, iPhone, iPod and iPad.

  • Are there any APIs to create an Invoice in Oracle Payables?

    Hi,
    We have a requirement to import the invoices from the operational systems. We will be making approximately 7,000 checks a day. We need to import all these payments information into Oracle Payables as Invoices and then process the payments out of Oracle payments module. We are on EBS 12.1.1
    Were there any APIs to create the invoices directly in Payables as it comes from custom application? We could use payables open interface but as we would like to integrate the payables module with custom application it would be nice if invoice creates directly in Payables through APIs.
    Thanks,

    In the enterprise edition I am able to create all the below objects.But The job is not running after file arrival.
    Could you please me in this case also.
    BEGIN
      DBMS_SCHEDULER.create_credential(
        credential_name => 'LOCAL_CREDENTIAL',
        username        => 'upncommon',
        password        => '*******');
    END;
    BEGIN
      DBMS_SCHEDULER.create_file_watcher(
        file_watcher_name => 'test_file_watcher',
        directory_path    => '/home/upncommon/pub',
        file_name         => 'sample2.sh',
        credential_name   => 'LOCAL_CREDENTIAL',
        destination       => NULL,
        enabled           => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.create_program(
        program_name        => 'file_watcher_test_prog',
        program_type        => 'STORED_PROCEDURE',
        program_action      => 'PROC_SCH',
        number_of_arguments => 1,
        enabled             => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.define_metadata_argument(
        program_name       => 'file_watcher_test_prog',
        metadata_attribute => 'event_message',
        argument_position  => 1);
    END;
    BEGIN
      DBMS_SCHEDULER.create_job(
        job_name        => 'file_watcher_test_job',
        program_name    => 'file_watcher_test_prog',
        event_condition => NULL,
        queue_spec      => 'test_file_watcher',
        auto_drop       => FALSE,
        enabled         => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.set_attribute('file_watcher_test_job','parallel_instances',TRUE);
    END;
    EXEC DBMS_SCHEDULER.enable('test_file_watcher');
    EXEC DBMS_SCHEDULER.enable('file_watcher_test_prog');
    EXEC DBMS_SCHEDULER.enable('file_watcher_test_job');

Maybe you are looking for

  • Navigating from one movie to a particular frame in another

    Is it possible to navigate to a particular frame in a different movie... the reason being, I am trying to minimise the size (mb) of the movie so it doesnt get to a stage where the machine it is on bogs down. For example, I am cutting the movie down i

  • Photoshop crashes when rearranging layers in layer window.

    Photoshop crashes when rearranging layers in layer window.  I'm using Photoshop CS4 Extended on a MacBook Pro purchased 5 months ago. I have tried restarting the computer.  I am able to rearrange layers with the hot keys.

  • Query related to User License.

    Hi all, I have some query related to User License. If we have 250 no of user license( with one developer), can we use them individually on DEV, QAS & PRD ? can we use them individually on differrent clients? what abt users on 000 client. Is they shou

  • Missing NFC Icon in connectivity menu (Nokia C7-00...

    I have just Updated my nokia C7-00 Belle to Latest software Version 111.040.151, after updating I have lost NFC Switch On/off icon in connectivity menu. Nfc also not working while i tap to other NFC device. Any help?

  • Csv destination column

    Good day, I have some simple SQL as my source. select '00' B  union all select '00' B  union all select '00' B  union all select '00' B  union all select '00' B  union all select '00' B  I want to have a .csv destination file with column B having val