Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: foursquare bb10 sdk

Kyle,

here's a small video how I integrated Foursquare into a small utility app: ekkes TeaTimer (coming soon to BlackBerry World)

 

SSO with Foursquare is from ApplicationMenu | Settings and I'm storing the OAuth token using QSettings

 

onVenueSearch() to search for Venues with 'Tea' to see where to buy Tea or to take a cup of Tea

 

The Search Criteria is also in the Settings so users can customize and use the Query which fits best for their country.

 

Invocation Framework from my POV is the most important framework to provide BlackBerry Flow UX

 

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: foursquare bb10 sdk

Ekke,
it's an amazing app. It's impressive how polished it looks.

Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: foursquare bb10 sdk


Zmey wrote:
Ekke,
it's an amazing app. It's impressive how polished it looks.

thx

 

while the TeaTimer is not OSS -

next 2 months or so there will be a sister project (egg-cooking-timer) open sourced I'll use on my cascades trainings and as sample for upcoming book about Cascades I'm writing

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: foursquare bb10 sdk

I also have written an article

ekkes TeaTimer - behind the scenes

where I'm going thru the different parts of the app telling others How I did it

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Highlighted
Developer
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: foursquare bb10 sdk

This is great Ekke, just the kind of use case I had in mind when building it! Thanks for sharing!
Like all of my posts
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: foursquare bb10 sdk


kylefowler wrote:
This is great Ekke, just the kind of use case I had in mind when building it! Thanks for sharing!

Hi Kyle,

 

just the next app with Foursquare integrated ready Smiley Happy

 

this time the first of my Conference2Go applications for EclipseCon.

will be available soon at BlackBerry World for FREE

 

here's a video to demo the app: http://vimeo.com/ekkescorner/c2g-eclipsecon

 

this time I'm using Foursquare for:

 

  • direct CheckIn to EclipseCon Venue in Boston with one tap
  • find Hotels nearby

 

integration was easy done: find Hotels nearby I copied over from my TeaTimer App where I'm searching for Tea nearby.

For the CheckIn I created the venue for EclipseCon in advance, got the ID of the Venue and then invoked this Venue through Invocation Framework directly

 

cool stuff - thanks again - the iPhone app of EclipseCon has less features ;-)

thx to Invocatiion Framework I also integrated eMail-Message, MediaPlayer, ImageViewer, Twitter, remember (Evernote), ...

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: foursquare bb10 sdk

[ Edited ]

finally the app is at BlackBerry World (FREE)

search for EclipseCon

download

from Home Page of the app there are the Foursquare Actions to directly CheckIn and find nearby Smiley Happy

 

btw: this is the code to get the CheckIn:

void ApplicationUI::onOpenVenue(const QString &id) {
	InvokeRequest cardRequest;
	cardRequest.setTarget("com.foursquare.blackberry.uri");
	cardRequest.setAction("bb.action.OPEN");
	cardRequest.setUri("foursquare://venues/" + id);
	mInvokeManager->invoke(cardRequest);
}

you only need the id of the Venue - that's all

 

thanks Kyle Fowler for smooth integration

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
New Developer
Posts: 58
Registered: ‎04-04-2012
My Device: Z30, Z10LE, Q5 & PlayBook
My Carrier: German Provider

Re: foursquare bb10 sdk


kylefowler wrote:
Second part, yeah the query param isnt mapped to the page search yet. That is something I could add, but would have to be included in an app update at some point in the future.

Hi Kyle,

 

what about the not mapped params right now? I would like to do a venue search, but not with a query. Instead I want to search based on location (uri param ll). That param got completely ignored by now, is that correct?

 

Are there any plans to add/fix that? If not I would need to implement a Foursquare place picker on my own and I really want to avoid that. So any feedback would be appreciated.

 

Best,

Sven

---
Developer ReadItNow!, PhotoUpload, WhereIs...?, Magic4Square and OrganizeMe!

http://sven-ziegler.com
Developer
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: foursquare bb10 sdk

Yeah right now the ll parameter gets ignored. I can add that, what's the use case for picking a place that isn't near you? Just curious.

Like all of my posts
New Developer
Posts: 58
Registered: ‎04-04-2012
My Device: Z30, Z10LE, Q5 & PlayBook
My Carrier: German Provider

Re: foursquare bb10 sdk

If you plan a trip or something like that. Smiley Happy

When you decide to add that mapping, what does that mean in terms of when it would be available for usage?

Best,
Sven
---
Developer ReadItNow!, PhotoUpload, WhereIs...?, Magic4Square and OrganizeMe!

http://sven-ziegler.com