TrafficCamNZ for Mac and iOS 11 January 2014Posted by David Wilson in General.
add a comment
I’ve been working on TrafficCamNZ Desktop for Mac over the last few months converting it to use CoreData instead of an internal array for the main data source. The changes are nearing completion with testing so far having gone well. Along the way I have discovered some bugs, fixed the bugs, and made many enhancements where I thought things were not good enough. The whole program is now better, stronger, and faster. It is almost ready for an App Store submission pending more testing with iCloud.
I’ve also been working on TrafficCamNZ for iOS – this has some performance fixes, bug fixes, and some minor enhancements… and it includes 64bit support for the new iPhones and iPad’s released late 2013. Currently in testing – I’ll decide soon when to submit for App Store approval.
TrafficCamNZ Desktop for Mac – News 16 December 2013Posted by David Wilson in General.
add a comment
TrafficCamNZ Desktop for Mac has been getting an internal make over. Lots has been happening on the inside… all of which should improve the user experience and make it much faster and more reliable to use. The changes are:
* update to use Apples CoreData database
* the Main window now uses a NSCollectionView to display the images – this has given some more flexibility in layout – you can choose horizontal or vertical scrolling – and its also faster
* I’m attempting to store the database on iCloud – if I get this working and update the iPhone/iPad application too … then the desktop changes will automatically be reflected in the iPhone and vice versa.
* when you show the camera list – you can double click on an entry to bring up the edit mode – yea… this is way better than clicking the edit button
* imports and updates now show progress
* memory management is much improved… for those technically inclined… I’ve updated to ARC.
I’m still testing and chasing down problems:
1. memory footprint while much better – can get too high at times – so I’m trying to control that
2. iCloud – I want to be more certain about things here before I release
3. Coredata – just following up on an import/re-initialise bug – I need to reproduce and track it down
TrafficCamNZ Desktop for Mac v1.1.5 2 November 2013Posted by David Wilson in General.
add a comment
It’s been approved and on its way through the AppStore.
This new release adds support under Mavericks and makes use of Maps and a whole bunch of other changes.
- Added ability to import XML feed for Mass Pike
- Improved presentation for bulk processing of data via XML import
- Changed internal screen size representation to 2048 x 2048 – this has significantly improved the quality of images display (where they were of a high quality already)
- Image description is now written under the images – previously the description was written over the top of the images.
- XML Input window is now a resizable split view and shows the camera image retrieved – room now to add a MAP view c/- 10.9 when available with supplied GPS coordinates.
- Update to the default data file
- added Maps to the XML Update – so you can see where the camera updates are going
- added Maps to the Edit Camera window
- added Maps window – shows pin for each camera – number of camera pins shown depends on map zoom level, one finger tap to zoom in, two finger tap to zoom out, two fingers to move and rotate, and pinch to zoom as well. Search for locations, the map will show you cameras in that area if they are known to TrafficCamNZ.
- added ability to drag and drop images to the Finder or other applications as .png files. To refresh an image you can now control-leftclick
TrafficCamNZ – Desktop updates under development 30 September 2013Posted by David Wilson in General.
add a comment
The Mac Desktop version of TrafficCamNZ is getting Maps Support in the next version of the Mac Operating System – Mavericks.
Sony STR-DA3600ES and iPhone AV Receiver Remote 16 September 2013Posted by David Wilson in General.
This is worth a small note.
I’ve got a Sony Receiver – model STR-DA3600ES. I’ve had it for a couple of years now – I got it for a number of reasons, the built in ethernet switch, 4 HDMI in ports and generally quite a bot of connectivity.
It ships with some Windows software that you can use to configure the AMP – nice – pity there is no Mac software or that Sony has not made available an SDK or spec so that someone could write one with reverse engineering the protocol.
For some time I’ve not been able to run the Windows software under any OS without it freezing or crashing under Windows XP… very poor.
It turns out that the reason for the crashes under Windows XP is that the AMP cannot be found an the reason that it cannot be found is that a setting on the AMP needs to be changed – only that setting is not on the onscreen menus. PERMIT-PC. This explains the setting to change. http://community.sony.co.uk/t5/Home-Cinema-Projectors-Players/STR-DA3600ES-Firmware-update/td-p/288992
Liftoff! – Under Windows XP at least. Looks like Permit-PC has to be ON.
So that brings me to the iPhone application. AV Receiver Remote. This application is only available from the US iTunes store. https://itunes.apple.com/us/app/av-receiver-remote/id371425035?mt=8
Reported to work with:
Just not mine. I was running firmware 1.026 on the AMP, and have since upgraded to firmware 1.030. My firmware has come from the UK Sony support site. I am unable to install the US firmware version – denied.
I can confirm that another Sony iPhone application Audio Remote can see the AMP – thus ruling out anything to do with network connectivity issues such as AMP or iPhone ip addressing.
I have reported the connectivity issue to Sony New Zealand and await further feedback.
My conclusion is that the iPhone application AV Receiver Remote is expecting to see the US version of the AMP and is possibly dependant on something in the US version of the firmware.
I have performed a complete factory reset on the AMP – yea – not good without having saved the configuration to the PC (actually it wasn’t connecting at that stage because of the PERMIT-PC setting).
if you are reading this message because you have a similar issue, you may also be interested in reading some other links that I came across in my web travels.
In the mean time … I’ll wait… or get out a packet sniffer…
TrafficCamNZ – Datafile release 14 August 2013Posted by David Wilson in General.
add a comment
A new datafile is has been released. You can force an XML Merge via preferences or TrafficCamNZ will remind you at some point in the next 7 days when you run the application.
The updates come from your feedback, thank you, and from some of the provider updates.
Updates and new cameras for London, Leads, Caltrans, Madrid, and New Zealand.
There are some Application updates coming – I’m hoping to schedule the release with the next Apple/iOS product launch.
TrafficCamNZ – New Release v1.8.1 and new data File 17 June 2013Posted by David Wilson in General.
1 comment so far
About a week ago the latest version of TrafficCamNZ for the iPhone and iPad was released. The update contained some minor interface changes and a couples of fixes:- Introduction of a colour theme
- Setting of some realistic defaults for Predictive mode
- Ordering on Preferences changed – modes now grouped together
- Operating mode highlighted on Featured screen with Favourites, Auto Detect, or Predictive highlighted – other modes greyed out when not in use.
Today I’ve also updated the main data file. I’ve run a validation over the 8500 cameras that were in the data file and dropped those cameras that did not return an image. I then reprocessed data feeds from various providers around the world, TransitNZ, London Transport and some others. This process updates the cameras and adds any new ones that the providers have put online and it may even update GPS coordinates if they are available.
So the data file is about as clean as I can get it in an automated way.
Notably, for me anyway, there are 5 new cameras online in my geographic region that I didn’t know about. You can find them in the feed under the following names:
[NZ] WN – Haywards – Haywards
[NZ] WN – Melling – Melling
[NZ] WN – Paekakariki – Paekakariki
[NZ] WN – Tawa – Tawa
[NZ] WN – Plimmerton – Plimmerton roundabout
The update will be available by running TrafficCamNZ. If it doesn’t detect that the update is available, give it 30-60 seconds if you’re on WiFi, you can go into the preferences and tap XML Merge to force the update.
I’m now looking at changes for the next version of TrafficCamNZ and welcome any suggestions you might have. At this stage it’s looking like I will only support iOS6 and above.
iPhone 3GS – Unlocked – no longer Jail Broken 16 January 2013Posted by David Wilson in General.
The family and I visited some friends between Christmas 2012 and the New Year – we had a great swim in their pool and enjoyed a very nice dinner with the plan being to take the one hour journey home after. While there the 16 year old daughter discussed a relatively small issue about her iPhone 3GS where despite names and phone numbers being in the Contacts application, every text message was from a number – not a name. You could add the number to the Contacts yet it would not translate the number to the name.
I noticed that there was an over-the-air iOS update outstanding… actually the phone was on iOS 5.0. Reportedly the update had been attempted previously and failed – this is weird – never heard of this before. I also noticed an expired profile on the device – something else you don’t usually see.
The upgrade issue is easily fixed – plug the iPhone into a desktop computer – sync with iTunes and let iTunes perform the iOS upgrade. And that’s where it all went wrong….
* I don’t believe the backup worked too well
* the latest iOS (6.0.1) downloaded and was installed on the device where upon this failed and left the device in a hung state
* so put the iPhone into DFU mode and attempted a re-install of iOS 6.0.1 which also failed – brilliant – any ideas I want to go home!
* inspecting the logs I found that one of the partitions on the iPhone had a security error of some sort…
- No working iPhone 3GS
- A 16 year old girl without her critical lifeline!
Cleverly she had her contact numbers stored on the SIM – so with the SIM removed and installed in another phone she was able to establish earthly contact. Meanwhile I was able to take the phone home for further investigation.
Well I had my suspicions by this stage that the iPhone 3GS was either faulty or Jail-Broken. If it was Jail-broken that certainly would not have been done by the 16 year old. So where did the phone come from?
At home I was able to get the phone into DFU mode and perform a successful iOS 6.0.1 restore – why this didn’t work originally I have no idea.
With the phone restored I began the process of first use and activation… which failed. And it always kept on failing even after multiple successful restores. This is wrong – all New Zealand iPhones are unlocked and activate. At this point I didn’t have any spare SIMs to put into the phone and perhaps the activation was failing because of this. The next day it was off to the petrol station to get a 2Degrees SIM to test. Activation still failed.
Where to next? … Google!
I found many web sites that would get the phone working again in a couple of “easy” steps for a “modest” fee. Despite the advertising and perhaps ease of implementation there’s no fun in that when you can do it yourself in 30 steps. At the end of the day all of these mean the phone is jail broken to work – this isn’t a good solution and will lead to trouble again!
During the course of this investigation I found out from the owner that the phone had been purchased through TradeMe (New Zealand equivalent to eBay) and I was able to view the auction where it said “Jail-Broken to run applications”. Noting here that it didn’t say New Zealand new, or Jail-broken to work with New Zealand cellular carriers.
It was about now that I discovered http://www.officialiphoneunlock.co.uk who offers to properly unlock iPhones in the Apple database so that iTunes can activate phones – that’s a neat trick. For 10 British pounds (NZ$23.88) I paid to discover that the phone was indeed carrier locked to AT&T in the USA (it didn’t say that in the TradeMe auction details) – this took about 3 days. I then paid 25 British pounds (NZ$49.34) to get the phone unlocked. The price can vary depending on the carrier the phone is locked to. The unlock took about 6-12 hours.
Great – the phone is unlocked – simply plug it into iTunes and activate…. No not quite that simple – the activate still failed. http://www.officialiphoneunlock.co.uk were prepared for this issue and their e-mail advises to disconnect and reconnect the iPhone and try again, and if that fails try an iOS restore. Needless to say both of these steps failed too. So I contacted http://www.officialiphoneunlock.co.uk, as they suggested, for further help.
They pointed me at this web site http://www.redmondpie.com/how-to-downgrade-iphone-3gs-3g-06.15.00-to-05.13.04-baseband-for-unlock-and-working-gps/ to fix the problem. This involved using the hacking tools to force a downgrade of the BaseBand firmware on the phone from 06.15.00 to 05.13.04 and then performing a iTunes restore of iOS 6.0.1. It’s possible that the person who performed the original jail-break had upgraded the iPad base band to 06.15.00 which prevented the activation or in other reading on the we perhaps there was some other form of corruption with the Base Band. I followed the instructions and completed the downgrade with the Redsn0w tool as per the instructions.
I’m very pleased to report that this process was successful and that the iPhone was successfully unlocked by iTunes.
The lessons learnt here are many, especially from the purchasing side.
The sale words don’t speak the whole truth – they were nothing like the truth – buyer beware:
My iPhone 3GS 32Gb is for sale. It’s in very good condition, no cracks, scratches etc. Always had mirror screen protector fitted so screen is like new, always been in leather case so back is like new too except some very, very faint wear marks from being inside the case, very hard to see them though.
It’s on IOS5.0.1 and has been jail-broken for downloading apps. Can be used on anyone’s network, currently on Vodafone pre-pay sim. Comes in original box with USB charging/connection cable, no headphones sorry for health reasons. “
What’s missing? – This phone was originally purchased in the USA and is carrier locked to AT&T – it has been Jail Broken to work in New Zealand – you must not perform iOS upgrades.
When you do purchase second hand – do look for words like “Factory unlocked”, or warning words like “do not perform software upgrades”.
On the hacking side – playing with Redsn0w – be very careful and very deliberate – read all the words and if you have step by step instructions read, read, read. It’s fun but a miss step can leave you with a bricked phone.
Obj-C NSToolBar and Windows created programatically. 21 December 2012Posted by David Wilson in General.
add a comment
I’ve had this compile error out of XCode. Using the internet to solve it wasn’t that helpful.
I’m Using 10.8, compiling for 10.6 and above.
XCode version is 4.6
ERROR: Can’t have a toolbar in a window with as it’s borderview
In my case the Window is Manually created. To remove the error I had to add “NSTitledWindowMask”
Note that the NSWindow class reference says the following.
windowStyleThe window’s style. It can be
NSBorderlessWindowMask, or it can contain any of the options described in “Window Style Masks,” combined using the C bitwise OR operator. Borderless windows display none of the usual peripheral elements and are generally useful only for display or caching purposes; you should normally not need to create them. Also, note that a window’s style mask should include
NSTitledWindowMask if it includes any of the others.
There’s the code that creates the window – successfully.
unsigned int styleMask = ( NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask | NSUnifiedTitleAndToolbarWindowMask );
prefsWindow = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 350, 200)
Hope this helps someone else.
Thank you to Glenn for his assistance.
TrafficCamNZ data file update available 24 November 2012Posted by David Wilson in General.
1 comment so far
This updates includes your changes and additions, thank you.
Volcano CAM is also here! – New Zealand volcano cameras are also available by searching for Geonet and adding the cameras you wish to monitor as favourites.