Customised border for the imageView in gallery

by Babita » Mon, 11 Oct 2010 05:28:13 GMT


Sponsored Links
 How to design custom border for the imageview used in gallery??

--



Customised border for the imageView in gallery

by Kumar Bibek » Mon, 11 Oct 2010 05:38:31 GMT


 Use a background drawable on the ImageView.




>


Sponsored Links


Other Threads

1. Media Recorder Prepare failed

Hi,
While recording video getting Exception from Prepare method as illegal
state exception
final SurfaceView surfaceview =
(SurfaceView)dialog.findViewById(R.id.SurfaceView01);
                                SurfaceHolder holder = surfaceview.getHolder();
                                final Surface target = holder.getSurface();
mRecordStop.setBackgroundResource(R.drawable.stoprecord);
mVideoRecorder = new MediaRecorder();
Log.i("video test", "setVideoSource");
        
mVideoRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT);

                                                        Log.i("video test", 
"setOutputFormat");
        
mVideoRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);

                                                        Log.i("video test", 
"setVideoEncoder");
        
mVideoRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
                                                        Log.i("video test", 
"setOutputFile");
                                                        
mVideoRecorder.setOutputFile("/sdcard/dummy.mp4");
                                                        
//mVideoRecorder.setVideoSize(240, 380);
                                                        
//mVideoRecorder.setVideoFrameRate(15);

                                                        Log.i("video test", 
"setPreviewDisplay");
                                                        
mVideoRecorder.setPreviewDisplay(target);

                                                        
Toast.makeText(VideoTemplateActivity.this, "Recorder Working",
5).show();
                                                        try {

                                                    Log.i("video test", 
"prepare");
                                                                
mVideoRecorder.prepare();
                                                        } catch 
(IllegalStateException e) {
                                                                
e.printStackTrace();
                                                        } catch (IOException e) 
{
                                                                
e.printStackTrace();
                                                        }

-- 

2. How to update pre-installed apps

Hi all,

I am working on an app that will be shipped on some phones. I have
been thinking about how to update them once a new version is ready.
How that would work for a pre-installed app? As an initial thought I
think I could pop up a message letting the user know there is a new
version ready, but if I could avoid unnecessary request to the server
it would be better.

If a google engineer comes across this please give me a hint as you do
this for Google Maps...

Thanks in advance.

-- 

3. continuous camera capture

4. android 2.2 call phone and call log

5. Jpeg decoder for emulator

6. Security Exception embedding Emergency Dialer in ActivityGroup

7. Facebook sdk example stream: has some exception