WT-shaSeido Innocell Batt - N1

by eko » Wed, 21 Apr 2010 14:17:19 GMT

Sponsored Links
 Sip bos, di tunggu reviewnya.


Wow, tebalnya minta ampun, tp moga2 hh nya bisa di pakai seharian.

Bete neh ttg batt N1 yg cepet habis (salah sendiri, sering untk main game,
browsing dll). Kadang gak sampe setengah hari uda low batt.

Minggu lalu beli dari ebay, baru aja sampai product nya sesuai attachment.

Ntar, di sharing lg deh, batt nya tahan berapa lama.

Sent from my BlackBerry smartphone from Sinyal Bagus XL, Nyambung



Other Threads

1. BitmapFactory.decodeByteArray gives pixelated bitmap


I am working on an app that displays photos which are downloaded from
Flickr. I obtain a Bitmap object from a byte array, which in turn is
read from the relevant Flickr URL, as follows:

Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length);

The problem is that the resulting bitmap is pixelated and I can't
figure out why. To demonstrate, here is an example of a picture
created via BitmapFactory.decodeByteArray versus the original picture
obtained directly from the relevant Flickr URL:


Look e.g. at the clouds in the top-left corner to see the difference.

Can anybody give me a hint as to why this is happening?

Below are some additional details. The byte array is obtained as
follows; this is based on code from the Photostream app by Romain Guy:

InputStream in = new BufferedInputStream(url.openStream(),
final ByteArrayOutputStream dataStream = new ByteArrayOutputStream();
out = new BufferedOutputStream(dataStream, IO_BUFFER_SIZE);
copy(in, out);
final byte[] data = dataStream.toByteArray();

Note that the more direct approach using e.g.
BitmapFactory.decodeStream() does not work; see e.g. the following
discussion for details:


Here is the code I used for writing the bitmap to the JPG file linked
to above, with no compression:

String filename = "test" ;
ContentValues values = new ContentValues();
values.put(Images.Media.TITLE, filename);
values.put(Images.Media.DATE_ADDED, System.currentTimeMillis());
values.put(Images.Media.MIME_TYPE, "image/jpeg");

Uri uri = mCtx.getContentResolver().insert
(Images.Media.EXTERNAL_CONTENT_URI, values);
try {
  OutputStream outStream = mCtx.getContentResolver().openOutputStream
  bitmap.compress(Bitmap.CompressFormat.JPEG, 100, outStream);
} catch (FileNotFoundException e) {}
  catch (IOException e) {}

Any help on this matter would be greatly appreciated.
Thanks and best regards,


2. TableLayout set column width by using layout_weight

I believe I found a solution to your problem. The weight attribute of
linearlayouts (http://d.android.com/reference/android/widget/
LinearLayout.LayoutParams.html) unfortunately only extends views, and
therefore the your attempt does not work, because the textviews are to
wide to begin with. I found that it worked to simply set
android:width="0px", and then let the weight-attribute do its work.

<?xml version="1.0" encoding="utf-8"?>
  android:layout_height="wrap_content" >
      android:text="ab ab abc abcabc ab"
      android:text="ab ab abc abcabc in aaaaa aaaa aaaaaa aaaaa


3. RelativeLayout algorithm.

4. Using bitmap data to copy pixels to a new bitmap

5. Dynamic compound drawables in TextView are invisible

6. listing /data/data device's contents

7. Complete Guide Root, Update, ADB Recovery and JIT on Milestone