1
chco2
[DEV] Android App for posting in Forum
  • 2010/11/13 17:24

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Hi all!

We are about finished creating an Android phone application that lets you post directly from your phone into your XOOPS forum.

Before release we would like to ask what you use for XOOPS forum module or News module or Blog module. So we can add support for the application.

Thanks for the input!
“It's amazing the way people cling to insults. Or what they think are insults.”

2
redheadedrod
Re: [DEV] Android App for posting in Forum

I am curious how you got this to work...

Can you explain how you connected to the system?

Just curious at this point.

Rodney

3
chco2
Re: [DEV] Android App for posting in Forum
  • 2010/11/14 15:53

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


The idea for the app is to give you a similar form for posting in the news or forum module as you are customed to in XOOPS. Although just a plain texteditor will be in there, you will be able to post right into your newssection or blog if you want.

We will not be making (for now) a special module, just one PHP file that receives the posting from the app and will then post it into XOOPS.

That's it.
“It's amazing the way people cling to insults. Or what they think are insults.”

4
redheadedrod
Re: [DEV] Android App for posting in Forum

Ok, what method are you using to enter into a xoops forum?

If I had a bone stock 2.5 system with cbb installed on it your program would connect to just that and allow posting of messages?

Would like to see this in action.

I have considered making Apps to connect to xoops for a majority of the smart phones out there but don't have the time at this time. Just an idea for down the road. But since you have something working curious how you are logging in and connecting to be able to do so.

I was figuring I would have to build a specific module that would communicate with the phones and the phones would disseminate the information as needed with specialized programs designed to do so.

I have access to Windows, Web OS, Apple and potentially Android phones to test(Can run Android on my Windows phone but it is not a fully working application since it is not native to my phone but would work well enough to test this out). And I am sure if I got something working on all of those that a blackberry version would be easy to come by too.

Rodney

5
chco2
Re: [DEV] Android App for posting in Forum
  • 2010/11/16 17:34

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


This is the function how it works now:

There's the Android APP and a PHP script.
The PHP script uses plugins that basically anyone can write (simple text files with variables)
We have choosen to have the PHP script not POST into a module, but rather POST directly into the database.
This of course asks for certain security that needs to be handled.

The App (P2X [Post2Xoops]) makes a connection to the PHP script and return the available modules to Post to.
After choosing a module in P2X another connection is made to receive the topics for that module. The PHP script allows for automatic retreival of the topics or they can be filled in by hand to only allow posting in certain topics.

After choosing a topic in P2X you can write a subject, introtext, bodytext and TAG's.

Finally it is send over and the PHP scripts stores the posting.

Every request send from P2X is joined with the username and password for verification with the XOOPS database.

That's about it..

P2X isn't really much to look at, but it works ;)

Be posting a download soon.
“It's amazing the way people cling to insults. Or what they think are insults.”

6
Dylian
Re: [DEV] Android App for posting in Forum
  • 2010/11/16 17:51

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


I personally think it would be a better idea to make the current forum modules compatible with Tapatalk.

Tapatalk is a free* application for iPhone, Android, Windows Phone 7, WebOS, BlackBerry and Nokia that allows you to access and post to forums.

More information about Tapatalk can be found here: http://www.tapatalk.com/ and information about making a forum compatible with tapatalk can be found here: http://www.tapatalk.com/api/api.php.

Just my thoughts .

Greets Dylian.

* The free version of Tapatalk has some limitations. But the PRO version is not very expensive.
Dylian.eu | Webdevelopment
| http://dylian.eu |

Dylian Melgert | Home
| http://me.dylian.eu |

Arcus College Shedule Notification Service
| http://arcus.dylian.eu |

7
chco2
Re: [DEV] Android App for posting in Forum
  • 2010/11/16 18:54

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Yes that is a good one Dylian. Looked into that.
But basically we wanted one app on android that could (in theory) update any module that allows posting in XOOPS. (Blog, News, Forum, etc..) and not writing and digging into different modules to write a plugin compatible with that specific module.
Also P2X does not read any info, just posting.

Oww.. forgot to mention that we have requested Apatalk API access to write a forum plugin for XOOPS.
“It's amazing the way people cling to insults. Or what they think are insults.”

8
redheadedrod
Re: [DEV] Android App for posting in Forum

So if I am reading what you wrote right...

In idea you have a PHP file on your website that accesses the dbase without benefit of xoops.

So the app communicates to something like http://www.website.com/forumpost.php.

And then the forumpost.php script accesses the dbase directly.

Sounds unsecure to me depending on how you do it but depends on the script.

Rodney

9
chco2
Re: [DEV] Android App for posting in Forum
  • 2010/11/17 0:07

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


The script follows the XOOPS login and security checks and holds no data.
It is basically working as a module, but just no interface.

Requests comes in.. scripts checks to see if the user is authorized and ifso it acts.
“It's amazing the way people cling to insults. Or what they think are insults.”

10
andrax
Re: [DEV] Android App for posting in Forum
  • 2011/1/31 20:45

  • andrax

  • Just popping in

  • Posts: 60

  • Since: 2010/9/10


Any news on this app?

I can test it at the Galaxy S i9000b
Luiz Carlos (Andrax)
"whoever wants to become great among you must be your servant" – Jesus
http://guxbrasil.org
http://about.me/LuizCerqueira

Login

Who's Online

312 user(s) are online (259 user(s) are browsing Support Forums)


Members: 0


Guests: 312


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits