Querying the database on BB

Hello

I'm relatively new to the ecosystem of BB and I'm trying to transfer my application from android to BB. I use the alpha bb10 Simulator. I installed the eclipse plugin and I managed to run the application. Most of the app works as expected. I have a few questions, the part where I interrogate the database of audio, video and images doesn't seem to work. I downloaded mp4, mp3 and image files on the SD card on the Simulator. In my application, there is also an option to perform a new analysis of media on the sd card, which updates the media database, but even that doesn't seem to work. Is there a solution? A pointer in the right direction or any help would be greatly appreciated.

As far as I know what is normal. Because Android applications running in a kind of emulator on the device itself. And in this emulator, the file system is duplicated (probably with something like symbolic links). So it could be that you are experiencing some duplicate records.

If I use a 3rd party Manager files on my PlayBook, which uses the Android emulator even like the BB10 phones, AFAIK. I can see that the Android folder content is exactly the same thing, and I can browse both versions of the file in the same way.

Then maybe you should just make sure that you use only one of the versions of each file.

Tags: BlackBerry Developers

Similar Questions

  • Querying the database

    Hello
    Oracle fail safe:

    which means:
    Querying the database

    And what happens when it is disabled?

    Thank you

    to query a database or a server wants to call her to see if she is still ongoing (e.g. ping,...)

    Best regards
    PP

  • Help, how to query the database using pagination

    Hello

    How to query the database using paging for large data.

    any API for this?

    Thank you in advance!

    Hello

    You can specify XmlQueryContext::Lazy as the type of assessment and only call XmlResults:: next() comes as many times as you need.

    John

  • Problems of configuration of the adapter DB to query the database

    I use SOA 11 g and Jdeveloper 11.1.1.3.0. My use case is to ask for new or modified and updated records and send it to the BAM adapter through a mediator.

    TABLE TO BE QUERIED FOR THE CHANGED RECORDS OR NEW

    CREATE TABLE 'AV_ODS '. "" ODS_AAB_TRANSPORT ".
    (
    VARCHAR2 (6 BYTE) "VEHICLE_NUMBER."
    VARCHAR2 (10 BYTE) "UNIT_CALLSIGN."
    "EVENT_ID" NUMBER (10.0).
    "EVENT_TYPE" VARCHAR2 (16 BYTE),
    VARCHAR2 (100 BYTE) "EVENT_DESCRIPTION."
    VARCHAR2 (30 BYTE) "DISPATCH_CODE."
    VARCHAR2 (10 BYTE) "SOURCE."
    VARCHAR2 (10 BYTE) "TRANSPORT_TYPE."
    VARCHAR2 (3 BYTE) 'STATUS_CODE. "
    DATE OF THE "STATUS_DATETIME."
    NUMBER (10,0) "AVL_X."
    NUMBER (10,0) "AVL_Y."
    NUMBER (14.5) "AVL_LON."
    NUMBER (14.5) "AVL_LAT."
    NUMBER (5.0) "AVL_SPEED."
    DATE OF THE "AVL_DATETIME."
    VARCHAR2 (3 BYTE) "PATIENT_AGE."
    VARCHAR2 (1 BYTE) "PATIENT_GENDER."
    'ETA' DATE,
    "CS" NUMBER (5.0).
    VARCHAR2 (20 BYTE) "CAD_CPN."
    'ED_FLAG' CHAR (1 BYTE),
    DATE OF THE "UPDATED_DATETIME."
    CONSTRAINT UNIQUE "ODS_AAB_TRANSPORT_UK" ("VEHICLE_NUMBER") USING INDEX PCTFREE, INITRANS 10 2 MAXTRANS 255 CALCULATE ACTIVATE STATISTICS STORAGE (INITIAL 65536 THEN 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 USER_TABLES DEFAULT TABLESPACE) "ODSIDX".
    )

    SEQUENCE TABLE
    CREATE TABLE TRANSPORT_SEQUENCE
    (
    SEQ_NAME IN VARCHAR2 (32) NOT NULL
    )
    ;


    I am facing questions during the configuration of the DB adapter.
    Step 4: the DB adapter, I choose the option "ask for new or modified record in a table.
    Step 8: I choose option 'Update of a sequence table'
    Step 9: I put the values according to the help in the wizard, the doc found
    Sequencing table: TRANSPORT_SEQUENCE
    The sequence name field: SEQ_NAME
    Value field in the sequence: SEQ_VAL
    Sequence ID field: AVL_DATETIME

    I then create the factory connection, connect the mediator and adapter BAM and deploy it.

    QUESTION I FACE
    Error gettting in newspapers. I have not created SEQ_VAL in the TRANSPORT_SEQUENCE according to the doc help Oracle
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "SEQ_VAL": invalid identifier

    Should I create a SEQ_VAL column in the TRANSPORT_SEQUENCE table as well? If so, what should be the Type who?

    DOUBT
    It will be able to meet the expectations of the shipment through CHANGED records and new records?


    Thank you

    Should I create a SEQ_VAL column in the TRANSPORT_SEQUENCE table as well? If so, what should be the Type who?

    Yes, you must create a SEQ_VAL column and it should be of the same type as the column type 'Field of sequence ID'. For example, if you selected the UPDATED_DATETIME column in the "field of sequence ID' SEQ_VAL column must be of type DATE.

    It will be able to meet the expectations of the shipment through CHANGED records and new records?

    Yes, he would be able to read the record CHANGED but for this, we must ensure that the "field of sequence ID' is updated (or incremented) on the update of line. Because for example, if you choose the UPDATED_DATETIME column in the "field of sequence ID" you can write a trigger that updates the UPDATED_DATETIME column is devoted to the changes in the respective row.

    Kind regards
    Anuj

  • How to stop all means of copying the database

    Hello

    I'm out of oracle database 11g R2 under windown server 2008 (the database name is ORCL)

    I need to prevent all means of transporting data to a different database

    I tried the encryption (TDE) portfolio with tablespace but always utility data expdp works

    and I can copy the file (oracle_home\oradata\orcl) what hv the datafile to and replace it with a different database on another pc that have installed oracle on same directory then provided works perfectly

    even if there were the portfolio on the first database, we can create another portfolio with new password and every thing will be decrypted and it is not accepted.

    I need your help to find a way of:

    1-stop exp and utility expdp

    2-stop backup and restore of database with RMAN (auxiliary or copying RMAN files is added to the different database)

    3 - stop copy replace and folder (oracle_home\oradata\orcl) is the different database in the same place (another pc)

    (Note: in addition to the operating system user account is administrator)

    Thanks in advance

    Please specify.  You can't restrict exp/imp, because it is installed on any client anywhere.  If they can query the database, they can export all they have access.  Check the roles that have EXPORT_FULL_DATABASE and limit those to yourself or to administrative positions under your control.

    expdp/impdp files similar to exp/imp of output, but put them on the database server (or a drive connected to the network).  You can't prevent their execution.  The API of PL/SQL is part of the database, so even without the expdp/impdp executable, you can do the equivalent within the database. The same basic data access control applies.

    RMAN backups can be run from remote machines, and the backup files can go to local disk, NAS network drive or tape.  On the local computer, you can use operating system permissions to protect them, but another admin on the computer can do what they want.  You can delete rman of this machine, but someone could just run rman from another machine and that it points to the database.  Limit which has the SYSDBA privilege.

    The raw database files are not useful if they are copied while the database is in place, but if there are other administrators on the computer, they may be able to stop the Oracle service, which stops the database, and then they can copy files wherever he wishes.  It's a situation TDE can protect against, because someone needs your encryption key to use database files, even if they copy them elsewhere.

    It was really far from saying these features can really turn off; you usually have to handle this with database privileges.

    If you can afford the extra option you can look into Oracle Database Vault.  It offers more restriction and auditing options, designed to prevent or detect abuse by privileged users.

  • Using URL query of database parameters

    Hey,.

    I am currently using 11.1.1.6.0, an application framework ADF and Oracle Database 11 g Jdeveloper.

    So my problem is that I have a table of information on emissions (Syscode, Version number, Date of completion, developer name) and I want to be able to bind the client to a specific database entry. So I guess the best way would be to move the two parameters in the URL, the systemCode and the versionNumber to display information. The two variables, I pass the excellent work, but I don't know how to query the database to get the rest of the information such as, date of completion, the developer name, etc. etc. Any help would be great!

    Thanks in advance for your help,
    Dustin

    Discover the first part of the series URL: https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl

  • How can I transfer data from the database in a variable (or array)?

    I made my request according to the example (http://corlan.org/2009/06/12/working-in-flash-builder-4-with-flex-and-php/). Everything works fine. I changed a single function to query the database - add two parameters and get the value from the table to a string format. A test operation shows that everything is ok. If I want to display this value in the text box, I just do drag and drop off service to this element in Design view

    (< s:TextArea = "153" x = "435" id = "nameText" text = "{getDataMeanResult.lastResult [0] .name}" width = "296" height = "89" / > ").

    Also, it works fine, just a warning and encouraged to use ArrayCollection.getItemAt ().

    Now, I want to send the value to a variable or an array, but in both cases, I get an error: TypeError: Error #1010: a term is undefined and has no property..

    How can I pass a value to the database in a variable? Thank you.

    public var nameTemp:String;

    getDataMeanResult.token = authors.getDataMean (arrayOfNumber [0], dir_id);

    nameTemp = getDataMeanResult.lastResult [0] .name;

    public var nameArray:Array = new Array();

    for (var i: uint = o; i < 3; i ++) {}

    getDataMeanResult.token = authors.getDataMean (arrayOfNumber [i], dir_id);

    NomTableau [i] = getDataMeanResult.lastResult [0] .name;

    }

    And how do I use syntax highlighting in this forum?

    Astraport2012 wrote:

    Thank you.

    Then this simple question: How can I place a mySQL database data in a variable using the wizards FB4 (connect with PHP)?

    If you can show examples please.

    I couldn't find examples. Send data to a field text or DataGrid - much, but no variable.

    the use of assistants? not sure... it is generally a bad idea to rely on them, because they will never fully what you want anyway. I would recommend learning abit of PHP and manage by yourself, because it allows you to manage everything exactly as you wish.

    small example of communicating with a database using PHP + FB4:

    mount a database

    write you a small script that will access your database, get a value, for example:

    ";
    
        while($row = mysql_fetch_array($result))
        {
            if($row['messageID'] == "3")
            {
                print $row['message'];
            }
        }
        print "\n";
    ?>
    

    This will get the message with ID '3 '.

    make an HTTPService in FB4 app to call this Script, as follows:

    
    
        
            
    
            
        
    
        
            
        
        
    
    
    

    and the value must be picked up by the Script and properly stored in a variable

  • How to set up the right policies to query the DB Production

    Hi expert,
    I'd like to hear your comments on how to put in place a good policy to query the database of Production.
    We have a group of developers to report that sometimes run report against Production and took about 3 hours and almost consuming 100% of CPU.
    I need to put in place a policy of good but not ridiculous for this.

    My senior DBA insist on limiting the time as no more than 5 minutes, which I disagree. I think time is not a matter as long as it is not breaking the system. However, our developers in my opinion have a knowledge of Oracle. This is why we must put in place a policy which is good and easy to be digested by them. I think it is the reason for my senior DBA to take the shortcut of plan for the application of the limit of 5 minutes for the query.

    any input and comments are appreciated. Thank you

    There is a very simple strategy, which can be implemented rightaway:

    Developers should not be near any system of production, and no test code should be run on a production database.
    You simply implement the Production, acceptance, Test strategy, where acceptance is hosting a realistic production as a version of the database.
    If it works on the database of acceptance, it can be run on production.

    Involve other correct strategies
    -limit the amount of time processor
    -limit the amount of disk i/o
    etc., using profiles
    This means that the session is disconnected, once a limit is exceeded.

    The Resource Manager using Oracle is a different option, which will allow the list of unwanted users at a lower priority, but it is an additional burden.

    Finally, "developers" are the only virus against no scan anti-virus software to protect your server.
    Make sure you only keep the!

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Adding columns to the database in Coldfusion

    Hello world...
    I have a huge problem at work and I have no idea how to solve this problem.
    -J' need to generate a drop-down list.
    -It must be the value indicated for about 5 000 chronogram data below:
    -J' need to query a database for 3 columns, course_name, course_num, and section_num
    -After querying the Database, I need to add three columns up to something like 'EXM-1-1.
    - Then I need to make a drop-down list (once again, about 5000 points of time) with each of these outcomes.
    -Types of the 3 columns (respectively) are varchar (7), mediumint (7) and varchar (20)

    If I read correctly you want just concatenate the three columns and
    display in a long heavy selection list? If so here is a way.



    <>
    value = «...» "> #myLongList.aVarchar #-#myLongList.bVarchar #-#myLongList.int #.

    You can also concatenate three fields into one with your database
    concatenation operator. Then you'd have just a single field to
    output that would facilitate the use in a tag I believe.

  • Query to find a required rule in the database

    Hi all

    I get a few empty alerts a unknown rule in my console and it's really hard to check each any every rule as much of his time. Could someone help me if there is no work around where we can write a query in the database and look for the rulename, or something like that.

    Please help me if possible...

    Kind regards

    Shiva G

    Hey Shiva

    In your original post, you mentioned that the alarm appears in your console.  You hear your dashboard Foglight alarms?  If so, how the alarm appears in the dashboard?

    Brian

  • CFGFWK-60850: the Test failed! CFGFWK-60853: A connection to the database, but no lines have been returned to the examination of the SQL query.

    Hi all..

    It's SOA 11.1.1.7... I created the schema and storage via RCU but when I try to configure JDBS schema components... his throw this error:

    CFGFWK-60850: the Test failed!

    CFGFWK-60853: A connection to the database, but no lines have been returned to the examination of the SQL query.

    I created 3 users of UCR and who were all successful, because I have no error... of these three alone is managed in the configuration tree SOA...

    No idea why like that...

    Thank you

    Aerts

    This that I solved it by installing EMP 11.1.2.2 with UCR and SOA 11.1.1.6...

  • SQL script to query the entire database?

    Hello

    I have column names, I need to figure out what array these column names in the database.

    In dev and prod table names are different. I need to understand what is the name of the table with some columns in prod that exsits in dev. Any help is appreciated.

    I use

    Oracle Database 11 g Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    Thank you.

    Hello

    You can query the data dictionary view dba_tab_columns.

    For example, if you want to find who files an EMPNO and DEPTNO column:

    SELECT master, table_name

    FROM dba_tab_columns

    WHERE nom_de_colonne IN ('EMPNO', 'DEPTNO')

    GROUP BY master, table_name

    HAVING COUNT (*) = 2

    ORDER BY owner, table_name

    ;

  • A query need to check whether the database should any recovery media...

    Hello

    I'm at the stage of editing a database and still be opened.at this point no matter what query is available or in any other way is there to check whether the database should any recovery media or Instance recovery... ?

    My goal is before opening the database, I make sure it's compatible or incompatible, and any form of recovery is necessary.

    Thank you and best regards,
    Rameau

    Published by: ragu.dba.in on 6 March 2013 12:57 AM

    Hi Lila,

    Use these queries, YVERT should match... no fuzzy file, don't check for recovering files in v$ recover_file... spend sufficient archives & realize the audits before open reset-logs

    set line 900
    set pages 900
    set echo on
    alter session set nls_date_format='dd-mon-yyyy hh24:mi:ss';
    set numwidth 13
    col CHECKPOINT_CHANGE# for 9999999999999999
    col CHANGE# for 9999999999999999
    column error format a10
    column member format a60
    show parameter db_recover
    select * from v$recover_file;
    select file#, status from v$datafile;
    select file#, checkpoint_change#, checkpoint_time, error from v$datafile_header;
    select distinct status from v$backup;
    select distinct  checkpoint_change#  from v$datafile_header;
    select hxfil file_id, fhscn scn, fhthr thread, fhrba_seq sequence, fhsta status from x$kcvfh;
    select distinct fhscn from x$kcvfh;
    select hxfil file_id, fhtnm tablespace_name from x$kcvfh;
    ##### Fuzzy Check ####
    alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS';
    set feedback on
    set heading on
    set pagesize 1000
    set linesize 175
    column checkpoint_change# format 999999999999999999999
    select status, checkpoint_change#, fuzzy,
    to_char(checkpoint_time, 'DD-MON-YYYY HH24:MI:SS') as checkpoint_time,
    count(*)
    from v$datafile_header
    group by status, checkpoint_change#, fuzzy, checkpoint_time
    order by status, checkpoint_change#, fuzzy, checkpoint_time;
    

    Thank you
    Ajay more
    http://www.moreajays.com

  • Query running beside the database successfully but in error in the procedure!

    Hi all

    I'm something get odd errors on in ODI 11 g.

    When I run the query to the database, it performs very well, and it creates a table.
    But when encorporate this query in the procedure, it gives me following error.

    ODI-1228: PROC_POZ_BOSS_OMP_BOSSWORKORDER (procedure) has failed on the staged target of connection ORACLE ODI POZ.
    Caused by: java.sql.SQLDataException: ORA-01843: not one month valid

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)

    I am convert Char to the data types Date in the Code.

    Details of the DB: - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    ODI Details:-Standalone Edition Version 11.1.1
    Build ODI_11.1.1.3.0_GENERIC_100623.1635

    What would be the reason for query next to the DB with success but in error next to the ODI?
    I'm really confused... :(
    Help me how can I fix this error?

    Hi Manu
    I think that I've already advised the same thing in your previous thread. It could be because NLS_DATE_FORMAT.
    Something weird situation while running the interface in ODi

    Thank you.

  • Paraller error query server when creating the database using DBCA on UNIX

    Hi all
    I'm trying to create the database on UNIX platform of database 11g R1.
    At the end of the creation of the database using DBCA, I got the error:

    ORA - 12801:error reported in the parallel query P077 Server
    ORA-00018: maximum number of sessions exceeded
    ORA-06512: at "SYS." UTL_RECOMP", line 760
    ORA-06512: at "SYS." UTL_RECOMP", line 773
    ORA-06512: at line 1

    Please suggest what I can do to remove this problem.

    Concerning
    Girish Sharma

    He doesn't have to run in parallel, but it is probably

    Bug 8343487: UTLRP. PARALLEL EXECUTION, REGARDLESS OF THE CONFIGURATION OF SQL

    Werner

Maybe you are looking for

  • How can I open the dialog "Manage search engines" bypassing the search placed on the Panel bar?

    On this page https://support.mozilla.org/en-US/kb/search-bar-easily-choose-your-search-engine?esab=a & as = NAQ is not mentioned how open the dialog "manage search engines" If you have not placed the search bar in Firefox. I am looking for an alterna

  • Satellite Pro A300D - How can I recover HARD drive?

    HI Newbie here. Put on the machine this morning and it just says: disk error - press DELETE Cnt, was talking to the guys at PC World and they say to restart, and then press F8 I have heaps of times, but I can't access the drive recovery partition. I

  • ? : Deleted Amd catalyst! Help!

    I accidentally deleted AMD Catalyst and now I continue to receive notifications on my graphics etc... Here is my pc details: Windows 7 proffesional service package 1 Proccesor: amd Athlon (TM) X 2 dual-core ql-65 B28 3.40 ghz RAM: 8,00 7.5 ussable sy

  • TestStand remote EXE Server requires authorization?

    I would like to eventually integrate remote TestStand EXE Server on the operating system for our systems for purposes of remote control and testing during manufacturing and field service processes. Are there any requirements required for each install

  • system hang

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: I'm trying to get this video card installed properly on my computer. The video card is inserted and the drivers installed from the provid