ElkArte Community Android App January 13, 2015, 10:32:49 am I was creating a simple app for my community. So I thought, since it is very simple, why don't I create one for ElkArte community.I personally signed this app. Anybody who wants to try it out may find the package attached. Please unzip it first as I cannot upload .apk here. Edited. This apk has been published. You may now download it from Google Play (Market) as well.
Re: ElkArte Community Android App Reply #1 – January 13, 2015, 11:59:05 am Thanks @ahrasis . You might like this threadhttp://adminforum.in/index.php?/topic/487-android-app/
Re: ElkArte Community Android App Reply #2 – January 13, 2015, 12:33:12 pm Well, this is the first step. I think adding a notification etc won't be that difficult but we may need to pass some info as between the app and the forum. Currently, I don't do that for two main reaons. One, I am not well verse in java and its scripting / coding. Two, I am not so sure about security side of it, yet.For your info, I implemented Sub Forums Addon on my community site. So, I can have several (subforum) sites using one app or one app for each subforum site (several apps that are).Implementation of this is by loading specific url in each app denying others. Other url will then be forced to be opened in the browsers instead from within the app.I will share the code for this app later.
Re: ElkArte Community Android App Reply #3 – January 15, 2015, 03:11:40 pm Cool!Unfortunately I don't have a smartphone, so I can't test it and give feedback... On the security side of things, I'm not sure how mobile notifications work, I think push notifications should be sent from the forum to... a sort of account somewhere, but it's all a big blurry... LOL
Re: ElkArte Community Android App Reply #4 – January 15, 2015, 05:17:58 pm Quote from: emanuele – January 15, 2015, 03:11:40 pmI think push notifications should be sent from the forum to... a sort of account somewhere, but it's all a big blurry... LOLthere is pushover as app for all devices (ios, android and windows phone) https://pushover.net/
Re: ElkArte Community Android App Reply #5 – January 15, 2015, 10:45:48 pm the server side for push notifications to an android device seems to be easy, see here:https://gist.github.com/prime31/5675017
Re: ElkArte Community Android App Reply #6 – January 16, 2015, 12:34:36 am Nice code. That should be added inside Elk right? Ok. Consider that is added to Elk, we still need to get the THE_DEVICE_REGISTRATION_ID. Which means we need to register the device via the app, intercept the id via the app as well but the app should send the id back to server. How do we do that?
Re: ElkArte Community Android App Reply #7 – January 21, 2015, 07:54:30 am More guides for me and those who are interested to study about adding up notification to app.1. http://developer.android.com/google/gcm/index.html2. http://www.androidbegin.com/tutorial/android-google-cloud-messaging-gcm-tutorial/3. http://www.tutorialspoint.com/android/android_php_mysql.htm4. http://stackoverflow.com/questions/11242743/gcm-with-php-google-cloud-messaging5. http://www.androidhive.info/2014/01/how-to-create-rest-api-for-android-app-using-php-slim-and-mysql-day-12-2/6. http://forum.xda-developers.com/showthread.php?t=1860405The next question, what function is notifying Elk forum user? Mention? Board? Or any activities?
Re: ElkArte Community Android App Reply #8 – January 21, 2015, 08:50:36 am hmm... good question.Ad the moment there is not a centralized mean to "notify" users of different things. The unification is part of the targets for 1.1.The current way is split in at least two: one for "classic" notifications (those enabled by members by "notify me of replies" for example) and one for likes/other notifications I think, but at the moment I'm focusing on other stuff and I'm not sure... sorry.
Re: ElkArte Community Android App Reply #9 – January 22, 2015, 12:28:11 am I am thinking to set if email is sent, trigger the notification via GCM. Will email be sent for all types of notification if the user doesn't opt not to be informed via email? I was thinking, if email is always sent when it is not turned off and there is any phone id registered, may be, the similar option for admin to enable sending notification to users via GCM.
Re: ElkArte Community Android App Reply #10 – January 22, 2015, 04:51:48 am Except for mentions and likes, yes, all notifications are sent via email, so sendmail should be a good point to look.
Re: ElkArte Community Android App Reply #11 – January 22, 2015, 08:04:48 am Ok. I will check on that first. Hopefully, I'll see some light at the end of this tunnel.
Re: ElkArte Community Android App Reply #12 – January 26, 2015, 01:35:18 pm I install this app and never saw a difference with the browser. What is an idea? I thought it was going to be like Tapatalk.
Re: ElkArte Community Android App Reply #13 – January 26, 2015, 11:35:47 pm As discussed above your post, this is a simple app. We did not implement notification system as yet. And even that is implemented, an addon need to be made so notification will work and pass to the app.
Re: ElkArte Community Android App Reply #14 – April 04, 2015, 04:39:38 am An interesting tutorial:http://mrbool.com/how-to-use-json-to-parse-data-into-android-application/28944