Samsung Galaxy with customized system image

by kenpark » Thu, 30 Jul 2009 10:47:38 GMT

Sponsored Links
 Hi there.

I was told that it is possible to use the Samsung Galaxy 7500 with
your own (custom build) Android OS system image. Is this true? Is the
bootloader free for custom system images or does it still need a
jailbreak to do so?


Samsung Galaxy with customized system image

by Jean-Baptiste Queru » Thu, 30 Jul 2009 12:39:27 GMT

 This question probably belongs in android-discuss. Thanks. At the
moment the only minimally supported hardware target for the Android
Open-Source Project is ADP1.


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


Sponsored Links

Samsung Galaxy with customized system image

by dan raaka » Thu, 30 Jul 2009 16:57:43 GMT

 not true .. i7500 doesn't use fastboot either ..



Other Threads

1. Is it worth writing a ContentProvider and using CursorAdapter for this case?

We are connecting to a number of WebServices and fetching a lot of
structured data(XML). We are parsing this data and storing them into
SQLite tables. This part of the application runs periodically in the
back ground.

On the foreground, the data fetched is displayed in ListViews. We have
used ArrayAdapter to back these lists up. The thing is, every time the
Actvity starts or data set is refreshed, we have to load the
ArrayLists by querying the database and call notifyDataSetChanged() on
the Adapter.
This slows down the application and affects the User experience.

1. I'd imagine using a CursorAdapter might result in performance gain,
since the framework will take care of managing the cursor. Is this
assumption valid?
2. Will the CursorAdapter take care of reflecting updates to the
database on the screen automatically?
3. Will I have to write a ContentProvider if I choose to use
4. Are there any other considerations that we need to make?

Please help.



2. List Item (a view) order changes unexpextedly while (fast) scrolling in a ListView

I am new to android, and ended up (have to) ask a question here,

Let's make it simple, I simply want to make my own TextView-like
(MyView extends View),

this is my code:

public class MyView extends View {

    private Paint mPaint;
    private String mText;
    private Bitmap mBitmap1;
    private Bitmap mBitmap2;

    public MyView(Context context) {

    public MyView(Context context, AttributeSet attrs) {
        super(context, attrs);

    private final void initView() {
        mPaint = new Paint();

    public void setText(String text) {
        mText = text;

    protected void onMeasure(int widthMeasureSpec, int
heightMeasureSpec) {
        int measuredWidth = measureWidth(widthMeasureSpec);
        if (mBitmap1 == null) initBitmap1(measuredWidth);
        int measuredHeight = measureHeight(heightMeasureSpec);
        setMeasuredDimension(measuredWidth, measuredHeight);

    private void initBitmap1(int measuredWidth) {
        mBitmap1 = Bitmap.createBitmap(measuredWidth,
                        Fonts.getHeight(), Bitmap.Config.ARGB_4444);
        Canvas canvas = new Canvas(mBitmap1 );
        canvas.drawText(mText, 0, 0, mPaint);

    private void initBitmap2() {
        mBitmap2 = Bitmap.createBitmap(30,
                        Fonts.getHeight(), Bitmap.Config.ARGB_4444);
        Canvas canvas = new Canvas(mBitmap2 );
        canvas.drawText(mText, 0, 0, mPaint);

    private int measureWidth(int widthMeasureSpec) {
        int measuredWidth = 0;
        int specWidthMode = MeasureSpec.getMode(widthMeasureSpec);
        int specWidthSize = MeasureSpec.getSize(widthMeasureSpec);

        if (specWidthMode == MeasureSpec.EXACTLY) {
                measuredWidth = specWidthSize;
        } else {
                measuredWidth = getWidth();
            if (specWidthMode == MeasureSpec.AT_MOST) {
                measuredWidth = Math.min(measuredWidth, specWidthSize);

        return measuredWidth;

    private int measureHeight(int heightMeasureSpec) {
        int measuredHeight = 0;
        int specHeightMode = MeasureSpec.getMode(heightMeasureSpec);
        int specHeightSize = MeasureSpec.getSize(heightMeasureSpec);

        if (specHeightMode == MeasureSpec.EXACTLY) {
                measuredHeight = specHeightSize;
        } else {
                measuredHeight = 80;
            if (specHeightMode == MeasureSpec.AT_MOST) {
                measuredHeight = Math.min(measuredHeight,
        return measuredHeight;

    protected void onDraw(Canvas canvas) {
        canvas.drawBitmap(mBitmap1, getLeft(), 0, mPaint);
        canvas.drawBitmap(mBitmap2, getLeft(), 30, mPaint);

in my code, i populate some numbers of MyView (let's say 20) in a

my question is why mBitmap1's order changes randomly while i scroll
(up-down) fastly (if i scroll slowly, this problem not occur)..?

mBitmap2 stays where those should be..


3. Default browser

4. Getting Thread ID/Phone# of an Open SMS Message?

5. obtain recently used app list programatically?

6. EndLess ListView

7. To apply a background to a Button