Updates from Dan Toggle Comment Threads | Keyboard Shortcuts

  • 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.

     
  • 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?

     
  • Dan 4:45 pm on January 31, 2013 Permalink | Log in to leave a Comment
    Tags:   

    Added a fairly giant commit for initial ActionBarSherlock support in r888. @willnorris, I hope it doesn’t conflict too much with the work you’ve already done with the menu.

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

      not at all. This already looks *so* much better!

    • Koke 4:43 am on February 4, 2013 Permalink | Log in to Reply

      Did you actually mean to remove libs/android-support-v4.jar? I’m getting build errors now

      • Danilo 5:16 am on February 4, 2013 Permalink | Log in to Reply

        You need to have ActionBarSherlock added to Eclipse as a Library project. Details: ​http://actionbarsherlock.com/usage.html

        • Koke 7:23 am on February 4, 2013 Permalink | Log in to Reply

          Yeah, I managed to get it working but had to edit the project properties and point the library to the new location

      • Dan 7:34 am on February 4, 2013 Permalink | Log in to Reply

        Yeah, I removed it because ActionBarSherlock included the support library in it. It would be nice to include the ActionBarSherlock files in the repo somehow. Any ideas?

        • Danilo 8:11 am on February 4, 2013 Permalink | Log in to Reply

          Can you create ActionBarSherlock.jar and include it in libs?

          • Dan 8:16 am on February 4, 2013 Permalink | Log in to Reply

            It can’t be used as a jar, from the FAQ:

            Why is ActionBarSherlock a library project whereas the original compatibility library is only a .jar?

            The custom action bar implementation within ActionBarSherlock relies on styles, themes, layouts, and drawables in order to display properly. Due to the limitations of Android and .jar files, this currently can not be accomplished any other way.

        • Will Norris 10:41 am on February 4, 2013 Permalink | Log in to Reply

          I’ve been looking again at migrating WPAndroid to use maven for building, which would address this.

  • Dan 9:45 am on January 25, 2013 Permalink | Log in to leave a Comment
    Tags: 2.2.7,   

    I discovered a lame bug that I think warrants a quick update release. If the user changes their password after setting up the app, it doesn’t tell them that the authorization failed, instead it shows a generic error message or does nothing. I think this is confusing a lot of users. This used to work, so I think it’s an easy fix to get it working again.

    Filed it as #401. Also created a 2.2.7 milestone.

     
  • Dan 8:58 pm on January 24, 2013 Permalink | Log in to leave a Comment
    Tags: ,   

    @willnorris could you take a look at #400 when you have a chance? It looks like it just needs a simple null check to me.

     
  • Dan 9:19 am on January 15, 2013 Permalink | Log in to leave a Comment
    Tags: ,   

    Let’s start testing 2.2.6! Here’s the changes in this release:

    • Holo light theme used for Android 3.0 or greater devices
    • Improved support for connecting over HTTPS
    • Crash fixes for #394 and #395
    • Code cleanup and optimization, app size is smaller.

    APK is here: http://bit.ly/10wPEus
    QR code:

     
  • Dan 11:05 am on November 13, 2012 Permalink | Log in to leave a Comment
    Tags: 2.2.5,   

    A user reported an issue with stats on a multi-site install, so @aerych got that fixed up and committed to trunk. Since we were looking to do a quick release, I took a look at the crash reports and fixed a few of them to include in this release.

    Wanna test it? You can get the 2.2.5 build here: http://bit.ly/TH7iEc

     
  • Dan 2:47 pm on October 29, 2012 Permalink | Log in to leave a Comment
    Tags: 2.2.4,   

    Here’s a build of 2.2.4 that we’re hoping to release this week. It includes some important fixes and tweaks:

    • Fix for loading more than 20 pages
    • Post title added to comment detail view
    • Thai localization added
    • Fixed local change overwrite from occurring when tapping ‘load more posts’
    • Images now link to themselves by default
    • If Original Size image is chosen in the settings, it will just link to itself instead of uploading two copies of the same image.

    Build is here, give it a test and let us know if you have any issues: http://bit.ly/Q2Ka5Q

     
  • Dan 11:52 pm on September 23, 2012 Permalink | Log in to leave a Comment
    Tags:   

    Version 2.2.3 is now available on Google Play and Amazon Appstore. It’s also been submitted to Nook, Samsung and Vodafone.

    Some bug reports came in from users this weekend, so I created tickets and added them to the 2.2.4 roadmap. Pick up a ticket if you want to help out!

    Looking forward, 2.3 is shaping up to be the ‘Native ActionBar’ release, we’re waiting for Google to include the ActionBar in the compatibility library, or we will use the ActionBarSherlock library add-on. Still in R&D but it seems like an achievable task.

     
  • Dan 4:00 am on August 27, 2012 Permalink | Log in to leave a Comment
    Tags: ,   

    2.2 Public Beta

    Can you smell the freshly cooked beta? We need your help testing the great new features that have been added in version 2.2!

    Try these new features out:

    • We’ve added support for featured images. Just add an image to a post and tap the image where you’ll see a ‘Set as featured image’ checkbox. You can tap another checkbox that will appear that will allow the image to also be included in the post content area. Note: If you are self-hosted make sure you are running WordPress 3.4.1 so that featured images work properly.
    • All-new stats. Try out the new stats view that shows you the same data that you can view from your blog’s dashboard in a mobile friendly format. If you are using Jetpack, pretty please test that you can connect up to the stats in the app OK.

    Otherwise, just try to break it :D Let us know here if you have any issues.

    Download the beta here: http://bit.ly/OlLM4n
    qrcode

     
    • zhouyibhic 8:58 am on August 31, 2012 Permalink | Log in to Reply

      There is Gallery feature available in the beta?

      • Dan 12:10 pm on August 31, 2012 Permalink | Log in to Reply

        Unfortunately we didn’t get Gallery support into version 2.2. A better API for adding gallery support is coming in a future version of WordPress, so we will add it in after it is released.

        There is a workaround though, you can add all the images to the post and then upload it as a draft. Then edit the post and delete the image html and replace it with the

        [gallery]

        tag and then publish the post. Not that easy but it works.

    • Joen A. 8:18 am on September 4, 2012 Permalink | Log in to Reply

      Very cool update! One thing: if I share an image to the app from the gallery, I get a force close. Samsung Nexus S, Android 4.1.1.

    • alecmuff 12:47 am on September 9, 2012 Permalink | Log in to Reply

      Hi! Loving the 2.2 beta (am running it now) but have a misfeature rather than a bug which I’d like to report please.

      I’ll add a summary of three wants up here though, for convenience:

      1) problem dismissing post-editing main pane while using bluetooth keyboard; having a “Done” button in the Format bar would fix it.

      2) problem using Back button whilst WordPress invoked using “Share Via…” functionality on other app, notably Chrome on Jellybean.

      3) Can we please have easy-to-use “save/restore draft to local storage” buttons to avert disaster?

      Summary:

      I’m using a fully updated Nexus 7 and about 1/3rd of the time I am using a Bluetooth hardware keyboard for posting – nice collapsible one.

      The first problem comes when editing the main body of a new post, the editor pane covers the whole display and provides formatting buttons, etc, but there is no way to dismiss it other than to hit the soft Back button, or Esc on the keyboard which does the same thing as Back.

      This pops up the “do you really want to stop editing this post” dialogue which I very carefully cancel.

      The same problem – there being no safe way to get out of the editor pane – affected the market version of the app on Nexus a few weeks ago, but I discovered when I got the beta that on the nexus, when using a *software* keyboard, you now get a soft button to dismiss the software keyboard and the wordpress app is picking up on *that* to switch back to the main editor.

      But this button is not visible with a hardware keyboard, obviously, which traps me in the editor pane. It’s a bit of a nuisance because I risk losing the whole posting when I try to sort it out. Having a “Done” button in the format bar would fix it.

      Second problem, afflicts both software keyboard and hardware:

      When I’ve tried to pop into WordPress to paste from a Browser window using the “Share With …” browser feature, the Back button is lethal.

      I share a video, say; then hit Categories, add categorisation, and accidentally hit Back rather than Done – and the whole post aborts/vanishes, and you drop back to the Browser. Not sure this one is fixable except via better human factors and bigger Done buttons, it depends which app is catching the Back event I suppose.

      Thirdly: I would love a way to save/restore posts to local storage in some trivial way during editing. That way when I _know_ I have to pop over to the browser to fetch a URL, I can guarantee that worst case scenario I just have to hit Save before leaving, and Restore/Confirm when I come back to get exactly where I was before some disaster befell.

      I hope these three reports/ideas make sense. I’ll post some pictures next just because they help illustrate.

      Thanks, Alec

    • Stefano Costa 12:28 pm on September 11, 2012 Permalink | Log in to Reply

      Maybe too late but … with self-hosted WordPress and Jetpack I can’t access my stats. App always says password is incorrect. Stats of wordpress.com blogs work out of the box.

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 128 other followers