Click here to Skip to main content
15,908,455 members
Home / Discussions / Java
   

Java

 
GeneralRe: Hardware Pin
stib_markc30-Sep-12 19:37
stib_markc30-Sep-12 19:37 
GeneralRe: Hardware Pin
Richard MacCutchan30-Sep-12 22:07
mveRichard MacCutchan30-Sep-12 22:07 
AnswerRe: Hardware Pin
Joan M28-Sep-12 23:57
professionalJoan M28-Sep-12 23:57 
GeneralRe: Hardware Pin
stib_markc30-Sep-12 19:39
stib_markc30-Sep-12 19:39 
AnswerRe: Hardware Pin
TorstenH.29-Sep-12 2:18
TorstenH.29-Sep-12 2:18 
AnswerRe: Hardware Pin
pasztorpisti30-Sep-12 0:16
pasztorpisti30-Sep-12 0:16 
GeneralRe: Hardware Pin
stib_markc30-Sep-12 19:49
stib_markc30-Sep-12 19:49 
GeneralRe: Hardware Pin
pasztorpisti30-Sep-12 23:04
pasztorpisti30-Sep-12 23:04 
You can declare a static or instance method in java and by applying the native keyword on it you indicate for the compiler that you will provide the implementation with native code, and not in java. Then you have to write a DLL (or more DLLs) that exports the native function(s) with the appropriate names. When you java program starts you have to load the needed DLLs with System.LoadLibrary() before you call the native methods. Example: http://www.javaworld.com/javatips/jw-javatip23.html[^]

I would note that you should always try to write as much code in crossplatform java as you can and don't use native methods if you can avoid them because platform dependent stuff defeats the purpose of java.
Questionsoduku Pin
Member 946247626-Sep-12 11:40
Member 946247626-Sep-12 11:40 
AnswerRe: soduku Pin
mohitjain0121-Oct-12 7:23
mohitjain0121-Oct-12 7:23 
GeneralRe: syp2486 Pin
spy248614-Oct-12 17:03
spy248614-Oct-12 17:03 
QuestionHow to pass a value from Java Applet code to HTML page Pin
Prathviraj08026-Sep-12 4:33
Prathviraj08026-Sep-12 4:33 
QuestionDecoding mp3 in java Pin
Member 945946325-Sep-12 15:54
Member 945946325-Sep-12 15:54 
AnswerRe: Decoding mp3 in java Pin
Richard MacCutchan25-Sep-12 22:12
mveRichard MacCutchan25-Sep-12 22:12 
GeneralRe: Decoding mp3 in java Pin
Member 945946325-Sep-12 22:49
Member 945946325-Sep-12 22:49 
QuestionLinux console and web services Pin
Member 835348724-Sep-12 22:56
Member 835348724-Sep-12 22:56 
AnswerRe: Linux console and web services Pin
jschell25-Sep-12 8:37
jschell25-Sep-12 8:37 
Questionbegin java Pin
uttam kukadiya22-Sep-12 10:00
uttam kukadiya22-Sep-12 10:00 
AnswerCross post Pin
Wes Aday22-Sep-12 10:21
professionalWes Aday22-Sep-12 10:21 
AnswerRe: begin java Pin
ravi kumbhkar23-Sep-12 20:12
ravi kumbhkar23-Sep-12 20:12 
AnswerRe: begin java Pin
Amarnath S24-Sep-12 5:48
professionalAmarnath S24-Sep-12 5:48 
AnswerRe: begin java Pin
April Fans22-Dec-12 21:26
April Fans22-Dec-12 21:26 
QuestionData grid view Pin
Member 944920221-Sep-12 20:09
Member 944920221-Sep-12 20:09 
AnswerRe: Data grid view Pin
Richard MacCutchan21-Sep-12 21:17
mveRichard MacCutchan21-Sep-12 21:17 
QuestionMulti-part data in jsp forms Pin
Sivaramakrishna.p21-Sep-12 7:11
Sivaramakrishna.p21-Sep-12 7:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.