New Baka-Tsuki Android App: Development

Forum for volunteer developers working on Baka-Tsuki related applications (Baka-Reader, BTprince, etc).

Moderators: thelastguardian, Fringe Security Bureau, Senior Editors, Senior Translators, Alt. Language Translator/Editor, Executive Council, Project Translators, Project Editors

Post Reply
Bloodscythe
Haruhiist Disciple
Posts: 63
Joined: Fri Dec 14, 2012 1:50 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Bloodscythe »

There's still a black bar, hmmm......
Well, anyway, could you move the next/previous to the bottom panel? I'm used to it being there. Now I always press invert colors and it's kind of annoying.
It seems that if you restore novel database, the images won't pop up anymore. If I refresh a chapter, the images come back so, yeah, I'm guessing it's the restoration thing.
Azyrion
Kyonite - The Haruhi Pacifier
Posts: 144
Joined: Sat Dec 01, 2012 12:27 pm
Favourite Light Novel: Ahouka!
Location: Germany

Re: New Baka-Tsuki Android App: Development

Post by Azyrion »

Erakk wrote:@Notifications issue: Is being looked at.
We are considering using a internal list like the download list to show updates, and only show ONE notification no matter how many updates.
Any changes on Wiki revision date will be counted as update, even if there is no content changes. This is from Wiki API. Btw, what is the affected novel name? Maybe you can check on the History in the website.[/quote]
checked it after another update run: chrome shelled regios vol8 untouched. The last time was november 26 but I still got the notification. Will see if it is the same with other novels if the dont crash after the update.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Bloodscythe wrote:There's still a black bar, hmmm......
Well, anyway, could you move the next/previous to the bottom panel? I'm used to it being there. Now I always press invert colors and it's kind of annoying.
It seems that if you restore novel database, the images won't pop up anymore. If I refresh a chapter, the images come back so, yeah, I'm guessing it's the restoration thing.
Adding the Go Top / Go Bottom options took space on the menu. I din't remove them, Android just limited the space and hid the next/Previous from the menu.
Why it hid? In android 3+ the actionBars n=can show some Menu buttons (thats what we did with Next/Previous.

About novel database: It currently saves only the database itself. I could backup the images... (well, they are big) i am thinking of creating a separate button to backup/restore the images maybe.

I gotta think of a way to implement the Go Top/Bottom without taking more Menu space...

The black on the Tabs i will take a look, but tomorrow. I am going to sleep and take a look at possible fixes at work =P Please bear with me till there, and thanks for helping with testing/feedback once again. You guys are life savers.

EDIT:
Since im off now, i dont want to leave you guys unable to read so.
https://www.dropbox.com/s/q3ow2j5zbs1mn ... yRelax.apk
This apk has the Teaser/Original buttons and i tested that it shows the Next/Previous buttons on the context menu.
NOT A FIX, just a side apk for while the TabBar black issue persists.
In theory, practice and theory are the same.
but, practically, they arent.
User avatar
angelanime
Kyonist
Posts: 15
Joined: Sun Jun 13, 2010 12:38 pm
Favourite Light Novel: Ahouka!
Contact:

Re: New Baka-Tsuki Android App: Development

Post by angelanime »

Could you create a metro app for Windows 8 as well?

(Sorry, I'm double-posting this, cuz I posted it in the "old app" thread.)
My original light novels:
http://non8.livejournal.com/
Bloodscythe
Haruhiist Disciple
Posts: 63
Joined: Fri Dec 14, 2012 1:50 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Bloodscythe »

angelanime wrote:Could you create a metro app for Windows 8 as well?

(Sorry, I'm double-posting this, cuz I posted it in the "old app" thread.)
If they did, I don't think they'll be able to release in the Windows Phone marketplace. $99 every year to develop apps...
For google, its $25 one time fee plus %30 from everything they earn...
Sorry for the pointless information but er... yeah. That didn't answer anything did it?
Whelp, developing for Android is already hard enough, put Windows in there and *shudder*
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Bloodscythe wrote:
angelanime wrote:Could you create a metro app for Windows 8 as well?

(Sorry, I'm double-posting this, cuz I posted it in the "old app" thread.)
If they did, I don't think they'll be able to release in the Windows Phone marketplace. $99 every year to develop apps...
For google, its $25 one time fee plus %30 from everything they earn...
Sorry for the pointless information but er... yeah. That didn't answer anything did it?
Whelp, developing for Android is already hard enough, put Windows in there and *shudder*
I think, if you are a student, they give discount so it only 10$ per year? And if your university is member of MSDNAA, then it will be free, at least you got an access to Dreamspark Premium. It is in my uni (NUS), but I'm not a student anymore...
Visit my blog for other applications.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Started creating update history list, will update in this post.

EDIT: Change Log:
- Add Update History Activity
- Consolidate updates into single notification
- Fix formatDateForDisplay() bug
- Refactor some Util method.
- Fix issue #20: Infinite Loading for Empty Watch List
- FIx too many update notification problem, apparently I put the updateTotal.add(updates) on wrong loop section...

Source uploaded to github.
Visit my blog for other applications.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Updated Apk with Nandaka's changes:

https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk
In theory, practice and theory are the same.
but, practically, they arent.
Bloodscythe
Haruhiist Disciple
Posts: 63
Joined: Fri Dec 14, 2012 1:50 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Bloodscythe »

It seems like I created an hilarious misunderstanding except NOT hilarious and it's my fault.
*clears throat* When I was talking about next/previous I didn't mean that they disappeared from the menu, it's just that they moved into a different position.
So right now when you press menu you have two rows of options. In order they are: Previous, Next, Jump to, Search, Go top and More.
I was just complaing and moaning about how next/previous shoul be on the bottom row where search and Go top now reside.
Sorry for the rant.
About the Go top/Go bottom: Maybe you could try the Opera Mini method?
When you start scrolling fast, a button appears with an arrow with the direction you're scrolling in. When you press the button, it fast fowards you in the direction you were scrolling.
Well, I'm guessing that would be really hard to implement but just got to throw out some ideas.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Ah, heheh. Don't worry about that.
I'll take a look into having the person choose the organization of the menus. i am not gonna let them reorganize, just choose from already existing layouts.
About the idea:
Yes, the idea is very nice, it's actually the kind of idea that i am looking for.
Yes, its difficult to implement because i have no idea how to =P
And Yes, i'll look into it, i found the options menu too big to begin with.
Since noone else is worried about that ordering, ill change it that way soon.

Ok... i said it was difficult...
Well i implemented it.
If you scroll up, an "up" arrow shows (for 1 second) if you click it, you will scroll up.
Same for bottom.
There is no special animation (fading or whatever) and i may put this as optional, or change the positioning/size etc.

NOTE: i havent removed them from the menu YET.

https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk
In theory, practice and theory are the same.
but, practically, they arent.
Bloodscythe
Haruhiist Disciple
Posts: 63
Joined: Fri Dec 14, 2012 1:50 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Bloodscythe »

It works!
Although, they should appear when you start scrolling at a very fast pace. You know, a speed which you can't even read.
When I read I just happen to be scrolling most of the time so the arrow is ALWAYS appearing.
An option to turn it off might or might not be good. I don't know. There don't seem to be negative effects to having it on.
By the way, I like the arrows design. Very nice.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Bloodscythe wrote:It works!
Although, they should appear when you start scrolling at a very fast pace. You know, a speed which you can't even read.
When I read I just happen to be scrolling most of the time so the arrow is ALWAYS appearing.
An option to turn it off might or might not be good. I don't know. There don't seem to be negative effects to having it on.
By the way, I like the arrows design. Very nice.
To do that i have to subclass WebView, and i havent done it yet (to track the speed)
I think ill do it, since i am thinking about other functionalities. (like next and previous the same way but in different events)

i just implemented an option to turn it off xD
I think ill move it to the side, since the zoom gets in the way...

The arrow design i made with the Holo.theme in mind ^^
In theory, practice and theory are the same.
but, practically, they arent.
Tidon
Reader
Posts: 9
Joined: Thu Jan 17, 2013 1:16 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Tidon »

Hi,

At first I have to thank you for this app. Its interface looks pretty good on my Nexus 10.

But I also noticed a small problem: If you go to the settings and delete the image-cache, the whole app-folder is cleared (the novel-db too).
After that the app shows a null-pointer-exception if you go to the novel-list and it won't finish loading the list.

The only solution is to reinstall the program, because the novel-db is never recreated.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Tidon wrote:Hi,

At first I have to thank you for this app. Its interface looks pretty good on my Nexus 10.

But I also noticed a small problem: If you go to the settings and delete the image-cache, the whole app-folder is cleared (the novel-db too).
After that the app shows a null-pointer-exception if you go to the novel-list and it won't finish loading the list.

The only solution is to reinstall the program, because the novel-db is never recreated.
Confirmed, somehow when trying to open the DB, it tried to resolve to the /files/databases/pages.db, not the /databases/pages.db

EDIT: Fix the problem and uploaded to GitHub, please backup the DB first before updating to the latest apk, then restore it back after updating.
For APK, wait until Erakk compile it.

@Erakk: Is the test apk you upload to GitHub is using the same keystore with the Google Play one?

EDIT part deux: - Add option menu in Novel Pager
Visit my blog for other applications.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Tidon wrote:At first I have to thank you for this app. Its interface looks pretty good on my Nexus 10.
I am about to change the main menu to something more cool (current one is boring) while still keeping it fast and simple/clean.
Nandaka wrote:@Erakk: Is the test apk you upload to GitHub is using the same keystore with the Google Play one?
No. It uses a "device-debug" keystore. This keystore is for multi-device test purposes, but cannot be used to upload to the Google Play (Google Play will decline the keystore) And it expires quicker than normal.

General question: Is there Anyone using the white theme? I personally want to erase that.
In theory, practice and theory are the same.
but, practically, they arent.
Post Reply

Return to “Developers and Code”