Skip to main content

Posts

Showing posts from 2013

OS X Mavericks failed to download, Use the Purchases page to try again

I was trying to upgrade Mac OS and kept running into this error message when I tried to resume interrupted download. I was able to get around this problem by following steps mentioned below, which were originally posted in this post . Quit App Store. Open Terminal. Execute this: defaults write com.apple.appstore ShowDebugMenu -bool true Launch App Store. At the Menu bar, there should be a "Debug". Click on that and press "Reset Application" Restart App Store. After resetting the app store I was able to initiate a fresh download of Mavericks.

The basics of building an Android Application

The first thing that is important to understand as a developer is what really happens behind the scene when a user taps on an app icon. How does a developer gain access to the entry point of the application. For this post I will focus on the flow only. If you need to understand how to create your app then follow the simple instructions in this tutorial -  Building your first App . Identify MAIN activity When an app launches, the Android OS first looks into AndroidManifest.xml file to identify the MAIN activity. It looks for an activity tag containing intent-filter with name android.intent.action.MAIN. Start the APP Once the MAIN activity class is known, it then creates a new instance and calls onCreate(Bundle savedInstanceState) method. This method is the entry point to the application. Show the APP This is typically done by specifying the elements that a developer wants to display in a  layout file  stored inside res/layout subdirectory. Android makes it easy to re...

Android - Where to Start?

I am getting started with Android development. I hope to share my understanding of how to build apps and how things work in Android as I learn more. This is my first post about getting started. If you are looking for a starting point, you can easily get started by following Android online tutorials  or pickup one of the Android books such as Hello Android  , The busy coder's guide or The big nerd ranch guide . Next, to setup your development environment follow the instructions to install the Android Development Toolkit . The toolkit has a built-in emulator and so it is not necessary to buy an Android device, at least, at this time. You can get started by running your applications in the emulator. 

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

I was consistently getting this error in chrome for a webpage that was loading just fine in safari. I managed to fix the problem by doing the following in chrome; Go to History > Show Full History Type the site domain to filter the results to show all recent attempts to load the page. Select all entries in filtered results and click "Remove Selected items." In the same History window, select "Settings" from a list menu in the left bar of the page. Click "Show advanced settings ..." . Then, under Privacy click "Content settings..." Click "All cookies and site data..." In "search cookies" textbox type the domain name of the website where the page is hosted. Click "x" to delete all cookies associated with the domain. Exit the settings window by clicking "Done" and try reloading the page.  I hope this fixes the problem. If you followed the same steps, please let others know whether it worked or n...