SIO and Byte [] or [short]
HelloAnyone know if it is possible to send a byte [] array to the shareable method? (I tried but my back applet for a table 'Byte' 6F00 and works when I get back 'short')
I think that there is a protection to avoid attacks of malicious programs.
Get more information about it?
I work with JC 2.2.1 and TOP IM GX4 card.
Kind regards
Nico
You can only change a global buffer during a call SELF. The global buffer, only that you have access is the APDU buffer. Your SELF must take a buffer as a parameter (depending on the API JCRE calls) that you give an offset to copy to as second parameter. Then return the length of the data copied to your SELF and on the copy of the call data in the buffer to the required offset.
You are right that it is a security feature of the JCRE.
See you soon,.
Shane
Tags: Java
Similar Questions
-
I re install my cs4 on a new computer and I'm short on 4-digit serial number I checked using the tab information on photoshop from my old computer? Help, please
Hello
Please check the help below document:
Quickly find your serial number
In the case of the volume license product, please visit: site Web of Adobe License | Serial numbers | Orders | Accounts
Kind regards
Sheena
-
compression of image and convert between Bitmap and byte]
Hello
I'm trying to compress an image raw data(byte[]), and here's what I did:
Bitmap image = Bitmap.createBitmapFromBytes( _raw, 0, -1, 7 ); Bitmap scaledBitmap = new Bitmap(192, 144); image.scaleInto(scaledBitmap, Bitmap.FILTER_BILINEAR, Bitmap.SCALE_TO_FIT);
So now that I have a compressed Bitmap, scaledBitmap and I want the gross data(byte[]) extract from the scaledBitmap. I noticed there is a getRGB565 method, but I don't know how to use it. Can someone give me an example on how to extract the raw data? If it is not possible, is there another way to compress the _raw?
Thanks in advanc
I found the solution:
Bitmap image = Bitmap.createBitmapFromBytes( _raw, 0, -1, 8 ); int newWidth = 192; int newHeight = 144; Bitmap scaledBitmap = new Bitmap(newWidth, newHeight); image.scaleInto(scaledBitmap, Bitmap.FILTER_BILINEAR, Bitmap.SCALE_TO_FIT); PNGEncodedImage encoder = PNGEncodedImage.encode(scaledBitmap); byte[] resizedBytes = encoder.getData();
-
Parsing XHTML and byte array size limit
Hello
I would like to analyze incoming e-mails on the device to retrieve information. The email format is XHTML and I use a sax parser to extract data (API version 4.2.1).
InputStream is = new ByteArrayInputStream(xhtml.getBytes(encoding)); _document = docBuilder.parse(is);
It works fine, but it seems there is a limit of size on arrays of bytes (max count = 1999) because I had an "unexpected end of file exception" when my string is too long.
Does anyone know how to overcome this size limit?
Kind regards
Stone
By default, I think that just the first 2K of a value of data associated with an email is delivered to the device. You need to ask for more to get the rest, I think. Could it be the problem? Take a look in the knowledge base for articles on this subject, I do not remember having seen that addressed this and describes how to get the remaining data.
-
How to create a new catalog to ATG and integration with short?
I created the new catalog in BCC. I have deployed in production. How to integrate this new catalogue with short and do reflect in the site. Can someone see a few directions / according to the process for this context.
Problem is solved by running base-update from the command prompt to the side short. Catalog is now coming. Thank you
-
HP Pavilion 17 PC laptop: Hp Lap top - freezes wireless and computer crashes shortly after
I have HP Pvillion Notebook 17 - screen touch, bought in 2015 - a laptop computer for years.
In the past month the sign wireless turns off (and I'm offline) and the mouse freezes and laptop freezes forcing me to close the power button. Then on switching on, the laptop is fine with wireless - however, it does not last long and this happens at least several times during the day.
Can you please help me - why my wireless goes out suddenly, and also the mice and keyboards, including computer freezes? Any solution?
Help, please. Thank you.
Malar
Hi @Malar_Mano,
Thanks for the quick response.
Please check in your device manager and update the wireless network card driver, if it has a newer version on the link below:
Also please update the chipset driver.
This document can help too: HP PC - troubleshooting wireless network and Internet (Windows 10)
-
Freezing and disc hard short failure of dst
Hi, I have a g6-2213sa.
A week ago my laptop started to freeze almost instantly, I looked online and decided to use the built in refresh option. Unfortunately, this did not help, after using f2 tests, I discovered that I had a disk failure hard dust runs. What - what it means and how it influences my performance of laptops?
My computer has run out of warranty and I had for about a year and a half
Thanks in advance
This means that, at best, you have a hard disk that can not be trusted, caused by hardware failure
immediate backup recommended if you use your computer to keep the valuable data in it
as you already mentioned by 'freezes', it will make the negative impact the performance too
replacement will be best option, if you can
-
Problem of calculation calculator programmer mode
It seems a 'bit' hit and miss, sometimes it seems to give the right answer, and at other times, I get the result of-1. I guess it's my fault and error of my own operation. It would be good if it was always wrong or always correct.
Maybe it's a "bug"?
How to report a bug to microsoft?
http://www.Google.com/search?q=report+a+bug+to+Microsoft&RLS=com.Microsoft:-AU & ie = UTF-8 & oe = UTF-8 & startIndex = & startPage = 1Reports of incidents for Microsoft Technical Support
http://ampalliance.org/blogs/Microsoft/archive/2007/08/28/incident-reports-for-technical-support-from-Microsoft.aspxMicrosoft Product Support reports
http://www.Microsoft.com/downloads/details.aspx?FamilyId=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0&displaylang=enPerhaps also you can sit on an alternative for your calculations.
I see that it is causing you concerns from your previous post here, who also has no answer.
Question of the calculator of Windows 7 in programmer Mode
http://social.msdn.Microsoft.com/forums/en-us/isvwindowserrors/thread/1cc66cc9-E82C-4FCC-8e70-28b8f7c2ef41 -
Problem with shorts and arithmetic byte.
I'm doing some tests involving long, int, short, and byte.
lT, lS are long
He, here is are of type int.
sT, sA, sS are short
bT, bA, bS are bytes
Now I have some expressions of the form: xT = xT + xA
This compiles for long and int, but for the short and byte, I get an error of precision.
The problem is that arithmetic more small that int is made to int and then converted in byte or short as appropriate.
int convert to int.
int converts long and long long turns.
Thus, there is no problem with int and long.
However sT = sT + his causes a compilation related to the precision error.
This seems like a bug to me, because you might same conditions of overflow with long and whole (ints).
Is this a bug with our J2ME app or a "characteristic". If it's a feature, can someone point me to a link on the web where it says this...?
Thank you
-Donald
The + operator return type is int, unless one of the operands is long, in which case the return type is long. It's like that with JAVA in general, not just the bb or the micro-publishing.
byte b1 = 1, b2 = 2;
B1 = (byte) (b1 + b2); needs expressed
B1 = b2; didn't need castingYes, it's a bit silly. You get used to it after awhile.
Cheers, Barak.
-
How can I take short videos of my digital camera and combine them into one video.
I went to a class reunion and took several short videos and want to combine them into one so that I can make a DVD with photos and videos.
What is the format of the video clips? Are they compatible
with Windows Live Movie Maker and Windows DVD Maker?First... If you import video clips in Windows group
Creating DVD... Each clip becomes a scene (chapter).Or... you can import the group into Movie Maker add them
for a project and save it as a. WMV video file... cela will combine
in a single file.Also... Format Factory free software has a Video Joiner
option that will join files very quickly and can be
worth a try.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Format Factory
http://www.videohelp.com/tools/Format_Factory
(the 'direct link' is faster)
(the file you want to download is: > FFSetup270.zip<>
(FWIW... installation..., you can uncheck
('all' boxes on the last screen)First, you will need to decompress the file or just open the
Drag FFSetup270.exe out of the folder
and drop it on your desktop. To install left click.Next, after the download and installation of Format
Factory... you can open the program and
left click on the toolbar, the "Option" button and
"Select an output folder to" / apply / OK.
(this is where you find your files after they)
are converted)Once installed, open Format Factory... to the left
pane... Choose... Advanced / Video Joiner...
On the left, click on the button Add file and import your video
clips. Choose an output format and on the left, click OK.On the left, click on the Start button in the toolbar and your
video files will be combined.Good luck...
-
Need to build ID and Byte feature in hp elitebook 820 g2 (G4Z08EC #ABV)
shijarars wrote:
Need to build ID and Byte feature in hp elitebook 820 g2 (G4Z08EC #ABV)
EH... This isn't HP it is the HP user forum if you want that this information a little assuming that they give him you must contact HP Business support.
-
How to use Workbench created Thesaurus and keyword redirects in short 3.1.2?
Hello
I tried adding a few keywords redirects and entered the short Workbench from the thesaurus. After I add, I'm unable to see the keyword redirects or Thesaurus which is reflected in the dgraphs of Authoring/Live!
I assumed that entries established will automatically override/merge the dev studio files when I run an update of the base. (There is no keyword entry redirects and thesaurus, that I created to this point by the studio of dev..)
But, when I add them via the Developer studio and run an update of the base, I'm able to check their work in jspref as well as in the Production site. PFB the short version I use:
- PlatformServices - 6.1.3
- WorkBench - 3.1.2
- MDEX - 6.4.1
- CASE - 3.1.2
I want to know how I have created/managed keyword redirects and thesaurus.
I tried creating first entries redirects keyword thesaurus (in the workbench) and then runs an update of the base and vice versa, both approaches do not seem to work.
I used the OOTB ProductCatalogIntegration set up to deploy this application and I have not changed anything in the AppConfig.xml either.
Any help would be appreciated a lot because I tried to do this for a long time without any progress.
Please let me know if you have any ideas on how to solve this problem.
Thanks in advance,
Arjun
Hello
Take a look at the logs recently changed in %ENDECA_TOOLS_CONF%\logs - probably something not correctly set so the IFRC/Workbench does not fit properly.
Also, when you say Workbench 3.1.2 is there tools and frameworks 3.1.2 or stand-alone installation of Workbench (for implementations not - experience Manager)?
Michael
-
Make modest photo by adding the shirt and longer shorts please (edit help photo)
If I can use this photo on facebook can someone please make this modest photo? Maybe put a shirt on me to cover my belly and make my shorts a little longer? (Shorts a little above the knee) (my back and display of arms is correct) If you can try to help me I really appreciate it, I love this picture and want to put it on my facebook! His picture dark but I'll use a filter to brighten after that changes are made!
Thank you very much!
Liz
Does not seek to discourage the lizzi3lane but...
It is good enough for 'free '. It's such a poor quality image (low resolution JPG) and I have more pressing issues. She needs to learn Photoshop by Youtube or books or Adobe TV or webinars, classes or 1 million other places.
This forum is not for free photo editor for people, it's to help with the real problems of Photoshop and how to use Photoshop and tips to find and use the tools, etc..
Like you said "s t ', it should re - pose with the clothes on her request.
I did volunteer to make this correction for this photo because I had a little free time on my hands.
I hope that lizzi3lane like it.
Happy new year!
-
Search ATG Oracle to the CSC and Oracle short for trade
Hi all
I just wanted to know if we use Oracle ATG are looking for only one CSC and use Oracle short for trade Web sites.
If Oracle ATG research will come with CSC?
If we need to use the search engine Local pitcher what are the configurations is provided out of the box.
Please enlighten us on the part of the license for short and ATG research [Trade and SCC].
Sameer
Published by: sameerdh on June 3, 2012 21:22
Published by: sameerdh on June 3, 2012 21:23Hello
The recent version 10.1 of the application at the Service of Trade Center (CSC) comes with ATG search orders and profiles. 10.1 CSC uses repository search to search the catalog (not ATG search). In general, the range of products of trade Web ATG use ATG research version 10.1.
We research using the short search for future versions of the CSC, but these plans are still in the examination and discussion.
Thank you
Marie-ClaudeCSC product manager
-
Send bytes of card to the Terminal
Hi guys
When I studied the sendBytes.Length method in which card sends data to the terminal, I found that in each shipment, the card sends an ACK to the terminal as well. These acknowledgments are reported as below
private public static final byte ACK_NONE = (byte) 0.
private public static final byte ACK_INS = (byte) 1;
private public static final byte ACK_NOT_INS = (byte) 2;
An example of sending within the acknowledgement: t0SndData (this.buffer, bOff, the, (byte) 0);
t0SndData (byte [] paramArrayOfByte, short paramShort1, short paramShort2, paramByte bytes)
-this.buffer (paramArrayOfByte): buffer that contains the data being sent
-bOff (paramShort1): data sent in the buffer offset
-The (paramShort2): length of the data being sent
-0 (paramByte): ACK
~ ~ > My question: what are these acknowledgements? What is the meaning of each ACK above?
One of your concerns is always very appreciated ^^Hi guys.
I think that belongs to the basic rule for the sequence of the smart card.terminal---------------------------------------------------Card
Send the header (5 bytes) APDU---> card check these 5 bytes (CLA, INS, P1, P2, P3)
<---------------------------------------------------Card send="" ack="" to="" inform="" that="" smartcard="" understand="" the="">---------------------------------------------------Card>
<------------------data--------------------------->Terminal Forms data or card is INS and P3 (lc or the)
There are 3 situation: No ACK if no terminal need response card, or Lc or the
------------------data--------------------------->
have 2 kinds of ACK: ACK or ~ ACK (to send or receive each individual byte or send/receive all bytes).
If you understand me, man!
Maybe you are looking for
-
Laptop computer connecting to the printer connected to the Airport Extreme
I will soon buy a MacBook Pro laptop and I'm interested in the way in which I connect to the printer connected to my iMac through my Airport Extreme.
-
Cannot install some utilities for Portege 3500
I downloaded several utilities, but some of them I can't install it, click "setup.exe" and... nothing happened?What reason could be? Some utlities have more files than other zip files
-
How to turn off the microphone for sony hdr-pj260v
How to turn off the microphone for sony hdr-pj260v
-
Cannot scan computer with J611 of all-in-one HP Deskjet 3050 a
I use WIndows 7. I can scan from the all-in-one HP Deskjet 3050 a J611 assistance from the control panel. I was able to run a scan of the computer. But now when I select the icon on the desktop to my all-in-one HP Deskjet 3050 a J611, I see more scan
-
HP Pavilion 15 helps Microsoft Exchange
I bought a Hp Pavilion 15 of Staples. Even if the computer is amazing, my keyboard was slightly faulty. Part of the keyboard, containing approximately seven keys, was damaged from the day I bought it. These keys are not level with the rest of the key