You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

[Android] CodeWalrus Post Notifier

b/[Completed] CodeWalrus Tools (Web/Android/PC) Started by Snektron, April 16, 2015, 01:34:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/Snektron 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
u/Dream of Omnimaga 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.
u/Snektron 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
u/DarkestEx May 10, 2015, 04:36:05 PM
OK. I am working on a desktop notifier now.
u/Dream of Omnimaga 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.
u/Snektron 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
u/Duke "Tape" Eiyeron May 10, 2015, 05:48:30 PM
Accents, you mean. Treams are these : ". Über-tremas ;)
u/novenary May 10, 2015, 05:57:34 PM
I blame autocorrect. Also trema = umlaut (this : ï, ü, ...).

Eiyeron :ninja:
u/Snektron May 10, 2015, 06:05:14 PM
Yeah i forgot what they were called :3
u/Dream of Omnimaga 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:


But if seems gone now.

Edit: Ok I think I found it!
Last Edit: May 10, 2015, 10:03:10 PM by DJ Omnimaga
u/Unicorn May 10, 2015, 10:07:26 PM
:P
u/Duke "Tape" Eiyeron May 11, 2015, 10:09:49 AM
Soooo, what about the post notifier project? How this project is going at this moment?
u/Snektron 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 :))
u/Snektron 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))
u/Duke "Tape" Eiyeron 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 ^^
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal