Android-Bootcamp
CodePath Android Bootcamp
Attending CodePath Android Bootcamp. This repository contains all the projects that I did in the bootcamp. See Codepath for details.
CodePath Android Bootcamp Week 3 - Twitter Client
Twitter Client is an android app that allows a user to view his Twitter timeline and post a new tweet. The app utilizes Twitter REST API.
Time spent: 40 hours spent in total
User Stories
The following required functionality is completed:
- [x] User can sign in to Twitter using OAuth login
- [x] User can view tweets from their home timeline
- [x] User can compose and post a new tweet
- [x] User can click a “Compose” icon in the Action Bar on the top right
- [x] User can then enter a new tweet and post this to twitter
- [x] User is taken back to home timeline with new tweet visible in timeline
- [x] User can switch between Timeline and Mention views using tabs.
- [x] User can navigate to view their own profile
- [x] User can click on the profile image in any tweet to see another user's profile.
The following optional features are implemented:
- [x] User can see a counter with total number of characters left for tweet on compose tweet page
- [x] User can click a link within a tweet body on tweet details view. The click will launch the web browser with relevant page opened.
- [x] User can pull down to refresh tweets timeline
- [x] User can open the twitter app offline and see last loaded tweets. Persisted in SQLite tweets are refreshed on every application launch. While "live data" is displayed when app can get it from Twitter API, it is also saved for use in offline mode.
- [ ] User can tap a tweet to open a detailed tweet view
- [x] User can select "reply" from detail view to respond to a tweet
- [x] Improve the user interface and theme the app to feel "twitter branded"
- [x] User can "reply" to any tweet on their home timeline
The following bonus features are implemented:
- [x] User can see embedded image media within the tweet detail view
- [ ] Compose tweet functionality is build using modal overlay
The following additional features are implemented:
- [x] Add animations between different activities
- [x] Media is embedded in timeline
- [x] Use custom actionbar to make app look like official twitter app
- [x] User can follow people from timeline itself
- [x] User can retweet from timeline
- [x] User can mark tweet as favorite from timeline
- [x] Display user's images from gallery in compose tweet view.
- [x] User can tweet image from gallery or camera
- [x] Use foursquare to get list of locations and allow user to add location to tweet.
Video Walkthrough
Here's a walkthrough of implemented user stories:
GIF created with LiceCap.
Open-source libraries used
- Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
- Picasso - Image loading and caching library for Android
Android Bootcamp Week 2 - Google Image search application
This is an android demo application for searching images using google image search API. See Codepath Week 2 for details.
Total time spent: 12 hrs
Completed stories:
- User can enter a search query that will display a grid of image results from the Google Image API.
- User can click on "settings" which allows selection of advanced search options to filter results
- User can configure advanced search filters such as Size, Color filter, Type and Site
- User can tap on any image in results to see the image full-screen
- User can scroll down “infinitely” to continue loading more image results (up to 8 pages)
- Advanced: Use the ActionBar SearchView or custom layout as the query box instead of an EditText
- Advanced: User can share an image to their friends or email it to themselves
- Advanced: Replace Filter Settings Activity with a lightweight modal overlay
- Advanced: Improve the user interface and experiment with image assets and/or styling and coloring
- Bonus: Use the StaggeredGridView to display improve the grid of image results
- Bonus: User can zoom or pan images displayed in full-screen detail view
- Extra: Allow user to open image web page in browser
Walkthrough of all user Stories:
Android Bootcamp Week 1 - Instagram popular photos application
This is an android demo application for displaying the popular photos from Instagram. See Codepath Week 1 for details.
Total time spent: 16 hrs
Completed Stories:
- User can scroll through current popular photos from Instagram
- For each photo displayed, user can see the Graphic, Caption, Username, relative timestamp, like count, user profile image
- Advanced: Add pull-to-refresh for popular stream with SwipeRefreshLayout
- Advanced: Show latest comment for each photo (bonus: show last 2 comments)
- Advanced: Display each photo with the same style and proportions as the real Instagram 6. Advanced: Display each user profile image using a RoundedImageView
- Advanced: Display a nice default placeholder graphic for each image during loading
- Advanced: Improve the user interface through styling and coloring
- Bonus: Allow user to view all comments for an image within a separate activity or dialog fragment
- Bonus: Allow video posts to be played in full-screen using the VideoView
- Extra: Infinite Scroll
- Extra: Allow opening images in seperate activity and add zoom etc.
- Extra: Allow sharing images from Photo Activity.
Walkthrough of all user Stories:
License
Copyright 2015 - Varun Gupta
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.