c11z / tweetastic-android

A simple twitter client for android.
0 stars 0 forks source link

[Yahoo Android] Review Project 3 - Twitter App Client #1

Open c11z opened 10 years ago

c11z commented 10 years ago

CC @nesquena @timothy1ee

Private repo cuz of all the twitter creds. This is for Cory Dominguez, I offer you a early preview, everything is complete with the exception of the tweet getting immediately added to the feed post posting the update. I intend to mix in some sql goodness before it is done but I thought I would touch this issue off.

User Stories:

nesquena commented 10 years ago

:+1: Nice work overall. A few thoughts:

I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.

Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.

c11z commented 10 years ago

Hey @nesquena @timothy1ee

I gave it an honest try to get the active android sql working, currently I am mired in foreign key constraint exception hell. There just isn't enough documentation and I suspect that active android does not support this much abstraction. If you are inclined you can check it out, I have it in a branch called sqlite.

c11z commented 10 years ago

Shit I just figured it out, if you muck up your models and run the app then you establish the tables and they don't change when you edit the models. I ended up deleting the emulator and making a new one and now everything works fine. Huzzah. This might be worth going in your common problems section.

nesquena commented 10 years ago

@corydominguez Does problem #4 capture the issue well?

Problem #4: Using ActiveAndroid, got an error saying that there is no such table. This is because ActiveAndroid only generates the schema if there is no existing database file. In order to "regenerate" the schema after creating a new model, the easiest way is to uninstall the app from the emulator and allow it to be fully re-installed. This is because this clears the database file and triggers ActiveAndroid to recreate the tables based on the annotated models in the project.