Porting Android on OMAP 1510, is it possible ? and how?

by oasiao » Fri, 06 Mar 2009 09:40:29 GMT


Sponsored Links
 Hi everyone,

I'm new here. i have a PDA, Palm Tungsten T2, and want to try porting
android in this machine.

Palm Tungsten T2 has the OMAP1510, within ARM925, arm v4. There is not
much words in discussions with OMAP1510, and i don't really know how
to do it. Is it possible to port android on this chip ? has anyone
tried before ? if you know, please tell me, i appreciate it.

Can i do it by following   http://elinux.org/Android_on_OMAP ? by the 
way, i have no EVM, but a cable USB ,,,,, it sounds difficult, isn't
it ? but there is a lab near by, i can get some tools if i know what i
need.

Anyway, I am not a engineer hardware, and i have never touched this
domain before. so, i will be really greatful if you can help me a
little ?

Thanks a lot!



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

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



Other Threads

1. TabHost Issue

Here my situation:

I have setup 5 Activities:
        <activity android:name=".MainActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".AllRadiosActivity"></activity>
                <activity android:name=".FavoritesListActivity"></activity>
                <activity android:name=".SearchActivity"></activity>
                <activity android:name=".NowPlayingActivity"></activity>


The MainActivity setups up 4 tabs (for the 4 activities):

                TabHost host = getTabHost();
                
host.addTab(host.newTabSpec("1").setIndicator("All").setContent(new
Intent(this, AllRadiosActivity.class)));
                
host.addTab(host.newTabSpec("2").setIndicator("Faves").setContent
(new Intent(this, FavoritesListActivity.class)));
                
host.addTab(host.newTabSpec("3").setIndicator("Search").setContent
(new Intent(this, SearchActivity.class)));
                host.addTab(host.newTabSpec("4").setIndicator("Now
Playing").setContent(new Intent(this, NowPlayingActivity.class)));
                host.setCurrentTab(0);

Where I'm running into issues is when I switch from the
AllRadiosActivity to the NowPlayingActivity, the tabs aren't displayed
anymore (since they are only defined in the MainActivity).

Here is the command I use to switch between the activities:
mView is a ListView
                mView.setOnItemClickListener(new OnItemClickListener() {
                        public void onItemClick(AdapterView av, View v, int 
index, long
arg) {
                                Log.d(TAG, "Item clicked: " + index);
                                //startActivity(new 
Intent("NowPlayingActivity"));
                                Intent myIntent = new Intent(v.getContext(),
NowPlayingActivity.class);
                                startActivity(myIntent);

                        }
                });



Does anyone know how to keep the tabs while switching between the
'subactivities'?? The reason I'm using the MainActivity is because I
can extend the appropriate Activity class (ListActivity, etc) in all
of the other activities.

Any help would be appreciated!

Thanks!
Vladimir

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

2. how to use resources from installed app

Hello,

Trying to make it so that the default list highlight, (the orange
highlight, in the contacts list, for example)  will be changeable, at
the app layer.  In the file frameworks/base/core/java/android/widget/
AbsListView.java I modified the function:

 private void useDefaultSelector() {...}

from:

        setSelector(getResources().getDrawable(
 
com.android.internal.R.drawable.list_selector_background));


to:

        Context myContext = null;
        try {
                myContext = getContext().createPackageContext
("com.mycompany.myapp", 0);
        }
        catch (Exception e){
                // deal with exception
        }
        Resources r = null;
        try {
                r = myContext.getResources();
        }
        catch(Exception e ){
                // deal with exception
        }

        Drawable dr = null;
        int resID = r.getIdentifier("list_selector_background",
"drawable", "com.mycompany.myapp");
        try {
                dr = r.getDrawable(resID);
        }
        catch( Exception e){
                // // deal with exception
        }
        setSelector(dr);


Of course, I will put the correct xml file and .png's in the resources
folder of my app.

Should this work?  If so, how do I integrate this change, is it "mmm
frameworks/base" followed "make snod"?

thanks



--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. New push email client

4. Announcing our ADC2 submission: Xeeku Twitter

5. Can a core class access resources at the app layer?

6. Can a core class access resources at the app layer?

7. cyanogen