Skip to main content

Iphone vs Android switch to new phone experience

I signed up 2 year contact and got new phones today for me and my wife. My wife upgraded her Samsung Infuse to Samsung Galaxy S4 and I upgraded my iphone 3gs to iphone5.  Off course the first thing you want to do is dont have any change in the life and just upgrade the hardware.

Well that is exactly I got from Iphone. Apple really nailed this thing. All I did was went to Icloud and did a backup which was off course incremental so took 2-3 minutes. Then I setup my new iphone as a phone with existing icloud backup. All I needed was to provide my Apple Id 2-3 times during restarts/restore and within 15 min I was up and running and ditched my old phone for good.

Also AT&T activation was a piece of cake never seen someone porting numbers between services within 5 min. Best part is I didn’t needed to interact with any human at all.

Now I needed to repeat it for android and it was mess.  God knows what was wrong but I didn’t found a similar backup/restore on android, there all these 3rd party apps that will do the backup restore but I don’t trust any of them.  So I compromised and said to my wife that I would import your contacts and rest we can just do via usb cable which is mostly photos. And importing contacts is a mess. it seems I or she had turned on syncing new contacts to gmail contacts when they were added or may be I imported it from sim card 2 years back but now the android wants me to save it one by one which is a mess as she had 700+ contacts (many duplicate as her contact list was a mix of facebook + gmail contacts and most of them without phone numbers).

Anyway long story short I had just 1 hour as I was tired so I just synched up my gmail phone contacts on her by adding my gmail account to galaxy S4 in addition to hers, we share 80% of our contacts so would at-least get her going for tomorrow and rest she or I can input manually if needed.

But I got to say just because of this feature I may never go back to Android.

Comments

Popular posts from this blog

RabbitMQ java clients for beginners

Here is a sample of a consumer and producer example for RabbitMQ. The steps are
Download ErlangDownload Rabbit MQ ServerDownload Rabbit MQ Java client jarsCompile and run the below two class and you are done.
This sample create a Durable Exchange, Queue and a Message. You will have to start the consumer first before you start the for the first time.

For more information on AMQP, Exchanges, Queues, read this excellent tutorial
http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/

+++++++++++++++++RabbitMQProducer.java+++++++++++++++++++++++++++
import com.rabbitmq.client.Connection; import com.rabbitmq.client.Channel; import com.rabbitmq.client.*; public class RabbitMQProducer { public static void main(String []args) throws Exception { ConnectionFactory factory = new ConnectionFactory(); factory.setUsername("guest"); factory.setPassword("guest"); factory.setVirtualHost("/"); factory.setHost("127.0.0.1"); factory.setPort(5672); Conne…

Spring query timeout or transaction timeout

If you are using spring to manage transactions then you can specify default transaction timeout using

    <bean id="transactionManager"
        class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
        <property name="dataSource" ref="dataSource" />
        <property name="defaultTimeout" value="30" /> <!--30 sec--->             
    </bean>

or you can override the timeout in the annotation

    @Transactional(readOnly = false, timeout=30)


or if you are doing it programatic transactions then you can do


DataSourceTransactionManager transactionManager = new DataSourceTransactionManager(dataSource);
transactionManager.setDefaultTimeout(30);

 or you can override the timeout for one particular transaction

TransactionTemplate transactionTemplate = new TransactionTemplate();
transactionTemplate.setTimeout(30);

Python adding pid file

I have a thumbnail generator that launches multiple processes and the correct way to shut it down is to send kill -HUP to the parent process. To automate I had to write a pid file from python, it was a piece of cake
def writePidFile(): pid = str(os.getpid()) f = open('thumbnail_rabbit_consumer.pid', 'w') f.write(pid) f.close()