where should I create file?

Hello

my application must create a file at the beginning. I am way wondering - which should I use to create a file? No each device has a memory card. y at - it smth like 'C', for example:

_fc = (FileConnection)
Connector.Open ("C:\" + _fileName, Connector.READ_WRITE);

or where should I create TI-so that it won't be a problem on any device?

Kind regards

misty83 wrote:

where can we establish a TI-so that it won't be a problem on any device?

You can check by program if the external memory (SDCard) device.

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1295814/How_To...

If the device is not external memory, you can save your file in the internal memory.

In this case, make sure that the device has available for saving this file space. You will get this information from class MemoryStats.

To save the file in SDCard use something like:

FileConnection fc = (FileConnection) Connector.open(System.getProperty("file:///SDCard/"+"fileName.txt"),Connector.READ_WRITE);

if(!fc.exists()){  fc.create();}OutputStream os =fc.openOutputStream();os.write("Test");os.close(); fc.close()

Also check this link for more information on the file path.

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

Concerning

Bika

Tags: BlackBerry Developers

Similar Questions

  • Where you can create files on Storm1/Storm2/Bold2?

    Hello gents. I would like to know where (what path) files must be created on the Storm 1 (jpeg images), as well as on the Storm2 and more recent "BOLD".

    Hey justin, I don't think that the file path is valid.

    Try just to get rid of the memory of the device and have something like this...

    'file:///store/home/user/conversations/ '.

    I use this path in my application and it works perfectly, oh and don't forget to close your filecon object.

    filecon. Close()

  • Where should it go JavaScript if I call you HTML Page header?

    In the Guide of the user Application Express under "Appellant the JavaScript file in the HTML attribute header" point 4 says:
    In HTML Header, call the JavaScript file using the following syntax:
    
    <script src="/my_images/custom.js" type="text/javascript"></script>
    However, it does not say where my_images.

    Where should the .js file be kept?

    Thank you
    Gregory

    Hi Gregory,

    There is no error in the documentation. The most effective solution is to put the files on your static web server and store not in the database.
    /my_images/ (or any other name) is the alias for that directory. Contact your administrator to create a directory on your web server and also change the configuration of your web server in order to make this directory available to the 'outside '.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • My question is: is there an approach appropriate to where and how files should be created and arranged, except directly in your main drive, in my case C:?

    I recently had a hard drive replaced requiring a new installation of Windows 7. When I went to get the system in place, the guy who set up Windows told me that he created the user directory specifically in a way so that new files to be created in a Documents folder that was created under the username. At least that's what, in my view, said.

    In any case, I always create new folders and their subfolders under Local C: drive.  My question is: is there an approach appropriate to where and how files should be created and arranged, except directly in your main drive, in my case C:? Thank you for your help.

    Windows 7 has been designed with the intention that user folders and files will be store in one of the folders under the users, that is to say the Documents, photos, etc.

    It is not recommended to store in the root, i.e. C:\ directory.

    If you have any other disks or partitions, you can store what you want there.

  • DirectX June 2010 asking where to put the extracted files. Where should I put them?

    DirectX June 2010 asking where to put the extracted files. Where should I put them?

    Create a new folder and extract the files to the new folder.

    Let us know if that helps.

  • I reformatted my Macbook Pro (13', mid-2012). I want to use Boot Camp to create a partition for use Win 7 I had previously and have drives. Then go to Win 10. Where should I start?

    I reformatted my Macbook Pro (13', mid-2012). I want to use Boot Camp to create a partition for the use of Win 7, I had previously, and have records. Then go to Win 10. Where should I start?

    You can start here

    Use Bootcamp to install Windows

  • Some of my missing Office files and are NOT in the trash. Where should I look?

    I read a warning that removes this photo or file it would remove everywhere. I deleted.  He made my office files disappear as well.  They are not in the trash.  If not where should I look?

    Hello

    ·         Where did you get this warning and how?

    I suggest that you follow the methods and check them off below.

    Recover lost or deleted files

    http://Windows.Microsoft.com/en-us/Windows7/recover-lost-or-deleted-files

  • I moved a file from the desktop to a folder. I can't find anywhere. Where should I look?

    original title: Lost leader

    I moved a file from the desktop to a folder. I can't find anywhere. Where should I look?

    You can try the Windows search.

  • Where should create user information be in the approval workflow?

    I have created an approval workflow that is patterned after the Oracle DefaultOperationalApproval with JDeveloper 11.1.1.7.0 example.  I am able to see the information of the applicant and request model information.  This is the xml code that I can see from Enterprise Manager (11.1.1.7.0).

    "< ns2:processxmlns:ns2="http://xmlns.oracle.com/ApprovalApp/AlliantOperationalApproval/ApprovalProcess"'xmlns="http://xmlns.oracle.com/request/RequestDetails">

    < IdDemande > 240 < / RequestID >

    < RequestModel > Creating user < / RequestModel >

    < RequestTarget / >

    < RequesterDetails >

    < FirstName / >

    < MiddleName / >

    < name > Simon < / LastName >

    < login > AJ. SIMON< / Login >

    < DisplayName > Simon < / DisplayName >

    < ManagerLogin / >

    < NomOrganisation > Combining < / OrganizationName >

    < email / >

    < StartDate / >

    < EndDate / >

    < status > Assets < / status >

    < XellerateType > For the end user < / XellerateType >

    < UserType > Consultant < / UserType >

    < role > All USERS < / role >

    < / RequesterDetails >

    < BeneficiaryDetails >

    < DisplayName > No < / DisplayName >

    < / BeneficiaryDetails >

    < ObjectDetails >

    < attributes / >

    < / ObjectDetails >

    < OtherDetails / >

    < / ns2:process >


    In researching this issue, I see that the BeneficiaryDetails has no new information of the user depending on this issue.

    Beneficiaries details forthcoming as null in SOA Composite custom - Create User


    Where should I see the Dataset in the payload? I guess I may have some incorrect mappings?  I need to find the UserType and new user name and other information.


    Thank you


    Tom


    If you go here in the Oracle assets: http://www.oracle.com/technetwork/middleware/id-mgmt/overview/oim-11g-assets-504842.html

    There is approval workflow and a 11.1.2.0 example.  It contains the final workflow that can be deployed.  You can take this as an example and information out of it for your authorization custom which may help to recover what are necessary.

    -Kevin

  • Which product should I create a PDF file that I can put on my website for people to sign?

    Which product should I create a PDF file that I can put on my website for people to sign?

    Hi pattiw97437213,

    You can create interactive PDF forms using Acrobat DC & then post it on the Web site.

    See Help below links for reference: -.

    Kind regards
    Nicos

  • where should I put the files in typography .ttf I want to use in my photoshop?

    I have a typography .ttf file I want to use in my photoshop - where is the font file on my mac for this declining?

    Thank you

    Close photoshop.  I'll assume you are using Mac OSX.

    Drag and drop the fonts into the library folderFonts folder.  This will install the fonts.

    Revival of Photoshop and you should now have the available to use in Photoshop and other applications.

    Hope this helps

  • Where should I put my files .8bf in CC

    Hi all

    I'm sorry - I know that it is pretty basic!

    On a 64-bit Windows 7 system where should I put my .8bf files?

    I did a search of my folder of files of programs (not x 86) and it came with a folder that had some files in (C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit) \Required\Plug-Ins\Filters), but when I put filters in this case that they still do not appear in the menu filters in photoshop.

    I know that it is quite possible that the filters I tried are not compatible with the CC (they worked with CS5.5) but I want to know that I tried at least the good folder.

    TIA

    John

    Folder "\Plug-ins Adobe\Adobe Photoshop CC (64-bit)" and 32 bit a go in "Adobe\Adobe Photoshop CC\Plug-ins".

  • the toolbar at the top of the screen which has lost: file, editing, display, fav, tools and options, where should I go to recover?

    Ive tried to recover in any frame and Panel, but he adds the toolbar to the configuration page, not to the homepage of IM on... also im miss the toolbar with the "BOLD", italic and underscore as well... then where should I go to recover these toolbars? and how can I stop this happen?... I want to use my printer and I can get the opportunity to print or save either... I have work that I do and I am unable to get anything done... im in a big mess... could u pls help me?

    Thank you

    Joanie

    Your topic seems to assume that you are absent from the menu bar in Internet Explorer. Right-click anywhere on the IE toolbar and make sure that the Menu bar.

    You also mention: also miss me the toolbar with the bold, italic and underlined as well. It would be for an e-mail program? The same method may work, but if not, you need to tell us what e-mail you program using.

    Tip: Ctrl + P also started a printing operation.

    Bruce Hagen ~ MS - MVP [Mail]

  • Dreamweaver CC - I need hands on coaching. Where should I go for it?

    I need hands on assistance and coaching. I need to share my screen with an expert to show me what to do to make this work. I've been good to Dreamweaver CS3, which was more intuitive to understand myself, but the creation of the sensitive site, I need even if the mastery of this new version of Dreamweaver CC (I've got 2014 CC and CC 20141) is beyond my skills. Telephone support Adobe will not help me further with this, also CAT said they can't do it for me either. Where should I go for this type of assistance?

    I am updating a Web site I did years ago in Dreamweaver CS3. There has got to be reactive in office, Tablet and mobile phone. Adobe technical support helped me to make a fluid grid presentation, 3 sizes of jpg images, I did for the homepage work, but I can't get the navigation customized, that I need to work. Home page uses the image full screen with superimposed at the bottom icons which are used for navigation. I created this in Photoshop, but I also did versions of fireworks that change the images of the icons on the mouse overview, links to other pages by clicking on. Created 3 jpg in Photoshop that I can use for the site if Fireworks files are incompatible in fluid grid. I also have 3 .htm files from Fireworks for three sizes: Desktop - 1900 x 1267, Tablet - 1152 x 768, Cell - 480 x 800, at 72 dpi. The Fireworks files have icon second state images that switch to move the mouse.  I can't get the FW files to work in fluid grid. Technical support told me that FW files cannot be sensitive unless I have write the custom CSS code manually.  Otherwise, I tried to create interactive image and hotspots on the image of the front page in DW CC 20141 Adobe forum said that hotspots only are not supported in this version of DW - then took their recommendation and downloaded & installed DW 2014. Was able to create hotspots with links to other pages using DW 2014 but when I saw in the browser that everything is messed up. Fluid grid image sizes are all visible tiles instead of resizing with versicles with the size of the screen as they did before I made the hot spots.

    Yet once again, I need hands on help for many problems. Thanks to indicate where to go for you help, thank you!

    Coding of the adapted web sites requires a good understanding of the CSS media and HTML5 syntax.

    I think you need to take a course structured in responsive web design.  If you try to recreate your old site adapted, you must first understand what works and what does not work in the provisions of width %.

    Dreamweaver tutorials from lynda.com

    Image maps aren't going to work well because the hotspot regions will not resize with the image.   Fireworks could be good to create models and images for your site, but this is not a good tool for the construction of sensitive sites & navigation elements.  The code is much too rigid and unstable.

    I think you should also be familiar with the appropriate frameworks available on the web.  They can help you achieve your goals of project in ways you might not already examined.

    Bootstrap

    http://GetBootstrap.com/

    Zurb Foundation

    http://Foundation.ZURB.com/templates.php

    Reusable skeleton

    http://www.getskeleton.com/

    Initializr (HTML5 Boilerplate, sensitive or "bootstrap")

    http://www.Initializr.com/

    Extension FREE Bootstrap of the DMX Zone for DW

    http://www.DMXzone.com/go/21759/DMXzone-bootstrap/

    Seven Page Packs (Commercial CSS Templates for sensitive Sites) project

    http://www.Projectseven.com/products/templates/index.htm

    Nancy O.

  • where should I put the code to make a sensitive BC site

    Where should I put the following code to make my current sites of BC 'Sensitive' for the forthcoming update of the Google algorithm.

    link rel = "stylesheet" type = "text/css" href="/css/{system_visitorDeviceClass}.css

    Thank you

    Hey there,

    It doesn't really work like that.

    Receptive happens by CSS, Yes, but you can do it simply with queriers media CSS. You just pasted here partial html to an element of the stylesheet - that would go in head code in templates. But that is all down to the site and the installation program. Some people do not use models BC and have all file flat, others may have includes or supports for the content of the content header.

    You should also read the google algorithm code and that means properly. Half understand this kind of thing creates all the incorrect myths about SEO and ranking.

Maybe you are looking for