How to get free memory size of a card with javax.smartcardio

Hi,
How can I find how much memory of a card is free with javax.smartcardio?
Please your advice.
Thank in advance.

gizmo wrote:
I wanted to read the free memory size with a card reader and javax.smartcardio.
Is it possible to send a APDU Command to select the root 3F00 and read the properties?There is no built-in smartcardio funationality to do this. What you can do is send an APDU and get the memory by calling the code mentioned already.

Similar Messages

  • How to get FREE copy of McAfee Virex (antivirus) with a .Mac account?

    Not sure where to post this, but it relates to my .Mac account subscription so hopefully it's the right place.
    I've been reading (in online articles) that anyone with a .Mac (aka MobileMe) subscription qualifies for a free copy of McAfee Virex (or whatever they call their virus checking software).
    Is this true - and if so, where/how do I go about obtaining it? I've looked around for an answer, but to no avail. Would appreciate any help on this.
    Thanks in advance!
    M
    Message was edited by: mangolicious

    Apologies - in my newbie haste, I allocated the scoring for the above posts incorrectly.
    a brody should have scored 10 points for helping SOLVE my query and iBod would have scored 5 points for being HELPFUL. It's been scored in reverse. Oops!
    Don't know if that really matters to either of you, but it was a slip of the fingertip.
    Cheers again, anyway!

  • How can we free memory?

    how can we free memory? what do "alter system flush shared_pool" and "alter system flush buffer_cache" commands do?

    If you want to reduce the size of the SGA, you could reduce initialization parameters that are taken into account to size the SGA: see the the Concepts Guide.
    The statements that you have mentionned do no reduce the size of the SGA allocated at OS level but only flush or empty the related caches.

  • How to get the file size (in bytes) for all files in a directory?

    How to get the file size (in bytes) for all files in a directory?
    The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
    Furthermore the size is not retrieved correctly.
    How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
    Thank you
    Peter
    java.io.File f = new java.io.File("D:/todo/");
    files = f.list();
    for (int i = 0; i < files.length; i++) {
    System.out.println("fn=" + files);
    if (new File(files[i]).isFile())
         System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }

    pstein wrote:
    ...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
    Here is an SSCCE.
    import java.io.File;
    class ListFiles {
        public static void main(String[] args) {
            java.io.File f = new java.io.File("/media/disk");
            // provides only the file names, not the path/name!
            //String[] files = f.list();
            File[] files = f.listFiles();
            for (int i = 0; i < files.length; i++) {
                System.out.println("fn=" + files);
    if (files[i].isFile()) {
    System.out.println(
    "file[" +
    i +
    "]=" +
    files[i] +
    " size=" +
    (files[i]).length() );
    }Edit 1:
    Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting.   To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.  It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
    Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get the correct size of the loaded swf file?

    final public class main extends Sprite
      public function main()
       loaderInfo.addEventListener(Event.COMPLETE, _onLoadCompleted);
      private function _onLoadCompleted(event: Event): void
       var tw: int = stage.width;
       var th: int = stage.height;
       var tsw: int = stage.stageWidth;
       var tsh: int = stage.stageHeight;   
    Above is my simple as3 project in flex builder 3.
    My screen resolution is 1920*1080, when debugging, the swf is stretched to the full client area of the IE, but the stage.stageWidth is 500 and the stage.stageHeight is 375, both the stage.widht and stage.height are 0, who can tell me why and how to get the right size of the swf file, named the client area size of the IE in this situation?
    Thanks very much!

    The HTML wrapper might resize the SWF later, so wait a frame and check stageWidth/stageHeight again.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How to calculate OS memory size in java?

    I want to calculate free memory size , when I tried by Runtime class
    like this Runtime.getRuntime().freeMemory() it gives JVS free memory size
    But I want OS free memory size
    If anybody know then plz reply me ASAP

    Since the question was asked the last time (yesterday afternoon), I don't think Java has changed much, so the answer is still: you can't do it with Java.

  • How to get the memory address of an array (pointer in C)?

    I am writing an application that exchanges data with a PXI device via DMA.  Basically I will provide it a memory address and a direction, and it transfers the data.  I would like to give it the memory location of an array in LabVIEW, but I do not know how to get the memory location without doing a DLL call to C code that returns the pointer.  Is there an easy way to do this in LabVIEW?  Any help is much appreciated.

    A similar question was asked recently regarding strings. You cannot pass pointers in LabVIEW as you do in C. You can pass an array to a DLL, but that means you would need to write a wrapper DLL. Be sure to read the section in the LabVIEW Help on calling code from text-based languages and also take a look at the "Call DLL" example that ships with LabVIEW  - it contains many examples of how to deal with various datatypes.

  • How to extend RAM memory size in Mac Book pro.

    Sir,
    I have Mac Book Pro.This system have 4 GB RAM only.but I need 8 GB RAM for install Window OS purpose.So How to extend RAM memory size in Mac Book Pro.
    Regards,
    M.Muthukumar

    http://support.apple.com/kb/HT1270

  • How to get the byte[] size dynamically from the StreamMessage object

    Hi all,
    Using JMS, I am receiving the FDF file as StreamMessage from the queue and attaching it to the PDF file which is present in the local system.
    For that, I have written the code as follows:
    {color:#0000ff} Message msg = jmsTemplate.receive();
    if(msg !=null && msg instanceof StreamMessage)
    StreamMessage message = (StreamMessage) msg;{color}
    {color:#ff6600}//hardcoded the byte array size value
    {color}{color:#0000ff} byte[] bytes = new byte[{color:#ff0000}856{color}];
    System.out.println("read msg="+message.readBytes(bytes));{color}
    {color:#0000ff}PdfReader pdfreader = new PdfReader("D:\\Managing_Workflows_No_Comment.pdf");
    PdfStamper stamp = new PdfStamper(pdfreader, new FileOutputStream("D:\\12345.pdf"));
    FdfReader fdfreader = new FdfReader(bytes);
    stamp.addComments(fdfreader);
    {color} {color:#0000ff} stamp.close();
    {color}{color:#000000}The above code is working fine except with the hardcoded of {color:#ff0000}byte array{color}{color:#ff0000} size value{color} which is given in {color:#ff0000}RED{color} in color.
    Can anybody know, {color:#000000}*how to get the byte[] size dynamically from the StreamMessage*{color} object ?
    Any help would be highly beneficial for me !!!!
    Thanks and Regards,
    Ganesh Kumar{color}

    When you create your stream message you could add an property to your message, something like streamSize that would contain the number of bytes in your stream message. Then you could get this property from the message before declaring your array.
    Tom

  • How to get physical memory by using system call ?

    how to get physical memory by using system call ?What system call can I use.thanks

    Use sysconf(3C) with SCPHYS_PAGES

  • How to read system memory size, processor speed of a system

    Hi all,
    How to read system memory size, processor speed of a system and how to read how much of it are in use in a running system. (using java)
    any help would be great.
    -thanks

    How to read system memory size, processor speed of a
    system and how to read how much of it are in use in a
    running system. (using java)Using Java: not at all. You'll need JNI.

  • Need to know how to get my apple account to sync up with a new email on my phone and delete the old one in a step by step process??

    Need to know how to get my apple account to sync up with a new email on my phone and delete the old one in a step by step process??

    After you change the account settings as I described below hold your finger on any app until they all wriggle, then tap the "-" on each purchased with her Apple ID. Press the HOME button when done. Then go to the App Store and buy or download the apps you want.

  • How to get Camera RAW / Photoshop CS5 to work with Canon 100D?

    How to get Camera RAW / Photoshop CS5 to work with Canon 100D? I don't want to by this product again and again...

    In what way is ACR not working in Bridge?  Is there no right-click Open in Camera Raw available from Bridge, or there is, but the ACR version is less than ACR 6.7.1 or what exactly is the issue? 
    Also, if you open Photoshop and do Help / About Plug-ins / Camera Raw, is ACR missing from the list, or if not, what version does it say is installed?
    You might also want to describe what methods you have tried to correct the issue, since saying you've tried what you've seen posted and they didn't work, isn't really much to go on.

  • Any info on how to get iCloud calendar, contacts, etc to sync with office 365 on macbook pro?, any info on how to get iCloud calendar, contacts, etc to sync with office 365 on macbook pro?

    Any info on how to get icloud calendar, contacts, etc to sync with office 365 on macbook pro?

    You can't, there is no connection between the services, use one or the other.

  • How to get  shipped orders, unshipped orders and orders with open deliverie

    Hi
    how to get  shipped orders, unshipped orders and orders with open deliveries
    can anybody answer this.
    points would be rewrded
    Thanks

    Hi,
    You can check in the VBUK table for the status of an order. If you do a Query on VBUK table to get all the orders whose delivery status is not 'C' or the total goods movement status is not 'C' you get to know the orders not yet shipped.
    Hope this helps. Reqard points if useful.
    David.

Maybe you are looking for

  • How to change all fk constraints in schema to refer to different schema

    Hi, We wish to change all the fk constraints which point to tables on one schema to same table names but owned by a different schema. Is this possible? Thinking of query user_constraints select * from user_constraints r where r.constraint_type = 'R'

  • Links to external files don't work

    Hello Using RH 8.02 and converting linked Word docs (Word 2002) to WebHelp. These are policies and procedures that reference external documents. In my Word doc I have a hyperlink to an external document. This doc is on a network server. In Word I add

  • Sort order in iPad's Remote app

    I have a few smart playlists in iTunes. When I control iTunes from my iPad's Remote app, some playlists show up (correctly) ordered by Album, other smart playlists are ordered by song. In iTunes (on my MacPro), though, both are ordered by album. Is t

  • 17" iMac G5 w/ Ambient sensor won't start up

    Hi Everyone...Have this iMac and am going through the troubleshooting. It has the internal power switch/button but, oddly, not the PMMU reset switch that the guide says SHOULD be just below it. Anyway, I get LED 1 indicating that trickle voltage is t

  • MV Refresh Performance Improvements in 11g

    Hi there, the 11g new features guide, says in section "1.4.1.8 Refresh Performance Improvements": "Refresh operations on materialized views are now faster with the following improvements: 1. Refresh statement combinations (merge and delete) 2. Remova