Recent Updates Page 2 Toggle Comment Threads | Keyboard Shortcuts

  • Swami 6:29 am on March 9, 2013 Permalink | Log in to leave a Comment
    Tags: notifications   

    When will be there be a Notification center in the Android app like the iOS app? I receive instant notifications on the iOS app for all new comments and posts but not on the Android app. Also iOS users can notifications of comments and posts of the blogs they follow. Will the Android app support than soon. Thanks.

     
  • Will Norris 8:04 pm on March 6, 2013 Permalink | Log in to leave a Comment  

    this afternoon, @danroundhill and I chatted briefly about a coding style guide for wp-android, and agreed to just use (or at least start with) the basic android style guide. For future code, I’ve gone ahead and added a project-specific java formatter based on that guide. For existing code, much of the changes can be pretty easily scripted. The one real downside is that doing mass changes to code like this tends to make tools like `svn blame` somewhat useless until other significant changes are made to the file. I’m personally okay with that (I figure the sooner the better), but wanted to check with others before I do any large commits of this type. Also, any changes people are working that haven’t yet checked in yet may be slightly disrupted; you’ll have to merge in these changes, since most every java file will be touched.

     
    • Dan 10:07 am on March 7, 2013 Permalink | Log in to Reply

      You can pretty much just blame me for most of the nasty code :)

      • Will Norris 10:11 am on March 7, 2013 Permalink | Log in to Reply

        actually `svn blame` is really useful for seeing when a particular line of code was last touched. I’ve been using it a lot as I read through code. It won’t be entirely useless though… you can always run blame on a previous version of the file.

        So does that mean you’re okay with going ahead with a mass style update?

  • Fathallah Wael 10:43 am on February 28, 2013 Permalink | Log in to leave a Comment  

    Hi figure out that WordPress android app it’s not supporting Arabic language so i download the code and i add the Arabic language but the problem that i don’t know how to contact the wordpress team to send my work

     
  • Will Norris 10:58 am on February 16, 2013 Permalink | Log in to leave a Comment  

    So I’ve just submitted the initial implementation of the menu drawer. It’s fully functional (with just a couple of minor exceptions), though will need lots of UI work. You’ll need to add android-menudrawer in order to build it (follow the same steps as you used for ActionBarSherlock).

    I haven’t touched the existing Dashboard menu yet, though I suspect I’ll remove that entirely and default to the Posts screen on initial launch (the same way the iOS app does). I also suspect that I’ll move the Quick Photo and Video buttons to the bottom, also similar to iOS. Anyway, give it spin and see what you think.

     
    • Dan 2:27 pm on February 17, 2013 Permalink | Log in to Reply

      This is sweet! I think this will work well. I noticed a few things:

      • The back history gets a little weird, I wonder if we should add an activity flag to clear the current activity after selecting a new one in the menu. This seems to be what the YouTube app does.
      • There’s a slight UI delay when you select a new activity from the sidebar. Maybe the new activity should be loaded before the menu animation slides it back in? I’ve seen that the Rdio app slides the current activity completely out of view before it slides the new one in (which looks really odd to me)
  • Will Norris 4:38 pm on February 15, 2013 Permalink | Log in to leave a Comment  

    I asked about it in chat earlier this week, but @ievolver wasn’t entirely sure… can we get rid of the GPL screen that is displayed on first launch? It’s meaningless to have an end user agree to the GPL, since it doesn’t apply to them at all (it’s not a EULA)… it applies to developers. And it’s not the best first experience for users to see a full screen of legal jargon.

    Besides, I think Android is the only app that does this (well, at least iOS doesn’t do it).

    @danroundhill: any objections?

     
    • Dan 4:44 pm on February 15, 2013 Permalink | Log in to Reply

      No objections, I think I added that way back based on Google’s guidelines to have some sort of EULA in there. But yeah it doesn’t really work to use the GPL for that.

  • Dan 8:55 am on February 15, 2013 Permalink | Log in to leave a Comment
    Tags: , json   

    While testing @kokejb‘s preview patch this week I came across an issue when parsing the blog options JSON that we are using in the app. After a bit of debugging, I think that the org.JSON library isn’t going to cut the mustard for our JSON needs. It doesn’t appear to be able to correctly parse objects within other objects. Using JSONObject.toString() for the map returned in the wp.getOptions call returns what should be an object as a string:

    {"software_version":"{value=3.6-alpha-23334, readonly=true, desc=Software Version}","blog_public":"{value=1, readonly=true, desc=Privacy access}","post_thumbnail":"{value=true, readonly=true, desc=Post Thumbnail}"}

    I discovered Gson this week which gives you the expected results:

    {"software_version":{"value":"3.6-alpha-23334","readonly":true,"desc":"Software Version"},"post_thumbnail":{"value":true,"readonly":true,"desc":"Post Thumbnail"},"blog_public":{"value":"1","readonly":true,"desc":"Privacy access"}}

    I think I will add the Gson library since it fixes the issue and will set us up for better JSON support in case we start using the Jetpack REST API in the app more in the future.

     
  • Alex Leonard 2:14 am on February 13, 2013 Permalink | Log in to leave a Comment
    Tags: , , instant upload   

    ***
    I’m in the process of moving out and took a photo of the chaos. A little while later I sat down at my laptop on a tea break. I checked Google+ and had a notification that I had an instant upload photo. I shared it (being that it’s nearly friction-less).
    ***

    I instantly thought, again, how wonderful it would be if it was my blog that was notifying me that there was a photo to share. I’d honestly much rather blog that stuff than G+ it but I keep on using the ‘easier’ option because, well, it’s easier!

    I did mention this before and I know it’s definitely not so simple to implement, but I think for both self-hosted and wordpress.com (consider that people may end up purchasing additional storage) it would be worth it.

    Obviously there’d be caution needed with privacy (strong obfuscation of instant upload img locations/filenames), and for self-hosted presumably there’d be a wide-range of issues.

    Does it sound even remotely feasible. Obviously this is beyond the bounds of just Android Dev, but I guess I’ve been on here the most so it seemed a good place to start the conversation.

    Now, back to packing!

     
    • Espen Klem 2:51 am on February 13, 2013 Permalink | Log in to Reply

      Great observation Alex!

    • Will Norris 9:11 am on February 13, 2013 Permalink | Log in to Reply

      yeah, I’ve actually had the same thought about having instant upload to my personal site. Both Dropbox and Facebook have added that to their Android apps in recent months, so it’s certainly technically doable.

      Though, for me, I’m not sure that I’d want every mobile photo I’ve ever taken living on my blog (whether I actually attach it to a post or not). I like the convenience of it, but would probably want a simple way to “clean up” all the random photos that I never blogged about. Interestingly, I don’t feel the same way about Dropbox… I can treat it as a dumping ground and not really worry about cleaning it up.

    • Dan 7:21 am on February 14, 2013 Permalink | Log in to Reply

      I’d use this feature, maybe after the UI update and notifications we can add this?

  • Dan 11:18 am on February 12, 2013 Permalink | Log in to leave a Comment
    Tags: post editor,   

    While working on #411 I also took a crack at modernizing the post editor view. Changes:

    • Removed old headers and used more placeholders or Holo style mini-headers
    • Removed the ‘full screen editing mode’ as it was the cause for #411, and instead changed the content box to expand as more content is added.
    • Removed custom WP buttons and used default ‘lite’ buttons instead.
    • Changed ‘Selected categories’ TextView to only show if categories have been selected or already added to the post.
    • Moved publish/save button to the ActionBar.

    I’m not convinced that the ‘Save’ disk icon is best there, but I’m not sure what else would convey ‘Publish’ in an icon format :)

    Thoughts?

     
  • Eric 7:25 am on February 12, 2013 Permalink | Log in to leave a Comment  

    Fyi: Requesting Norwegian localizations be enabled.

    http://make.wordpress.org/polyglots/2013/02/12/could-you-enable-nn-no-project-for-wordpress/

     
  • Koke 2:17 am on February 12, 2013 Permalink | Log in to leave a Comment
    Tags: previews   

    @danroundhill I’ve pushed what I got so far for better previews to https://github.com/koke/wordpress-android/compare/previews

    Can you take a look at it and commit it if it looks good?

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.

Join 130 other followers