webOS Nation Forums >  Homebrew >  webOS homebrew apps > Flickr Uploadr for webOS
Flickr Uploadr for webOS

  Reply
 
LinkBack Thread Tools Display Modes
Old 09/30/2009, 10:27 PM   #1 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default Flickr Uploadr for webOS

Looks like my BlockChalk and Oblique Strategy apps went over pretty well, so I've just released my Flickr Uploadr app.

Update (v0.0.2): Added menu command to re-authenticate. Checking token validity on home scene load. Messaging added to auth error to suggest Flickr page reload to resolve caching issue.

Update (v0.0.1): Initial public release.

Basically, this is an app for webOS 1.2 and above that uploads photos to your account at Flickr using the new Download Manager service. It might do more someday, but for now that's it.

It uses an undocumented webOS facility for thumbnails, so alas it won't be heading to the App Catalog any time soon. But, it really needs a lot more work before I start worrying about that anyway.

Enjoy! The source is available here, patches welcome:

http://github.com/lmorchard/flickr-uploadr-webos
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/

Last edited by lmorchard; 10/01/2009 at 02:45 PM.
lmorchard is offline   Reply With Quote
Old 09/30/2009, 11:15 PM   #2 (permalink)
Member
 
Join Date: Jul 2009
Posts: 57
Likes Received: 0
Thanks: 15
Thanked 4 Times in 4 Posts
Default

cool idea I been looking for an app for flickr
wolfsoul is offline   Reply With Quote
Old 10/01/2009, 08:31 AM   #3 (permalink)
Member
 
Join Date: Jan 2003
Location: Philadelphia, PA
Posts: 418
Likes Received: 1
Thanks: 59
Thanked 73 Times in 56 Posts
Default

Hooray! Anything that makes fickr uploading faster makes my kid's grandparents happy.
ahitz is offline   Reply With Quote
Old 10/01/2009, 08:41 AM   #4 (permalink)
Member
 
Join Date: Jan 2003
Location: Philadelphia, PA
Posts: 418
Likes Received: 1
Thanks: 59
Thanked 73 Times in 56 Posts
Default

Ok, some thoughts. I know you're limited by the phone's photo app and API, but for multiple photos it's still pretty tedious. To limit taps and page loads, are any of these possible?:

- Remember the last-added photo in this batch and start there when adding another
- Add a folder selector in the app (All, Photo Roll, Wallpapers, etc.), like Switcharoo, then jump right to that album when you go to add a photo
- Add an "upload range" feature where you select a first photo and then a last and the app automagically queues everything in between.
- Add a mode where you don't go back to the app's main page after you add a photo to the queue, so you could Add, swipe to another, Add, etc. I guess you'd need another button to return to to main page

Thanks for attempting the app and I can't wait to see it progress!

Last edited by ahitz; 10/01/2009 at 08:50 AM.
ahitz is offline   Reply With Quote
Old 10/01/2009, 08:50 AM   #5 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by ahitz View Post
Ok, some thoughts. I know you're limited by the phone's photo app and API, but for multiple photos it's still pretty tedious. To limit taps and page loads, are any of these possible?:

- Add a folder selector in the app (All, Photo Roll, Wallpapers, etc.), like Switcharoo, then jump right to that album when you go to add a photo
- Add an "upload range" feature where you select a first photo and then a last and the app automagically queues everything in between.
- Add a mode where you don't go back to the app's main page after you add a photo to the queue, so you could Add, swipe to another, Add, etc. I guess you'd need another button to return to to main page

Thanks for attempting the app and I can't wait to see it progress!
Yeah, currently I just use the file picker API provided by Mojo, which is limited to the flow you see in the app.

There is an undocumented MediaDB service I could use that gives me full access to listing photos & etc, but I'd have to build my own photo browser / selection UI to use it. And it would be another strike against it for App Catalog inclusion.

But... I might just do all of that anyway, since the APIs may be public by the time the app's in any shape to submit to Palm.

Next immediate things, though, are to add a scene to edit title / description / tags for each photo (or in bulk) and maybe a better icon
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/
lmorchard is offline   Reply With Quote
Old 10/01/2009, 09:07 AM   #6 (permalink)
Member
 
Join Date: Jan 2003
Location: Philadelphia, PA
Posts: 418
Likes Received: 1
Thanks: 59
Thanked 73 Times in 56 Posts
Default

Personally I'd rather see visibility toggles (Everyone/Friends/Family, etc) and set/collection assignment first, but I know a lot of people don't care about those and just want to get pretty pictures in their stream.
ahitz is offline   Reply With Quote
Old 10/01/2009, 10:12 AM   #7 (permalink)
Member
 
Join Date: Sep 2009
Posts: 128
Likes Received: 0
Thanks: 11
Thanked 5 Times in 4 Posts
Default

Put in Yahoo name and password, but continue to get "Authentication failed" notice.

And it is the correct name and password.
apalemick is offline   Reply With Quote
Old 10/01/2009, 10:14 AM   #8 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by apalemick View Post
Put in Yahoo name and password, but continue to get "Authentication failed" notice.

And it is the correct name and password.
You put in your Yahoo name and password in the browser, *and* you tapped "Ok, I'll Authorize It" at the bottom of the page on the Flickr side to enable the app?
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/

Last edited by lmorchard; 10/01/2009 at 10:23 AM.
lmorchard is offline   Reply With Quote
Old 10/01/2009, 10:22 AM   #9 (permalink)
Member
 
Join Date: Sep 2009
Posts: 128
Likes Received: 0
Thanks: 11
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by lmorchard View Post
You put in your Yahoo name and password in the browser, *and* you tapped "Ok, I'll Allow It" on the Flickr side to enable the app?
Yes. Tried three times.

"Access not approved."
apalemick is offline   Reply With Quote
Old 10/01/2009, 10:58 AM   #10 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by apalemick View Post
Yes. Tried three times.

"Access not approved."
Not sure if this is your problem, but: Try the Authenticate button - but before you hit "Ok, I'll Authorize It", reload the browser page with the button in the lower right and then hit the authorize button. Still need to see why it happens, but that seemed to fix a reproducible auth failure for me.

If that doesn't work, then not sure what it is.
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/
lmorchard is offline   Reply With Quote
Old 10/01/2009, 11:11 AM   #11 (permalink)
Member
 
Join Date: Sep 2009
Posts: 128
Likes Received: 0
Thanks: 11
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by lmorchard View Post
Not sure if this is your problem, but: Try the Authenticate button - but before you hit "Ok, I'll Authorize It", reload the browser page with the button in the lower right and then hit the authorize button. Still need to see why it happens, but that seemed to fix a reproducible auth failure for me.

If that doesn't work, then not sure what it is.
That worked.

Thanks!
apalemick is offline   Reply With Quote
Old 10/01/2009, 12:35 PM   #12 (permalink)
Member
 
Join Date: Aug 2009
Posts: 48
Likes Received: 0
Thanks: 77
Thanked 8 Times in 7 Posts
Default



Setting permissions, adding to sets, tags, etc. would all be great in due time. But honestly, even version 0.0.1 is light years ahead of uploading by sending a separate email for each photo. I'd be happy even if it stayed just as is with nothing else added.

On a related note, just last night I started working on a Flickr viewer. Maybe I'll hop in and add some patches here instead.
nxg125 is offline   Reply With Quote
Old 10/01/2009, 12:49 PM   #13 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by apalemick View Post
That worked.

Thanks!
Cool! Now the cruddy thing is I need to figure out why the browser sometimes needs a reload when you try to authenticate :/

Seems weird if it's caching things, since the auth URL opened in the browser is different every time - at least with respect to query string parameters. I really hope Palm's browser cache doesn't ignore query params.
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/

Last edited by lmorchard; 10/01/2009 at 12:56 PM.
lmorchard is offline   Reply With Quote
Old 10/01/2009, 12:53 PM   #14 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by nxg125 View Post


Setting permissions, adding to sets, tags, etc. would all be great in due time. But honestly, even version 0.0.1 is light years ahead of uploading by sending a separate email for each photo. I'd be happy even if it stayed just as is with nothing else added.

On a related note, just last night I started working on a Flickr viewer. Maybe I'll hop in and add some patches here instead.
I figure all the metadata editing will happen in a scene that appears with a tap on a queue item, or in bulk from command menu button. Otherwise, it'll mostly stay simple on the home scene.

I was planning to keep the app focused on being an uploader, since the mobile site is pretty usable otherwise. But, I had thought it could be interesting to expand it into viewing photostreams too. The iPhone Flickr app is pretty keen in that respect.

Patches welcome! Or, fork it and run with it if you want to.
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/
lmorchard is offline   Reply With Quote
Old 10/01/2009, 01:26 PM   #15 (permalink)
Member
 
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 194
Likes Received: 0
Thanks: 56
Thanked 63 Times in 7 Posts
Default

Thanks lmorchard! This is about the 3rd place I pinged you (shoulda started here, silly me!). I wanted to try it out, but I pretty much never authorize apps that request the ability to delete photos. Probably just a pet peeve of mine, but since this app doesn;t appear to be designed to delete photos anyways, maybe you could remove that authorization? I posted about it in one of the Flickr Pre groups as well, Flickr: Discussing Flickr uploader app in the PreCentral Homebrew Store in Palm Pre & WebOS

Really glad to see this out there regardless.
jakerome is offline   Reply With Quote
Old 10/01/2009, 01:29 PM   #16 (permalink)
Member
 
Join Date: Aug 2009
Posts: 48
Likes Received: 0
Thanks: 77
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by lmorchard View Post
I was planning to keep the app focused on being an uploader, since the mobile site is pretty usable otherwise. But, I had thought it could be interesting to expand it into viewing photostreams too. The iPhone Flickr app is pretty keen in that respect.

Patches welcome! Or, fork it and run with it if you want to.
Yeah, that makes sense. I have no idea if my viewer will ever become something useful. I just decided on it because I'm looking to do some webOS programming, I already use Flickr, and they have a well defined and (pseudo-)supported API. I guess time will tell if it actually goes anywhere.
nxg125 is offline   Reply With Quote
Old 10/01/2009, 02:30 PM   #17 (permalink)
lvd
Member
 
Join Date: Aug 2009
Posts: 63
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
Default

AWESOME. i've been wanting this

only comment so far is that it looks like you used a low-res icon, could you find a prettier one?
lvd is offline   Reply With Quote
Old 10/01/2009, 02:40 PM   #18 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by jakerome View Post
Thanks lmorchard! This is about the 3rd place I pinged you (shoulda started here, silly me!). I wanted to try it out, but I pretty much never authorize apps that request the ability to delete photos. Probably just a pet peeve of mine, but since this app doesn;t appear to be designed to delete photos anyways, maybe you could remove that authorization? I posted about it in one of the Flickr Pre groups as well, Flickr: Discussing Flickr uploader app in the PreCentral Homebrew Store in Palm Pre & WebOS

Really glad to see this out there regardless.
I just turned the permissions down from "delete" to "write" on the API key. Looks like all is well after that change.
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/
lmorchard is offline   Reply With Quote
Thanked By: jakerome
Old 10/01/2009, 02:42 PM   #19 (permalink)
Member
 
lmorchard's Avatar
 
Join Date: Jul 2009
Location: livonia, mi
Posts: 146
Likes Received: 0
Thanks: 13
Thanked 146 Times in 25 Posts
Default

Quote:
Originally Posted by lvd View Post
AWESOME. i've been wanting this

only comment so far is that it looks like you used a low-res icon, could you find a prettier one?
Yup, that's on my TODO list. I pretty much just slapped the icon from the official open source Flickr Uploader on it and added some transparency. It ended up looking cruddier than I expected, so hopefully I'll have a much better version soon
__________________
l.m.orchard
{web,mad,computer} scientist
http://decafbad.com/
lmorchard is offline   Reply With Quote
Old 10/01/2009, 02:57 PM   #20 (permalink)
Member
 
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 194
Likes Received: 0
Thanks: 56
Thanked 63 Times in 7 Posts
Default

Thanks LM, but it's still asking for delete permission on the authorization page. Might be a problem on Flickr's end.
jakerome is offline   Reply With Quote
Reply

 

Tags
flickr, photos, uploadr

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0