Answers.Body: <p>@Glorfindel is absolutely correct (+1). To get you started, do this:</p>
  
  <ol>
  <li>Read UCI specification (<a href="http://wbec-ridderkerk.nl/html/UCIProtocol.html" rel="nofollow noreferrer">http://wbec-ridderkerk.nl/html/UCIProtocol.html</a>)</li>
  <li>Download Droidfish source and check how it interacts with the engine</li>
  <li>Learn how to compile Stockfish with JNI</li>
  <li>Create an empty Android project. Send the engine <code>isready</code>. Do you get anything back from Stockfish?</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-03T15:05:15.487Z
Answers.LastActivityDate: 2016-12-03T15:05:15.487Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>Stockfish is written in C++, so in order to call it from your Android app (which I presume is written in Java), you need to call its library via JNI (Java Native Interface). This is a rather technical task better suited for Stack Overflow; <a href="https://stackoverflow.com/questions/9007693/call-c-library-from-java-in-android">here</a> is a question to get started.</p>
  
  <p>If you encounter specific problems while doing this, you can ask a question there; in it's current form it is way too broad. Afterwards, you might need to find out which <em>methods</em> to call (e.g. to evaluate a certain position, or to suggest the best move). That's something we'd be able to answer here, provided that you have a very specific question.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-04T05:02:22.927Z
Answers.Text: Um.. I want guidline How to use library
  eg. Google provide how to use google map, Blutooth lib... 
  Please give me basic guidline
Answers.UserDisplayName: 조남진
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-04T05:12:21.247Z
Answers.Text: Do you give me engine Importing - guidline?
Answers.UserDisplayName: 조남진
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-04T13:47:19.157Z
Answers.Text: @조남진 sorry, that would be too long for this format. If you need a  step-by-step instruction on how to do this specific task, you will have a very hard time creating a properly functioning mobile app anyway.
Answers.UserDisplayName: Glorfindel
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-04T23:59:11.927Z
Answers.Text: @조남진 My answer is the guideline. If you can't follow my suggestions, you are not going to able to do anything.
Answers.UserDisplayName: SmallChess
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-05T10:15:15.247Z
Answers.Text: @StudentT yes, we have it pretty much covered between our two answers. If that doesn't help the OP, I'm voting to close as too broad.
Answers.UserDisplayName: Glorfindel
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-03T14:34:17.417Z
Answers.LastActivityDate: 2016-12-03T14:34:17.417Z
Answers.LastEditDate: 2017-05-23T12:37:05.403Z
Answers.UserDisplayName: Glorfindel
Body: <p>I want to implement a chess app for Android with Stockfish.</p>
  
  <p>I downloaded the Stockfish binary source code, but I don't know how to use engine </p>
  
  <p>Please tell me how to use Stockfish engine for programming.</p>
  
Tags: <engines><programming><android>
Title: Implement a chess app for Android with Stockfish
ThreadText: # Implement a chess app for Android with Stockfish
  
  (Asked by: username_0 on 2016-12-03)
  
  I want to implement a chess app for Android with Stockfish.
  
  I downloaded the Stockfish binary source code, but I don't know how to use engine
  
  Please tell me how to use Stockfish engine for programming.
  
  **Tags:** engines, programming, android
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-12-03. Score: 3
  
  @username_2 is absolutely correct (+1). To get you started, do this:
  
  1. Read UCI specification (<http://wbec-ridderkerk.nl/html/UCIProtocol.html>)
  2. Download Droidfish source and check how it interacts with the engine
  3. Learn how to compile Stockfish with JNI
  4. Create an empty Android project. Send the engine `isready`. Do you get anything back from Stockfish?
  
  
  ---
  
  ### Answer by username_2 on 2016-12-03. Score: 2
  
  Stockfish is written in C++, so in order to call it from your Android app (which I presume is written in Java), you need to call its library via JNI (Java Native Interface). This is a rather technical task better suited for Stack Overflow; [here](https://stackoverflow.com/questions/9007693/call-c-library-from-java-in-android) is a question to get started.
  
  If you encounter specific problems while doing this, you can ask a question there; in it's current form it is way too broad. Afterwards, you might need to find out which *methods* to call (e.g. to evaluate a certain position, or to suggest the best move). That's something we'd be able to answer here, provided that you have a very specific question.
  
  > **Comments:**
  > **username_0**: Um.. I want guidline How to use library eg. Google provide how to use google map, Blutooth lib...  Please give me basic guidline  
  > **username_0**: Do you give me engine Importing - guidline?  
  > **username_2**: @username_0 sorry, that would be too long for this format. If you need a  step-by-step instruction on how to do this specific task, you will have a very hard time creating a properly functioning mobile app anyway.  
  > **username_1**: @username_0 My answer is the guideline. If you can't follow my suggestions, you are not going to able to do anything.  
  > **username_2**: @StudentT yes, we have it pretty much covered between our two answers. If that doesn't help the OP, I'm voting to close as too broad.  
  
  ---
  
  