maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] UberSquare: A foursquare client (https://talk.maemo.org/showthread.php?t=82671)

hobarrera 2012-02-29 07:07

[ANNOUNCE] UberSquare: A foursquare client
 
Hi!
This is my first real maemo application.
It's a python+qt based application for foursquare.

[Updated 2012-04-23]

For those living on the edge (following extras-devel), you'll have noticed plenty of updates during the last month or so.
For those who aren't here's an update on what changed since my initial release:

Features / Fixed bugs
  • Seaching for nearby venues, list visited venues, or todo venues.
  • Checking-in (duh), and seeing/adding/marking tips.
  • Leaderboard, some basic info on your friends.
  • A brand new button to check-in where your friends are!
  • Non-english characters work now - at least spanish ones to, please report if others don't.
  • I've added a "please wait" screen to most places that were missing it, but there's still some work to do there.
  • Where to post: facebook, twitter, etc
  • Show the last checkin in the main screen (you can see this though the leaderboard in the meantime).

Wishlist
These features are on my list. I'll try to work though this list in-order, but no promises.
  • Make all those buttons that say "TO DO" work. Access a list of places you/your friends are mayor of.
  • "Recent Activity" list, with comment capabilities.

Since I didn't have a decent data-plan when I started programming this, it tends to cache everything possible (while updating data on a background). Whenever you open a list (ie: leaderboard), you'll see the data from last time, while the new data is downloaded and updated in the background.

You can also choose to use AGPS, cell-tower-positioning (since the N900's GPS seems to suck a bit), or use the locations of your last checkin as a reference for searches/etc, whichever is the most convenient.

It's still "under development" and all present features work fine, and pretty well, IMHO.

Feedback if greatly welcome, as are bug reports. Bug reports and enhacement requests can be posted on github.

Just click here to install it! :)

Also, be sure to update the image cache on your first run, and be sure to do it over wifi. This'll make save huge amounts of times in searches, since category icons don't need to be downloaded on-demand. (They're cached anyway when downloaded on-demand, but you don't want to be waiting for images to download while searching for nearby venues).

http://img402.imageshack.us/img402/4...2022904054.png

For those intereseted, the source is available here. I wouldn't recomend it as a learning example for anyone, there's some pretty bad code there (mixed with not-so-bad-code). I'll rewrite the ugly bits eventually, but I care more about feature I need/want for now.

praveenchand 2012-02-29 11:24

Re: [ANNOUNCE] UberSquare: A foursquare client
 
was waiting for this...

hobarrera 2012-02-29 12:34

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by praveenchand (Post 1171972)
was waiting for this...

Hope you enjoy this.
Feel free to leave any bugs/suggestions/requests/etc, I'm actively working on this. :)

Wanderer 2012-03-03 20:59

Re: [ANNOUNCE] UberSquare: A foursquare client
 
not working :( 5sec black screen loading then fall down

hobarrera 2012-03-03 21:56

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Could you run, from a terminal
Code:

python /opt/ubersquare/ubersquare_launch.py
and send me the output? If you dont know how to copy it, press ctrl+shift+p to take a screenshot (this works on any maemo app, by the way).

Thanks!

Wanderer 2012-03-03 22:56

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Nokia-N900:~# python /opt/ubersquare/ubersquare_launch.py
Traceback (most recent call last):
File "/opt/ubersquare/ubersquare_launch.py", line 2, in <module>
from ubersquare import gui
File "/usr/lib/python2.5/site-packages/ubersquare/gui.py", line 13, in <module>
from foursquare import *
File "/usr/lib/python2.5/site-packages/ubersquare/foursquare.py", line 12, in <module>
from xdg import BaseDirectory
ImportError: No module named xdg

rm53 2012-03-03 23:10

Re: [ANNOUNCE] UberSquare: A foursquare client
 
I get exactly the same error message in xterminal... hope there is a solution?

Wanderer 2012-03-03 23:20

Re: [ANNOUNCE] UberSquare: A foursquare client
 
i just tried install xdg and now it's WORKING!

Code:

apt-get install python-xdg

hobarrera 2012-03-03 23:21

Re: [ANNOUNCE] UberSquare: A foursquare client
 
I had forgotten to list some dependencies.
Please, try updating, it've just finished uploading a fixed package.

Cheers!

[EDIT]
Quote:

Originally Posted by Wanderer (Post 1173836)
i just tried install xdg and now it's WORKING!

Code:

apt-get install python-xdg

Yes, that was the issue. "python-xdg" and another package are now listed as dependencies. It takes a while to re-build the package, but upgrading to the latest version will auto-install them for you.

Wanderer 2012-03-03 23:47

Re: [ANNOUNCE] UberSquare: A foursquare client
 
thanks you! great app!

Wanderer 2012-03-04 10:53

Re: [ANNOUNCE] UberSquare: A foursquare client
 
just little thing... can you add some nice icon ? :) thx

hobarrera 2012-03-04 14:16

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by Wanderer (Post 1174038)
just little thing... can you add some nice icon ? :) thx

I've added a foursquare icon for now (https://playfoursquare.s3.amazonaws....icon-36x36.png), if someone volunteers to make a better one, I might use it. :)

I'll upload the latest development release as soon as I finish polishing some things that are still not working regarding tips, the icon will be included there.

demludi 2012-03-04 14:40

Re: [ANNOUNCE] UberSquare: A foursquare client
 
@ hobarrera
10x for your work !!! How to donate you some money ??? PayPal ???

Wanderer 2012-03-04 22:12

Re: [ANNOUNCE] UberSquare: A foursquare client
 
just installed new version and starts failing again

python /opt/ubersquare/ubersquare_launch.py
running devel engine!
Reading code/acces_token
Traceback (most recent call last):
File "/opt/ubersquare/ubersquare_launch.py", line 2, in <module>
from ubersquare import gui
File "/usr/lib/python2.5/site-packages/ubersquare/gui.py", line 24, in <module>
from venue_widgets import *
File "/usr/lib/python2.5/site-packages/ubersquare/venue_widgets.py", line 21, in <module>
from gui import WaitingDialog
ImportError: cannot import name WaitingDialog

praveenchand 2012-03-04 22:23

Re: [ANNOUNCE] UberSquare: A foursquare client
 
now when i click leaderboard the application is exiting...

hobarrera 2012-03-05 06:44

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by Wanderer (Post 1174344)
just installed new version and starts failing again

python /opt/ubersquare/ubersquare_launch.py
running devel engine!
Reading code/acces_token
Traceback (most recent call last):
File "/opt/ubersquare/ubersquare_launch.py", line 2, in <module>
from ubersquare import gui
File "/usr/lib/python2.5/site-packages/ubersquare/gui.py", line 24, in <module>
from venue_widgets import *
File "/usr/lib/python2.5/site-packages/ubersquare/venue_widgets.py", line 21, in <module>
from gui import WaitingDialog
ImportError: cannot import name WaitingDialog

Ooops, yes, again, a packaging error. I've just pushed a newer version into the repos, it'll be available in about 20 minutes.
I really need a clean N900 to make sure I always package everything, etc. :$

Quote:

Originally Posted by praveenchand (Post 1174348)
now when i click leaderboard the application is exiting...

I think you're probably running a version a bit old (this is -devel, so there's upgrades a couple of times a week).
Random crashes when opening venue lists/leaderboards have been fixed.

Quote:

Originally Posted by demludi (Post 1174169)
@ hobarrera
10x for your work !!! How to donate you some money ??? PayPal ???

I hadn't really given any thought to this, here's a paypal donation link (I'll investigate on some other alternatives when I have more free time).

https://www.paypalobjects.com/en_US/...onateCC_LG.gif

Wanderer 2012-03-05 15:14

Re: [ANNOUNCE] UberSquare: A foursquare client
 
bug
- info next to photo - not updating

suggestion
- visited - short by date
- last check next to photo
- when i check in - choose where to post it
- friends

hobarrera 2012-03-05 17:28

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by Wanderer (Post 1174664)
bug
- info next to photo - not updating

It actually updates when you click "add venue" an restart the app. (Don't ask why: it's a secondary effect). I've been meaning to have it update when you click on the profile picture, but haven't gotten around to it. (auto-updating can be a bad idea for those of us without 3G).

Quote:

Originally Posted by Wanderer (Post 1174664)
suggestion
- visited - short by date
- last check next to photo
- when i check in - choose where to post it
- friends

Friends is next on my to-do list, they'll be accesible through the leaderboard. Hopefully, sometime this week.

Last checkin next to photo sounds like a cool idea, I'll add that to my todo list.

Choosing where to post is also on my to-do list. Even I find it annoying not being able to change this.

Sorting venues wil probably be a bit of work, so I'll try and get around to this after I've gotten everything else polished. Since you can search anyway, I don't see it as being really important.

Thanks for the feedback, cheers!

akrus 2012-03-08 08:37

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Wow, that's unbelievable. Gonna install & try it today, yet another wonderful app for Maemo :)

Keep up good work! :)

BUG REPORT:
1. Click on Search/Explore
2. Input any text in Russian language into the search field
3. Click on Search
4. Nothing happens

Wanderer 2012-03-11 16:24

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Bug: when i click on leaderboard - nothing happens

hobarrera 2012-03-31 21:46

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Version 0.3.6 is out. I've edited my inital post accordingly!

Quote:

Originally Posted by akrus (Post 1176377)
Wow, that's unbelievable. Gonna install & try it today, yet another wonderful app for Maemo :)

Keep up good work! :)

BUG REPORT:
1. Click on Search/Explore
2. Input any text in Russian language into the search field
3. Click on Search
4. Nothing happens

Hi!

Can you try with the latest version (0.3.6) - I've just pushed it to extras-devel.
I've tried this with spanish characters and it the bugs seems to be gone, but I'd appreciate if you can confirm the same for russian characters.

Cheers!

Quote:

Originally Posted by Wanderer (Post 1177912)
Bug: when i click on leaderboard - nothing happens

Can you confirm if this still happens with the latest version?
If it does, please, follow the instructions on post #5 and send me any output you might see.

Thanks!

Wanderer 2012-04-01 22:55

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Hi, leaderboard now working fine - i reinstalled app and wiped out all caches of app

Wishlist : friends activity list - like on foursqure.com

hobarrera 2012-04-01 23:21

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by Wanderer (Post 1186979)
Hi, leaderboard now working fine - i reinstalled app and wiped out all caches of app

Great!

Quote:

Originally Posted by Wanderer (Post 1186979)
Wishlist : friends activity list - like on foursqure.com

I'll add this to my list! :)

Wanderer 2012-04-03 13:28

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by hobarrera (Post 1186988)
I'll add this to my list! :)

and please put comments to activity list (now if i want comment friend checkin i must open to website and its really slow :( )

idea:
when I will search the nearest checkin, there could be the distance?

Sisira76 2012-04-06 12:58

Re: [ANNOUNCE] UberSquare: A foursquare client
 
How to post check-in's to "Twitter" & "Facebook" ?:confused:

hobarrera 2012-04-06 22:27

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by Sisira76 (Post 1188816)
How to post check-in's to "Twitter" & "Facebook" ?:confused:

My bad, I hardcoded this from day 0, and forgot about this. I'll work on a screen to configure facebook/twitter publishing this weeked.

Note: You'll be able to configure where you want to publish your checkins/etc, but you'll have to manually link you accounts from the website first.

praveenchand 2012-04-08 12:47

Re: [ANNOUNCE] UberSquare: A foursquare client
 
what is the new update?

hobarrera 2012-04-08 22:14

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by praveenchand (Post 1189702)
what is the new update?

A very minor update:

* Stats are properly updated when touching the profile pic/stats
* Minor UI fixes in venues screen
* Distance to venues (in venue lists) is show (if available

praveenchand 2012-04-10 07:59

Re: [ANNOUNCE] UberSquare: A foursquare client
 
can you change the comment "via UberSquare" to "via UberSquare for N900" when we check in? thanks!

hobarrera 2012-04-10 08:13

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by praveenchand (Post 1190326)
can you change the comment "via UberSquare" to "via UberSquare for N900" when we check in? thanks!

Not a bad idea actually. It's a bit more consistent with other smartphone apps.
I've also changed the link to this thread, rather than an empty website. :)

praveenchand 2012-04-10 08:37

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Another question is that possible add a new place from the map, instead of giving lat and long, because if its taking cell tower as reference it won't be accurate. Is that complicated?

hobarrera 2012-04-10 08:44

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by praveenchand (Post 1190340)
Another question is that possible add a new place from the map, instead of giving lat and long, because if its taking cell tower as reference it won't be accurate. Is that complicated?

Actually, it sort of is - that's mainly why I made the configurable location. To be honest, I fix the positions from my PC on my free time! :P

I'll get to that eventually, but it's a bit harder than the rest of the application (it's just something I've never done before really), and I started collage around a month ago, so my free time is considerably less.

It'll come... eventually.

praveenchand 2012-04-10 08:53

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by hobarrera (Post 1190342)
Actually, it sort of is - that's mainly why I made the configurable location. To be honest, I fix the positions from my PC on my free time! :P

I'll get to that eventually, but it's a bit harder than the rest of the application (it's just something I've never done before really), and I started collage around a month ago, so my free time is considerably less.

It'll come... eventually.

Actually me also do the same, fix the positions from PC :-) Take your time, thanks for your nice work & support :)

Sisira76 2012-04-11 07:11

Re: [ANNOUNCE] UberSquare: A foursquare client
 
I'm waiting here for the next update.
Thanks !

hobarrera 2012-04-14 14:33

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by Sisira76 (Post 1188816)
How to post check-in's to "Twitter" & "Facebook" ?:confused:

Latest release (less than a minute ago) has a (poorly designed) settings screen that allow you to configure this. :)

praveenchand 2012-04-14 21:57

Re: [ANNOUNCE] UberSquare: A foursquare client
 
the button "Visited" is not working for me, before it was working fine. i think its since the update before this latest update. Secondly in settings now there is option for post to twitter & facebook, its just a checkbox to select or deselect. So where to enter login details for twitter & facebook?

hobarrera 2012-04-15 00:22

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by praveenchand (Post 1192189)
the button "Visited" is not working for me, before it was working fine. i think its since the update before this latest update.

Try deleting the cache, it might have gotten corrupt. It the following file:
/home/user/.cache/ubersquare/cache.sqlite

Quote:

Originally Posted by praveenchand (Post 1192189)
Secondly in settings now there is option for post to twitter & facebook, its just a checkbox to select or deselect. So where to enter login details for twitter & facebook?

You need to configure the accounts from the website; the foursquare API offers no way for applications to configure this.

praveenchand 2012-04-15 04:03

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Deleting the cached worked!

praveenchand 2012-04-15 05:50

Re: [ANNOUNCE] UberSquare: A foursquare client
 
its not posting to facebook / twitter. I have already configured in foursquare and when i use zaploc its getting updated, but not via ubersquare, pls chk.

hobarrera 2012-04-15 06:12

Re: [ANNOUNCE] UberSquare: A foursquare client
 
Quote:

Originally Posted by praveenchand (Post 1192270)
its not posting to facebook / twitter. I have already configured in foursquare and when i use zaploc its getting updated, but not via ubersquare, pls chk.

Oops! Yup, I broke it just before I uploaded this. Who would have guessed an extra space broke it? :P

It've uploaded a fix now, sorry about that. :) You'll need to re-configure it (you'll notice both options are unchecked in settings).


All times are GMT. The time now is 12:43.

vBulletin® Version 3.8.8