How to custom my own home screen?

by water » Fri, 13 Feb 2009 02:06:24 GMT


Sponsored Links
 Android phone has a default home screen,a clock in the middle,and four
icons in the bottom,
i want to change this layout,
May i develop a application,after i installed it,it replace the
default home screen?
Thanks~!

--~--~---------~--~----~------------~-------~--~----~



How to custom my own home screen?

by Scynasty » Fri, 13 Feb 2009 04:23:25 GMT


 add    <category android:name="android.intent.category.HOME" />  in
the intent-filter of the activity you want as the home screen. when
the home button is clicked it will ask which home screen you want to
run.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Marketplace reveals "private" developer phone numbers

OTOH, You would know if you are popular when you get a lot of junk calls on
your phone.

take care,
Muthu Ramadoss.

http://linkedin.com/in/tellibitz +91-9840348914
http://androidrocks.in - Android Consulting.











--~--~---------~--~----~------------~-------~--~----~

2. Question about using LayoutInflater

I have a question about using LayoutInflater.

I have a class which inherits from 'View'.

It calls

LayoutInflater inflater =
(LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        
                if (inflater != null) {
                        inflater.inflate(R.layout.mycontent, null);
                }

inflate returns with no exception.

But then, when I do this:
mRowLayout = (RelativeLayout)findViewById(R.id.row_layout);

I get a null pointer for mRowLayout.

Can you please tell me why? Or how to fix my problem?

<?xml version="1.0" encoding="utf-8"?>
<view class="android.widget.RelativeLayout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/carousel_film"
        android:layout_width="fill_parent" android:layout_height="fill_parent">
        <RelativeLayout
                        android:id="@+id/row_layout"
                        android:layout_width="fill_parent">
                        
                        <ImageView
                                android:id="@+id/left"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:src="@drawable/left"
                                />
        </RelativeLayout>
</view>

--~--~---------~--~----~------------~-------~--~----~

3. debugging java and c/c++

4. Market Place refund is automatically uninstalling apps.

5. Market Place refund is automatically uninstalling apps.

6. OnTouchListener

7. How can I create a custom composite widget in android