Technical questions about the development on the BlackBerry PlayBook

Hi, guys

Hope this is the right place to post my thread...

I was asked to develop an application on BB PlayBook (I'm an absolute beginner on this point, however), and now what I have to do is:

place an image in my application, and tapping on the image, the application will open a. PDF file.

However, I'm stuck here because I did some research on this one, looks like on BB PlayBook, the only way to open a. PDF file is to be opened with Adobe Reader (version BB). My 2 questions are:

1. how to call the Adobe Reader to open a. PDF file in my application? I tried the "browseForOpen' from the 'File' class method, it opens a file picker in my application, and I can see the. PDF file here, however, when I select the file and click 'Open', it will not open the. File PDF... and, of course, it will not

2. based on question 1, on BB OS tablet is it possible to open a file without showing up the "file selector"? I would like to have the opened file directly as long as I click on the image that links to the file.

I would be grateful if you could give me a quick points up on this.

PS: I use Adobe Flash Builder 4.5 as the dev. IDE and build up my app as a Flex app.

See you soon!

Terry

Try the function navigateToURL (...). In addition, the class File (openWithDefaultApplication) and QNXApplication (openFile) class contains the methods to open applications preferred, based on a file.

Before BBX 2.0 Beta, these two methods did the same thing (it didn't). It has been reported as a bug, but I'm not sure if that has been resolved. Need to try all 3 methods to see which works for your needs.

Tags: BlackBerry Developers

Similar Questions

  • How to contact support? (Questions about the presentation + Playbook offers)

    Hello

    I just got an email saying my app "is approved however will have to stay in the"Approved"State until the questions below are corrected."

    On this basis, I have 2 questions:

    Q1: does this mean that I am accepted for the offer of playbook? (I submitted before the deadline and received a previous email on this remind me to sign the app)

    Q2: it says that the problem is that I don't have an icon - "please you check the App icon, it doesn't seem to show when loading on a playbook."- but on my end, when I test everything seems fine. Any ideas why this happens?

    I'd appreciate your comments!

    Thank you

    Suraj-

    Sorry I can't speak on behalf of the App World approval team.  They will provide guidance on your acceptance of the offer of the playbook.

    Regarding your question on the icons, what size and file format you use for your icon?  Make sure it is a PNG 86 x 86 file, otherwise it can not be made on the home screen (can appear invisible if the correct size is used).

  • Technical question about the naming conventions used in the API

    What does the prefix 'PF_' rest in all the function names in the SDK of EI?  It is not immediately obvious to me and was just curious.  I would like to have an idea of how the naming conventions came when I learn a new code.

    Thank you!

    Interesting question.  PF stands for package of plug-in filter in After Effects.

  • technical question about the laptop LCD screen

    Hello

    I see in youtube change that a laptop screen is quiet easy.

    1 but is it dangerous to change the lamp or the laptop LCD converter when it is damaged?

    2. I know when the screen goes black and you can barely see an image in bright light you lost the lamp or the inverter, but how you can know if it is the inverter or the lamp?  because the inverter converts direct current to an electrical outlet which needs the lamp.

    Thank you

    Johan

    For assistance, contact the manufacturer of your laptop.  Thank you!

  • Question about the free PlayBook

    Hello

    I applied and got rejected because the icon was working for the tester (even if it worked in my Simulator...) so I've submitted it with the icon in the correct size as the email said, but I'm afraid that my application now is no longer eligible for the PlayBook for free.  A request for correction is still working or am I out of luck?

    Thank you

    Yes, as long as you have submitted before the date limit (your first submission), then you clearly. Approved or not you are still in the running and have time before the release of the tablet to have your app approved and benefit from a playbook for free as long as your application meets the requirements in the terms.

  • Questions about the Extension of JavaScript and SQLite

    Hi all

    I worked with some my colleague on projects related to WebWorks applications, but there are technical issues that our developers want to know and seek professional advice.

    (1) extension JavaScript & PlayBook

    According to the literature, we know that BlackBerry WebWorks Application have the ability to integrate with data, characteristics and features of the development environment Java® underlying as well as the native phone smart BlackBerry® using special JavaScript® (Extension of JavaScript) objects. So, we should be able to create® for Java (JAR) libraries and program the WebWorks app for BlackBerry Java API to call in libraries. Now, we know that BlackBerry® PlayBook provide a SDK WebWorks (Beta) for us to develop apps for PlayBook WebWorks, also means that in the environment of the PlayBook we can also use the JavaScript Extension trick to call the Java API of BlackBerry?

    (2) SQLite on HTML5

    HTML5 standard offer of SQLite for us to store data in a SQLite database format. But the SQLite file seems limited only to be used in the Application of WebWorks. I wonder if there are ways we can read these file to another application (Application Java or other applications WebWorks) SQLite?

    In fact, what I want to know is the possibility of having a WebWorks Application capable of handling a SQLite file that is received from the server side on-the-fly, and then return the entire SQLite file to the server.

    It would be appreciated if some of you can give some tips about this, thank you.

    Wowzzz

    lasterra is right about these two points...

    We have not yet published the details on creating extensions in the AIR for WebWorks on PlayBook. We are currently working to finalize the open source on the WebWorks for PlayBook SDK so that we can download on github.  The complete source code for the platform will be available on github so that you can see what's going on under the hood.

    Creating extensions in the AIR for WebWorks is very different from Java. We started to use a new architecture that should be able to provide the URI and proceedings access to APIs and placing more procedural API code in JavaScript itself vs. the ScriptableObject Java code existing today.

    This new architecture will be a foretaste of the platform architecture WebWorks to proceed.

    It welcomes more details about creating extensions in the AIR... but currently the API underlying main platform on the BlackBerry PlayBook is AIR and the functionality of an extension will be limited to what is possible on the AIR platform and its extensions.

    In the development of the PlayBook options evolve, so too will be the architecture of the platform WebWorks... I can't really say much more than this now

  • Exam question-value of the point and unanswered questions about the VCP4 exam?

    Hello

    I have a few questions about the scoring to secure Channel 4 review system:

    1. All the questions on the exam are weighted the same?

    2. Is there a penalty for unanswered questions?  In other words, is it better to not answer a question, if you are sure that you do not know the answer, or take a guess if it comes down to it?

    Thank you very much

    Bryan

    Not responding not to an element, it is the same thing that answer wrongly as far as scoring is concerned, so it makes sense to guess rather than leave the question unanswered.

    With respect to the weighting, all elements have the same weight in the VCP exam, but some items do not count against the overall score.  These "dosed" items continually change and are chosen at random.  We insert elements assayed to determine the validity of the element until it became a party has received from the real exam.  If however, you want to treat each item with an equal amount of importance.

    Hope this helps,

    Jon C. Hall

    Technical developer certification

    [email protected]

    2077 Loma Linda way n., Clearwater, FL 33763

    727-446-8430 Office

    727-460-8448 Mobile

    Fax 702-554-3727

  • Person to contact with questions about the presentation of the app world

    If I have a question about the app that I submitted, anyone knows how do I contact someone about this? I can't find anything on the site and respond to notification emails gets me nowhere.

    Hey miss breeder,.

    that will be tough. If you browse the App World his hell out there because of the new development forums and people have a lot of problems with it. I've read people were emailing RIM all week and no responses were received. But if you post a question here MShom (one of the moderators) usually responds in a timely. The support email is [email protected] I believe. Good luck!

  • Questions about the terms and conditions

    Dear team of Adobe Stock,

    I am considering a subscription for an e-commerce site that I am developing. I have a few questions about the terms and conditions:

    3.5 social media use. You can view or download an unmodified version of the book on the Social media Site if (A) you include a notice of copyright in the work itself (© author name - stock.adobe.com) and (B) the terms of use governing the Social media Site do not include any provision that would grant exclusive rights or the ownership of those works or alterations to anyone. "Social Media Site" means a website or application that puts the main emphasis on facilitating social interaction between its users and allowing users to share content in such social interaction

    What I have to insert in each post on social media on behalf of the author? Generally, this information is displayed only for free images. What I have to insert this information even if I signed up for a plan?

    Thank you

    Hello

    Please see the link below for help:

    http://wwwimages.Adobe.com/content/dam/ACOM/en/legal/servicetou/Adobe-stock-additional-ter ms_20160119.pdf

  • A question about the insertion of the localTimeStamp returned the value into a timestamp with time zone column

    Hello

    Oracle version: Enterprise Edition Release 12.1.0.1.0 - 64 bit

    OS: CentOS 4.6 X86_64                  

    I have a question about the localTimeStamp function. According to the documentation for this function is
    the same thing as current_TimeStamp except that the returned value does not include the time zone.

    Consider the following example:

    SQL > create table tmptab (colval timestamp with time zone not null);

    Table created.

    SQL > insert into tmptab (colval) values (localTimeStamp);

    1 line of creation.

    SQL > select t1.colval, tmptab from t1;

    COLVAL

    ---------------------------------------------------------------------------

    24 JANUARY 14 09.45.42.253732 H + 01:00

    SQL >

    Why introduce the foregoing did not fail? the data type of the column in my table colval expects a timestamp with time zone

    during each which inserts as I understand (correct me if I'm wrong) is not provided by the localTimeStamp function.

    Could someone kindly tell me what I misunderstood?

    Thanks in advance,

    dariyoosh wrote:

    Hello

    Oracle version: Enterprise Edition Release 12.1.0.1.0 - 64 bit

    OS: CentOS 4.6 X86_64                  

    I have a question about the localTimeStamp function. According to the documentation for this function is
    the same thing as current_TimeStamp except that the returned value does not include the time zone.

    Consider the following example:

    SQL > create table tmptab (colval timestamp with time zone not null);

    Table created.

    SQL > insert into tmptab (colval) values (localTimeStamp);

    1 line of creation.

    SQL > select t1.colval, tmptab from t1;

    COLVAL

    ---------------------------------------------------------------------------

    24 JANUARY 14 09.45.42.253732 H + 01:00

    SQL >

    Why introduce the foregoing did not fail? the data type of the column in my table colval expects a timestamp with time zone

    during each which inserts as I understand (correct me if I'm wrong) is not provided by the localTimeStamp function.

    Could someone kindly tell me what I misunderstood?

    Thanks in advance,

    Then, when you do

    create table t (neck DATE);

    Insert into t (to_date ('1st January 2014', ' mon-dd-yyyy "");)

    Are you surprised that it works? After all a DATE column contains a time component, you do not provide: but he

    works and gives you 00:00:00 as the component "hour".

    Similarly, the timezone component is being developed to automatically with, I think, time zone of your system.

  • a few questions about the migration of content/web content

    Hi all


    I have a few questions about the migration of the website and content (from development to test) which are not specified after reading the oracle documentation.

    -> When we make the site replication will be migrated content (data files).

    -> when we move will contained all the ED and RD etc (any object type web site migrated).

    --> are the two the necessary step for migration when we migrate web site.


    Thank you

    -Yves

    --> When we make the site replication of the content will be migrated (data files).

    It depends on how you do it. The tool 'Site Studio Replicator' won't move any content, only the structure of the site. The 'Manage replication Site' page can be used to migrate content with the structure of the site but I do not recommend for large sites, I use separate tasks to archive to move the content. "Backup and restore" page stores the entire site in a ZIP file, not advisable for large sites.

    --> When migrate us content will be all ED and RD etc (any object type web site migrated).

    Yes. It uses the metadata xWebsites field to identify the elements that belong to the site.

    --> are the two the necessary step for migration when we migrate web site.

    Depends on how you do it, but yes, all bits are needed.

  • Question about the need to connect every 30 days...

    I understand the need for CC programs to connect to license Adobe servers, every 30 days (or it's 99, since I have an annual license?) of re - check license status.  That said, I have a question about the timing of these connections the licence renewal.

    What happens if I happen to be disconnected so far here 30?

    With the help of Microsoft for example...  I need Visual Studio to reactivate my developers license every 30 days in order for me to develop applications Windows 8 'metro '.  If I happen to be disconnected so far here 30, I am unable to work on any apps 'metro' until I got online.  (And I don't see any way to tell him to reactivate at the beginning).

    What happens with Adobe CC?

    Suppose I have license, and I am online for 29 days.  Then, the 30th day, I find myself be in offline mode when I start one of the programs of CC.  Now what?  Does the 30-day clock 'reset' every now and then during this time, or is it really only try every 30 days, and I have to be online on that day?

    Hi kenbrody,

    Please see the thread: http://forums.adobe.com/thread/1190831 .

    Kind regards

    Romit Sinha

  • A few questions about the difference between the Satellite P70, L70, S70

    Hello, I have a lot of questions about the P70, L70, S70 series that come with a 1920 x 1080 panel.

    (1) what are the differences between the L70 and S70 series? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    (2) P70, L70, S70 doesn't support a 2nd HARD drive or it's just the P70 series that support?

    (3) all the three (P70, L70, S70 series) come with the same TFT panels?

    (4) of the above series, which supports mSata?

    (5) all the model of each series are delivered with support from mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?

    (6) all the foregoing, are delivered with a S - ATA II or III S - ATA interface?

    (7) who is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.

    Thank you in advance.

    > (1) what are the differences between the series L70 and S70? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    What models Sat L70 and S70 do you mean exactly? There are different L70-xxx-xxx and S70 models on the market that supports different hardware specifications.

    (> S70 2) P70, L70, support a 2nd drive HARD or is - it just the series P70 that support?
    As you can see in this [Sam P70 HDD replacement document, | http://aps2.toshiba-tro.de/kb0/CRU3903II0000R01.htm] the P70 series supports the 2nd drive Bay HARD, BUT even if there is a 2nd HARD drive Bay, this does not mean that you can use the 2nd HARD drive. In the case where the 2nd HARD drive Bay are equipped with HARD drive connector, you can use the 2nd HARD drive

    I also found the [Sam L70/S70 HDD replacement | http://aps2.toshiba-tro.de/kb0/CRU3703HG0000R01.htm] the document on the Toshiba page and there I see this 2nd HARD drive Bay is not available

    (> 3) all three (P70, L70, S70 series) come with the same TFT panels?
    See point 1). Different P70, L70, S70 models were equipped with different material parts.

    (> 4) of the series above, which takes in charge mSata?
    As far as I know that some P70 models are equipped with an mSATA SSD of 256 GB.

    (> 5) do all the model of each series are delivered with support mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?
    See point 4) not all models supports the same hardware specifications

    (> 6) all of the above, come with a S - ATA II or III S - ATA interface?
    I don t think that SATA III is supported. I guess it would be SATA II

    (> 7) which is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.
    Not easy to answer because there are too many models released in Europea.
    And not all models are available in each country. So I guess you will have to look for the models that have been released in your country.

  • A few questions about the upgrade on Satellite A300-144

    Sorry for the typos, English is not my mother tongue.
    I want to ask some questions about the upgrade of a300-144.

    * Some info first.*

    CPU: T2370 ([http://ark.intel.com/products/34445/Intel-Pentium-Processor-T2370-1M-Cache-1_73-GHz-533-MHz-FSB]).
    Chipset: GM965 ([http://ark.intel.com/products/29821/Intel-82GM965-Graphics-and-Memory-Controller]).

    * Questions.*

    1. my frequency of laptop memory at 533 MHz, supports 667 MHz memory controller, memory modules can work at 667 MHz. Is - this because CPU FSB 533 MHz frequency and new processor at 667/800 MHz FSB will fix it or it is hardcoded in the BIOS?

    2 Intel said that the size of max memory for my chipset is 4 GB (2 x 2 GB), but Toshiba says that only 2 GB (2 x 1 GB), who is right?

    3 I know, taken of my CPU is μFCPGA-478 aka socket P, max FSB 800 MHz, max 35 W TDP, so T9500 ([http://ark.intel.com/products/33918/Intel-Core2-Duo-Processor-T9500-6M-Cache-2_60-GHz-800-MHz-FSB]) is a compatible processor or there are some limitations in the BIOS?

    > 1. My frequency of laptop memory at 533 MHz, supports 667 MHz memory controller, memory modules can work at 667 MHz. Is - this because CPU FSB 533 MHz frequency and new processor at 667/800 MHz FSB will fix it or it is hardcoded in the BIOS?

    The speed of the memory is related on the material. This means that the FSB is responsible for the limitation.
    If the FSB would allow support 667 MHz then the memory would also at this speed.

    > 2. Intel says that the size of max memory for my chipset is 4 GB (2 x 2 GB), but Toshiba says that only 2 GB (2 x 1 GB), who is right?
    The memory depends on the chipset. So if the chipset supports 4 GB of RAM, you should be capable of this move to 4 GB of RAM

    > 3. I know, my CPU is? FC-PGA-478 aka socket P, max FSB 800 MHz, max 35 W TDP, so T9500 (http://ark.intel.com/products/33918/Intel-Core2-Duo-Processor-T9500-6M-Cache-2_60-GHz-800-MHz-FSB) will be a compatible processor or there are some limitations in the BIOS?

    It might be possible that the new processor would be fully supported by the BIOS, but in most cases it should not be a problem if the chipset would support the new processor.
    But as far as I know the upgrade of the CPU is not supported by Toshiba or any other manufacturers of portable and its your own risk to run laptop with the new processor.

  • Question about the recovery partition

    Hello.

    I have a question about the recovery of HARD drive partition.

    If I do the operation to clear the hard disk option in the wizard it will remove * all * or it will keep my partition recovery in this way I can come back later. I want to know because I would like to put on a different OS.

    I know he said he would, but caution in the PDF, I found it says that on a normal recovery too (that he would remove each partition) and I'm a little confused about how the recovery actually worked.

    Thank you.

    Hey Buddy,

    To be honest I n don't know what you mean exactly with this option to erase.

    In General, Toshiba Recovery disk will wipe your entire HDD to restore factory settings correctly. This means that if you start from that disk and follow the instructions on the screen, everything will be removed.

    In addition, the recovery disk doesn t create a recovery partition. It is not available. Disk copy just the files on the second partition in folder HDDrecovery to start an installation of HARD drive recovery.

Maybe you are looking for