Category Archives: Software

Downgrade Hangouts to get swiping feature back

Published by:

With version 2.3 of Hangouts Google introduced some new features, but unfortunately also disable many good things like swiping. Before you could switch between hangout chats, archive chats or delete messages just by swiping. Until they bring back that feature you can downgrade to the last version that supported swiping: 3.1.317


++== Disclaimer ==++
I will explain how to go back to version 3.1.317, which normally is a very harmless process. However, if for whatever reason, things go south, I can’t be held responsible. Please proceed on your own risk. That being said, in 99,9% of all cases, your personal data, messages and settings will be preserved.

First you need to do is to uninstall “Hangouts updates”. That can be done in the Play Store or through settings. On my Samsung this action reversed the version to an old initial state that was shipped with the phone. It will disappear from your launcher or it may change icon. Do not run or click it.

Uninstall Hangouts in Play Store. Press Uninstall.

Uninstall Hangouts in Play Store. Press Uninstall.

Or uninstall updates in the Application Manager ( Settings - More - Application Manager )

Or uninstall updates in the Application Manager ( Settings – More – Application Manager )



Do not run or start the old version after you uninstalled the updates, because that can potentially do damage.

Now download the APK of version 3.1.317. It is located here: http://hangouts.en.uptodown.com/android/download/74129

After you have successfully downloaded it, move the APK file to your phone. Or, alternatively, surf to the download directly on your phone by scanning this QR code or type this short URL:
download_hangouts_21317 short link:
http://goo.gl/nOgtgl ( Mind the capitalization )


If everything went right, you’ll have version 2.1.317 of Hangouts. After some initial questions, like if you want to merge SMS with messaging, your old Hangouts icon will re-appear and you can run it as before.

Disable auto updates.
Unfortunately, Play Store will try and update the app again as soon as it does it’s regular update rounds. Go to Hangouts (in Play Store) and press the menu button (bottom left). A pop-up will show a setting “auto update” with a check-box that is checked. Try to disable it. For some reason I could not disable the check-box. Unless you want to repeat the above for every time Play Store does the update, you’ll need to disable automatic updates altogether. This means of-course that you need to update other apps manually. 🙁
You can do that in the settings of Play Store.

Go to settings in Play Store (icon top left)

Go to settings in Play Store (icon top left)

Disable automatic updates.

Disable automatic updates.


Android : Stereo recorder for Samsung Note 2

Published by:

I have been searching for a tool that can record in stereo on the Note 2 from Samsung. This seems to be a rare feature giving developers some difficulties to efficiently implement. Especially because the Note 2 uses two separate microphones for stereo recordings.

The Samsung Note 2 (and maybe also the S3, I’m not sure) has two microphones, one on the front and another on the back. If you record video, the source of the sound is comming from both these microphones, so giving you stereo sound. But most (if not all) of sound recording apps will allow you to select one of them, both not both. Even though they advertise to be able to record in stereo, they will not allow you to bind the front mic to the right channel and the back mic to the left.

Until I found Easy Voice Recorder. ( pro version ).

Screenshot_2013-02-13-10-56-40

 
By using the “Sound input source” in the settings and selecting Camcorder microphone, the app will actually record in stereo using both microphones of your phone. The pro version gives you some extra features, worthwhile. You can choose bitrate and filetype, though mp3 is not supported — it uses AAC for compressed files.

Please post any comments or questions in the comment section below.

All-in-One Event Calendar custom template code php

Published by:

I recently used All-in-One Event Calendar on a WordPress site. It’s a very rich plugin with a lot of options. Tough there is a whole theme structure behind the plug-in, real customization is a little tricky. There is that possibility to use short-codes in posts, but when I wanted to use these in WordPress templates, I got stuck. For starters there’s almost no documentation (that I know of) on functions and or queries to use for custom pages. Thus leaving me no other option that to go through the plugin code myself and figure out what to do.

Now, if you are in the same situation, I’dd like to share with you what I did.

What I want is the following: A page based on a template, displaying two sets of events both in a different event category.

All-in-One Event Calendar events are stored in WordPress as normal posts with the post-type set to ‘ai1ec_event’. For the categories it uses taxonomies. At first this looks simple enough by doing a query on the post type including (or excluding) the categories. But a bug in Worpress prevents me from doing that. The categories are ignored, because of that bug. It’s two years old and they just closed the topic and moved on without fixing it. /Sadface.

ok, now for the solution.

To get around this, I decided to take a OO approach using the events object. I did this by using the code I found here: http://pastebin.com/dxCTht6S
Then, to display the event’s I used a foreach loop (something like this):

To get the categories working, I used the $filter option. I changed it to:

You find the categorie number if you hover above the categorie (in the post or in the editor).

If you want to display other fields of the event, you can access them in the event object. There is no map of the object, but I did a var_dump for you.

Note that some of the properties are part of the object “post”, which is in it’s part a property in the object $event, so to access them you need to use: $event->post->…

You’ll notice the $event->start is a timestamp, so you need to convert it. Use date() for this. Like so:

If you want it in your langueage, convert it using strftime() by using the locale settings. Like so:

That’s about it. Have fun.
Post questions or remarks in the comment section below.

Installing Android x86 4.0 in Vmware Player

Published by:

This is what I did to get Android 4.0 (x86 version) to work in my Vmware Player.

First, download and install Vmware Player.
Then, download the installation image (cd-image) of Android from Google: http://code.google.com/p/android-x86/downloads/list (I tried android-x86-4.0-RC1-eeepc.iso in this example).

Creat a new virtual machine to run the installation:



Point the “Installed disc image” to the android-x86-4.0-RC1-eeepc.iso file you downloaded:



Choose a install directory, where you’ll keep the virtual machine folder.



Make a small drive. 1 gig is enough.



Customize hardware:

and increase the memory to 512 megabyte. (or more)



Select INSTALL. You can also run the live CD. But I prefer to install the OS. If you choose live cd, you don’t need to do anything after this step, except enjoy your android.



Then: Create/Modify partitions <-- Press enter. Choose [ New ] <-- Press enter. then [ Primary ] <-- Press enter. Size (in MB): 1069.29 <-- Press enter. Then: Choose [ Bootable ] <-- Press enter. Choose [ Write ] <-- Press enter. type yes <-- Press enter.

Now the disc is being prepared:



Choose [ Quit ] <-- Press enter.

Now select sda as the install partition:



Choose a file-system. I tried ext2 and ext3. Take whatever you like.


Install the GRUB bootloader.



File-system writable? If you want a writable file-system, choose yes.


You are done. Choose Run Android-x86.






Note: This version has NO ethernet support. You can find a version that supports sound and ethernet here: http://www.buildroid.org/Download/android-x86-vm-20120307.iso.gz (thanks to source: http://www.android-dev.ro/2012/03/17/android-x86-4-0-rc1-for-virtualbox-is-released/ )


More info can be found on http://www.android-x86.org/

Bad Behavior has blocked 1844 access attempts in the last 7 days.