News for the ‘iphone’ Category

iphone signal testing with code

Closest cell tower 1 Km, iPhone 3G, Wi-fi mode, iOS 4.0, Orange network.

With device held gently by edges:

signal avg 90 (outdoors, line of sight to cell tower, same altitude)
signal avg 8O (indoors, line of sight to cell tower, same altitude)
signal avg 60 (indoors, no line of sight to cell tower, same altitude)
signal avg 4O (outdoors, no line of sight to cell tower, ground level)

With device cradled in hand a average decrease of signal by about 20 in all cases and whatever finger configuration.

Turning 3G on causes a average decrease of signal by 5 in all cases.

The connection strength bars shows 5 bars in all cases.

Absolute minimum experienced : 19, absolute maximum 96.

The thing to take away from all this is that if  you already had a very bad connection under 20 and subtract the hand attenuation of about 20 you are left with no signal, and it did not hep that until iOS 4.0.1  a bad connection with a 20 strength would have shown 4 or even 5 bars.

The application used to test gets the signal strength from private calls to apple’s CoreTelephony framework, in a effort to help the iphone signal testing going on share a common base i am providing the application to anyone, please let me know what are the results of your tests and feel free to contribute to the code on github.

The application is named  VAFieldTest , it’s code is under a open source license and can be found at http://github.com/valexa/VAFieldTest , you need Xcode and a iPhone developer account to compile and run it.

iOS 4.0.1 update
same behavior as before, with the difference that now the connection bars properly reflect changes in the strength (I 1-19, II 20-29, III 30-39, IIII 40-49, IIIII 50-99 ) , with previous versions they just show 5 bars for any signal strengths above 25.

Posted: July 7th, 2010
Categories: apple, iphone, software
Tags: , , ,
Comments: No Comments.

Safari-like Reader for any browser including Mobile Safari

We all like the new feature in Safari 5, Reader, well maybe except the advertisers, it is so pristine as anything we would expect from Apple but as it turns out it is actually based on the work of NYC based design house arc90, namely Readability which is acknowledged by Apple in file:///Applications/Safari.app/Contents/Resources/Acknowledgments.html

If you visit their Readability page you will notice that it is implemented as a javascript bookmarklet useable in any browser (i tested Chrome and Firefox) , all you have to do is drag the link to the bookmarks bar, for Mobile Safari which does not have such a bar it is a bit more complicated:
1 – create a placeholder bookmark by pressing plus (can be any page), press Save
2 – copy the javascript at the bottom of this post into the pasteboard
3 – press bookmarks > press edit > press the arrow on the shortcut you created
4 – press the round x to clear the name and type say Readability
5 – select the bottom field, press the round x to clear the address and paste the text

javascript:(function(){readStyle='style-newspaper';readSize='size-medium';readMargin='margin-wide';_readability_script=document.createElement('SCRIPT');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(_readability_script);_readability_css=document.createElement('LINK');_readability_css.rel='stylesheet';_readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';_readability_css.type='text/css';_readability_css.media='all';document.getElementsByTagName('head')[0].appendChild(_readability_css);_readability_print_css=document.createElement('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_readability_print_css.media='print';_readability_print_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_print_css);})();

Now when you want to see only the content on a page you are visiting just tap the newly created bookmark and you are all set.
Just in case you want to enhance your Mobile Safari even more you might want to check out http://ipuhelin.com/en/safariplus/ ,in page text search is a must-have if you ask me.

Posted: June 16th, 2010
Categories: apple, ipad, iphone
Tags: , , ,
Comments: 1 Comment.

Seesmic before the iPad

Exactly 2 years ago Seesmic purchased Twhirl and shifted from a video conversation platform to a twitter client, i will continue to make a brief overview of the process as it provides a extremely interesting and relevant case.

I started following Seesmic when it was still a video site, behind it is Loic Lemeur a well known entrepreneur highly involved in social media and the father of the LeWeb conference, when he started Seesmic he even moved to San Francisco getting people like Pierre Omidyar, Reid Hoffman, Stephen Case on board and two series of founding $6M each.

By this time there still was no business model but Loic’s goal was to have a impact and create value and like every investor knows, that eventually blooms into a business, by the end of 2008 however there were already signs of trouble with 1/3 of staff being laid off, early into 2009 a web version of Seesmic’s twitter client was released then silence until early 1010 when Loic used Microsoft’s Professional Developers Conference as a platform to launch Seesmic for Blackberry and Android, which signaled the shift toward Windows, Loic himself switching to Windows after complaining about issues upgrading OSX to Snow Leopard.

The mobile and web versions joined the initial desktop Seesmic twitter client that ran on both Windows and OSX courtesy of Twirl’s Adobe Air codebase, so by now you could say that they had everything covered, except one minor thing, the iPhone, and in two days from now the iPad, which brings me to the reason why i started writing this.

Sure, you could argue that they identified the niche in the lucrative and less competitive Blackberry/Windows space, apparently they quickly hired a bunch of romanian windows developers and eventually even partnered with Microsoft to create a windows only flavor of Seesmic for the masses, Seesmic Look, so they could afford to ignore iPhone and the iPad markets, saturated with independent developers and highly competitive, even if Loic had the founds and the levers to give it a edge over anyone else.

Either way Seesmic makes for a extremely interesting case study, i gave up waiting for a native OSX/iPhone client, but things are not looking good for the days ahead, here is how it will look: people opening seesmic.com from a iPhone and more importantly from the iPad will be thrown into a dead-end with broken image links and suggestions to get the Android and Blackberry clients, even if they know the url to the web based Sesmic client they will be unable to access it from mobile browsers, and there is no native Sesmic in the AppStore either, which brings the options to 0.

Posted: March 31st, 2010
Categories: apple, iphone
Tags: , , , , , ,
Comments: 2 Comments.

appstore and cryptography

With the onset of copy/paste in the 3.0 version of the Iphone OS i figured i would write some software providing a facile way of encrypting text with a password for sending via sms , email and whatnot, it is called TXTcrypt after a long struggle it is now both on the appstore and as a free desktop version which is legal to download.

Enter the 1996 Wassenaar Arrangement signed by 41 states (see attached map) , requiring special permission to market/export encryption software with keys greater than 56 bits in size and 64 bits in length (Category 5 Part 2 5.A.2.a.1.a.) .

This limitation applies to symmetric key algorithms , and just determining what i stated above required me to study dozens of cumbersome and often confusing documentations (that use length and size interchangeably).

Moving on, as the Apple App Store is based in the US , and US is a signatory of said act , applications using cryptography for anything else than authentication purposes are subject to the regulations of the Wassenaar Arrangement body in the US , namely The Bureau of Industry and Security, US Department of Commerce (BIS) .

The regulations for the named (5.A.2.a.1.a.) category fall into the BIS ECCN (Export Control Classification Number) 5D992 , and can be exported under the EAR to most destinations with No License Required (“NLR”) but a NLR Notification 742.15(a)(i)

For software exceeding 56/64 bits the classification is ECCN is 5D002 742.15(b) , and a export license if required in the form of a Commodity Classification Automated Tracking System (CCATS) number , luckily BIS has the conveniently named Simplified Network Application Process Redesign (SNAP-R) application for that , but just registering your company to request a PIN to access that turned into a monthly long enterprise , about the time when i abandoned this approach.

Because as it turns out , Apple does have a process handy shall you abandon or be stuck for a very long time in the claws of BIS , ECCN 5D002 rated applications without a export license can be posted to the app store for the U.S. and Canada only , just set it as so in itunesconnect and send the completed form (U.S.Canada Only Form.pdf attached) to the Apple Export Department.

Wassenaar

Title: U.S.Canada Only Form
File: U.S.Canada-Only-Form.pdf
Size: 18 kB
Posted: July 7th, 2009
Categories: iphone
Tags: , , , , ,
Comments: No Comments.

enabling iPhone tethering on Orange

Here is how carrier free charge tethering looks and is done with Orange Romania

iphone

rename ~/Library/iTunes/iPhone Carrier Support/Orange_ro.ipcc to Orange_ro.zip extract and enter Payload and bundle dirs , open Carrier.plist

plist

edit the apns section like in the screenshot , optionally edit the other 2 plists changing BundleVersion from 2.5 to 5.0, save and close all plists

compress the Payload dir an rename the archive to .ipcc , alt+click Restore in itunes and select it after typing

defaults write com.apple.iTunes carrier-testing -bool TRUE

in terminal then just reboot the iphone

mac

i have tested both usb and bluetooth , working great , the ipcc file is atached

Title: Orange_ro
File: Orange_ro.ipcc
Size: 29 kB
Posted: June 19th, 2009
Categories: iphone
Tags: , , , ,
Comments: 4 Comments.

iphone and flash

Ok so i have to quote and comment on the following from informationweek : ^

Jobs’ statements are sure to disappoint Web developers, many of whom are familiar with Flash development

I am a web developer and i am not disappointed at all by his statement which for the record was straight on and amounted to :

“Flash is not yet good enough for the iPhone,”

Now i certainly do not know who advises Jobbs , but i can tell you that a software engineers or web developer will agree with him on that , only the web designers and entrenched corporate entities might differ but that is another story.
And even them benefit from the fact that Jobbs is pushing innovation by forcing adobe to improve the inners of the flash mess and not helping it’s monopoly over web content delivery systems.
Either way the folks at information week could use a touch of pertinence while delivering their comments.
That is to say in plain words that are either idiots or they are pushing agendas like any corporate monkey.
And here are quotes of comments on their own article page from people that probably developed with flash too instead of only looking at flash content as a way to make them experts on it.

Derek commented on Mar 5, 2008 4:13:57 PM Jobs is right – flash sucks. Ever try decompiling a swf file? It’s painful and arcane. Flash is ok from a user experience level and more efficient from a download perspective but the tools and formats for it are voodoo.

Webwin commented on Mar 5, 2008 4:16:24 PM Right on – I’m a developer and HATE dealing with Flash. It’s simply not open enough and as the previous poster mentioned – voodoo to some extent. As a developer I hate blindly writing to formats that aren’t open.

Shane Johnson commented on Mar 5, 2008 4:18:46 PM I’m surprised that so many sites use Flash myself. It’s about time someone stuck a flag in the ground out of defiance. There MUST be a better way to deliver video content than Flash.

kurt Witcher commented on Mar 5, 2008 4:38:18 PM I think a big problem with flash is the huge amount of processing power it takes to run. I’m guessing flash in its current form would drain the iphones battery probably 3 times faste, just so we can watch our online advertising bounce.

Posted: March 6th, 2008
Categories: iphone, rants
Tags: , , , , ,
Comments: No Comments.