Setting size of image in Gallery widget from xml

by Open » Sat, 17 Apr 2010 07:42:57 GMT


Sponsored Links
 Hi Paul-

I've been looking for an answer to this too.  Did you find one?

Thanks-




--



Other Threads

1. Regarding Tab Alignment...

Hi All,

I Need Sum Tab Alignment techniques for my app so please help me out with
this query...

"How Can i set towards left of my screen has i can do it below of the
screen...??"

Thanx in Advance...

Regards,
Yogi

-- 

2. Integration problem ZXing via Intent

Well, I'm trying implement a integration of zxing with my Android App.
In my app there is a MainActivity. In this MainActivity, I use a
button to execute the first block of code below. But every time when
execute the first block of code and the app read the QR Code, I
receive as resultCode the value RESULT_CANCELED in the second block.
The second block is executed as soon as the ZXing Activity is opened.
What do I doing wrong?

First Block of Code

Intent intent1 = new Intent("com.google.zxing.client.android.SCAN");
    intent1.setPackage("com.google.zxing.client.android");
    intent1.putExtra("SCAN_MODE", "ONE_D_MODE");
    startActivityForResult(intent1, 0);

Second block of code

public void onActivityResult2(int requestCode, int resultCode, Intent
intent2) {
    if (requestCode == 0) {
        if (resultCode == RESULT_OK) {
            String contents2 = intent2.getStringExtra("SCAN_RESULT");
            String format2 =
intent2.getStringExtra("SCAN_RESULT_FORMAT");
            EditText assetMon1 = (EditText)
findViewById(R.id.assetMon1);
            assetMon1.setText(contents2);
        } else if (resultCode == RESULT_CANCELED) {
            // Every time I receive this code
        }
    }
}

-- 

3. Problem in using api of AbstractAccountAuthenticator, in android.accounts

4. Country code from Location API

5. w3c geolocation working but prompt not showing

6. Is it possible to print available Intents installed on phone?

7. market:// URL to land users to the app rating screen