Advertisement
BaSs_HaXoR

Android & JAVA (JNI) Development Notes

Nov 5th, 2014
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. #update 11/13/14
  6. Tried using JNI4Net to compile a Lib for PS3Lib. I did, successfully. I also could load the library in java. But for some reason get errors when declaring "CCAPI ps3 = new CCAPI();".
  7. Moving on to doing the JNI of PS3TMAPI C++ Manually...
  8.  
  9.  
  10. #update 11/9/14 @10:50 > PS3TMAPI C++ LIB FINISHED, MAKING JNI HEADER, and then testing it in JAVA APP
  11.  
  12.  
  13. #Update: TMAPI WILL WORK. Project continued...
  14.  
  15. ----CANT USE FOR CCAPI. It's not opensource, therefore JNI can't be used.
  16. EVERYTHING JNI:
  17. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  18. VisualGDB: https://netbeans.org/kb/docs/cnd/beginning-jni-linux.html (TRIAL -FUCK THAT)
  19.  
  20.  
  21. 11/13<: https://stackoverflow.com/questions/9283040/eclipse-android-project-how-to-reference-library-within-workspace
  22.  
  23. OLDER<:
  24. #) http://www.techjini.com/blog/android-ndk-an-introduction-how-to-work-with-ndk/
  25. https://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html
  26. http://www.cs.colostate.edu/helpdocs/eclipseCommLineArgs.html
  27. http://thebreakfastpost.com/2012/01/21/wrapping-a-c-library-with-jni-introduction/
  28. https://www.youtube.com/watch?v=tI0tFUjeffA&channel=UCQkDssNbBDr-Js2_NmQ4FVA
  29. https://stackoverflow.com/questions/3356200/using-java-to-wrap-over-c
  30. https://www.youtube.com/watch?v=67EHsHX7QY4&channel=myteksp
  31. https://www.youtube.com/results?search_query=Use+javah+tool+to+generate+a+C%2FC%2B%2B+
  32. https://www.youtube.com/watch?v=cqsj__ZVm-c&channel=NartSchinackow
  33. https://www.youtube.com/watch?v=TyzE0T6zOyE&channel=EmbarcaderoTechNet
  34. http://www.codeproject.com/Articles/378826/How-to-wrap-a-Csharp-library-for-use-in-Java
  35. http://www.codeproject.com/Articles/13093/C-method-calls-within-a-Java-program
  36. http://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html
  37. https://stackoverflow.com/questions/5618599/using-dlls-written-in-c-sharp-in-java-project
  38. http://jni4net.com/
  39. http://www.swig.org/Doc2.0/Java.html
  40. :>
  41. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  42.  
  43.  
  44. adb devices
  45. adb install yourapp.apk
  46. adb install -r yourapp.apk
  47.  
  48.  
  49.  
  50. SOCKETS:
  51. https://stackoverflow.com/questions/16305121/android-and-pc-socket-connection
  52. http://android-er.blogspot.com/2014/02/android-sercerclient-example-client.html
  53. https://sites.google.com/site/androidexercise3/download/AndroidClient_20140209a.zip?attredirects=0
  54. https://stackoverflow.com/questions/13534935/adb-uninstall-is-failed/21634276#21634276
  55. UPDATED VERSION: http://android-er.blogspot.com/2014/08/bi-directional-communication-between.html
  56. https://stackoverflow.com/questions/18810696/android-socket-communication-between-pc-and-phone-over-wifi
  57. Nodjs Communication:
  58. http://android-er.blogspot.com/2014/03/nodejs-server-communicate-with-android.html
  59.  
  60.  
  61.  
  62. https://sites.google.com/site/androidexercise2/download/AndroidClient_20140806a.zip?attredirects=0
  63. https://sites.google.com/site/androidexercise2/download/AndroidServerSocket_20140806a.zip?attredirects=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement