android.view.InflateException ONLY in android 1.5

by Quinn Rohlf » Fri, 16 Jul 2010 09:01:56 GMT


Sponsored Links
  figured it out - I hadn't realized that the 1.5 platform doesn't support
localized resources. Duplicated all of the referenced resources in
/drawable-mdpi into /drawable and it worked like a charm.

On Thu, Jul 15, 2010 at 3:28 PM, QR <qro...@gmail.com> wrote:


--



Other Threads

1. How to replace the default lock screen?

How to replace the default lock screen? Which intent do i need to listen to
The screen which shows your network and time.

-- 

2. Enabling 'Immediately Destroy Activities' on the device

Happy Thanksgiving!

Is there any way to enable this very useful setting programmatically
or otherwise? It would be very helpful for us to do this full
debugging on the device itself.

Looking in the DevTools code, I see this...

ActivityManagerNative.getDefault().setAlwaysFinish(mAlwaysFinish);
(http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#CRBM04-7BoA/
apps/Development/src/com/android/development/
DevelopmentSettings.java&q=%22Immediately%20destroy%20activities%22)

ActivityManagerNative is hidden in the SDK, has anyone used reflection
to successfully access this on the Device? Are there some permission
problems there? I have tried installing the Development.apk but it
crashes with this:

11-26 15:48:46.772: ERROR/AndroidRuntime(418): Caused by:
java.lang.SecurityException
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     at
android.os.BinderProxy.transact(Native Method)
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     at
com.android.development.DevelopmentSettings.updateFlingerOptions
(DevelopmentSettings.java:246)
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     at
com.android.development.DevelopmentSettings.onResume
(DevelopmentSettings.java:169)
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     at
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:
1225)
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     at
android.app.Activity.performResume(Activity.java:3559)
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2838)
11-26 15:48:46.772: ERROR/AndroidRuntime(418):     ... 12 more

Artem

-- 

3. Our app is not visible on market for some devices

4. How to change Android Home screen orientation by a program

5. Boot hmp10 from SD card

6. Incoming calls

7. How to get the highest API level supported by the device?