|
C#
string keystr = "0123456789abcdef0123456789abcdef"; string plainText = "www.bouncycastle.org"; RijndaelManaged crypto = new RijndaelManaged(); crypto.KeySize = 128; crypto.Mode = CipherMode.CBC; crypto.Padding = PaddingMode.PKCS7; crypto.Key = keystr...
Started by Kumar Gashish on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Rijndael, aka "the....
I am not savvy enough in C# to help you directly, but I can give some information .
In the Java code, you do not use the IV .
I think the algorithm is built in slighty different way and/or the salt key is interpered in different way .
|
|
Why does Sun call their VM for CDC devices C Virtual Machine ? Isn't that confusing. I mean it appears that is a virtual machine for the C language, not java. On the mobility faq sun says:
FAQ question:
What is the difference between a Java virtual machine...
Started by Marcos Roriz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In other words, it is a JVM....
Connected Device Configuration.
AFAIK, it stands for CDC; i.e.
The C in CVM does not stand for the C programming language .
You are missing the point.
I mean it appears that is a virtual machine for the C language, not java .
|
|
Recently I started developing a J2ME app prototype. I noticed how difficult it is to develop a good looking UI. Consider developing an app in J2ME for booking flights interacting with webservice.
A website to book flights will be easy to develop with ...
Started by Bhushan on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT: also, a j2me features (address book, calendar), "call....
So if you can design a good app, it's definitely worth it .
Just think of the google apps cell phone browser.
There are many great j2me apps that (need to) talk to webservices.
|
Ask your Facebook Friends
|
Is it possible to write a mobile application with J2ME and whenever we want to implement a functionality not offered by J2ME call native mobile API ? (kind of like what is done with .NET, whenever you need something not provided, you just call the Win...
Started by Attilah on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Since most J2ME APIs have a corresponding Symbian OS C++ API, what Symbian did understand the threading model....
While JNI is not officially supported in J2ME, the Symbian implementation of J2ME obviously uses something very similar.
|
|
Hi,
What logging solutions exist for j2me?
I'm specifically interested in easily excluding logging for "release" version, to have a smaller package & memory footprint.
Started by Asaf R on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
It has support for logging to console, file about it on library level (I'm working on mapping J2ME library) I have, probably, found a better be used by the logging call....
It is a small logging library for Java ME (J2ME) like Log4j.
|
|
What is the best way to play audio utilzing the J2ME Media libary? For example, should I make use of the MMAPI or should I just use the Midlet's platformRequest(String s) method?
Answer Snippets (Read the full thread at stackoverflow):
That's a familiar theme with J2ME - since implementations can vary widely and the MMAPI usually leverages some.
|
|
I need my J2ME app to run in the background and still allow the user to use his mobile without problem. the app still needs to process some events in the background.
I would also like to allow the user to stop the app if he wants to.
How can I accomplish...
Started by Attilah on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If its a preload J2ME app then you can work with the handset manufacturer and obtain certain jad.
Normaly at the moment your midlet is moved to background the paused .
In the j2me standard i think.
|
|
Hello, do anyone know some C or C++ interpreter for cell phones? I have Nokia 5310 and found some Basic interpreter ( CellBasic ) and want to develop in C or C++ on the go. Or, does anybody knows Scheme J2ME intepreter?
Started by Garret Raziel on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
;^)
You don't want to do a C interpreter in J2ME unless you first compile are not feasible with J2ME CLDC..
I can only shiver when thinking how slow it would get if it had to interpret another language .
j2me is notoriously slow.
|
|
Can a J2ME app be triggered by a message from a remote web server. I want to perform a task at the client mobile phone as soon as the J2ME app running on it receives this message. I have read of HTTP connection, however what I understand about it is a...
Started by Kevin Boyd on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Call.
But it could work only if your server could deliver data open socket connection and implement "Hide" (or "Minimize") functionality in your app .
Socket push are supported by j2me.
|
|
Hi , i have a written a J2ME application which uses Bluetooth and search a file within the peer mobile and download it . I would like to make my application run in background , when ever i get a call , or message and later resume after few seconds , Has...
Started by Srinivas Iyer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To set a j2me app to the background use the following in your midlet class:
Display.getDisplay.
|