Giter Club home page Giter Club logo

bukudroid's Introduction

Warnings

  1. Don't delete default.properties in the eclipse project folder.

Tips for Setup the Projects

Git

Clone the Repo to Local

git clone [email protected]:telgniw/BukuDroid.git

Commit Local Changes

git add files_to_be_commited
git commit -m "Comment for this commit."

Push Local Commits to Repo

git push origin master

Eclipse

Import Eclipse Project

File -> Import -> Existing Projects into Workspace -> Select a Folder

Clean Eclipse Project

Project -> Clean -> Clean all projects.

Setup Project Dependency

  1. Import all projects under the folder /Mobile.
  2. Right-Click on the Projects -> Preferences -> Android: Ensure Is Library is checked.
  • ActionBar
  • FacebookAPI
  • ViewPagerIndicator
  • ZXing
  1. BukuDroid -> Preferences -> Android: Add the above Projects to Library.
  2. Clean all projects if still having errors.

bukudroid's People

Contributors

ianchou avatar anfranion avatar

Stargazers

Jason Huang avatar

Watchers

Yi Huang avatar  avatar ianchou avatar

bukudroid's Issues

camera crashed

I got camera crashed several times today...
The message is like this:
"Sorry, the Android camera encountered a problem. You may need to restart the device."
I need to restart my phone to fix it.

I'm not sure if it is because my search has bugs...
After I fixed all known bugs, it seems everything is ok now.
But I'm worry that it will happen again after a while....

some related information...
http://forum.xda-developers.com/showthread.php?t=1191241

If anyone got similar situation, please tell me > <

Facebook Session Expired

Although the Facebook account is checked, after a period session will become invalid and I'm not able to see friends and streams.

db crash while reopen + no friends' stream when execute it at the first time

I got runtime error while I reopened the app after I pressed 'back' or 'home.'
The messages are as follows:

01-05 18:51:57.850: E/AndroidRuntime(28526): FATAL EXCEPTION: main
01-05 18:51:57.850: E/AndroidRuntime(28526): java.lang.RuntimeException: Unable to resume activity {org.csie.mpp.buku/org.csie.mpp.buku.MainActivity}: java.lang.IllegalStateException: database not open
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2124)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2139)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1672)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.os.Handler.dispatchMessage(Handler.java:99)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.os.Looper.loop(Looper.java:130)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread.main(ActivityThread.java:3691)
01-05 18:51:57.850: E/AndroidRuntime(28526): at java.lang.reflect.Method.invokeNative(Native Method)
01-05 18:51:57.850: E/AndroidRuntime(28526): at java.lang.reflect.Method.invoke(Method.java:507)
01-05 18:51:57.850: E/AndroidRuntime(28526): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
01-05 18:51:57.850: E/AndroidRuntime(28526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
01-05 18:51:57.850: E/AndroidRuntime(28526): at dalvik.system.NativeStart.main(Native Method)
01-05 18:51:57.850: E/AndroidRuntime(28526): Caused by: java.lang.IllegalStateException: database not open
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1371)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1330)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1412)
01-05 18:51:57.850: E/AndroidRuntime(28526): at org.csie.mpp.buku.db.Entry$Schema.count(Entry.java:161)
01-05 18:51:57.850: E/AndroidRuntime(28526): at org.csie.mpp.buku.db.BookEntry.count(BookEntry.java:64)
01-05 18:51:57.850: E/AndroidRuntime(28526): at org.csie.mpp.buku.view.BookshelfManager.updateView(BookshelfManager.java:196)
01-05 18:51:57.850: E/AndroidRuntime(28526): at org.csie.mpp.buku.view.ViewManager.updateAll(ViewManager.java:26)
01-05 18:51:57.850: E/AndroidRuntime(28526): at org.csie.mpp.buku.MainActivity.onResume(MainActivity.java:118)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1153)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.Activity.performResume(Activity.java:3874)
01-05 18:51:57.850: E/AndroidRuntime(28526): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2114)
01-05 18:51:57.850: E/AndroidRuntime(28526): ... 12 more

Besides, after I cleared my database and execute the app, I logined to Facebook and found no friends' stream.
I guessed it's because friend lists are built after stream is showed.

a bug about search bar

each search will create one more mainActivity.
you con try to repeat search something then exit the search result page with back button, then you need to combo your back button to exit the app.
BTW, maybe you can consider to show some messages when there is no matching search result.

Thanks

Book Info lags

Should fetch info in background (asynch). AsyncTask not working as expected.

Book Review Display

Double-quotes will be displayed like "this". Check this book 9789578323643 for an example.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.