HTC Hero Sprint 2n

by Deska Affif » Thu, 22 Apr 2010 20:09:31 GMT


Sponsored Links
 Karena HTC Eris udah laku, mau lepas Android CDMA yang satu lagi :)
- HTC Hero Sprint.
Harga NETT: *Rp 3,3jt*

Kondisinya bisa dibilang 90% aja karena dah dipakai sekitar 2-3 bulanan.
Kelengkapan cuma handset, charger dan kabel data (dulu beli dari baru juga
batangan).

Bonus: *Casing* *Silicone Jelly* :)

Lokasi: Jakarta Barat (Home) & Jakarta Selatan (Office).
COD kalau weekdays di Mall Ambasador atau Senayan City, weekend di Mall
Citraland atau Mall Taman Anggrek.

Japri: *deska...@gmail.com*
Nomor telepon ada di Sigy.

Admin & Mods, makasih jalumnya :)

*************
Deska Affif
088-1100-GAYA (4292) | Y!: GadgetGaya
www.gadgetgaya.com  |  Light Up Your Gadget!

-- 
"



Other Threads

1. http proxy and chunked encoding with emulator

That very well could be a bug in the chunk encoding support of the http
rewriter within the emulator's proxy code.
I could not test it against a lot of cases.

Can you dump the output of "emulator -debug-proxy" when you try to connect
to www.google.com through your proxy ?
This will print out the exact messages exchanged.





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

2. How to change the canvas of a clickable view (LinearLayout) for few milliseconds when clicked?

Dear all,

I have a custom view that draw a rounded rectangle. This view is
clickable.
I would like to change the color of the inner rectangle when the view
is clicked (to act like a button)

So I created a swapColor() method inside my custom view :

  public void swapColor() {
    innerPaint.setColor(Color.CYAN);
    this.invalidate(); // I tried postInvalidade
    try {
      Thread.sleep(500);
    } catch (InterruptedException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    setColors(); //restore initial colors
    invalidate();
  }

I call this method in the onClick associated with the view.

But this method does not work (but the sleep(500) is called, so I know
I am entering it).

The onDraw et onDrawDispatch are the same and are given below:

  protected void dispatchDraw(Canvas canvas) {

    RectF drawRect = new RectF();
    drawRect.set(1, 1, getMeasuredWidth() - 2, getMeasuredHeight() -
2);
    canvas.drawRoundRect(drawRect, 5, 5, innerPaint);
    canvas.drawRoundRect(drawRect, 5, 5, borderPaint);

    super.dispatchDraw(canvas);
  }

  protected void onDraw(Canvas canvas) {

    RectF drawRect = new RectF();
    drawRect.set(1, 1, getMeasuredWidth() - 2, getMeasuredHeight() -
2);

    canvas.drawRoundRect(drawRect, 5, 5, innerPaint);
    canvas.drawRoundRect(drawRect, 5, 5, borderPaint);

    super.onDraw(canvas);
  }

Thanks for your help !!
--~--~---------~--~----~------------~-------~--~----~

3. Getting Resources outside of an Activity

4. Crashed service restarted by system doesn't call onStart

5. How to disable 'Sorry! Activity YYY (in application XXXX) is not responding.

6. Crashed service restarted by system doesn't call onStart

7. Unused java hardware acceleration on the G1 (was Android game developers desperately need optimised game engine example code ...)