CodeWalrus

Featured Member Projects => Completed and Inactive Projects => [Completed] CodeWalrus Tools (Web/Android/PC) => Topic started by: Snektron on April 16, 2015, 01:34:08 PM

Title: [Android] CodeWalrus Post Notifier
Post by: Snektron on April 16, 2015, 01:34:08 PM
For our computer science class we (@brentmaas, @TheCoder1998 and me) need to do a project. We had
to come up with a project ourselves. The first thing i did was send a mail to DJ, since i saw people would like a post notifier a while before.
Since we were quite busy at the time, we decided to delay developement untill we had some free time, which is about now.
We have to keep a log and everything too, so we'll be using this topic to notify of developement updates.

Language:
Since the default Android programming language is Java, and we can all code in Java (well, TheCoder is still learning :P), we'll
be using that to make the application. We will be using the Android SDK ofcourse.

Planned features:
- Service that sends a push notification when a new post is made.
- Clientside only. it will be checking the SMF RSS update feed and parsing data from there.
   (The SMF RSS feed gives post content too, but that might use too much data. If someone knows how to remove that data in the http request, or if
   a site maintainer can make a special feed for us, that would be nice :))
a custom smf mod that returns some data upon requesting an url
- Toggle service active.
- Toggle 3g update checking.
- Algorithm to do more checks when there is intense posting.
- Setting for time between checks
- Activity that displays latest X posts
- Setting to ignore some tags/topics/subforums

Release:
The app will be released on the play store, since i have an account anyways.
Ofcourse, the app will be free. Also we'll probably post it on a new topic when it's finished.

Further info
This app will sadly not be available for iOS, since none of us have a mac to develop on or an app store license.
Windows version is not ruled out but that's not part of the project, so that will maybe come later. (also if we do it, it's maybe better to do a chrome plugin).

If you have any suggestions or ideas, please leave them on this topic :)
Title: Re: CodeWalrus Post Notifier
Post by: Duke "Tape" Eiyeron on April 16, 2015, 02:02:59 PM
Have fun with such kinds of projects. also try to make a passive notification reader, else batteries will be drown into obvlivion.
Title: Re: CodeWalrus Post Notifier
Post by: Yuki on April 16, 2015, 03:24:59 PM
I'm tempted to suggest GCM but that would require me to write a GCM server mod and store every user's ID to send them the same message to everyone individually.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on April 16, 2015, 03:35:04 PM
hm. I havent heard about GCM before, but it looks quite handy. Else we can write our own lightweight server to connect to for updates, and the server can search through the rss feed or something. Is it possible to run a notify server on CW's servers?
Title: Re: CodeWalrus Post Notifier
Post by: Yuki on April 16, 2015, 03:39:32 PM
Sure. The best would be to make SMF send a message to the notification server directly when someone posts, just like what it's doing with the IRC bot.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on April 16, 2015, 03:43:05 PM
Yes that would be ideal. How would SMF be sending the message though?
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on April 16, 2015, 03:52:19 PM
Juju's last idea would be ideal, but of course it depends of how reliable such inter-server connection would be and we would have to make sure that the app doesn't take too many resources. Also, if the server that the app uses is down, then it needs to not slow down forum posting.

Anyway a post notifier would definitively rule if it doesn't spam the server with requests or fake page views. Good luck in any case! :)

What I am thinking is that when a new post is made, then Walrified should also store the topic title and URL in a standalone file or database element on the server and the notification app would check that log instead of the site's RSS. That way, it won't rack up forum page views and it would be smaller in size (it could maybe only keep the last 5 replies on record).
Title: Re: CodeWalrus Post Notifier
Post by: Yuki on April 16, 2015, 04:09:00 PM
Quote from: Cumred_Snektron on April 16, 2015, 03:43:05 PM
Yes that would be ideal. How would SMF be sending the message though?
The IRC bot uses UDP, with SMF acting as a client.
Title: Re: CodeWalrus Post Notifier
Post by: Duke "Tape" Eiyeron on April 16, 2015, 04:13:59 PM
That would be useful indeed to get notifications from SMF, hyes.
Title: Re: CodeWalrus Post Notifier
Post by: Snektron on April 16, 2015, 04:44:46 PM
Quote from: Juju on April 16, 2015, 04:09:00 PM
Quote from: Cumred_Snektron on April 16, 2015, 03:43:05 PM
Yes that would be ideal. How would SMF be sending the message though?
The IRC bot uses UDP, with SMF acting as a client.
Ah okay. That shouldn't be too hard to implement.
Title: Re: CodeWalrus Post Notifier
Post by: Yuki on April 16, 2015, 05:04:43 PM
You would have to implement a UDP server and process whatever it recieves. Yeah, pretty easy.
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on April 16, 2015, 05:31:49 PM
Yeah the thing is just make sure that you don't reload the SMF RSS feed or any forum page to check if there are new posts. If, for example, 10 members use the application and the app checks the RSS feed every 10 second for new posts, then the Forum statistic page will show 864000 extra page views everyday and I'm unsure if we want fake stats. Omnimaga had a similar problem in March 2014 when they tried ENotify, in addition to many errors. Not sure what is an UDP server but I'll check I guess.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on April 16, 2015, 06:55:32 PM
UDP is a protocol. It just means SMF sends a packet to the notify server with 'hey - theres a new post! its {post data}" or something :P
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on April 16, 2015, 07:27:50 PM
Ah right, such protocol would work better then. Would it be better to host it on our server in case yours or your URL go down in the future? (which just happened to your URL >.<)

Also yeeah there needs to be a timeout feature so that if after 3 seconds it still cannot register a connection, then it sends the post to the forums and IRC and just skips your app. Otherwise I remember that at first, when Omni used a similar way to notify of new posts on IRC, it would wait until the forums can register a connection to the IRC bot and we could no longer post at all if the bot was down  >.<
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on April 16, 2015, 07:31:23 PM
Yeah that's why i asked it, and why we initially planned to have it clientside only
Title: Re: CodeWalrus Post Notifier
Post by: Yuki on April 16, 2015, 08:53:32 PM
UDP is connectionless, so SMF don't care if the message arrived to its destination, the packet got lost, the server is off or whatever, and won't block until some sort of confirmation, that's why I chose it over TCP (which makes sure the packet arrived to destination in the right order and stuff). And when the server is 127.0.0.1 I don't think there's packet loss.
Title: Re: CodeWalrus Post Notifier
Post by: Duke "Tape" Eiyeron on April 17, 2015, 01:54:10 PM
This and UDP doesn't care abut which packet comes before another. There aren't any attempts to get the original flow at client side.
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on April 18, 2015, 06:21:40 AM
That's good then. Good luck Cumred for the project and to whoever is involved in the SMF side of the notifier. :)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 09, 2015, 12:03:45 PM
Hello! It's been a while since we announced this project and yesterday i finally decided to start coding.
I've implemented android's recyclerview so it looks nice with not too much effort. Also i added a http requester and a xml parser
so it can display posts.
(http://i.imgur.com/BSicAtu.png)
As you can see, nothing is done about the raw HTML yet. Also there is not yet a menubar.
The menubar will also contain a fancy side menu for options and such. Also there is not yet a notification service.
The source is also on github: https://github.com/QuantumInfinity/CodeWalr.us-Post-Notifier
Let me know if you like it / have suggestions ;)

Also since this is a project for cw... *cough* featured project *cough cough* :P
But seriously maybe thats a good idea.
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 09, 2015, 04:22:47 PM
Looks very good so far! Will there be options to open the browser to view the thread? This would be a must I think. And yeah I considered a sub-forum for this, although it depends if you plan to update this more in the future once it's released to public. That would make MinePrime (next update that adds crafting) and the post notifier the next two sub-forum additions.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 09, 2015, 04:26:36 PM
Quote from: DJ Omnimaga on May 09, 2015, 04:22:47 PM
Looks very good so far!

Thanks! :D

Quote from: DJ Omnimaga on May 09, 2015, 04:22:47 PM
Will there be options to open the browser to view the thread?

Yeah i was already planning to add that, but i don't know if i wrote it under the features

Quote from: DJ Omnimaga on May 09, 2015, 04:22:47 PMAnd yeah I considered a sub-forum for this, although it depends if you plan to update this more in the future once it's released to public. That would make MinePrime (next update that adds crafting) and the post notifier the next two sub-forum additions.

That depends on how many there is to update. I will at least keep it maintained and add features if necissary :)
Title: Re: CodeWalrus Post Notifier
Post by: novenary on May 09, 2015, 04:32:41 PM
Sounds fun. With the new mobile theme it will make using the forum on a phone pretty neat. :3
Title: Re: CodeWalrus Post Notifier
Post by: Yuki on May 09, 2015, 05:53:07 PM
That looks pretty nice Cumred. I'm definitely checking it out. And if you want a server/mod to run on CW you can always ask me.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 09, 2015, 06:19:22 PM
Thanks :) And yeah i'm already developing a mod :P
Currently the mod adds one action feature, "walrifier". It returns the id of the latest message. The app will then check
if the latest ID is the same as the new ID and if not, request the full feed from the ".xml" action. Though it might be better to strip it down and make my own feed via a subaction (if im making a mod anyway). I'm also thinking of making a subaction where you supply the last checked ID and it returns a list of ID's/posts since the supplied ID (with a limit ofcourse). This way doesn't require a server, while its probably just as data-efficient (and is probably lighter for the server too). I wan't the least amount of data as possible, so it can also run on mobile data without consuming a lot of data. This way it probably wouldn't even be a Mb per day, which is a quite acceptable amount i'd say.
Title: Re: CodeWalrus Post Notifier
Post by: novenary on May 09, 2015, 06:46:58 PM
Hmmm nice. I'm not having too many problems with data usage but again I have a 3GB plan. Not everyone does tho.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 09, 2015, 07:06:09 PM
Yeah i was using 200MB before, now i have 1GB. But for the people who are having no/low data, i'll just add a option :)
Title: Re: CodeWalrus Post Notifier
Post by: CKH4 on May 09, 2015, 09:44:23 PM
This looks very cool. Maybe you could add an option to fetch irc too? But then it'd be like wirc for android sort of.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: DarkestEx on May 09, 2015, 10:14:07 PM
@Cumred_Snektron, why don't you use a PHP page to preprocess the feed online, where you have unlimited traffic and then send only n-items to the client.
Or tell the client, how many messages happened since a specific id and then fetch only those.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 09, 2015, 10:26:00 PM
Yeah thats what im going to do :)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: DarkestEx on May 09, 2015, 10:42:10 PM
Quote from: Cumred_Snektron on May 09, 2015, 10:26:00 PM
Yeah thats what im going to do :)
Ah okay.
I already wrote a good part of that actually before I posted that reply.
You can check it out soon.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 10, 2015, 08:40:44 AM
Hm? Btw have you read my reply a few posts up?
Quote from: Cumred_Snektron on May 09, 2015, 06:19:22 PM
Thanks :) And yeah i'm already developing a mod :P
Currently the mod adds one action feature, "walrifier". It returns the id of the latest message. The app will then check
if the latest ID is the same as the new ID and if not, request the full feed from the ".xml" action. Though it might be better to strip it down and make my own feed via a subaction (if im making a mod anyway). I'm also thinking of making a subaction where you supply the last checked ID and it returns a list of ID's/posts since the supplied ID (with a limit ofcourse). This way doesn't require a server, while its probably just as data-efficient (and is probably lighter for the server too). I wan't the least amount of data as possible, so it can also run on mobile data without consuming a lot of data. This way it probably wouldn't even be a Mb per day, which is a quite acceptable amount i'd say.
:P
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 10, 2015, 03:57:14 PM
Quote from: Cumred_Snektron on May 09, 2015, 04:26:36 PM

Quote from: DJ Omnimaga on May 09, 2015, 04:22:47 PMAnd yeah I considered a sub-forum for this, although it depends if you plan to update this more in the future once it's released to public. That would make MinePrime (next update that adds crafting) and the post notifier the next two sub-forum additions.

That depends on how many there is to update. I will at least keep it maintained and add features if necissary :)
As a precaution, when SMF 2.1 RC1 comes out, you might want to start developing a version that works with SMF 2.1 RC1 then slowly adapt it for RC2, RC3, gold, whatever comes out under the 2.1 name that isn't beta. That way, once we decide to upgrade to SMF 2.1 the application will work right from the start.


And glad you are keeping data usage to a minimum. Maybe you could have options to disable notifications when in data mode too for people with smaller plans. I have 2 GB but only because there was a big mobile plan promotion that allowed me to get a 60% discount on mine. I use about 250-700 MB a month.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 10, 2015, 04:05:46 PM
Yeah i was indeed planning to add that. I myself also want to run this app, and on data too and i don't want to go over my plan so yeah :3
Title: Re: [Android] CodeWalrus Post Notifier
Post by: DarkestEx on May 10, 2015, 04:36:05 PM
OK. I am working on a desktop notifier now.
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 10, 2015, 05:04:53 PM
By thé way, do you guys mind attaching the files on thé topic first post once the notifiées are complètes? Because there will be links to thème on thé récent postes page for ease of access.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 10, 2015, 05:27:59 PM
Sure. Why all the tremas though? :P Also maybe i'll make a second topic when it's finished
Title: Re: CodeWalrus Post Notifier
Post by: Duke "Tape" Eiyeron on May 10, 2015, 05:48:30 PM
Accents, you mean. Treams are these : ". Über-tremas ;)
Title: Re: CodeWalrus Post Notifier
Post by: novenary on May 10, 2015, 05:57:34 PM
I blame autocorrect. Also trema = umlaut (this : ï, ü, ...).

Eiyeron :ninja:
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 10, 2015, 06:05:14 PM
Yeah i forgot what they were called :3
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 10, 2015, 06:41:11 PM
Sorry. There is no way tout disable auto correct un Android 5.1 Chrome. There is an option under phone settings, but if doesn't work.

There used to be a second option which was there:
(https://img.ourl.ca/Screenshot_2015-05-10-14-43-53.png)

But if seems gone now.

Edit: Ok I think I found it!
Title: Re: CodeWalrus Post Notifier
Post by: Unicorn on May 10, 2015, 10:07:26 PM
(http://piskel-imgstore-b.appspot.com/img/f8515799-f760-11e4-b661-39996fd08e19.gif) :P
Title: Re: CodeWalrus Post Notifier
Post by: Duke "Tape" Eiyeron on May 11, 2015, 10:09:49 AM
Soooo, what about the post notifier project? How this project is going at this moment?
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 11, 2015, 03:04:09 PM
I'm currently making a smf mod to list all posts since <id> in a simple format. For now i parse it from the .xml format. I'm responsible for the UI and core components, while @brentmaas is going to work on the service and setting/side menu. I will also try to make a bbcode/smileys parser (shouldn't be too hard with a webView). (Btw, as you can see if you scroll up a bit, i've made a screenshot of the app displaying some unformatted posts :))
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 13, 2015, 01:47:19 PM
hmm, is sql fast enough to search for the last 10 posts in like 10000 posts? Or is there a better way to get this data? (for people who know how sql works but not how smf the smf database is build up: each posts in a message table has an unique id, i want to get the 10 posts with the highest id (or preferable, the x posts starting from a supplied id))
Title: Re: CodeWalrus Post Notifier
Post by: Duke "Tape" Eiyeron on May 13, 2015, 09:07:39 PM
Nah it should be fst enough, don't worry for that. That's what it already does when you'"re browsing the forum ^^
Title: Re: CodeWalrus Post Notifier
Post by: novenary on May 14, 2015, 09:23:56 AM
Exactly what Eiyeron said. The threads are friggin linked lists but it still manages to generate the page fast enough.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 14, 2015, 09:34:55 AM
Ah okay, thanks. Then i will just keep it this way :)
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 14, 2015, 06:38:10 PM
Yep, basically the posts are ordered by ID in the db. THey are just associated to specific topics and have a timestamp on them. You should not have any issue, although listing topics from the most recently posted on to the oldest can take a bit more processing power (although it's not that bad if you just try to fetch topics that had the last 200 posts in or so).
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 16, 2015, 10:28:34 AM
For now i just use something where id > id_msg with a limit of 10 sorted ascending.

Anyway i've been working on it for the last few days. I now have a fancy loading animation implemented, and a basic bbcode parser.
It supports most tags like bold, italic, underline, strike, align (though not really tested), links (clickable), code (which is just a <blockquote >), quote, tt, sub, sup, color, font size, youtube links become plain links etc. I'm still working on the images. Though some tags like tables and list are not going to be supported since i use Html.fromHtml which has a very limited tag set. though it's possible to add tags, but i'll have to get more familiar with the "Spanned" class. I also want to implement smileys (with a :3= ofcourse). Is there a full list of all the smileys somewhere? Also are these copyrighted (probably not) since i think i'm going to pre-download them and put it in the projects assets to save on downloads / cache?

EDIT: it looks like the <blockquote > (without the space) tag messes with the forum layout. The staff might want to look at this since maybe more tags work and this can lead to some exploits
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 18, 2015, 03:05:11 AM
Awesome. Now that you mention tag support, we plan to use an [hide] tag at one point so it might be wise to consider supporting it in the future if we ever add it. Ideally, though, for notifications that appears in Android status bar, you should make the text so that it's stripped from all its bbcode/formating, so it won't look weird.

As for the smileys, although they are from various forums I ran, they are mostly based on PhpBB/Invisionboard/SMF or are literally from those softwares, so I'm unsure if using them in a downloadable app would be a good idea. There is no list sadly.

Also by <blockquote >  do you mean the quote bbcode tag? @Streetwalrus and @Juju might want to look into this, but it could be a SMF bug. EDIT: Nvm I see what you mean O.O

EDIT: Actually it seems like a forum feature that we have enabled:

QuoteThis will allow the posting of some basic HTML tags:
<b>, <u>, <i>, <s>, <em>, <ins>, <del>
<a href="">
<img src="" alt="" />
<br />, <hr />
<pre>, <blockquote>


Close window

We could disable it but I think this will prevent admins from using any HTML on the forums.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 18, 2015, 06:25:03 AM
I might just send a push notification like "post on topic Re: the game" or something. Also the smileys are in walrusirc too as files, so i think i should be okay with downloading them. It go see if there's something on that.

Also i have been working on image support lately. Gif support is a real bitch <_<. I found some piece of code online that's supposed to be able to decode gifs but it doesn't seem to work. I probably have to make my own thing for it <_<
Title: Re: [Android] CodeWalrus Post Notifier
Post by: DarkestEx on May 18, 2015, 02:31:54 PM
Quote from: Cumred_Snektron on May 18, 2015, 06:25:03 AM
I might just send a push notification like "post on topic Re: the game" or something. Also the smileys are in walrusirc too as files, so i think i should be okay with downloading them. It go see if there's something on that.

Also i have been working on image support lately. Gif support is a real bitch <_<. I found some piece of code online that's supposed to be able to decode gifs but it doesn't seem to work. I probably have to make my own thing for it <_<
Cumred, there are publicly available, free and even commercially usable smiley packs. So why don't you use such?
Or use these (they're BSD licenced): http://dl.muessigb.net/Images/smileys.zip (http://dl.muessigb.net/Images/smileys.zip)
Title: Re: CodeWalrus Post Notifier
Post by: Unicorn on May 18, 2015, 04:34:25 PM
Man push notifiers, smileis and maybe evn postingfrom the app?
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 18, 2015, 06:23:06 PM
I won't do posting, because i don't trust myself with accounts :P (i'm bound to screw something up, though there probably is a phppass android thing)

Also i might drop GIF support for now since it doesn't really work :(. I will try to add it after the school project part is done :)
Title: Re: CodeWalrus Post Notifier
Post by: alexgt on May 18, 2015, 11:03:17 PM
Yeah those darn projects <_< I have one myself but is is not nearly as big as yours O.O
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Unicorn on May 19, 2015, 08:08:19 AM
Yeah, I just finished mine, but its like a mosquito compared to a dragon. o.O

Oh yeah,that would involve giving you my password.... hmm. not the best idea.
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 19, 2015, 12:47:03 PM
Well this project is not that big :P Its the final project for our computer science class in school, so yeah :)
The PWS though O.O
\
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 21, 2015, 07:21:09 AM
Quote from: Cumred_Snektron on May 18, 2015, 06:23:06 PM
I won't do posting, because i don't trust myself with accounts :P (i'm bound to screw something up, though there probably is a phppass android thing)

Also i might drop GIF support for now since it doesn't really work :(. I will try to add it after the school project part is done :)
I think that just as long as we can be notified when there are new posts and that the app easily allows you to open the browser to access the post on the website then it should be enough to be good. :)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 21, 2015, 05:48:05 PM
I've added a Side Drawer and a menu bar :) Though i don't know what colors i should go for on the menu bar... i mean i could do the green again but everything is already green :P. Anyway i still need an image placeholder for when they're loading. Anyone want to help me out? :)
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 21, 2015, 06:14:36 PM
Maybe have it like the navigation bar on CW website? For a placeholder you could just use one of the following:

(http://codewalr.us/other/default_avatar.png)

(http://codewalr.us/Themes/CodeWalrus/images/omnomloading.png)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 21, 2015, 06:34:38 PM
Ah awesome :) I was searching for the "Loading" image actually but couldn't find it. Thanks :)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on May 28, 2015, 06:14:15 PM
I have implemented a side drawer :D
(http://img.codewalr.us/Screenshot_2015-05-28-20-11-05.png)
(http://img.codewalr.us/Screenshot_2015-05-28-20-11-02.png)
Though i'm worried there might be too much of the same shade green...
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on May 28, 2015, 06:22:54 PM
I like the look :D. Is it possible to change the icon in Android status bar? Maybe something like this:
Title: Re: CodeWalrus Post Notifier
Post by: Hayleia on May 28, 2015, 06:43:14 PM
I like the look actually, I don't think there's too much of the same shade of green. Just what's needed where it's needed in my opinion :)
Title: Re: CodeWalrus Post Notifier
Post by: Snektron on May 28, 2015, 06:49:25 PM
Quote from: DJ Omnimaga on May 28, 2015, 06:22:54 PM
I like the look :D. Is it possible to change the icon in Android status bar? Maybe something like this:

Thats actually the CyanogenMod usb debug icon :P we have a walrii for the push notification though :)

Quote from: Hayleia on May 28, 2015, 06:43:14 PM
I like the look actually, I don't think there's too much of the same shade of green. Just what's needed where it's needed in my opinion :)
Thanks! :)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on June 08, 2015, 10:37:57 PM
Heya! DJ just installed the SMF mod, so i was able to point the app at the codewalr.us domain! :)

[spoiler]
(http://i.imgur.com/7A2CvM0.png)
(http://i.imgur.com/2PZzmhq.png)
(http://i.imgur.com/YwVpaQy.png)
(http://i.imgur.com/05y6BQX.png)
(http://i.imgur.com/uDoUe1M.png)
[/spoiler]

Since it's like one AM here i will release it tomorrow :)
Title: Re: CodeWalrus Post Notifier
Post by: Unicorn on June 08, 2015, 10:45:06 PM
Awesome!
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on June 08, 2015, 10:45:40 PM
Awesome to hear :D, I'll be sure to try it then :) (as well as DarkestEx's notifier)
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on June 09, 2015, 03:21:38 PM
By the way, do you think you could make the Walrifier page so that it doesn't increase the forum page views count in the board stats page at https://codewalr.us/index.php?action=stats ?
Title: Re: CodeWalrus Post Notifier
Post by: alexgt on June 09, 2015, 03:31:39 PM
Awesome, now we need a on-calc notifier O.O
Title: Re: CodeWalrus Post Notifier
Post by: Snektron on June 09, 2015, 03:38:46 PM
Quote from: DJ Omnimaga on June 09, 2015, 03:21:38 PM
By the way, do you think you could make the Walrifier page so that it doesn't increase the forum page views count in the board stats page at https://codewalr.us/index.php?action=stats ?

i haven't tested actually :P

Quote from: alexgt on June 09, 2015, 03:31:39 PM
Awesome, now we need a on-calc notifier O.O

That would be awesome O.O
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on June 09, 2015, 03:47:06 PM
Oh I just checked and it increments the stats. Not that it can cause direct issues, but if many people use the notifier and it checks every 10 second, then that will inflate our traffic stats in non-legit ways :P
Title: Re: CodeWalrus Post Notifier
Post by: alexgt on June 09, 2015, 04:10:52 PM
Quote from: Cumred_Snektron on June 09, 2015, 03:38:46 PM
Quote from: alexgt on June 09, 2015, 03:31:39 PM
Awesome, now we need a on-calc notifier O.O

That would be awesome O.O
With the Prime someone made a 3rd party communication program so it could be possible especially with the wireless communications for the prime and even the Nspire but the Prime would be a bit easier I would think :)

I want to look into that because I would actually use since I have no phone :P
Title: Re: CodeWalrus Post Notifier
Post by: Unicorn on June 11, 2015, 06:14:08 AM
Spark core for the 83+/84+ anyone? Though it would kind of have to be a shell type thing.

Alex, if it was possible, you could make a notifier for SIFS! O.O
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on June 15, 2015, 05:15:05 AM
Quote from: alexgt on June 09, 2015, 04:10:52 PM
Quote from: Cumred_Snektron on June 09, 2015, 03:38:46 PM
Quote from: alexgt on June 09, 2015, 03:31:39 PM
Awesome, now we need a on-calc notifier O.O

That would be awesome O.O
With the Prime someone made a 3rd party communication program so it could be possible especially with the wireless communications for the prime and even the Nspire but the Prime would be a bit easier I would think :)

I want to look into that because I would actually use since I have no phone :P
I am betting that the wireless support is somewhat limited, though, to make it harder for people to share answers for exams or stuff like that. But again, maybe not. In any case, such program would definitively need to comply with exam mode (as in, not circumvent it)
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on June 17, 2015, 01:23:05 PM
@Cumred_Snektron , not really a bug report, but it seems that the Walrifier drains phone batteries incredibly fast (I went from 100% to 33% in under two hours and that's with wi-fi). Do you think you could fix it? (I have it set to check every 61 seconds so maybe that's why, but Telegram checks far more often and it doesn't happen)


(https://img.ourl.ca/Screenshot_2015-06-17-09-19-00.png)
Title: Re: [Android] CodeWalrus Post Notifier
Post by: Snektron on June 17, 2015, 01:34:57 PM
hmmthats strange... i'll take a look at it :)
Title: Re: CodeWalrus Post Notifier
Post by: Unicorn on June 17, 2015, 07:12:21 PM
Whoa, that's craZy *.*
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on July 12, 2015, 10:24:34 PM
By the way, when I click a post in the notifier, why does it use http://codewalr.us//index.php?topic=397.75 as URL instead of http://codewalr.us/index.php?topic=397.75 ?

Also, why doesn't the app auto-start after phone reboot?
Title: Re: CodeWalrus Post Notifier
Post by: Dream of Omnimaga on December 03, 2015, 06:48:12 PM
Bump:

@Cumred_Snektron I was wondering if you still planned to continue this in the future? Adding an option to make the app start on phone startup would definitively be great, as most people probably forget to start it otherwise. Perhaps make it by default and also set the notifications to once a minute by default as well.

Also the status icon still needed an update so that it looks more like Walrii :P

(http://img.codewalr.us/walriiicon.png)