Notice: Build broken is fixe

by Yi Sun » Thu, 30 Jul 2009 15:16:08 GMT


Sponsored Links
 Chih-wei and I are trying to find a good way to organise the firmware
directories.








-- 
Android-x86
 http://code.google.com/p/android-x86/ 

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

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



Notice: Build broken is fixe

by Yi Sun » Mon, 03 Aug 2009 02:10:41 GMT


 ave you run the image? There should be more issues, the 10482 was not fixed
yet (not sure about today's status), the init.rc has new entries need to add
....
Yi

On Sun, Aug 2, 2009 at 3:21 AM, Chen Yang <sunsety...@gmail.com> wrote:



--
Android-x86
http://code.google.com/p/android-x86/

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

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


Sponsored Links


Notice: Build broken is fixe

by Chen Yang » Mon, 03 Aug 2009 07:55:24 GMT


 es, I have run it.
10482 has 2 issues, my 2nd item fixed one issue. I don't know whether
current framework has the right kind of implementation that may expose the
2nd issue of that. At least, from what I have run, I haven't found problems
so far.
--
Chen

On Mon, Aug 3, 2009 at 2:10 AM, Yi Sun <beyo...@gmail.com> wrote:


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

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



Notice: Build broken is fixe

by Yi Sun » Mon, 03 Aug 2009 09:13:24 GMT


 hihwei backed out both from android-x86



On 2009-8-2, at 16:54, Chen Yang <sunsety...@gmail.com> wrote:


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

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



Notice: Build broken is fixe

by Yi Sun » Wed, 05 Aug 2009 04:52:00 GMT


 ou are using wrong command.

Take a look on the wiki page:
http://code.google.com/p/android-x86/wiki/GetSourceCode

On Tue, Aug 4, 2009 at 1:48 PM, penguins <suf...@gmail.com> wrote:



--
Android-x86
http://code.google.com/p/android-x86/

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

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



Notice: Build broken is fixe

by Chen Yang » Wed, 05 Aug 2009 07:24:55 GMT


  missed one item in BoardConfig.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 54b0d4f..68000ce 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -8,6 +8,7 @@ TARGET_NO_BOOTLOADER := true
TARGET_NO_RECOVERY := true

#TARGET_NO_KERNEL := true
+TARGET_CPU_ABI := none

TARGET_HARDWARE_3D := false

Some more items:
diff --git a/eee_701.mk b/eee_701.mk
index 508108c..1dd6558 100644
--- a/eee_701.mk
+++ b/eee_701.mk
@@ -4,7 +4,7 @@
# For now, reuse the generic (phone) infrastructure.
#

-$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_with_google.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)

PRODUCT_NAME := eee_701
PRODUCT_DEVICE := eee_701
diff --git a/init.rc b/init.rc
index 00aa93c..3cdcedc 100644
--- a/init.rc
+++ b/init.rc
@@ -108,6 +108,8 @@ on boot
setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 1
setprop ro.SECONDARY_SERVER_ADJ 2
+ setprop ro.BACKUP_APP_ADJ 2
+ setprop ro.HOME_APP_ADJ 4
setprop ro.HIDDEN_APP_MIN_ADJ 7
setprop ro.CONTENT_PROVIDER_ADJ 14
setprop ro.EMPTY_APP_ADJ 15
@@ -117,9 +119,12 @@ on boot
setprop ro.FOREGROUND_APP_MEM 1536
setprop ro.VISIBLE_APP_MEM 2048
setprop ro.SECONDARY_SERVER_MEM 4096
- setprop ro.HIDDEN_APP_MEM 8192
- setprop ro.CONTENT_PROVIDER_MEM 8704
- setprop ro.EMPTY_APP_MEM 16384
+ setprop ro.BACKUP_APP_MEM 4096
+ setprop ro.HOME_APP_MEM 4096
+ setprop ro.HIDDEN_APP_MEM 5120
+ setprop ro.CONTENT_PROVIDER_MEM 5632
+ setprop ro.EMPTY_APP_MEM 6144
+

# Write value must be consistent with the above properties.
write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15
@@ -136,6 +141,12 @@ on boot
chown radio system /sys/android_power/acquire_full_wake_lock
chown radio system /sys/android_power/acquire_partial_wake_lock
chown radio system /sys/android_power/release_wake_lock
+ chown radio system /sys/power/state
+ chown radio system /sys/power/wake_lock
+ chown radio system /sys/power/wake_unlock
+ chmod 0660 /sys/power/state
+ chmod 0660 /sys/power/wake_lock
+ chmod 0660 /sys/power/wake_unlock
chown system system /sys/class/timed_output/vibrator/enable
chown system system /sys/class/leds/keyboard-backlight/brightness
chown system system /sys/class/leds/lcd-backlight/brightness
@@ -193,8 +204,8 @@ service servicemanager /system/bin/servicemanager
onrestart restart zygote
onrestart restart media

-service mountd /system/bin/mountd
- socket mountd stream 0660 root mount
+service vold /system/bin/vold
+ socket vold stream 0660 root mount

service zygote /system/bin/app_process -Xzygote /system/bin --zygote
--start-system-server
socket zygote stream 666


Meanwhile, in order to build the installer_img, don't forget to enable
external/e2fsprogs/Android.mk remove the # before the include.

Hope it helps.
--
Chen


On Wed, Aug 5, 2009 at 4:51 AM, Yi Sun <beyo...@gmail.com> wrote:


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

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



Other Threads

1. Boosting Kinerja G1 Space internal hh di dream

Quote:
kalo di saya setelah di flash cm5 terus di nyalakan pulih app2sd lalu masuk
ke recovery lagi untuk flash gapp alhasi setelah di liat space hh jadi 87mb
dan free memory bisa 37
Endquote

Saya sudah coba cara diatas oom Jef,alhasil masih tetap di kisaran 50mb
untuk spacenya dan 37an di free ramnya.apakah ada yg salah?

Adakah cara agar RAM bisa lebih lega & dream lebih lancar jalan di CM5?




kalo di saya setelah di flash cm5 terus di nyalakan pulih app2sd lalu masuk
ke recovery lagi untuk flash gapp alhasil setelah di liat space hh jadi 87mb
dan free memory bisa 37 ...

2010/6/1 jei w <jei...@gmail.com>


CM 05 stble..kok aplik...



-- 

Jefri Priambodo

-- 
"Indonesian Android Community [id-android]"

2. Search for Custom CursorAdapter

hi guys,

i have implemented a Custom CursorAdapter which will display all the
contacts with there images.

this is my code and it is working fine. now i want to have a Search
for this screen. i have tried a lot but couldn't find a way out.

so could some one please help me out ????

public class Contacts extends ListActivity {
        static final String[] cat = Constants.DEFAULT_CATEGORIES;
        static int[] id;
        static List<Long> contactId;
        DisplayContacts dispCont;
        List<String> number;
        Map<String, String> combination = new HashMap<String, String>();
        String isDisplayDetails;
        ProgressDialog dialog;

        private class DisplayContacts extends SimpleCursorAdapter implements
                        Filterable {
                private LayoutInflater mInflater;
                Context mCtx;

                public DisplayContacts(Context context, int layout, Cursor c,
                                String[] from, int[] to) {
                        super(context, layout, c, from, to);
                        // TODO Auto-generated constructor stub
                        mInflater = LayoutInflater.from(context);
                        this.mCtx = context;
                }


                @Override
                public void bindView(View view, Context context, Cursor c) {
                        // TODO Auto-generated method stub
                        // int idCol = c.getColumnIndex(Phones._ID);
                        // try {
                        int nameCol = c.getColumnIndex(Phones.NAME);
                        int numCol = c.getColumnIndex(Phones.NUMBER);
                        int foreign = c.getColumnIndex(Phones.PERSON_ID);
                        String name = c.getString(nameCol);
                        String number = c.getString(numCol);
                        // long id = c.getLong(idCol);
                        long phoneForeign = c.getLong(foreign);
                        // View v = mInflater.inflate(R.layout.contacts, 
parent, false);
                        TextView name_text = (TextView)
view.findViewById(R.id.contactName);
                        if (name_text != null) {
                                name_text.setText(name);
                        }

                        TextView num_text = (TextView) 
view.findViewById(R.id.number);
                        if (num_text != null) {
                                num_text.setText(number);
                        }

                        // set the profile picture
                        ImageView profile = (ImageView) 
view.findViewById(R.id.imgContact);
                        if (profile != null) {
                                // Uri uri = 
ContentUris.withAppendedId(People.CONTENT_URI,
                                // id);
                                Cursor cur = 
getContentResolver().query(Photos.CONTENT_URI,
                                                null, Photos.PERSON_ID + "='" + 
phoneForeign + "'",
                                                null, null);
                                byte[] b = null;
                                if (cur != null) {
                                        if (cur.moveToNext()) {
                                                int imgColumn = 
cur.getColumnIndex(Photos.DATA);
                                                b = cur.getBlob(imgColumn);
                                        }
                                }
                                Bitmap bm = null;
                                if (b != null) {
                                        ByteArrayInputStream bytes = new 
ByteArrayInputStream(b);
                                        BitmapDrawable bmd = new 
BitmapDrawable(bytes);
                                        bm = bmd.getBitmap();
                                        profile.setImageBitmap(bm);
                                } else {
                                        
profile.setImageResource(R.drawable.defaultcontact);
                                }
                                ImageView indicator = (ImageView) 
view.findViewById(R.id.is);
                                boolean assign = isAssign(number);
                                if (assign) {
                                        // set the profile picture
                                        
indicator.setImageResource(R.drawable.ok);
                                } else {
                                        
indicator.setImageResource(R.drawable.delete);
                                }
                        }
                        dialog.dismiss();
                        /*
                         * } finally { if (c != null) { c.close(); } }
                         */
                }

                @Override
                public Object getItem(int position) {
                        // TODO Auto-generated method stub
                        return super.getItem(position);
                }

                @Override
                public Cursor runQueryOnBackgroundThread(CharSequence 
constraint) {
                        // TODO Auto-generated method stub
                        if (getFilterQueryProvider() != null) {
                                return 
getFilterQueryProvider().runQuery(constraint);
                        }

                        StringBuilder buffer = null;
                        String[] args = null;
                        if (constraint != null) {
                                buffer = new StringBuilder();
                                buffer.append("UPPER(");
                                buffer.append(People.NAME);
                                buffer.append(") GLOB ?");
                                args = new String[] { 
constraint.toString().toUpperCase() + "*" };
                        }

                        return 
mCtx.getContentResolver().query(Phones.CONTENT_URI, null,
                                        buffer == null ? null : 
buffer.toString(), args,
                                        Phones.NAME + " ASC");
                }

        }

        @Override
        protected void onCreate(Bundle savedInstanceState) {
                // TODO Auto-generated method stub
                super.onCreate(savedInstanceState);
                setTitle("Color Eye D - Contacts");
                dialog = ProgressDialog.show(Contacts.this, "",
                                "Loading. Please wait...", true);

                Cursor cursor = getContentResolver().query(Phones.CONTENT_URI, 
null,
                                null, null, Phones.NAME + " ASC");
                startManagingCursor(cursor);

                String[] columns = new String[] { Phones.NAME, Phones.NUMBER };
                int[] names = new int[] { R.id.contactName, R.id.number };
                dispCont = new DisplayContacts(this, R.layout.contacts, cursor,
                                columns, names);
                setListAdapter(dispCont);
                // setListAdapter(new DisplayContacts(this));
                registerForContextMenu(getListView());
                // cursor.close();

        }

}

regards,
Mike

-- 

3. sendWallpaperCommand() behavior changed in 2.2

4. Problem in loading data in webview Pagevise

5. video player - native application

6. OOT; Kenapa yah ?

7. Why do I get "XmlPullParserException: attr value delimiter missing!" when use XmlPullParser to parse page in Android