How to create file with APDU
Hello everybody,
It's my first time using Java Card ^_^,I want to create a file and fill the fill with binary data.but i don't know how to create file with APDU commands,so I need help here.
I think that there must be a Manual of the JavaCard's OS in this world,can someone tell me where to download it??
Thanks.
the fllowing is my card:
Samsung S1
Model:TiEx-32J
EEPROM size:32k
Platform Version:OP 2.0.1
Card Manager Status:OP_READY
KMC:40~4F/No derivation
Message was edited by:
AllenHuang
If you look around the forum for a bit, you will see that there is no notion of file systems on JavaCards (lexdabear posted this information less than two hours ago :-)). To store files, you will have to write an applet to hold byte arrays of the required size and handle receiving and sending of these.
As for documentation, you should have a look at the GP (General Platform) specification at http://www.globalplatform.org/, which defines communication between smart cards and other devices, as well as Sun's own JavaCard pages (http://java.sun.com/products/javacard/), which contain several useful resources on JavaCards.
Message was edited by:
Lillesand
Similar Messages
-
How to create files with read/write privileges for everyone?
I have two iMacs 7,1 (one with Snow Leopard and the other with Mountain Lion) in a local area wireless network.
I have shared the "documents" folder in the Snow Leopard iMac in order to have files available to the other iMac. The folder has read/write privileges for everyone.
When I create a new file in the shared "Documents" folder (for example a new Open office document, or a Keynote presentation) this file is by default "read/write" for the Administrator but only "read" for all the other users, so when I try to open it from the other iMac, I am informed that the file is "read only".
I can obviously change the privileges of the file in the information window, but I have to do on a file per file basis and this takes too long.
Is it possible to change settings in order to create files which are always "read/write" for everyone?
And, secondly, since I have several existing files whose privileges I should manually change one by one, is it possible to make global changes of their privileges?
Thanks in advance
Best regardscouple of different changes - 1st, if you want to share folders, doing your whole documents folder is not the best way. Since both your computers can handle AidDrop, that's what I would recommend - http://osxdaily.com/2011/11/14/how-to-use-airdrop-in-mac-os-x/ - as it create an instant Ad-Hoc network between the two computers and then let's it done.
A second possibility that may not be what you're looking for, is to use google drive or some similay cloud sharing app to sync the documents back and forth. both of these solutions will transfer the files well, but the airdrop may be simplest -
Subsembly create file with apdu
I am using subsembly sc api with APDU commands... i have problem with creating file:
CardCommandAPDU aSelectAPDU = new CardCommandAPDU(0x00, 0xE0, 0x00, 0x00, 3750);
I read in manual to create file, and it only said that i have to use
E0, for other arguments it didnt say nothing... so what do i put for
p1, p2 and cla nad send data?
I used just size and i got this back:
SW1:6B
SW2:00
It means that p1 or p2 is invalid! So what should i do? helpHi boss-tech,
It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups:
Windows Mobile API:
microsoft.public.pocketpc.developer
microsoft.public.smartphone.developer
Windows CE API:
microsoft.public.windowsce.embedded
General programming (not VisualStudio related):
microsoft.public.windowsce.app.development
Native compilers:
microsoft.public.windowsce.embedded.vc
ActiveSync:
microsoft.public.pocketpc.activesync
Best regards,
Guang-Ming Bian - MSFT
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to creating file with APD (tcode rsanwb) with Key and Test characterist
Hi everybody!
I'm creating an APD with RSANBW. Data Source is a query and Data Target a File. I want display Key and Test for everyone of query characteristics. I've revised properties of characteristics into the query rows and check "key and test", however the file only contains key values.
Some help will be very appreciated,
Regards,
Sebastian.Hi Sebastian
the data the query pulls is from the cube/DSO, which stores only the key.
the query pulls the text from the master data tables for diplay purpose only. For APD purpose the query only supplies what is avaialable in the infoprovider.
To have key and text in the target file you neeed to use transformation type routine in the APD or create an infoprovider that stores both text and key as separate fields in it and use that for the APD, with or without a query.
Good luck,
vijay -
I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I allocate the extension .docx to Word? There used to be a way of doing it, I think under "Preferences" but I can't seem to find it.
Still in the same location:
File > Get Info > Open with (select) > Change All (button) -
How to create file on application server?
how to create file on application server?
Hi,
The following program illustrates the creation of ifle in app server and reading the file from appli server:
DATA: ITAB LIKE vbakOCCURS 0 WITH HEADER LINE.
PARAMETERS: P_VBELN LIKE VBAP-VBELN.
START-OF-SELECTION.
SELECT *
FROM VBAP
INTO TABLE ITAB
WHERE VBELN = P_VBELN
PERFORM WRITE_DATA.
PERFORM READ_DATA.
*& Form WRITE_DATA
text
--> p1 text
<-- p2 text
FORM WRITE_DATA.
OPEN DATASET 'VBAP_DATA' FOR OUTPUT IN TEXT MODE.
LOOP AT ITAB.
TRANSFER ITAB TO 'VBAP_DATA'.
ENDLOOP.
CLOSE DATASET 'VBAP_DATA'.
CLEAR: ITAB, ITAB[].
ENDFORM. " WRITE_DATA
*& Form READ_DATA
text
--> p1 text
<-- p2 text
FORM READ_DATA.
OPEN DATASET 'VBAP_DATA' FOR INPUT IN TEXT MODE.
DO.
READ DATASET 'VBAP_DATA' INTO ITAB.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
APPEND ITAB.
ENDDO.
CLOSE DATASET 'VBAP_DATA'.
LOOP AT ITAB.
WRITE:/ ITAB-VBELN,
ITAB-POSNR.
ENDLOOP.
ENDFORM. " READ_DATA
If it is helpful rewards points
Regards
Pratap.M -
How to create database with ASM
HI
How to create database with ASM?
I install vmware workstation on window XP .On virtual machine install Linux 5 enterprise (Oracle) install.
I install oracle DB software only. Also make 3 disk for ASM .
1 -- When I want to install oracle DB with ASM . In this process candidate disks not show . Why?
How I can see disks ..
so I simple install oracle DB software only.
2 -- Now I want to create database with ASM by DBCA .
What process I will follow ?
Please guide me
ThanksHi
Steps to create database with ASM.
1.Install oracle binary with active CRS(For single node installation CRS is activated when you run root.sh) .
2.Create disk without file ssytem.
3.Assign disk to raw .
4.Change owner and permission to raw devices.
5.Configure ASM manually or USing DBCA.
Manually ASM Configuration.
a.Create initialization parameter file and password file.
b.Mandatory parameter is "instance_type=asm" as per your need configure rest of parameter like db_cache_size,large_pool_size,processes,remote_login_passwordfile,shared_pool_size etc..
c.To discover disk configure "asm_diskstring=/dev/raw/raw*"
Using DBCA to configure ASM.
1.In storage type section choose ASM.It will ask for password of sysdba in 10g.
2.ASM configuration window will open -> here it create disk group -> it shows all available ASM candidate disk automatical -> choose normal redundancy,external redundancy or high redundancy.
ASM disk also can be conbfigured with ASMLIB .
If ASM disk is configured you can start asm instance in nomount state and query to v$asm_disk to see all candidate disk.V$asm_disk only shows disk which is configured in asm_diskstrings.
Hope this will help U,
Tinku -
How to Create IView with the HTML Content
Hi Friends,
Give me steps how to create IView with the static html file.
Regards,
Lakshmi Prasad.Hello thr...
follow the below link for the required steps.
[KM Document iView|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/cf14bcd42911d5994400508b6b8b11/frameset.htm]
You need to upload the document onto KM. Then you will be able to create the KM Document iView.
Cheers!!!
Biroj Patro. -
How to creat javadoc with userdefine methods
hi
how to creat javadocs with user define class && methods ....
we did like that
javadocs filename..
we are not geting my oun methods..
pls help me
regards
kedarHi,
javadoc creates documentation for packages, not for single files - and you have to comment out every class, method, fields in a special form using javadoc tags - an example
package MyPackage;
import java.util.Vector;
* This class is only an example, how to create javadocs for a package.
public class MyClass extends Object {
* an example for a public field holding a Vector
public Vector aVector = new Vector(3,3);
* Constructs a MyClass instance.
public MyClass() { super(); }
* Constructs a MyClass instance using the passed Vector in the {@link aVector} field.
* @param vec a Vector, that replaces the Vector in field {@link aVector}
public MyClass(Vector vec) { super(); aVector = vec; }
* gets the Vector in field {@link aVector}.
* @return a Vector, held in field {@link aVector}
public Vector getVector() { return aVector; }
}// end of classNow you can create your javadoc from the classpath with "javadoc MyPackage"
hope, this helps
greetings Marsian -
How to share files with windows xp
how to share files with windows xp
stephenfromdagenaham wrote:
how to share files with windows xp
If you mean just moving files between a Mac and a PC with XP on it, get a USB flash drive, format it FAT32 (they usually come that way) and copy the files to that drive. -
How to create complaints with reference to ECC Billing document (CRM 7.0)
Hi experts!
I use ECC 6.0 and CRM 7.0.
I have to create CRM complaints (ZCLR - CLRP) with reference to ecc billing documents.
I read the following topics and help:
1. How to create complaints with referenceto ECC Billing document
2. Re: How can we transfer billing documents from SAP ERP to CRM 2007?
3. http://help.sap.com/saphelp_crm70/helpdata/en/46/029ba32e675c1ae10000000a1553f6/frameset.htm
Made these settings:
1. Define the Business object type
Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>Define Object types for Transaction reference
2. Assign Business Object Types to Transaction Types
Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>Assign Business Object Types to Transaction Types
3. Implement a BADI - CRM_COPY_BADI_EXTERN.Check Implementation CRM_COPY_BADI_BILLDO for more information on the coding for referencing the ECC Billing document.
Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>BAdI: Create Complaint with Reference to External Transaction.
but still do not know,
1) if I should pre-replicate billing documents into CRM ?
2) Or, the system uses the RFC to find these documents in ECC to create reference?
Please help me.
Best regards Kostya.
Edited by: Kostya Khveshchenik on Oct 20, 2010 2:09 PMnot resolved =(
Edited by: Kostya Khveshchenik on Nov 19, 2010 8:50 AM -
How to create Rules with Flex Field mapping in the bpm worklist
I Have created a flex field label and was able to map to the flex field attributes .
But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
Any pointers or suggestion is highly appreciated .Hi,
SE38 -> Enter program
Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
Now the selection screen will display with a button "Variant Attributes" at the top.
Click on that button.
In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
Now whenever you run the prgrm with this variant, date will be displayed by default.
Regards,
Subramanian -
How to create Matrix with Group report layout in xml
Hi,
i would be glad if anyone could tell me How to create Matrix with Group report layout in xml?
Here i am attaching the required design doc
below is the code
select COST_CMPNTCLS_CODE,
-- crd.RESOURCES,
NOMINAL_COST,
cmm.COST_MTHD_CODE,
-- crd.COST_TYPE_ID,
gps.period_code
-- ORGANIZATION_ID
from CM_RSRC_DTL crd,
gmf_period_statuses gps,
CM_MTHD_MST cmm,
CR_RSRC_MST crm,
CM_CMPT_MST ccm
where gps.period_id = crd.PERIOD_ID
and crd.cost_type_id = cmm.cost_type_id
and crd.RESOURCES = crm.RESOURCES
and crm.COST_CMPNTCLS_ID = ccm.COST_CMPNTCLS_ID
and gps.period_code in (:p_period1, :p_period2, :p_period3)
group by COST_CMPNTCLS_CODE, cmm.COST_MTHD_CODE, gps.period_code,NOMINAL_COST
order by 1,2,3,4.
The o/p of the report shoud be as given below
Period-1 Period-2 Period-3 Period-4
COMPONENT
LABOUR - DIRECT
Actual 1 2 3 4
Actual Rate 10 10 10 10
Standard Rate
Var%
DEPRICIATION-DIRECT
Actual
Actual Rate
Standard Rate
Var%
OVERHEAD - DIRECT
Actual
Actual Rate
Standard Rate
Var%
LABOUR - IN DIRECT
Actual
Actual Rate
Standard Rate
Var%
Thanks in advanceYour friend is obviously not a reliable source of HTML
information.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr.Ghost" <[email protected]> wrote in
message
news:f060vi$npp$[email protected]..
> One of my friends advised me to develop my whole site on
the layout mode
> as its
> better than the standard as he says
> but I couldnot make an ordinary table with rows and
columns in th layout
> mode
> is there any one who can tell me how to?
> thanx alot
> -
How to create PDF with Form Builder (T-Code:SPF) and how to use it?
How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >> Thank you very much!!
Edited by: Rob Burbank on Nov 11, 2010 1:04 PMPDF forms also known as Adobe From or Interactive Forms.
Check this link -
Interactive Forms
REG:ADOBE FORM
Adobe forms
Regards,
Amit -
How to create folder with sub folder ?
How to create folder with sub folder ?
Hi,
Questions. 17 / 17 unresolved -> very bad reputation
but ok - let's help anyway ...
1. create everything in Screen Painter
2. set FromPane and ToPane property correct.
example:
Items in MainFolder: FromPane & ToPane: 1 to 3
Items in SubFolderA (From 2 To 2) - SubFolderB (From 3 To 3)
shouldn't be that difficult
in your Code set oForm.PaneLevel when the user clicks on the Folder
lg David
Maybe you are looking for
-
I need help syncing my Ipad. Our family uses one apple account for multiple devices... how do I sync my ipad without getting all my daughters apps? How do I know which of my apps need to be synced to the computer?
-
Bought converter, cannot convert pdf to word, how do I get A. Help B money back
Not a technie need help, seems to convert pdf to a word file but can't edit it or add to it. Can't get help.
-
My ipod keeps on sync music to it that already there.
Hello there. A couple of time over the past few weeks my ipod has kept on sync random music to itself which I now is already on it when I connect it ti iTunes. Does anyone know what could be wrong. Thanks for your time.
-
More import troubles for a Lightroom amateur..
Hello one and all. I've been searching for a solution to my problem for a few days now and as of yet no luck. I'm quite inexperienced with all the ins and outs and dialogs of Lightroom; I'm a very basic user, import photos, organise into sets etc and
-
I have been noticing that all of my playlists (except 'limewire') have mysteriously vanished. The music is still stored on my iPod, but the lists have vanished. This happens after I use my ihome alarm clock. Would it help if I restored my iPod today?