About theme named in android dev!

by cgifish » Tue, 25 May 2010 01:59:42 GMT


Sponsored Links
 what different between xml and java code for define a theme name?e.g.
name="Theme.Translucent" in xml  and refer it with the method
setTheme(R.styles.Theme_Translucent). why?

--



Other Threads

1. [WTA] HTC HD2 Touch Screen Problem?

Rekan2,

apa temen2 disini ada yang pernah ngalamin masalah dengan touch screen
terutama dengan htc hd2?
Soalnya sejak pakai charger usb pengganti dan beli charger baru,touch
screennya masih defektif alias tidak berfungsi.
Kalau untuk tombol masih berjaan dengan normal, maslahnya touch screennya
seperti tidak bergeming / gerak sama sekali.
Masalahnya di touch screen atau di baterai ya? maksud saya, baterainya
rusak,sehingga mempengaruhi touch screen

any thought?

*desperate abis*

-- 
===============

2. Custom instrumentation test runner fails on android-8

Hi all!

I have made a custom instrumentation test runner, see below.  This works 
fine on android-9, but fails on android-8.  Is this a known issue?  If so, 
is there are workaround for android-8?

 public class InstrumentationTestRunner extends 
android.test.InstrumentationTestRunner {

    public TestSuite getAllTests() {

        suite = new TestSuite("Sweet");

        suite.addTest(new TestCase("Success 1") {

            public void runTest() throws java.lang.Throwable {

                // Success

            }

        });

        suite.addTest(new TestCase("Success 2") {

            public void runTest() throws java.lang.Throwable {

                // Success

            }

        });

        suite.addTest(new TestCase("Error") {

            public void runTest() throws java.lang.Throwable {

                throw new RuntimeException("Error!");

            }

        });


        return suite;

    }


logcat gives nothing useful:

I/TestRunner(  552): started: Success 
1(org.ruboto.test.InstrumentationTestRunner$1)

I/ActivityManager(   68): Force stopping package org.ruboto.sample_app 
uid=10036


-- 

3. Cost of requestLocationUpdates

4. Looking for information on the Fragment dump() method (FragmentManager too)

5. Beta Game Space Bike

6. Clear data from MediaStore

7. Draw Image next to text on canvas