Forums
1.2 Beta Ready for Testing - Video Upload and Geotagging
-
Version 1.2 Beta is ready for testing, we've added some great new features:
- Video upload and video sharing to WordPress for Android
- Post geotagging support (enable geotagging first in the blog settings window). If you are running a self-hosted blog, install the geolocation plugin to show your location in the post
- Tamil language support added
Follow the install instructions to get the new beta on your device. Please test and report any bugs!
-
Test environment: self-hosted WordPress 2.9.2, HTC Incredible, Android 2.1-update1, WP for Android 1.2 Beta
There are three config items under "Location" on my phone.
A. User wireless networks (Options: Yes, No)
B. Location Setting (Options: LOCATION ON, 911 ONLY)
C. Use GPS satellites (Options: Yes, No)B and C are actually tied to each other. When B is set to LOCATION ON, then C is automatically set to Yes; when B is set to 911 ONLY, C is automatically set to No. (Setting C will affect B in the same manner.)
***
Test Case 1
A = No
C = NoResult:
The message "Loading.." seemed visible infinitely (I didn't wait).
Clicking "View Map" gave "Location Data not yet available, please wait."
Geotag fields (geo_latitude, geo_longitude, geo_public) were not populated after saving.Comment:
Define a period of time for the app to replace "Loading.." with "Location cannot be determined...blah..blah."
Display "View Map" only when location is locked***
Test Case 2
A = Yes
C = NoResult:
A location was returned.
Clicking "View Map" gave a location with a note "accurate to 1000 meters."
Geotag fields (geo_latitude, geo_longitude, geo_public) were populated after saving.Comment:
-***
Test Case 3
A = No
C = YesResult:
A location was returned.
Clicking "View Map" gave a location with a note "accurate to 8 meters."
Geotag fields (geo_latitude, geo_longitude, geo_public) were populated after saving.Comment:
-***
Test Case 4
A = Yes
C = YesResult:
A location was returned.
Clicking "View Map" gave a location with a note "accurate to 2 meters."
Geotag fields (geo_latitude, geo_longitude, geo_public) were populated after saving.****
I conclusion, it works good. No showstopper.
-
I just noticed something. The plugin geolocation makes use of custom field geo_address. Is there a reason why WP4Android doesn't populate this field?
Right now the plugin displays:
Posted from .When ideally, it should be something like:
Posted from Beverly Hills, California, United States. -
I tried to upload a post with a video attached and it gave "A mounted SD card is required to upload media." Sure I know my phone has no SD card, but I'm clueless why it's needed.
-
It should have the location in the post, for example test posts from my location say Posted from San Francisco, California. Was the location displayed in the post before you uploaded?
For the SD Card requirement, we need to write a file to the SD card in order to upload media via streaming upload. It's basically needed because of low internal memory on Android devices.
-
It should have the location in the post, for example test posts from my location say Posted from San Francisco, California
I looked at my test posts again today and now they displayed the addresses. Huh?? I must've been blind or too tired.
-
** VIDEO UPLOAD
HTC Android Dev Phones 2, Android 1.6
I got the following message when publishing :Success
Post ID # 127 added successfully, but an error was encountered when uploading media: XMLRPC Fault: Could not write file wpid-videp-2010-05-11-18-31-21.3gp (Invalid file type) [code 500]
[OK]I guess we can't just attach any videos??
***
HTC Incredible, Android 2.1-update1
I got:The application WordPress (process org.wordpress.android) has stopped unexpectedly. Please try again.
[Force close]I'll look into debugging it on the phone if I could figure it out.
-
You may need to install this plugin to get the 3pg file to upload since it is not a mime type that is allowed by default:
http://wordpress.org/extend/plugins/pjw-mime-config/
At what point does it crash with the HTC Incredible? We've had all kinds of problems with the HTC sense devices with media :(
-
At what point does it crash with the HTC Incredible? We've had all kinds of problems with the HTC sense devices with media :(
After clicking "Upload Now" with video attached.
After clicking "Upload Draft to Blog" for a post with video attached. -
Thanks for the info. I tried a sense rom on my nexus one, it works ok there but it crashes if I shoot a new video, which I think is the hacked roms fault :)
- Were you uploading a video that you took with the phone or was it from somewhere else?
- How long is the video? -
You may need to install this plugin to get the 3pg file to upload since it is not a mime type that is allowed by default:
I just installed the plugin; it does resolve the error.
-
I just installed the plugin; it does resolve the error.
Ok, I'll update the android.wordpress.org with a link to that plugin. Thanks,
-
- Were you uploading a video that you took with the phone or was it from somewhere else?
- How long is the video?Yes, the video was taken with the same phone (HTC Incredible).
The video is 22 seconds long, 4.3MB, filename VIDEO0001.3gp -
Re: Video Upload Issue with HTC Incredible
The issue seems to be caused by the SD card.
I didn't have SD card in my HTC Incredible so I grabbed the SD card from my Garmin handheld GPS. I formatted it using the utility in HTC Incredbile. And I was able to take a photo and save it to the SD. But I got the error I reported when doing video upload.
Then I replaced the SD card with the one from my HTC Dev Phone2. Video uploading worked with it. Then I replaced it with the original, took a video and saved it to SD card and video uploading worked.
-
Re: Video Upload, Big Size
So far, video uploading tests have been successful for video files of size 1.5MB and 1.4MB. But when uploading a video of size 4.7MB, I got the following message.
Post ID # 151 added successfully, but an error was encountered when uploading images
So, maybe it's due to the file size and blog server restriction. I don't know. And __that__ is the problem. Users won't know what to do to resolve the issue--Do I need a plugin? Do I need to increase the upload limit on the server? Did it just timeout and I just need to re-try?
Well, I don't know if there's solution for this issue but I thought I point it out.
-
There's better error reporting in the 1.2 release, can you uninstall the beta version and install from the market? It should at least give you a reason why it failed in the error message then.
I'm guessing for most self hosted WordPress users that the issue will be the PHP max file size upload setting.
-
Got 1.2 release installed. Here's the error message when uploading a video of size 4.7MB.
Post edited
Post edited successfully, but an error was encountered when uploading media: org.xmlpull.v1.XmlPullParserException: expected: START_TAG {null}methodResponse(position:START_TAG(empty)''@1:6 in java.io.InputStreamReader$4627e950With the same file, WP Web will give me the following.
This file is too big. The maximum upload size for your server is 2M.
I guess WP Android won't know the upload limit, but it may be useful to point out the possibility in the error message.
-
wow, that's low. Does your hosting allow you to increase that limit?
-
Oh, I never care about it. I don't upload videos.
Topic Closed
This topic has been closed to new replies.