Socialize Module for Android Released

50 views
Skip to first unread message

Jason

unread,
Dec 22, 2011, 2:19:27 PM12/22/11
to SocializeTitanium
Hi folks,

We recently held an internal hackathon here at Socialize with a
mandate to integrate the Socialize Action Bar with titanium by way of
a Titanium Module. This is essentially just a wrapper around the
existing Action Bar.

There is a public github project housing this at:

https://github.com/socialize/socialize-titanium-android

Included in the repo is a sample project:

https://github.com/socialize/socialize-titanium-android/tree/master/example
https://github.com/socialize/socialize-titanium-android/blob/master/example/Resources/app.js

As I mentioned this was just part of a one day hackathon so it's a bit
light on documentation and testing, but feel free to fork the project
if you want to augment.

Anyway.. let us know what you think!

P.S. Expect a similar announcement for iOS soon.
Message has been deleted

Michael Pauley

unread,
Dec 22, 2011, 2:24:38 PM12/22/11
to socializ...@googlegroups.com
I've been working on an iOS implementation today and keep running into armv6 errors.

Granted Im not an ObjC expert, I'm willing to help any way that I can.

Michael 

Isaac Mosquera

unread,
Dec 22, 2011, 2:26:05 PM12/22/11
to socializ...@googlegroups.com
Michael,

our ios developer will be sending a similar message shortly with working version of the module.  He'll also be able to walk you through the "hacks" he made in order to make it work with iOS.

He's also on this thread.

Thanks,
Isaac
--
Isaac Mosquera
CTO and Co-Founder
Map The Interest Graph at GetSocialize.com

isaac.mosquera@getsocialize.
com
703.795.5322 mobile
@imosquera twitter

Nate Griswold

unread,
Dec 22, 2011, 11:50:29 PM12/22/11
to socializ...@googlegroups.com
Hello,

The iOS version is now available, as well...


See the README at the bottom for info on building the module.

Similar to Android, you can check out an example javascript app at https://github.com/socialize/socialize-titanium-ios/blob/master/example/app.js

As Jason said, let us know what you think!

Michael Pauley

unread,
Dec 23, 2011, 8:44:42 AM12/23/11
to socializ...@googlegroups.com
Great, I'll take a look at it today!

Sent from my iPhone

Michael Pauley

unread,
Dec 23, 2011, 9:33:44 AM12/23/11
to socializ...@googlegroups.com
Where would I set my API keys?

tonylukasavage

unread,
Jan 3, 2012, 6:32:51 PM1/3/12
to SocializeTitanium
I'd also like to know how to set the API keys and Facebook app id from
the Javascript code. Is that possible yet with the latest version of
the android and ios modules in the github repos?

On Dec 23 2011, 9:33 am, Michael Pauley <mdpau...@gmail.com> wrote:
> Where would I set my API keys?
>
>
>
>
>
>
>
> On Fri, Dec 23, 2011 at 8:44 AM, Michael Pauley <mdpau...@gmail.com> wrote:
> > Great, I'll take a look at it today!
>
> > Sent from my iPhone
>
> > On Dec 22, 2011, at 11:50 PM, Nate Griswold <
> > nate.grisw...@getsocialize.com> wrote:
>
> > Hello,
>
> > The iOS version is now available, as well...
>
> > You can check it out at
> >https://github.com/socialize/socialize-titanium-ios
>
> > See the README at the bottom for info on building the module.
>
> > Similar to Android, you can check out an example javascript app at
> >https://github.com/socialize/socialize-titanium-ios/blob/master/examp...

Jason Polites

unread,
Jan 3, 2012, 6:38:21 PM1/3/12
to socializ...@googlegroups.com
There is an example for Android in:

https://github.com/socialize/socialize-titanium-android/blob/master/example/Resources/app.js

As for iOS... not sure.  I'll check with the iOS team...
--
Jason Polites
Socialize Inc

Jason....@GetSocialize.com
153 Townsend St #9057
San Francisco
CA 94107

Nate Griswold

unread,
Jan 3, 2012, 6:41:38 PM1/3/12
to socializ...@googlegroups.com
Ah, sorry..  stupid of me. I have to expose the API key for that, guys.

-nate

tonylukasavage

unread,
Jan 3, 2012, 6:43:23 PM1/3/12
to SocializeTitanium
No need for apologies. Thanks for the heads up on the Android example.
I've been working with the iOS one so far.

Also, I submitted an issue to the github repo for a build issue I
encountered. Is that the best place for me to do so or do you have a
preferred method of me logging issues?

-- tony

On Jan 3, 6:41 pm, Nate Griswold <nate.grisw...@getsocialize.com>
wrote:
> Ah, sorry..  stupid of me. I have to expose the API key for that, guys.
>
> -nate
>
> On Tue, Jan 3, 2012 at 3:38 PM, Jason Polites <
>
>
>
>
>
>
>
> jason.poli...@getsocialize.com> wrote:
> > There is an example for Android in:
>
> >https://github.com/socialize/socialize-titanium-android/blob/master/e...
>
> > As for iOS... not sure.  I'll check with the iOS team...
>
> > On Tue, Jan 3, 2012 at 3:32 PM, tonylukasavage <
> > anthony.lukasav...@gmail.com> wrote:
>
> >> I'd also like to know how to set the API keys and Facebook app id from
> >> the Javascript code. Is that possible yet with the latest version of
> >> the android and ios modules in the github repos?
>
> >> On Dec 23 2011, 9:33 am, Michael Pauley <mdpau...@gmail.com> wrote:
> >> > Where would I set my API keys?
>
> >> > On Fri, Dec 23, 2011 at 8:44 AM, Michael Pauley <mdpau...@gmail.com>
> >> wrote:
> >> > > Great, I'll take a look at it today!
>
> >> > > Sent from my iPhone
>
> >> > > On Dec 22, 2011, at 11:50 PM, Nate Griswold <
> >> > > nate.grisw...@getsocialize.com> wrote:
>
> >> > > Hello,
>
> >> > > The iOS version is now available, as well...
>
> >> > > You can check it out at
> >> > >https://github.com/socialize/socialize-titanium-ios
>
> >> > > See the README at the bottom for info on building the module.
>
> >> > > Similar to Android, you can check out an example javascript app at
> >> > >https://github.com/socialize/socialize-titanium-ios/blob/master/examp.
> >> ..
>
> >> > > As Jason said, let us know what you think!
>
> > --
> > Jason Polites*
> > *
> > Socialize Inc*
> > *
> > Jason.Poli...@GetSocialize.com <jason.poli...@getsocialize.com>*
> > *153 Townsend St #9057
> > San Francisco
> > CA 94107

Nate Griswold

unread,
Jan 3, 2012, 7:09:52 PM1/3/12
to socializ...@googlegroups.com
Tony,

That is a great place. Let me make sure i have notifications on for that.

-nate

Nate Griswold

unread,
Jan 3, 2012, 7:12:23 PM1/3/12
to socializ...@googlegroups.com
Guys, i'm not gonna be able to get to the API key thing right away. If you want to try it out anyway, you can edit the module source before you build it. See reloadActionBar in ComGetsocializeTitaniumiosActionBar.m

    [Socialize storeSocializeApiKey:@"MYKEY" andSecret:@"MYSECRET"];

-nate

Aaron Saunders

unread,
Jan 3, 2012, 9:47:44 PM1/3/12
to socializ...@googlegroups.com
i made some changes and got things working

Nate Griswold

unread,
Jan 4, 2012, 1:13:42 PM1/4/12
to socializ...@googlegroups.com
Aaron,

Awesome. Thank you for contributing. Before we integrate that, i think i will put it at the module level, rather than the action bar level. This is just in case we start adding some more controls, so you don't have to configure it multiple times.

If you have any other changes, i don't mind pull requests against master, either.

-nate

Kevin Whinnery

unread,
Jan 4, 2012, 1:14:56 PM1/4/12
to socializ...@googlegroups.com
We'll push out future fixes and assists via pull requests – thanks!

Aaron Saunders

unread,
Jan 4, 2012, 1:28:13 PM1/4/12
to socializ...@googlegroups.com, socializ...@googlegroups.com
I actually put the Facebook login at the module level and was going to refactor the API key information to be stored at the same time.

Nate Griswold

unread,
Jan 5, 2012, 6:43:14 PM1/5/12
to socializ...@googlegroups.com
Folks,

I pushed a couple of changes, one for the spaces in workdir, and the other for setting the api key

The space fix will require a git submodule update before build

-nate

Aaron Saunders

unread,
Jan 16, 2012, 3:55:58 PM1/16/12
to SocializeTitanium Module
Are there any new updates to the IOS module? I did post a few issues
in the git hub repo and I havent seen any responses there or here in
this google group.

I also noticed that there are slight implementation differences
between the IOS and Android versions of the modules interface in
javascript. Since appcelerator developers like to code once and
minimize the number of platform differences to account for, it would
be great if the interface was more consistent.

Also as I mentioned in the github issues, some better error handling
and event callbacks might make the module more useful.

great job so far, looking forward to the finished product

On Jan 5, 6:43 pm, Nate Griswold <nate.grisw...@getsocialize.com>
wrote:
> Folks,
>
> I pushed a couple of changes, one for the spaces in workdir, and the other
> for setting the api key
>
> The space fix will require a git submodule update before build
>
> -nate
>
> On Wed, Jan 4, 2012 at 10:28 AM, Aaron Saunders <aa...@clearlyinnovative.com
>
>
>
>
>
>
>
> > wrote:
> > I actually put the Facebook login at the module level and was going to
> > refactor the API key information to be stored at the same time.
>
> > On Jan 4, 2012, at 1:13 PM, Nate Griswold <nate.grisw...@getsocialize.com>
> >> * aa...@clearlyinnovative.com
> >>            202.683.7495
> >> *
> >> *  blog.clearlyinnovative.com*

Nate Griswold

unread,
Jan 16, 2012, 4:07:10 PM1/16/12
to socializ...@googlegroups.com
Aaron,

I believe our plan is to merge them into one module, and at that time we will be making things consistent.

Thanks for updating here. I didn't get my github notification settings quite right. You shouldn't need to mention it here for future issues.

-nate
Reply all
Reply to author
Forward
0 new messages