genenakagaki / Ayudanki

Android app for memorizing words
0 stars 0 forks source link

No issue #1

Open baycemrak opened 7 years ago

baycemrak commented 7 years ago

Hi there,

I really need your help! For my senior project at school, we build an application which is smilar to yours but we lost the files, the hard driver has burned and all files has gone. So I cloned your application and tried to build it and I did. I changed the login screen and some other stuff but I need to make it easier. I want to remove the drawer, Don't need to use another quizset, it's enough for just one class. I want to add all quizset to just one class which is default as you named it. Your project is very usefull and works very well. It's too much for our project I need to simplfy it and also I want to store the terms and definions on firebase. Could you please help us? We have to deliver the project in a week, unless we can't graduate.

Thanks to you and We're looking for your reply.

genenakagaki commented 7 years ago

Hi!

I'm sorry all your files are gone. I think you can work around with the small tweaks. For Firebase, you can take a look at my SQLiteOpenHelper class to see the structure of the database and recreate it in Firebase. If you have more specific questions I'll try my best to help you.

Good luck!

baycemrak commented 7 years ago

Thank you so much for your attention. The lost files was my first app, I mean I am newby at mobile. Your code is very well structured. I deleted somethings about drawer but now it doesn't work anymore. It needs to open with Default class and there shouldn't be any way to add a new class. All quizset should be in Default class but I didn't.

I looked your QuizDbHelper and understood a bit but firebase uses Json tree for database, I coludn't find a way to implement it to firebase. It's going to be so mess

baycemrak commented 7 years ago

Actually I deleted the drawer but I want to delete everything about QuizSet, there should be no any set of quizes, just quiz names and the cards that is inside of it. But I can't delete them, they're everywhere and used a lot, I got errors when I delete them. And firebase is an obbligation but didn't find a way to sync SQLite with firebase

genenakagaki commented 7 years ago

My app handles data with the Content Provider so if you replace the code that uses the Content Provider to data in Firebase, maybe it will work. If I remember correctly I put most of the code that accesses database with Content Provider in one of the class under the "data" package. The code with getContentResolver is the part where I am accessing the database.

Personally, I think starting from scratch and referencing my app code for parts you don't know how to do is going to be better. Since the database in my app uses 3 tables. I think replacing this altogether with Firebase at once is very hard to do, especially if you never done it before. If you start from scratch you can work with one table at a time and test each one. This will make a more steady progress and probably easier for you.