Okhelp.cz

Recepty, články, nápady, programování. Dříve dum-zahrada, finance, internet a know-how.okhelp.cz Pro lepší výsledky hledání používejte i diakritiku.

Samsung Galaxy Pocket - Android

Nejmenší telefon od Samsungu s Androidem se někdy přidává i jako dárek k zakoupenému zboží, přesto tento telefon toho za svou cenu něco přes 2 000 korun umí hodně.
Technické parametry Samsung Galaxy Pocket
Rozměry a hmotnost: 103,70 × 57,50 × 12 mm, 97 g
Sítě GSM 850 / 900 / 1800 / 1900 MHz, W-CDMA (3G) 900 MHz / 2 100 MHz
Displej TFT TN, 2,80" (320 × 240 px), dotykový: kapacitní
Procesor 832 MHz
Paměť RAM 256 MB, vnitřní paměť 3 GB, paměťové karty microSD
Operační systém Android 2.3, údajně nelze upgradovat
Hudba: mp3, aac, wav, wma
Video: mp4, 3gp, 320 × 240 px, 15 FPS
Fotoaparát 2 Mpx
Navigace vestavěná GPS, elektronický kompas
Baterie 1 200 mAh, pohotovostní doba: 312 hodin
Cena něco přes 2 000 korun / léto 2012

android/samsung-galaxy-pocket.jpg

396LW NO topic_id




AD

Další témata ....(Topics)


265

Change icon set Android developers example | change-icon-set-android-developers


How to quickly change all icon set in .apk project with Eclipse:

Right click on project in folder tree
Select New - Ohter

android/eclipse-icon-set-create-android-project.jpg

In open wizard dialog select Android Icon Set
android/eclipse-icon-set-create-android-project-1.jpg

Set Icon set name:
android/eclipse-icon-set-create-android-project-2.jpg

Open some large icon for your project for example 512x512 px and wizard will make all set of icons from one largest icon:
android/eclipse-icon-set-create-android-project-3.jpg

Wizard will create all set of icons from this one largest icon.
Click on finish button:
android/eclipse-icon-set-create-android-project-4.jpg
248

How to Scroll large image in ImageView Android Example | how-to-scroll-large-image-in-imageview-android-example


main.xml

    <LinearLayout xmlns:android="//schemas.android.com/apk/res/android"
		android:orientation="vertical"
			android:gravity="top"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >

        <ScrollView
            android:id="@+id/scrollView1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" >

            <HorizontalScrollView
                android:id="@+id/horizontalScrollView1"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" >

 
            <LinearLayout
			    android:gravity="top"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" >

                <ImageView
                    android:id="@+id/imageViewObrazekGeometrie"
                    android:layout_width="360dp"
                    android:layout_height="777dp"
                    android:src="@drawable/geometrie_vzorecky" />

            </LinearLayout>
            </HorizontalScrollView>
        </ScrollView>

    </LinearLayout>

245

Set Custom Font to View Android Example | set-custom-font-to-view-android-example


You have to put your font fonts/samplefont.ttf into assets/fonts folder in your project!

// set own custom font from assets
TextView txt = (TextView) findViewById(R.id.custom_font);
Typeface mFace = Typeface.createFromAsset(getContext().getAssets(),
                                             "fonts/samplefont.ttf");
    txt.setTypeface(mFace);
221

android - OnClickListener must override a superclass method | android-onclicklistener-must-override-a-superclass-method


The method onClick(DialogInterface, int) of type new DialogInterface.OnClickListener(){} must override a superclass method.

Try this:
Right click on project
Select Properties
In open dialogue select Java compiler
Set Enable project specific settings
Set Compiler compliance level to 1.6

android/project-properties-eclipse.png

android/java-compiler-settings-eclipse.png