Fwd: openCORE 1.x (cupcake) CPM plugin

by RaviY » Sat, 05 Sep 2009 00:15:48 GMT


Sponsored Links
 ---------- Forwarded message ----------
From: Jean-Baptiste Queru <j...@android.com>
Date: Sep 4, 10:09am
Subject: openCORE 1.x (cupcake) CPM plugin
To: android-platform


This forum (android-platform) is dedicated to people contributing to
the Android Open-Source Project, and the Android Open-Source Project
only accepts direct contributions in the master branch (which has
OpenCORE 2.x). Android-porting is the right group for people porting
or modifying older versions of the source code in ways that don't
result in improvements to the source code, which seems to be the case
for your specific question.

Thanks,
JBQ



On Fri, Sep 4, 2009 at 7:54 AM, DAndre Pritchett<dandr...@gmail.com>





















--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

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

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



Fwd: openCORE 1.x (cupcake) CPM plugin

by RaviY » Sat, 05 Sep 2009 00:25:47 GMT


 VMFLocalDataSource (in fact please try to use PVMFSourceContextData)
needs to be added as the source context data of your actual data
source. You may look here for an example:
http://android.git.kernel.org/?p=platform/external/opencore.git;a=blob;f=engines/player/test/src/test_pv_player_engine_testset_cpmdlapassthru.cpp;h=5fd22d57dc52fbf4ea55d5e7483b8897445b4d1b;hb=9b3c56ac71d2b119228599496a93c40d4d9753e3#l186

-Ravi



On Sep 4, 11:15am, RaviY <yend...@pv.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

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


Sponsored Links


Other Threads

1. openOrCreateDatabase or what?

Prior to release 0.9 one could do the following to open or create a
SQLite database:

try {
  db = context.openDatabase(DATABASE_NAME, null);
} catch (FileNotFoundException e) {
  db = context.createDatabase(DATABASE_NAME, DATABASE_VERSION,
                                                Context.MODE_PRIVATE, null);
 createTables();
 insertSampleData();
}

So if the application can't open the database it creates a new one and
creates all tables and inserts test data.

Now both methods are gone and there is a single method
openOrCreateDatabase().

This method doesn't allow the programmer to distinguish between
opening an existing and creating a new database.
To decide if it should call createTables() and insertSampleData()
additional checks are necessary.

Can someone explain the background why this change was introduced? I
always prefer a clear contract of the API like different methods for
open(), close(), create(). Or did I miss something?
--~--~---------~--~----~------------~-------~--~----~

2. AutoCompleteTextView showing filtered results

Hello,

I am using AutoCompleteTextView with my custom adapter which
implements Filterable.

On the getFilter() method, I am able create a new Filter instance and
override performFiltering() method to find the matched results.
Inside performFiltering all the matched results are added into
FilterResults as values(ArrayList<HashMap<String, String>>) and
returned back.

When I move to publishResults() method, I cannot populate the
FilterResults for user and letting him/her pick one fromt the filtered
results.

I try the notifyDataSetChanged() method inside publishResults()
method, but does the dataset change?

I could not find enough documentation on this issue, any help would be
appreciated.

Regards,
--~--~---------~--~----~------------~-------~--~----~

3. Use Android as embedded platform

4. Skin editors (?)

5. How to set AlertDialog button focus?

6. Custom Components in a different package?

7. Top 10 Winner Looking to Build New Team for Challenge II