-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat Android Java tutorial #356
base: main
Are you sure you want to change the base?
Conversation
Your Render PR Server URL is https://appwrite-pr-356.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-clbtt77t6quc73c1o7g0. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
# Initialize Android Studio project {% #initialize-android-studio-project %} | ||
|
||
Open Android Studio and click **New Project** to create a new project. Select **Empty Views Activity**, and click **Next**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update screenshot, this is outdated version of AS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@letsintegreat Oh no you don't have to, I'll be making these changes :)
|
||
``` | ||
dependencies { | ||
implementation 'io.appwrite:sdk-for-android:4.0.0' // Appwrite dependency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Syntax needs update
Create **Appwrite.java** in the same directory that contains **MainActivity.java**, this will handle our app's interaction with Appwrite server. Replace `[project-id]` with your new project's id, which can be found beside your project's name in overview tab. | ||
|
||
```java | ||
public class Appwrite { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am just providing the entire classes and methods and not caring about package names, imports, etc. That is not an issue because of modern text editors, and I believe they would just add to the noise in our tutorial. LMK if you feel otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@letsintegreat I'll be taking this PR forward :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gewenyu99 oh okay. Is there anything else I need to do on my end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gewenyu99 oh okay. Is there anything else I need to do on my end?
Nope, we'll contact you soon about swag 😉
What does this PR do?
Adds android java tutorial from @letsintegreat
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)