Questions tagged by "java"


$0
 bounty
1
answers
How to increase Java HEAP SIZE? Getting java.lang.OutOfMemoryError: Java heap space
12 months ago • alex@qrid
How to increase Java HEAP SIZE? Getting this exception: java.lang.OutOfMemoryError: Java heap space at runtime when trying to execute this line of code: byte[] data = new byte[cols * rows * elemSize]; in the main thread (console application). Environment: Win32 (Windows XP SP3 32 bit, 4 Gb of physical RAM): java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b17) Java HotSpot(TM) Client VM (build 23. ...
Tags:
$0
 bounty
0
answers
getBytes() in Java returns different byte array than getBytes () to c #
2 years ago • lampego1@qrid
Hi everyone. I runs this Java code: String s = "73b53b86-eee3-44d2-82e3-be94d93deb5b"; byte[] result = s.getBytes(Charset.forName("UTF-8")); Length of the result var: 23 And runs this C# code: string s = "73b53b86-eee3-44d2-82e3-be94d93deb5b"; byte[] result = Encoding.UTF8.GetBytes(s); Length of the result var: 36 I can not understand what the problem is. Thanks
$0
 bounty
1
answers
Programmatically check if Android phone supports Trustonic TEE
3 years ago • alex
I am developing an Android app (Java) that relies on Trustonic TEE. How can I programmatically check if user's Android phone supports Trustonic TEE? Thanks!
$2
 bounty
0
answers
Digitally sign JSON API calls from Android App (Java) to ASP.NET Web API 2 (C#)
3 years ago • alex
We have an Android App written in Java that performs HTTPS calls to our mobile API server running ASP.NET Web API 2 (C#). Some API methods require authentication, and some methods are "open". Protecting "open" methods is not required, but we still want to protect those "open" calls with digital signatures. So Android app will have a Private Key to sign the "open" API calls with. The strategy of delivering that private key into the app is irre ...
1 - 4 of 4 items