Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I never programmed real objects. I only did some JFrame, Swing and a little bit of game Engines.
I've always wondered, is it possible to program real objects? like a web camera Board? if yes, then how? Especially a web camera, how is that possible?
I have a school project about web cameras and I thought on and said to myself, why not program the board to make it more advanced!
The main question is: Can I program real life objects (like a webcam), and how?
Yes you can. Unfortunately Java is not well suited for this task (for various reasons).
I would suggest you buy an arduino set and learn what it can do regarding controlling devices and receiving input from sensors, so you know more about what is possible.
I think you mean if it is possible to create a firmware or program embedded systems in Java. Answering this question is not so easy. If the producer of the "real object" provides you a way, how to create a programs for that real object, then yes, it is possible, but this is quite rare. You can't just buy the cheapest web camera and write your own firmware. Google up some programmable devices, that you can fiddle with or if you are just curious and this is you hobby, then make an application for a smartphone. Android devices are programmed in Java and you can play also with the camera.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new to android studio and would like to make an app that is similar to Goodreads. Can someone outline the key components of making an app like this. It would also be great if I could get some kind of template that I can use. I imagine some of amount of the user information will be kept on the device while some of the other larger sets of information will be kept on a database. What would the code connecting these two parts look like and what other important parts have I missed. Thanks in advance.
Android is a big world and doesn't exist an easy way, I mean all need time to be good at something, but well is not impossible I recommend you start with the Udacity courses
Basic Level:
Developing Android Apps by Google
Android Basics: Data Storage
Android Basics: Multiscreen Apps
Android Basics: Networking
and latter star to flow important people on android world
Android expert even follow in twitter
after that, you have a basic knowledge you can start on other courses https://caster.io/ is a good choice for learn MVP MVVM and other things
also study general programming and Software Engineering : Desing Parrents, Clean Code , Clean Arquiecture, SOLID principles, Versions systems like a Git.
well that my advice for you, good luck and never stop to learn!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm trying to develop an app with self-encryption for android.
The idea is following:
app should perform it functions (for example display "Hello world!") but...
the app code stored fully (partially) encrypted, i.e. "all what can be encrypted should be encrypted", so it can not be read by simple disassembling in a right way (i.e. it is literally encrypted (by AES for example) so it is represented to system as a number of random commands/symbols or smth. incorrect).
the "part" of the app should be decrypted before execution;
unused "parts" of the app should be decrypted after usage;
all operations mentioned above should be done by app itself.
So the core idea is self-encryption.
I know what is obfuscation so please don't mention it. The same thing with any side apps. I'm not going to spend all rest of my life in reverse-engineering))). So...
What is the right way to self-encrypt Android (JAVA) code?
How can be implemented the algorithm mentioned above?
Please provide any code snippets if u are able to do such things OR any links/information/articles/pseudocode/ideas
I thing the idea is great and really interesting, plus many people will be glad to know how to protect their apps.
[EDITED]
Thanks #Pace and #JimmyB for custom ClassLoader idea. I'll try to implement it. Also my thanks to #xalo which proposed metamorphic engine concept, I'll dig into this theme because i think it will satisfy my goal to a greater extent.
You shouldn't try to self-encrypt your app, it will add a lot of complexity for not so many protection.
In fact, hacker just have to reverse your decryption routine or to dump memory once the app is running.
Best way to protect against reversing as Java/Android app is obfuscation.
You can also look into remote metamorphic engine concept https://media.defcon.org/DEF%20CON%2024/DEF%20CON%2024%20presentations/DEFCON-24-Amro-Abdelgawad-The-Remote-Metamorphic-Engine.pdf
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to write various web browser games and apps to post to my own personal website, mostly for fun. I'm pretty familiar with Java and starting to get into C a little. As I understand it, I cant just run a common java application from a web browser but have to use the JApplet class or Applet class(or possibly others.) Can I use a JApplet to make fairly sophisticated games or is it really just for basic display images? I'm willing to learn something completely outside of Java.
I've been browsing the web but am a little overwhelmed in deciding how I should go about this. I would like to make games that are pretty simple graphically, but can remember things like a characters inventory.
Its really just a place to host different games and things I make. How should I go about this?
I hope this isn't too vague.
The only language you can guarantee within a web browser is JavaScript. You can write highly sophisticated games using JavaScript, so this shouldn't be a major problem - you can see an example written using Unreal Engine and JavaScript on YouTube.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i and my friends make same projects in java. We decided that create own framework. But i don't know how to follow technical way? how to customize our structure to every project? how to design template engine for example? Should we be independed from other frameworks (spring,struts,ejb etc.) ? we want to develop this structor.i am confused.can you advise me?
From my experience, if you're not rich, first thing you need is to identify a niche and have a client to pay for the first development.
After that, you'll have to develop a solution with some nice code architecture that allows you, at the same time, to deliver something nice and that can be customized for other similar clients.
Sometimes, you can even try to deal with your first client to be a partner, providing feedback and helping you getting other clients for you (sometimes, it's a win-win deal and they can help you selling your software if they have the right contacts).
At the same time, you need to have a vision of what your product can do. This mostly depends on your niche characteristics. What backend they use most? What OS? Do they want integration with any other product? Other platforms (mobile for example)?
This is not the developer job, but it's more like a marketing task to be assigned to a product manager, so my tips here are basically
build something that solves a problem for someone that can pay
learn about your niche
try to establish partnerships
find a good / experienced product manager
Good luck
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So I am currently working on designing a game that will be multiplayer and to prepare for this I have begun looking at hosting options. Besides hosting from my house on a dedicated server, the best and cheapest option I found was the use of VPS, more specifically Dotblock. Now dotblock has both linux based and windows based VPS but the windows one is a lot more expensive and so my question is whether or not I will run into problems if I code my server program in java on my Windows computer but then eventually host it on a linux based VPS?
As far as I know there should be no problems but if there will be, what are they, and if there are no problems what limitations will I have while coding? I understand I cannot reference anything Windows specific but will things such as time and tracking the mouse using LWJGL should change?
Thank you in advance and I hope you guys can help me out!
Overall it's relatively straightforward- that's one of the advantages of using java over other languages. I will offer you this advice; make sure you handle file paths in an environment-agnostic way. I've seen more than one error log on linux complaining that it can't reach 'c:\some\weird\path'.