Java
|
 |
 |
When posting your question please:- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-fou
|
|
|
|
 |
I am a student working on a project that requires Iris Recognition. I write java to some extent. So please I don't know if anybody can help with the Libraries in java I can use or the way I can go about with the Iris Recognition.
|
|
|
|
 |
You should at least do a search for yourself to see what libraries are available and whether they offer such a feature.
|
|
|
|
 |
The only one I have seen is the JIIRM.jar. Which is without documentation. Also OpenCV, but don't know the way to go about it. Any one who knows how about how to go about Iris Recognition using OpenCV and java?
modified 4-Nov-14 13:24pm.
|
|
|
|
 |
how to open the value of one page on click of other form
|
|
|
|
|
 |
Hey guys....i have a menu with 3 image view that i set them as my buttons....now i want to when i click on each of them will going to another activity....by now....when i click on Enter button i move to the other activity and i havnt any problem with that....but i want when i clickng on About button the application inspiring me to the other activity that i created before....i dont know hot to do it?i dont know how to use this with if or else if command....can some one help me?these are the bunch of my codes....thanks :
package my.book.namespace;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
public class TheLastOfUsActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
ImageView myimg = (ImageView) findViewById(R.id.enter);
myimg.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
startActivity(new Intent(TheLastOfUsActivity.this, one.class));
}
});
}
}
|
|
|
|
 |
This question really belongs in the Android forum[^]. However, your question is less than clear, please try and give some more detail.
|
|
|
|
 |
Hello guys
I hava an "Order list"
I need to Delete The First Number
public void delFirst()
{
}
public void delLast()
{
if (!isEmpty())
{
size--;
}
}
|
|
|
|
 |
none of that actually tells us out here what the underlying storage type you're using is - an array or a list - its pretty ambiguous, so the answer would vary
for a list, you could do
myList.remove(0);
for an array ? hmmm.. this would copy from the element [1] onwards in the oldArray to element [0] in a newArray - you then have to think about replacing oldArray with newArray .. and, Im not sure wether this copies elements or references, or even if it will compile
somedatatype[] newArray = new somedatatype[oldArray.length-1];
System.arraycopy(oldArray,1,newArray,0,oldArray.length-1);
.. but the gist in this case is create a temp array, copy your items to it shuffling 'up' by one element index, then move the data back to the original array
have fun (ps - I try not to code in java, so there could be holes big enough to drive a truck through in my suggestions)
|
|
|
|
|
 |
|
General
News
Suggestion
Question
Bug
Answer
Joke
Rant
Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.