php forum
php mysql forum
php mysql smarty
 
Topic Options
#318709 - 03/12/11 11:35 PM iOS/Android mobile chat
Gardener Offline
Addict

Registered: 05/12/99
Posts: 1966
Loc: Sweden, Stockholm
Just wanted to give a preview peek of my upcoming iOS/Android web app for chatting in the shoutbox of a UBB.threads forum.

It currently works pretty OK for iPhone/iPad, but Android support is still a bit shaky.

You can see it here, though chatting is mainly in Swedish:
http://www.rollspel.nu/forum/touchat/

Running it will require an extra script added to the UBB.threads installation, as well as the web app files. It should not require any changes, IIRC.
_________________________
/Gardener | Complete list of my mods

Top
Sponsored Links
      
#318726 - 03/18/11 04:36 AM Re: iOS/Android mobile chat [Re: Gardener]
AllenAyres Offline
I type Like navaho

Registered: 03/10/00
Posts: 25582
Loc: Texas
Wow cool Gardener! Thank you for sharing smile
_________________________
- Allen wavey
- What Drives You?

Top
#318728 - 03/20/11 03:53 AM Re: iOS/Android mobile chat [Re: AllenAyres]
Gardener Offline
Addict

Registered: 05/12/99
Posts: 1966
Loc: Sweden, Stockholm
Will put up the source code up for download soon.

I'm also planning on writing a native Android app, since Sencha doesn't seem to play that nice with Android.
_________________________
/Gardener | Complete list of my mods

Top
#318729 - 03/22/11 12:45 AM Re: iOS/Android mobile chat [Re: Gardener]
Gardener Offline
Addict

Registered: 05/12/99
Posts: 1966
Loc: Sweden, Stockholm
I've cleaned up the code and added some rudimentary installation information and uploaded the code to github.

The code is available here:
https://github.com/ollej/prat

The only working implementation at the moment is the "Pet Prat" version.

An extra script is also needed for the UBB.threads installation to handle longpolling and json for the messages, as well as user information.

Here is a screenshot of the application running on an iPhone 2G (sorry for the Swedish):



Attachments
photo (5).jpg (58 downloads)
Description: Pet Prat Screenshot




Edited by Gardener (03/22/11 12:54 AM)
_________________________
/Gardener | Complete list of my mods

Top
#318732 - 03/28/11 12:18 PM Re: iOS/Android mobile chat [Re: Gardener]
Gardener Offline
Addict

Registered: 05/12/99
Posts: 1966
Loc: Sweden, Stockholm
Haven't done much on this lately, as I've started work on a native Android app instead.

The current state of the Android app is that it has near real-time updates of messages, and shows avatars as well. It is also possible to send messages, if the user has setup account info in the preferences.

At the moment I'm working on getting view updates to be smoother and more efficient. There's still some work on that to be done before I can start on adding new features.

A pre-alfa version can be downloaded here:
http://uploadbin.net/ac665030a9d5102e9f5b6c2d9a7ea7cd/Droidprat-0_3.apk

It is by default set to connect to my domain, but that can be changed in the preferences. If you want to try it on your own site, you will need to add the following script to the script directory of your UBB.threads installation:

https://github.com/ollej/shoutbridge/blob/master/src/ubb/scripts/listshouts.inc.php

Then change the app preferences to point to your domain:
Base URL then needs to be set to the complete URL to the ubbthreads script, e.g. http://www.example.com/forum/ubbthreads.php
Cookie Prefix needs to be set to the same as in your UBB.threads configuration.
_________________________
/Gardener | Complete list of my mods

Top

Shout Box

Latest Posts
[7.5.8] Better URL Sanitization for SEO
by id242
07/28/14 12:23 AM
[7.x] A Better Admin Footer
by AllenAyres
07/25/14 03:02 AM
[7.5.7+] Stop Forum Spam - Login Detection
by Stephen G
07/06/14 01:24 AM
(Views)Popular Topics
Known public proxy servers 2283000
Slash UBB 1447457
Integrated Index Page (IIP) 5.3.1 860157
Q & A 813001
Finished-[6.5.2] Games Arcade Deluxe v1.9 691390
[6.0x] Who's Online 4.0.0 [Finished] 639808
Integrated Index Page (IIP) 5.1.1 545816
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 451249
[6.0x] UBB Calendar v1.9 317023
1and1.com 302645
Featured Member
Registered: 03/10/00
Posts: 25582
Forum Stats
13700 Members
60 Forums
37225 Topics
295925 Posts

Max Online: 1064 @ 07/10/14 03:33 PM

The UBB.Developers Network™ (UBB.Dev™/Threads.Dev™) is ©2000-2014 VNC Web Design & Development

▼ Our Sponsors ▼

▲ Our Sponsors ▲

 
fusionbb message board php hacks