Wednesday, 6 July 2011

Port Forwarding


A number of my Android applications (WiFi File Explorer, SECuRET LiveStream, BabyCam Monitor and GroovyCam LiveStream) all work by turning an Android device, which is connected to a local WiFi network, into a web server.  This then allows you to connect to it via a web browser on that same local network in order to access the service provided by the application, i.e. file management, video & audio streaming, etc.

So that’s all good and you got it working on your local network, and you’re pretty happy with that.  But wait; now you want someone who’s not on your local network to be able to use the application as well.  For example you may want someone to view the feed from SECuRET LiveStream across the internet.  Well, thanks to ‘port forwarding’ that is entirely possible!

Now, I can’t give you exact step-by-step instructions on how to forward ports for your model of router; there are far too many models available and I simply don’t know how to do it for them all ... hey, I even have to Google up some instructions for how to do it on my router whenever I need to.  But a good place to start to find out how to do it is as http://portforward.com/

What I can do though is tell you want you need to do to accomplish your goal.  Following are some general instructions for forwarding ports on your router to allow the services in my applications to be used across the internet...

Firstly, by configuring your router, you need to forward ports 8000 and 8001 on your router to ports 8000 and 8001 of your Android device, based on the Android device’s IP address.  WiFi File Explorer only uses port 8000 and that number is configurable in the application settings, so you only need to forward this port or whatever you have it configured as.  The other applications will have the ports configurable in the future as well, so depending on when you read this, just bear that in mind.

Once that is done, all you need to do is replace the IP address part of the web URL that the application tells you to enter into your web browser, with the external IP address of your router (one way to find that out is on the main page of the Port Forward website I linked to above).  So for example, the application may tell you to enter something like...

http://192.168.0.3:8000

... where 192.168.0.3 is the IP address of the Android device.  But instead of entering that, if your router’s external IP address is for example, 82.124.321.29, then you (or whomever you want to be able to use the service) would enter...

http://82.124.321.29:8000

... and hey presto, it’s working across the internet!!  Easy huh?!

Now, I realise depending on your level of skill that may not be easy at all, so if you get confused then feel free to email me for more help.  But remember, if it’s something specific to your model of router, I’ll only be using Google to find the answer, just like you would ;)

Tuesday, 14 June 2011

Accessing Internal Memory and the External Memory (SD Card) in WiFi File Explorer



Back in the good ol’ days, Android devices used to have just one area of memory for storing files, typically an SD card (known as external memory).  The sun was shining, children were laughing and we all just got along fine and dandy.  Then device manufacturers started adding internal flash memory as well as the SD card and made things slightly more complicated with regards to accessing the area of memory you want to manage.

By default, WiFi File Explorer starts you off by pointing to the area of memory that the device thinks is its main area of storage.  Most of the time, you’ll find this is correct for you and you continue to use the application as expected.  However, sometimes it may point you towards the external memory (SD card), when actually you want to manage the internal memory, or vice versa.  So what do you do?  Well, go to Settings within the application and you’ll see a setting named ‘Home Directory’.  You can either:
  1. Clear the setting and leave it blank, which allows you to browse the entire device starting from the root memory location of the device;
  2. Or, change the setting to point to the directory that represents the memory location you want to start in.
As stated earlier, by default, the Home Directory points to the area of memory that the device thinks is its main area of storage.  You may know the path for the other area of memory already, but if you don’t, try using Google to find it out (it can be different for each device).

If you do have both internal and external memory locations, I would recommend just leaving the Home Directory setting blank as that way you always start at the root memory location and can easily manage both internal and external memory locations without having to constantly change it.  For everyone else, just leave it as it is, unless you need access to everything on your device for whatever reason.

Wednesday, 1 June 2011

Camera Shutter Sound In SECuRET


The SECuRET range of applications are camera-based applications that are supposed to operate undetectable to the subjects being filmed.  There are many custom features implemented within SECuRET to ensure this is the case, such as screen dimming, silent mode, disguise mode, password protection, etc.

However, in a very small number of cases, some users find that no matter what they do, the camera shutter sound always makes a click or a beep.  There are a couple of settings in the application that disable the shutter sound; in the ‘Sounds’ category of the ‘General’ settings you can put the device in ‘Silent Mode’ and adjust the ‘Shutter Volume’.  Very occasionally though, these settings will be ignored by the device and there’s not a lot that can be done about it.

Some devices are simply hard-coded by the manufacturer to make a sound whenever the camera is used.  This is related to privacy laws in some countries to stop people being filmed without knowing ... but that’s no good for an application for which that is the desired purpose!

The good news is that as long as you have configured SECuRET to be in ‘Silent Mode’ or set the ‘Shutter Volume’ to zero, then the camera will never make a sound as long as you are taking photos that are NOT in the highest resolution.  This is because it uses a different technique for capturing images at the lower resolutions which does not make use of the actual camera to take the picture (it just uses the preview on the screen and captures it from there instead).

The bad news is that if it is making a sound and ignoring your settings, then there may not be much you can do about it.  You have three main options:
  1. Experiment with the sound settings in the Android system settings to see if that makes a difference.  Reducing all the sound levels may convince the camera not to make the shutter sound, but it’s unlikely.
  2. Go to your native Camera application and explore the settings within.  Many native Camera applications allow you to turn the shutter sound off (depending on the manufacturer), which if you do so, will turn it off in SECuRET also.
  3. If you have a rooted device then you are in luck; you can definitely switch off the sound easily.  Simply rename or delete the following file:
    /system/media/audio/ui/camera_click.ogg 
So as I say, it doesn't affect many users, so most of you needn’t worry and you can carry on capturing photos and videos undetected.  And if you do suffer from not being able to convince the shutter sound to pipe down, then at least one of the tips above is guaranteed to work (although it does require a rooted device).

Update: This is part of an email that one user sent me describing how he managed to switch it off for the Droid X (it may be relevant to other devices as well, so try it out):

"After emailing you, I found a forum on xda developers that explained how to fix the shutter sound issue I was having on my Droid X. I had to Uncheck the "Alarm in silent mode" option in my stock alarm app. Works beautifully again!"

If you don’t manage to switch off the shutter sound though, just email me and let me know you want a refund.  I have no problem issuing refunds at any time after purchase for this reason as I can see the application is pretty useless if it’s making a sound every time the camera goes off.  Just make sure you ask for a refund instead of leaving some nasty comment on the Android Market ... there’s nothing I hate more than seeing my applications blamed for something beyond their control :P

A word of advice for would-be developers of Android camera applications: don't!  It's just too painful to support all the different devices out there ... they never behave as you'd expect!

Sunday, 15 May 2011

“I just bought your app, but it says it can’t find the license – what do I do?”


Every so often users will email me with this very question, and so instead of repeating myself in each of those replies, I will quickly answer it here so I can point people to it…

I am not sure exactly what causes this to happen, but after purchasing and starting the app it says that it cannot find a valid license; it could be the Google license servers are rubbish or it could be an issue with the data/internet connection your Android device is using.  Either way, the solution (in most cases) is as follows:
  1. Disable the WiFi connection on your Android device;
  2. Start the app in question so that it can check for the license using 3G (or other default data connection);
  3. Once the app has found the license, exit the app;
  4. Enable the WiFi connection again;
  5. Start the app and enjoy!

If you follow all those steps and it still isn't finding your license (or you have a WiFi only device) then some other things that work are turning your device off and then back on again, or just waiting a bit for your license to register.

And if you still have trouble after that, then just contact me and I will try and help you.  If by this time you have gone past your refund window, then fear not, as I can still process a refund for you at any time as I fully understand that you can not try out an app that can't find a valid license.

Friday, 4 March 2011

What’s Coming Soon? Let Me Tell You ...


With the imminent arrival of mine and my partner’s first child (it could literally happen any minute now – already 2 days overdue), I have been very busy coding away like a man possessed to try and cram as many new features into my Android applications as possible. You should have already by now seen the latest new feature in SECuRET LiveStream (real-time audio streaming to go along with the video; pretty freaking sweet!), but there is so much more in the works...

First of all, the next update you will see to the SECuRET apps and GroovyCam LiveStream is that I have fully updated all the settings screens to use the standard Android convention; that is to say that all the settings will now appear using the same layout and style as you see in the actual Android OS settings menus and other applications that also follow the convention. This not only makes my applications feel more familiar and in-line with Android, but hopefully makes the whole experience of configuring my applications more professional, pleasant and straightforward (even I was finding it confusing to configure SECuRET SpyCam in particular!!)

I have also jigged a few settings around and set dependencies to disable things that can’t be set based on other settings, to make everything more obvious. There are also some helpful hints scattered throughout and I really think the whole thing is much easier to use and understand ... hopefully it will result in less emails from people asking me how to do things ;) Also the menus, dialogs, text and popups have also been reviewed and standardised in many places to make the whole experience feel more professional and uniform with other top applications on Android.

The next thing of note is that I have been busy refactoring all my code and just giving it a general tidy up (it’s amazing how out of control it can get when you take your eyes of it :P). I am also making use of my own custom libraries to manage common code between my different applications; this is making some real savings already and I wish I had done it sooner – it means my applications can easily be updated across the board when making little tweaks to the code they share and new features suitable for all the applications can be added with ease. It’s particularly useful for SECuRET/GroovyCam LiveStream and WiFi File Explorer as they share oodles of similar code and now I can manage it all in one location. At the same time as all this is I am finding areas where I can speed up code and make it more efficient, so for example, the frame-rate in SECuRET LiveStream is now absolutely flying – even in hi-res mode! So this may warrant an update, and even though you may only notice slight improvements, it’s important for ease of future development.

And finally, the next big thing I am going to start work on is a major overhaul of the UI for all my applications. The screen shot above is how I have WiFi File Explorer looking right now in development – shiny isn’t it? :P The logo and title will probably change as well as some more tweaks I would think, but it will pretty much look like this to all you guys soon enough. I intend to make similar style changes to all my other applications as well – it feels like a good time to put some real effort into the UI as the feature sets of all my applications have settled down now and I can justify spending time on applying some makeup to them.

But it’s not just the UI of the actual applications themselves that will see a fresh lick of paint ... also the web UI of WiFi File Explorer is due a massive makeover as well! About time too, after a couple of months of you guys having to sit through boring localization updates of WiFi File Explorer – sorry about that ;) I have an old school friend of mine currently beavering away on a fresh new interface (web UIs aren’t my forte and he has several years commercial experience knocking out tasty looking websites) and I am hoping to integrate his work into my code very soon. I haven’t seen what he has done yet, but his sketches were perfect and include a lot of the features you guys have been asking for.

I’m sure there’s more I have planned, but I can’t remember it now (something about Honeycomb and a new application I am working on, maybe ;) ) ... but there’s certainly enough to look forward to there! Now, I just have to find the time to do it all in between nappy changes and being puked on!!

Right, back to staring at my phone and waiting for the phone call ...

Wednesday, 9 February 2011

No More Support For Android 1.5 (Cupcake) In All Dooblou Applications


From this moment on, all the SECuRET applications, WiFi File Explorer and GroovyCam LiveStream will no longer continue to support Android 1.5 (Cupcake) with new features. The lowest version of Android they support from now on is 1.6 (Donut).

As Android develops at its rapid pace, cool new features are made available to developers with each new version. I have done my best to support older versions of Android for as long as possible, but it got to a stage that features I wanted to implement in my applications could only be possible using Android 1.6 and above. As Android 1.5 is now almost 2 years old and represents less that 4% of the active install base on Android handsets, now seemed as good a time as any to discontinue support for those devices and to concentrate on developing features that can be appreciated by the wider audience.

So what does this mean if you have bought a license for one of my paid applications and you are still using Android 1.5? Well, it means that you must remain on that last version of the application that supported Android 1.5 and you must not update the application, else it will cause an installation error.

I cannot refund you as changing the minimum supported version of Android is allowed in the developers’ terms and conditions, and it is inevitable that all applications will have to do the same in the future (if they haven’t done already). The Market should prevent you from seeing such updates and stop you from updating to a version that isn’t supported, but it is clear from a couple of emails I have already received that the Market has failed to do it's job on a couple of occasions.

If you have problems and cannot roll back to a good version of one of my applications for your version of Android, then please email me and I will send you a link to a direct download.

So goodbye to Cupcake users – sorry to see you go. I’d recommend that if you can, updating to a newer version of Android is a very worthwhile thing to do; you’ll be impressed! And if you do get a new device that supports Android 1.6 or above, you will still have the license for the application you bought from me, so you can re-install that great dooblou application that you loved so much from your old phone at no additional cost ;)

Monday, 10 January 2011

Where To Purchase dooblou Applications, Licenses, and How They Work


Update: You can now also purchase at AndroidPIT!  It uses a similar licensing system to the Android Market, so the same advice applies.

Whenever you purchase one of my paid applications, you are also purchasing the license to use it. The application will at times try and retrieve the license to ensure you have permission to use it, and it does this by making a call to a license server using whichever data connection you have (WiFi, 3G, etc.). Most people purchase the application, have no problems at all and are very pleased with their purchase. However, some users can have trouble figuring out how to officially purchase my applications and to work out whether they have a license or not. This often happens if you think you have bought a license, but the application then tells you that you haven’t got one. Or maybe you have upgraded to a new version of Android, installed a custom ROM or got a new phone, and suddenly one of my applications says you no longer have a license. Hopefully I can help address a few of these issues here...

You can officially purchase any of my paid applications using the following methods:
If you have downloaded or purchased one of my paid applications from anywhere else, then beware as to what you are installing on your Android device as I cannot be responsible for supporting applications that pirates and bootleggers are publishing on the internet. The ones I am aware of are old and buggy versions of my applications, so I wouldn’t bother with them at all!

As the Amazon Appstore isn’t up yet and I don’t know how it works, I will focus on the Android Market and SlideMe...

Tuesday, 4 January 2011

Help For WiFi File Explorer and SECuRET LiveStream Users


I often receive similar emails asking for help with 2 of my applications, WiFi File Explorer and SECuRET LiveStream, so I thought I would write a post that I can point users in the direction of to help answer their common queries. I should point out that the huge majority of users suffer no problems whatsoever with these applications – it is only a small handful of users that get caught out with this issue.

Both applications are similar in that they both require you to connect your Android device to a WiFi network and then when they start, you are prompted to enter a web address into a browser on a computer which is connected to that same WiFi network. Without going into too much technical detail, both WiFi File Explorer and SECuRET LiveStream are custom web servers that allow you to interface with your Android device using a web browser.

So the common problem is that users will start either one of the applications on the Android device, it will prompt them to enter an address into a web browser and then ... massive letdown - nothing will happen in the web browser; it will just display a connection error, or timeout. This leads to the inevitable poorly spelt, “Dis app sux – don’t even work. Uninstalling.” comment ... by the way, why do so many people include, ‘uninstalling’ in their comments? Do other people really care if they uninstalled the application or not?

Ah, but the applications don’t ‘sux’! The applications are actually pretty nifty and work perfectly, as proven by the thousands of happy customers that parted with cold hard cash to purchase them, or the 4.5 star rating of each one, of the high chart positions (not blowing my own trumpet or anything ;) ). The problem is down to user error or the network configuration; you know, all the stuff that is beyond my control, but I still get blamed for it anyway!

Now, to try and help the users that have difficulty using WiFi File Explorer and SECuRET LiveStream, I am going to give a few pointers below that should help you find the cause of the problem. Remember though, I don’t know how your network is configured, what network equipment you are using or how reliable it is, what security measures you have in place, or what you had for breakfast – I just write the applications, and I can only support them ... I won’t be your network administrator :P

Pointers are listed below ...