Create Thumbnail.

by dhrumil » Thu, 09 Sep 2010 14:13:07 GMT

Sponsored Links
 Hello 2All,

I create one Gallery Example. In that If I want to do Thumbnail like
display what is d code.?


Other Threads

1. Maven and Emma

Hi all,

I am trying to run emma code coverage inside the android simulator using maven.

This are the steps that I am following:
1. Build, install and test my app
   mvn clean install
2. Try to run the application with emma enable
   adb shell am instrument -w -e coverage true

But I get this error:
Error: Failed to generate emma coverage. Is emma jar on classpath?

The problem is that the target application has not been Emma
instrumented.  I have succesfully get the coverage data using ant as
provided by the sdk but I need to stick with maven.

Can anybody shade some light on how to run Emma code coverage from Maven?

Jose Espinosa


2. problem for send sms

I realize a sublist for example when a user clicks on an available
balance message will be sent to the server in the background but the
problem it gives me the sms application
appel function
if (position==4){
        i1 =new Intent(this, EnvoiSms.class);
function sms
import android.os.Bundle;
import  android.telephony.SmsManager;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class EnvoiSms extends Activity {

    public void onCreate(Bundle savedInstanceState) {

        Button btnEnvoie = (Button)findViewById(;

        final EditText numero =(EditText)findViewById(;
        final EditText message = (EditText)findViewById(;

        btnEnvoie.setOnClickListener(new OnClickListener() {

                public void onClick(View v) {

                                String num ="sms://" + 87012;
                                String msg ="S";

                                if(num.length()>= 4 && msg.length() > 0){

SmsManager.getDefault().sendTextMessage(num, null, msg, null,


                                        Toast.makeText(EnvoiSms.this, "Enter le 
numero et/ou le message",



3. Monkeyrunner extension library

4. I'm trying to build Library( that works on emulator and target(Nexus s).

5. Custom view and horizontal scrolling

6. Audio input funciton via 3.5mm / headphone jack?

7. Notify when media file is inserted in MediaStore