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.
Recent Updates Page 2 Toggle Comment Threads | Keyboard Shortcuts
-
Swami
-
Will Norris
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
You can pretty much just blame me for most of the nasty code
-
Will Norris
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?
-
Dan
Yup, let’s do it!
-
-
-
-
Fathallah Wael
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
-
Dan
Hi, you can add support for Arabic using GlotPress here:
http://translate.wordpress.org/projects/android/dev/ar/default
Just use your WordPress.org login there. There’s a community of WordPress translators at http://make.wordpress.org/polyglots as well if you have any questions!
-
Fathallah Wael
thank you
-
-
-
Will Norris
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
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
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
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.
-
Will Norris
+1
-
-
Alex Leonard
***
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
Great observation Alex!
-
Will Norris
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
I’d use this feature, maybe after the UI update and notifications we can add this?
-
-
Dan
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?
-
Alex Leonard
Oooh, very nice to see. Definitely fitting in better with the Android design patterns. Great work!
-
Koke
Looks very nice. Since you’re at it, make room for a “Preview” button somewhere
-
Dan
-
Eric
Fyi: Requesting Norwegian localizations be enabled.
http://make.wordpress.org/polyglots/2013/02/12/could-you-enable-nn-no-project-for-wordpress/
-
Koke
Interesting: http://en.wikipedia.org/wiki/Nynorsk
I think android supports nb/nb_NO only, but I’m not sure about it-
Dan
I think that’s the one they wanted to add, unless I’m missing something?
-
Koke
They asked for ‘nn_NO’ specifically. Looking at https://github.com/android/platform_packages_apps_phone/tree/master/res android has ‘nb’ but not ‘nn’.
Not sure if there’s any official list of supported languages
-
Dan
Ah, I see. I added a comment to their post. Thanks!
-
-
Eric
-
-
-
Dan
Thanks for the heads up, I added it.
-
-
Koke
@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?


Dan 8:13 pm on March 10, 2013 Permalink | Log in to Reply
No ETA but it’s on the list of things to do