Landscape and portrait mode for application
<p>I have defined two different layouts in my application.For portrait it is in layout folder and for landscape mode it is in layout-land folder.I have callde two APIs at one page that calls data from web server.Now it automatically moves to both mode.I am testing this on htc froyo set.</p>

<p>What i am finding that after switching about 8 9 times(means after 8 9 orientation) application gets crashed.It shows that</p>

<p>19520 bytes allocation is too large for this process.
VM won't let us allocate 19520 bytes.</p>

<pre><code>04-14 15:34:54.581: W/System.err(4877):     at java.lang.reflect.Constructor.constructNative(Native Method)
04-14 15:34:54.581: W/System.err(4877):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-14 15:34:54.581: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-14 15:34:54.581: W/System.err(4877):     ... 24 more
04-14 15:34:54.581: W/System.err(4877): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-14 15:34:54.591: W/System.err(4877):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-14 15:34:54.591: W/System.err(4877):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:464)
04-14 15:34:54.591: W/System.err(4877):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:340)
04-14 15:34:54.591: W/System.err(4877):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
04-14 15:34:54.591: W/System.err(4877):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
04-14 15:34:54.601: W/System.err(4877):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
04-14 15:34:54.601: W/System.err(4877):     at android.view.View.&lt;init&gt;(View.java:1850)
04-14 15:34:54.601: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:109)
04-14 15:34:54.601: W/System.err(4877):     ... 28 more
04-14 15:34:54.601: D/FlurryAgent(4877): Error logged: uncaught
04-14 15:34:54.601: W/System.err(4877): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.org.Ahoy/com.org.Ahoy.LocateMe}: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.601: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2581)
04-14 15:34:54.611: W/System.err(4877):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2606)
04-14 15:34:54.611: W/System.err(4877):     at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3785)
04-14 15:34:54.611: W/System.err(4877):     at android.app.ActivityThread.access$2300(ActivityThread.java:126)
04-14 15:34:54.611: W/System.err(4877):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1924)
04-14 15:34:54.611: W/System.err(4877):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-14 15:34:54.611: W/System.err(4877):     at android.os.Looper.loop(Looper.java:123)
04-14 15:34:54.621: W/System.err(4877):     at android.app.ActivityThread.main(ActivityThread.java:4568)
04-14 15:34:54.621: W/System.err(4877):     at java.lang.reflect.Method.invokeNative(Native Method)
04-14 15:34:54.621: W/System.err(4877):     at java.lang.reflect.Method.invoke(Method.java:521)
04-14 15:34:54.621: W/System.err(4877):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-14 15:34:54.621: W/System.err(4877):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-14 15:34:54.621: W/System.err(4877):     at dalvik.system.NativeStart.main(Native Method)
04-14 15:34:54.621: W/System.err(4877): Caused by: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.631: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
04-14 15:34:54.631: W/System.err(4877):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-14 15:34:54.631: W/System.err(4877):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
04-14 15:34:54.631: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
04-14 15:34:54.631: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
04-14 15:34:54.631: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
04-14 15:34:54.641: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-14 15:34:54.641: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-14 15:34:54.641: W/System.err(4877):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
04-14 15:34:54.641: W/System.err(4877):     at android.app.Activity.setContentView(Activity.java:1629)
04-14 15:34:54.641: W/System.err(4877):     at com.org.Ahoy.LocateMe.onCreate(LocateMe.java:192)
04-14 15:34:54.651: W/System.err(4877):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-14 15:34:54.651: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2529)
04-14 15:34:54.651: W/System.err(4877):     ... 12 more
04-14 15:34:54.651: W/System.err(4877): Caused by: java.lang.reflect.InvocationTargetException
04-14 15:34:54.651: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:105)
04-14 15:34:54.651: W/System.err(4877):     at java.lang.reflect.Constructor.constructNative(Native Method)
04-14 15:34:54.651: W/System.err(4877):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-14 15:34:54.661: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-14 15:34:54.661: W/System.err(4877):     ... 24 more
04-14 15:34:54.661: W/System.err(4877): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-14 15:34:54.661: W/System.err(4877):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-14 15:34:54.661: W/System.err(4877):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:464)
04-14 15:34:54.661: W/System.err(4877):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:340)
04-14 15:34:54.661: W/System.err(4877):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
04-14 15:34:54.671: W/System.err(4877):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
04-14 15:34:54.671: W/System.err(4877):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
04-14 15:34:54.671: W/System.err(4877):     at android.view.View.&lt;init&gt;(View.java:1850)
04-14 15:34:54.671: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:109)
04-14 15:34:54.671: W/System.err(4877):     ... 28 more
04-14 15:34:54.671: D/FlurryAgent(4877): Error logged: uncaught
04-14 15:34:54.671: W/System.err(4877): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.org.Ahoy/com.org.Ahoy.LocateMe}: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.681: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2581)
04-14 15:34:54.681: W/System.err(4877):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2606)
04-14 15:34:54.681: W/System.err(4877):     at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3785)
04-14 15:34:54.681: W/System.err(4877):     at android.app.ActivityThread.access$2300(ActivityThread.java:126)
04-14 15:34:54.681: W/System.err(4877):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1924)
04-14 15:34:54.681: W/System.err(4877):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-14 15:34:54.681: W/System.err(4877):     at android.os.Looper.loop(Looper.java:123)
04-14 15:34:54.691: W/System.err(4877):     at android.app.ActivityThread.main(ActivityThread.java:4568)
04-14 15:34:54.691: W/System.err(4877):     at java.lang.reflect.Method.invokeNative(Native Method)
04-14 15:34:54.691: W/System.err(4877):     at java.lang.reflect.Method.invoke(Method.java:521)
04-14 15:34:54.691: W/System.err(4877):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-14 15:34:54.691: W/System.err(4877):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-14 15:34:54.691: W/System.err(4877):     at dalvik.system.NativeStart.main(Native Method)
04-14 15:34:54.691: W/System.err(4877): Caused by: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.701: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
04-14 15:34:54.701: W/System.err(4877):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-14 15:34:54.701: W/System.err(4877):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
04-14 15:34:54.701: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
04-14 15:34:54.701: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
04-14 15:34:54.711: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
04-14 15:34:54.711: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-14 15:34:54.711: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-14 15:34:54.711: W/System.err(4877):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
04-14 15:34:54.721: W/System.err(4877):     at android.app.Activity.setContentView(Activity.java:1629)
04-14 15:34:54.721: W/System.err(4877):     at com.org.Ahoy.LocateMe.onCreate(LocateMe.java:192)
04-14 15:34:54.721: W/System.err(4877):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-14 15:34:54.721: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2529)
04-14 15:34:54.721: W/System.err(4877):     ... 12 more
04-14 15:34:54.721: W/System.err(4877): Caused by: java.lang.reflect.InvocationTargetException
04-14 15:34:54.731: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:105)
04-14 15:34:54.731: W/System.err(4877):     at java.lang.reflect.Constructor.constructNative(Native Method)
04-14 15:34:54.731: W/System.err(4877):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-14 15:34:54.731: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-14 15:34:54.731: W/System.err(4877):     ... 24 more
04-14 15:34:54.731: W/System.err(4877): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-14 15:34:54.741: W/System.err(4877):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-14 15:34:54.741: W/System.err(4877):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:464)
04-14 15:34:54.741: W/System.err(4877):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:340)
04-14 15:34:54.741: W/System.err(4877):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
04-14 15:34:54.741: W/System.err(4877):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
04-14 15:34:54.741: W/System.err(4877):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
04-14 15:34:54.741: W/System.err(4877):     at android.view.View.&lt;init&gt;(View.java:1850)
04-14 15:34:54.741: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:109)
04-14 15:34:54.751: W/System.err(4877):     ... 28 more
04-14 15:34:54.751: D/FlurryAgent(4877): Error logged: uncaught
04-14 15:34:54.751: W/System.err(4877): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.org.Ahoy/com.org.Ahoy.LocateMe}: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.751: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2581)
04-14 15:34:54.751: W/System.err(4877):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2606)
04-14 15:34:54.751: W/System.err(4877):     at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3785)
04-14 15:34:54.761: W/System.err(4877):     at android.app.ActivityThread.access$2300(ActivityThread.java:126)
04-14 15:34:54.761: W/System.err(4877):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1924)
04-14 15:34:54.761: W/System.err(4877):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-14 15:34:54.761: W/System.err(4877):     at android.os.Looper.loop(Looper.java:123)
04-14 15:34:54.761: W/System.err(4877):     at android.app.ActivityThread.main(ActivityThread.java:4568)
04-14 15:34:54.761: W/System.err(4877):     at java.lang.reflect.Method.invokeNative(Native Method)
04-14 15:34:54.761: W/System.err(4877):     at java.lang.reflect.Method.invoke(Method.java:521)
04-14 15:34:54.771: W/System.err(4877):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-14 15:34:54.771: W/System.err(4877):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-14 15:34:54.771: W/System.err(4877):     at dalvik.system.NativeStart.main(Native Method)
04-14 15:34:54.771: W/System.err(4877): Caused by: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.771: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
04-14 15:34:54.771: W/System.err(4877):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-14 15:34:54.771: W/System.err(4877):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
04-14 15:34:54.781: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
04-14 15:34:54.781: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
04-14 15:34:54.781: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
04-14 15:34:54.781: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-14 15:34:54.781: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-14 15:34:54.781: W/System.err(4877):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
04-14 15:34:54.781: W/System.err(4877):     at android.app.Activity.setContentView(Activity.java:1629)
04-14 15:34:54.791: W/System.err(4877):     at com.org.Ahoy.LocateMe.onCreate(LocateMe.java:192)
04-14 15:34:54.791: W/System.err(4877):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-14 15:34:54.791: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2529)
04-14 15:34:54.791: W/System.err(4877):     ... 12 more
04-14 15:34:54.791: W/System.err(4877): Caused by: java.lang.reflect.InvocationTargetException
04-14 15:34:54.791: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:105)
04-14 15:34:54.791: W/System.err(4877):     at java.lang.reflect.Constructor.constructNative(Native Method)
04-14 15:34:54.801: W/System.err(4877):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-14 15:34:54.801: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-14 15:34:54.801: W/System.err(4877):     ... 24 more
04-14 15:34:54.801: W/System.err(4877): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-14 15:34:54.801: W/System.err(4877):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-14 15:34:54.801: W/System.err(4877):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:464)
04-14 15:34:54.801: W/System.err(4877):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:340)
04-14 15:34:54.811: W/System.err(4877):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
04-14 15:34:54.811: W/System.err(4877):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
04-14 15:34:54.811: W/System.err(4877):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
04-14 15:34:54.811: W/System.err(4877):     at android.view.View.&lt;init&gt;(View.java:1850)
04-14 15:34:54.811: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:109)
04-14 15:34:54.811: W/System.err(4877):     ... 28 more
04-14 15:34:54.811: D/FlurryAgent(4877): Error logged: uncaught
04-14 15:34:54.821: W/System.err(4877): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.org.Ahoy/com.org.Ahoy.LocateMe}: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.821: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2581)
04-14 15:34:54.821: W/System.err(4877):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2606)
04-14 15:34:54.821: W/System.err(4877):     at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3785)
04-14 15:34:54.821: W/System.err(4877):     at android.app.ActivityThread.access$2300(ActivityThread.java:126)
04-14 15:34:54.821: W/System.err(4877):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1924)
04-14 15:34:54.831: W/System.err(4877):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-14 15:34:54.831: W/System.err(4877):     at android.os.Looper.loop(Looper.java:123)
04-14 15:34:54.831: W/System.err(4877):     at android.app.ActivityThread.main(ActivityThread.java:4568)
04-14 15:34:54.831: W/System.err(4877):     at java.lang.reflect.Method.invokeNative(Native Method)
04-14 15:34:54.831: W/System.err(4877):     at java.lang.reflect.Method.invoke(Method.java:521)
04-14 15:34:54.831: W/System.err(4877):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-14 15:34:54.831: W/System.err(4877):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-14 15:34:54.841: W/System.err(4877):     at dalvik.system.NativeStart.main(Native Method)
04-14 15:34:54.841: W/System.err(4877): Caused by: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.841: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
04-14 15:34:54.841: W/System.err(4877):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-14 15:34:54.841: W/System.err(4877):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
04-14 15:34:54.841: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
04-14 15:34:54.851: W/System.err(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
04-14 15:34:54.851: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
04-14 15:34:54.851: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-14 15:34:54.851: W/System.err(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-14 15:34:54.851: W/System.err(4877):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
04-14 15:34:54.851: W/System.err(4877):     at android.app.Activity.setContentView(Activity.java:1629)
04-14 15:34:54.861: W/System.err(4877):     at com.org.Ahoy.LocateMe.onCreate(LocateMe.java:192)
04-14 15:34:54.861: W/System.err(4877):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-14 15:34:54.861: W/System.err(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2529)
04-14 15:34:54.861: W/System.err(4877):     ... 12 more
04-14 15:34:54.861: W/System.err(4877): Caused by: java.lang.reflect.InvocationTargetException
04-14 15:34:54.861: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:105)
04-14 15:34:54.871: W/System.err(4877):     at java.lang.reflect.Constructor.constructNative(Native Method)
04-14 15:34:54.871: W/System.err(4877):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-14 15:34:54.871: W/System.err(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-14 15:34:54.871: W/System.err(4877):     ... 24 more
04-14 15:34:54.871: W/System.err(4877): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-14 15:34:54.871: W/System.err(4877):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-14 15:34:54.881: W/System.err(4877):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:464)
04-14 15:34:54.881: W/System.err(4877):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:340)
04-14 15:34:54.881: W/System.err(4877):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
04-14 15:34:54.881: W/System.err(4877):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
04-14 15:34:54.881: W/System.err(4877):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
04-14 15:34:54.881: W/System.err(4877):     at android.view.View.&lt;init&gt;(View.java:1850)
04-14 15:34:54.881: W/System.err(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:109)
04-14 15:34:54.891: W/System.err(4877):     ... 28 more
04-14 15:34:54.891: D/FlurryAgent(4877): Error logged: uncaught
04-14 15:34:54.891: E/AndroidRuntime(4877): Uncaught handler: thread main exiting due to uncaught exception
04-14 15:34:54.901: E/AndroidRuntime(4877): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.org.Ahoy/com.org.Ahoy.LocateMe}: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2581)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2606)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3785)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread.access$2300(ActivityThread.java:126)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1924)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.os.Looper.loop(Looper.java:123)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread.main(ActivityThread.java:4568)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at java.lang.reflect.Method.invokeNative(Native Method)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at java.lang.reflect.Method.invoke(Method.java:521)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at dalvik.system.NativeStart.main(Native Method)
04-14 15:34:54.901: E/AndroidRuntime(4877): Caused by: android.view.InflateException: Binary XML file line #169: Error inflating class &lt;unknown&gt;
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.Activity.setContentView(Activity.java:1629)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at com.org.Ahoy.LocateMe.onCreate(LocateMe.java:192)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2529)
04-14 15:34:54.901: E/AndroidRuntime(4877):     ... 12 more
04-14 15:34:54.901: E/AndroidRuntime(4877): Caused by: java.lang.reflect.InvocationTargetException
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:105)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at java.lang.reflect.Constructor.constructNative(Native Method)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-14 15:34:54.901: E/AndroidRuntime(4877):     ... 24 more
04-14 15:34:54.901: E/AndroidRuntime(4877): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:464)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:340)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.view.View.&lt;init&gt;(View.java:1850)
04-14 15:34:54.901: E/AndroidRuntime(4877):     at android.widget.ImageView.&lt;init&gt;(ImageView.java:109)
04-14 15:34:54.901: E/AndroidRuntime(4877):     ... 28 more
</code></pre>
