Showing posts with label smartphone. Show all posts
Showing posts with label smartphone. Show all posts

Tuesday, February 28, 2012

Numeri da capogiro per android


Ottocentocinquantamila nuovi dispositivi Android attivati ogni giorno: 850.000, pari a una media tranquillamente sopra i 25 milioni di apparecchi al mese300 milioni di device totali dal lancio. Cifre impressionanti che Andy Rubin, colui che per Google regola l'esistenza di Android, snocciola al Mobile World Congress di Barcelona. E sono pure cifre parziali, che non tengono conto di tutti quei milioni di apparati come Set-Top-Box o come il Kindle Fire che funzionano grazie a un fork dell'OS di BigG ma che non sono ufficialmente androidi. C'รจ solo un piccolo neo nei numeri di Rubin: i tablet non vanno come dovrebbero.
450mila applicazioni in circolazione (rispetto a 1 anno fa, sempre a Barcelona, sono triplicate), ogni mese oltre 1 miliardo di download dal Marketplace....

Thursday, December 29, 2011

Which phone?

Galaxy Nexus, Galaxy S2 or nothing?  That is the question...

Sunday, December 25, 2011

Asus eee pad transformer screen protector

I thought it did suck, instead I was wrong: not bad at all!


ndr. an android tablet powered by honeycomb 3.2.1 are great, with ICS will be simply the best!
http://www.sbs-power.it/tablet/protezioni_pellicole-protettive/279_pellicola-protettiva-antiriflesso-per-asus-eee-.html

Monday, December 12, 2011

Android development : realtime scrolling chart using apache CircularFifoBuffer

Android development : realtime scrolling chart using apache CircularFifoBuffer
Scrolling chart, code fragment written using the apache commons collection CircularFifoBuffer implementation.

Each refresh redraws the whole screen, giving the illusion of a scrolling chart without having to translate the canvas.


  import org.apache.commons.collections15.buffer.CircularFifoBuffer;
  .....
    private CircularFifoBuffer<Sample> mLocalBuffer;
    
    protected Runnable serviceConsumer = new Runnable() {

        @Override
        public void run() {
            if (!isStarted)
                return;
            synchronized (mLocalBuffer) {
                // se ha raccolto almeno un valore
                if (mService != null && mService.currentSample > 0 && !isScrolled) {
                    mScrollOffset = mService.currentSample;
                    Sample sample = mService.getSampleValue(mScrollOffset);
                    mLocalBuffer.add(sample);
                    drawSamples();
                    mReqNum++;
                }
            }
            handler.postDelayed(this, mUpdateSpeed);
        }
    };    
    .....
    
    protected void drawSamples() {
        Canvas c = new Canvas(mBitmap);
        c.drawColor(Color.BLACK);

        drawAxis();

        Paint paint = new Paint();
        if (isScrolled)
            paint.setColor(Color.GRAY);
        else
            paint.setColor(Color.GREEN);
        int lastX = 0;
        synchronized (mLocalBuffer) {
            for (Sample sample : mLocalBuffer) {
                float newY = mRect.centerY() + mScaleY
                        * (sample.values[SensorManager.DATA_Z] - SensorManager.STANDARD_GRAVITY);
                int newX = (lastX + mSpeed);
                c.drawLine(lastX, (lastX == 0 ? newY : mLastY), newX, newY, paint);
                mLastY = newY;
                lastX = newX;
            }
        }
        invalidate();
    }

    protected void drawAxis() {
        Paint paint = new Paint();
        paint.setColor(Color.WHITE);
        Canvas c = new Canvas(mBitmap);
        c.drawLine(mRectF.left, mRectF.centerY(), mRectF.right, mRectF.centerY(), paint);
        c.drawLine(mRectF.centerX(), mRectF.top, mRectF.centerX(), mRectF.bottom, paint);
    }
.....

Friday, December 2, 2011

Android platform distribution

Data collected during a 14-day period ending on December 1, 2011


Samsung Galaxy Nexus review | from TechRadar's expert reviews of Mobile phones

Samsung Galaxy Nexus review | from TechRadar's expert reviews of Mobile phones: "The Samsung Galaxy Nexus is the world's first phone to run Android 4.0 (Ice Cream Sandwich) and comes with a plethora of top end tech, including a huge but still massively high resolution screen.

There are some gadgets in geek-world that are announced and we just cannot wait to touch. Nokia's N95, the original iPhone, the T-Mobile G1 and Palm's first Pre. And the Galaxy Nexus fits firmly in that category.".....

'via Blog this'