Creating Folder and Accessing Files from Folders in mobile phone

Hello Friends,
I am doing my project where I need to create folders and accessing files from those folders in java enabled mobile phones.But I do not know the required tasks for this.Any type of help is highly appreciated.
Greeting
Saadi

You have to get the classname of the Items you receive from getitems.
There you have only to look for Folder.CLASS_NAME. Example:
ifsFol sorted by names in ascending order (names of folders and files)
String[] sort_attributes = {"NAME"};
//sort will be ascending
boolean [] sort_orders = {true};
oracle.ifs.common.SortSpecification sort = new oracle.ifs.common.SortSpecification(sort_attributes, sort_orders);
ifsFol.setSortSpecification(sort);
PublicObject[] contents = ifsFol.getItems();
System.out.println("Here are the names of the items in folder: ");
for (int i=0; i < contents.length; i++) {
if (contents.getClassname().equals(Folder.CLASS_NAME)) {
System.out.println(contents[i].getName());
null

Similar Messages

  • Need to create PDF and Spreadsheet file from RDF file when user passes the parameters

    Hi Everyone,
    I am beginner as report developer ,i came across one  issue when the requirement came from the client regarding generating EXCEL FILE and PDF FILE from same RDF file .
    I was able to generate the PDF file but i when i tried to create excel file it does not include the margin in it, also the cell border are not seen( file comes with data but with no CELL borders), I have also attached screenshot for reference .
    View image: problem
    or
    http://i43.tinypic.com/2mq017k.jpg
    Software Used :
    Oracle reports Developer : 11g 1.2.3.0
    Thanks ,
    Harshil

    Dear  Olga12,
    Thanks a lot for your quick reply.
    When i suggested the solution to my client  for creating two separate templates attached to same data definition , they declined and argued that  we cant create 2 separate templates for all reports( more than 200 reports).
    Is there any way to create the PDF/EXCEL from same RDF other than creating two separate templates ?
    Thanks ,
    Harshil

  • Create folder with multiple files (was: folders)

    Can you create a folder with multiple files and direct the page to go to the folder and then the reader can select the file they wish to choose?  Example  Council Mintes Folder with a file for each set of minutes.  The hyperlink would open the folder and then the reader would select whch set of minutes they'd like to see.

    You may not have access to it depending on your hosting company and  plan, but if you did have the ability to change it you'd normally do it in the admin area of your hosting account which would update the proper files on your server.
    You may also be able to do it manually, but the "how to" depends on the server type you are running.
    EDIT: I'd still suggest using a server script (like the PHP I linked to) because the look of a directory with browsing turned on is pretty ugly and can't be changes since it's not a page on your site. With the PHP I linked to, you could have an actual page for your links, complete with your site's design, that simply lists the files from the specified directory. It's very simple to set up if you have PHP on your server.

  • Can I connect an externa hard drive and access files from 2 or more computers wirelessly?

    Is there a way to connect an external hard drive to my linksys modem and access the files wirelessly by 2 or more computers?
    I have a wireless G wrt54G modem working on windows XP a desktop and laptop on my home system. I have a WD “my book” external hard drive with a usb interface. My modem does not have a USB interface.
    At work I also have 4 laptops  using XP and vista and looking to have them all access an external hard drive and printers. I have not selected a hard drive for the work system.
    If yes can I add 2 or more printers and print form all connected computers?
    If yes, is it possible to access the files of the external hard drive (home system) via the internet?
    Thanks in advance for all your help

    First, your WRT54G is a router, not a modem. Different function.
    Yes, you can  "connect an external hard drive... and access the files wirelessly by 2 or more computers," just not that external hard drive. You need one that supports network attachment, with an ethernet connection.
    And you can print to printers from various computer, again if the printers are made to support that.
    The answer to your last question is maybe. Oh, it's definitely possible, but may require learning about static IP addresses, dynamic DNS, firewalls, port forwarding, file sharing...

  • Create folder and move files to specific directory in AL11

    My requirement is to create a new folder in one of the existing directories in AL11 and move some files into it.
    I searched the forum and found this solution but it creates folder only in DIR_HOME directory.
    data: unixcom like rlgrap-filename.
    data: begin of tabl occurs 500,
    line(400),
    end of tabl.
    unixcom = 'mkdir mydir'. "command to create dir
    "to execute the unix command
    call 'SYSTEM' id 'COMMAND' field unixcom
    id 'TAB' field tabl[].
    I want the folder to be created in some other directory DIR_INTERFACES .
    Any suggestions are welcome ..

    Get complete path (physical path) using FM FILE_GET_NAME_USING_PATH.
    Default directory is DIR_HOME, hence it creates file in that directory...If you specify complete folder name, it will be created under that path..
    Concatenate mkdir
    space
    <physical path>
    mydir
    into unixcom.

  • Creating ear and war file from deploy file programatically

    Hi All,
    Is there any API available in oc4j to create an ear or war file from a .deploy file...........??
    Thanx in advance.

    There isn't a public API that let's you hook up to the deploy file in JDeveloper.
    You might be able to achieve this with the JDeveloper Ant task:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/anttasks/index.html

  • Create folder and copy files problem

    Hello all indesign script Members
    where I work we use a permanent folder structure for an example
    a jobnumber called "123123"
    I have wrote a little interface called interface.jsx, this file is saved and located in
    123123/scripts/interface
    I want my interface to navigate two folders up
    to 123123/source/ creates  a folder called "hej" so result is "123123/source/hej"
    then I can pick from a little dialog box the folder 123123/source/a/ copy all .indd files to the folder hej (or any other folder I choose from the dialog box)
    I want the script to know the active path instead of whole locations because, we have different project numbers all the time.
    then run an extern script called hej.jsx
    the best should be also if the script could chose 123123 as default jobnumber too.
    Please could  someone help me to script this?
    /get started I am very newbie
    Thank you so much in advance
    All Adobe Members

    Hi tjacobs01,
    Thanks for reply. I didnt include main method since i dont want to make the problem looks too complicated. I called both of the methods in main. The following is the simplified class code including main method.
    import java.io.File;
    import java.io.IOException;
    public class TestClass{
    public void buildFolder(){
    File f=new File("/documents/hospital_backup");
    if(f.exists()==false){
    f.mkdirs();
    public void copyFile(String file){
    String form_cmd="cp /job_holding/hospital/" + file + " /documents/hospital_backup/"+file;
    String[] command = new String[]{"sh", "-c", form_cmd};
    try{
    Runtime r=Runtime.getRuntime();
    Process p =r.exec(command);
    BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = null;
    while ((line = in.readLine()) != null) {
    System.out.println(line);}
    int exitVal=p.waitFor();
    System.out.println("Process exitValue:"+exitVal);
    }catch(Exception e){System.out.println(e);}
    public static void main(String[] args) {
    String dir_root="/job_holding/hospital/";
    File f=new File(dir_root);
    File[] fList = f.listFiles();
    for (int i=0; i<fList.length; i++)
    String file=dir_root+fList.getName();
    TestClass test = new TestClass();     
    test.buildFolder();
    test.CopyFile(file);

  • Batch create folder and move files

    Hi,
    I have files such as:
    FD3_xxx1
    FD3_xx2
    Fd3_xxx3
    FD63_xxx1
    FD63_xx2
    Fd63_xxx3
    How would I create a batch file that would create folders with the characters before the "underscore" and then add the files into them. For example, all "FD3" files will go in a folder called "FD3" and all "FD63" files will go into a folder called "FD63".

    Dear Frederik and/or Bill,
    I have come across this question and your answer and it seems that this is a solution to may problem as well. However, you say that a user needs "to activate it to do something useful". I have no experience in programming and I do not know how to activate
    it. Please let me what to do to make this work.
    One needs to be careful when running batch files that move or delete large numbers of files in one fell swoop. This is why I posted the file in a passive form. To be on the safe side you must do this:
    Open a Console session with cmd.exe.
    Invoke the batch file in its current (=passive) form.
    Carefully examine the screen output it generates.
    If the output fully agrees with your expectations, activate the batch file by modifying this line
    echo move %1 %Folder%
    to read like so:
    move %1 %Folder%
    Why? Because the batch file command "echo" will write things to the screen but do nothing else. Hence the command
    echo Hell World!
    will put the phrase "Hello World!" on the console screen. Once you remove the word "echo", you will actually execute the "move" command:
    move %1 %Folder%
    A general observation: I feel somewhat uneasy about you running a batch file that includes advanced commands, apparently without you really knowing what it is doing and how it is doing it. Performing the task manually might be a safer option.

  • I want to have two folders of Finder so that I can easily drag and drop files from one folder to another

    I have been trying to reorganize my files. When in Manila I created a folder called Manila 2015 in Documents. I have the Mother folder Files 2015 with several subfolders like Finances, Personal, Tax etc. I want to have two finder folders simultaneously so that I can drag and drop files from the Manila 2015 folder to the various subfolders in the mother folder Files 2015. I am not able to open two windows of Finder on the desktop.

    I have since found out that a new finder window can be opened witht the short cut Command+N.
    Thanks anyway.

  • Creating and accessing file outside isolated storage

    Hello,
    I'm trying to learn to write apps in c#. 
    I want to create an app that can save my location in a file that I can acces on my computer. 
    I was wondering if someone could explain to me how I can create folders and files that I can acces outside of the app, or if there is a site where they already explain this.
    I have been searching for a few hours now, but I can't find it.
    I hope someone can help me.
    Thanks

    Hi TomTom93,
    As far as I known, we can create folder and files within the isolated storage but we can not acess it
    outside of app except some public folders. Because every app has his own
    isolated storage and all of them are independent. If you want to save some information which can be access out of the app, I will recommand you use the
    WCF Service or database.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT3231 I tried to migrate information from MacBook Air to ...Pro and it seemed to have taken files from folders on desktop as none exist on Air now.  As to where these files are, I don't know.  It has also taken my pictures from iPhoto to unknown destinat

    I tried to migrate information from MacBook Air to ...Pro and it seemed to have taken files from folders on desktop as none exist on Air now.  As to where these files are, I don't know.  It has also taken my pictures from iPhoto to unknown destination. ??

    If you used migration assistant then it probably created a new Login user and placed the migrated files under it.
    Regards,
    Captfred

  • Strip resource forks and .DS_Store files from folder

    I'm transferring stuff from my Mac to a Windows machine using a FAT32 formatted keydrive, and want to eliminate the various dot files from folders before I copy them to the Windows box. I had tried using a Terminal command, which was tedious and at one point I mistyped something and managed to nuke one of the folders on the drive. After a search, I found this script at MacOSXHints:
    on run
    display dialog "Drag a removable disk icon here to have it cleaned and ejected"
    end run
    on open selectedItem
    -- get a text version of the volume name and remove the trailing colon :
    set volumeName to selectedItem as string
    set volumeName to characters 1 thru (the (length of volumeName) - 1) of volumeName as string
    if (list disks) contains volumeName then
    do shell script "find '/Volumes/" & volumeName & "' -name '.DS_Store' -exec rm '{}' \\;"
    do shell script "find '/Volumes/" & volumeName & "' -name '._*' -exec rm '{}' \\;"
    try
    do shell script "rm -rd '/Volumes/" & volumeName & "/.Trashes'"
    do shell script "rm -rd '/Volumes/" & volumeName & "/.TemporaryItems'"
    end try
    try
    tell application "Finder" to eject disk volumeName
    end try
    end if
    end open
    It worked great, but took a bit of time to run. I no longer need to clean the whole drive again, just specific folders I add to the drive now. Unfortunately I don't actually know how to write Applescript, I can just sometimes adapt an existing script to my needs, but this adaptation is beyond my meagre abilities. Last night I was copying a couple of folders to the drive, then using the Terminal "find execute remove" command to get rid of the dot files after the fact. I would like to have an Applescript droplet, so that I drop the folder onto it and the resource forks are stripped off and the .DS_Store files are removed before I copy the folder to the key drive.
    Any help appreciated!
    Francine
    Francine
    Schwieder

    Make a duplicate of the folder you want to transfer on your hard disk, and then run the following on the duplicate:
    on open droppedItems
    repeat with anItem in droppedItems
    if (folder of (info for anItem)) is false then
    display dialog (anItem as string) & " was not proccessed." & return & return & "Folders only please"
    else
    do shell script "find " & quoted form of POSIX path of anItem & " -name \".DS_Store\" -exec rm '{}' \\;"
    do shell script "find " & quoted form of POSIX path of anItem & " -name \"._*\" -exec rm '{}' \\;"
    do shell script "ditto --norsrc " & quoted form of POSIX path of anItem & " '/Volumes/volumename/pathname/'"
    end if
    end repeat
    end open
    The second do shell script line may not be needed in this variation.
    (21517)

  • I have a windows 7 desktop with an external hard drive setup on my home network, will i be able to access this on my home network to save and retrieve files from my mac air?

    i have a windows 7 desktop with an external hard drive setup on my home network, will i be able to access this on my home network to save and retrieve files from my mac air?

    Troubleshooting Home Sharing - http://support.apple.com/kb/TS2972

  • How to view and access files on my iBook G3 from another iMac

    **Hello, everybody on this excelent forum. I need to know how to use my Firewire conection, to view and access files in my iBook G3, from another iMac G3, both are OK in working good condition. I put this question because some days ago a Mac expert fix to me the access in my recent SwapMeet second hand aqcired iMac G3, without the original last owner password.
    this person are egoistic, and DoNot show me how he use the Firewire do this job.
    Thank You: Eduardo from NorthWest Mexico.

    Hello, Niel, Thank You very Much for your fast and kindly responce.
    the next monday I'll buy a new FireWire cable to test the metod you tell me.
    Again thanks and best regards from NW-Mexico.
    Eduardo

  • HT3702 Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases.  Doesn't seem right that they keep me from accessing those files which I've already paid for!

    Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases.  Doesn't seem right that they keep me from accessing those files which I've already paid for!

    - Are you saying that they are not listed in your Purchased section?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - Are they listed in your Puchases history when you log into your account on your computer?
    - Are they still available now for purchase? If not then you are out of luck
    If they are still available and listed in your Puchase History then contact iTunes
    http://www.apple.com/support/itunes/

Maybe you are looking for

  • Custom Search Screen Question

    I have a search screen where the user can enter multiple search criteria fields and click 'FIND' button. Below is the code behind the find button. As you can see if the use doesn't enter any of the search criteria then it is supposed to get all the r

  • Get the table or view where categorie's sequence order is store

    Hi, I manage to display some categories on a page. Some how I like to display the categories in a specific order. To be exact, I like to have the same order as we can define in the pagegroup properties > configure tab > Types and Classification > Cat

  • I can't get rid of the header in mozilla thunderbird titles

    I am getting the headings in my emails that are reading From Subject Reply to To This has happened since I have installed IE9. Before that I had an arrow on the left side of the field which allowed me to toggle this information 'off' or 'on' What has

  • Charts and graphs in oracle application 11i

    Dear all, i need a help to deploy a chart (.ogd) to oracle application 11i. because i deploy a form which is calling this .ogd file but the form does not show the chart.

  • Hi regarding parrelel processing of the program

    Hi Experts,        1.I have 2 records in one file which are processing by one program.        2.This program is calling one function module ,this function module is processing the records.        3.In that function module,there is one user exit where