android

PNG Base64 decoding problem in android

Hi I am using BitmapFactory to decode my Image files which are provided in the Xml file,my logic works fine for all formates except for PNG encoded with Base64 uridata,Iam converting the base64 to binary formate and then iam passing this data as a input to BitmapFactory,but still BitmapFactory returns NULL,i dont hava any clue on this c...

can anybody give me realtime sqlite example

Actually earlier i was working as a Web Developer so i am not able to imagine mobile database. It has become complicated for me I mean to say steps like given as below, CheckDBExist Create it if does not exist, Insert when told to, Update when required and, anything u would like to suggest me as a beginner Example with multiple fields ...

Emulator SD card Partition

Is it possible to create partitions on SD card from the emulator. ...

Slideshow in android

Hi All, Can Somebody give me some pointers on how to create a sideshow application in android. I need to have the Android transition animation when I switch between the images. Please guide me. Thanks, Sen ...

How to load RGB565 buffer to ImageView

I have file "Image_RGB565.raw" which contains image buffer in RGB565 format. I want this image to be displayed in ImageView. is it possible without extra code of converting to RGB888? I have tried to BitmapFactory.Options opt = new BitmapFactory.Options(); opt.inPreferredConfig = Bitmap.Config.RGB_565; Bitmap bitmap = BitmapFactory.de...

Does Android provide a callback when the clear button on notifications list is clicked

Does Android provide a callback when the clear button on the notification list is clicked ? My app needs to clear some data whenever the notification is clicked or cleared. On clicking I know what to do, but how do I handle the second case ? ...

Autocompletion in android - for youtube search

Hi experts, I hope my query is quite clear from the title itself. I need to implement the auto-completion for youtube(video suggestions in a list as the user begins typing). I need this feature for one of my Android activities. Experts, please advise as to how to get these auto-completion list as i start typing. Any help in this rega...

Text Rendered over bitmap

Hello, I 'd like to know how can I render a text over a 48x48 bitmap in my android application, considering sometimes the text exceeds the bitmap width .In such cases I need to render only a part of the text followed by dots such that all fits the available width ! Thanks ! Update Edit : the code I use is : Bitmap renderSurface = ico...

Using a ViewAnimator over a SurfaceView causes Problems

I can't seem to have any luck with normal views and SurfaceViews. I have a FrameLayout with two children, a glSurfaceView and a ViewAnimator. The purpose is to have a background rendering with buttons on top for menus, options and such. When I animate from the ViewAnimator they move as they should but it appears they scroll under some...

problem to set application name in android?

Hi, The problem with my application is that i could'nt see my application name under display icon. I used the following code in my manifest file to set application name and the icon for my project. <application android:icon="@drawable/icon" android:label="@string/app_name"> After putting this piece of code in my applic...

book reader android

I have a samsung galaxy, i want a reader for android and which is free. ALso I should be able to convert some pdfs i have already ito that suitable format so that I can read them in my android device ...

how to open MS word,ppt and excel document in android2.2 emulator

Hi, I am developing an android 2.2 application. I want to open MS word,ppt and excel files to be open in emulator. How can I achieve it? is there any free version of Documents To Go? Please help Thanks Parvendra ...

load html at listview item onclick

Hi guys, I'm now stuck in html loading from my assets folder. I've several html pages under assets folder and have to load those at listview item onclick. Each listview item own their html pages.Does anybody know how i can get onclick event and how to show specific html pages ? Thanks ...

Passing value from a EditText to TextView

I want to take the value from a EditText from one page and to display that value to a TextView in another page. How can I do that? How can I store values in EditText? Plesae Help me.... Thanking you.. ...

Is it possible to remove thumb in seekbar?

Is it possible to remove thumb in seekbar? how do i change the animation of thumb while selecting it? ...

when porting android 2.2 application on android1.6 platform

Hi, I have developed an application on android2.2. when I install this application on actual device having android1.6 then it gives me error "java.lang.string" when click on a button. does somebody has any idea what may be the cause and how to eradic Thanks Parvendra ...

what is this log ,when ı coded thread.stop()?

10-18 10:26:39.382: ERROR/global(13919): Deprecated Thread methods are not supported. 10-18 10:26:39.382: ERROR/global(13919): java.lang.UnsupportedOperationException 10-18 10:26:39.382: ERROR/global(13919): at java.lang.VMThread.stop(VMThread.java:85) 10-18 10:26:39.382: ERROR/global(13919): at java.lang.Thread.stop(Thread.java:...

Why images are displayed pixelerate when attribute anyDensity=false in android menifest file for samsung galaxy device?

same code anyDensity=false works fine for device with display resolution 320*480, but images are displayed pixelerate in device with display resolution 480*800. ...

onclickListner for AlertDialog

hai, can i set an onclickListner for AlertDialog ? Regards Aneesh ...

the gif cannot be decoded

Hi,all: i met a problem now , the android system can not decode gif files , but we need to do that job , how can i do that , if you know that , pls tell me , thanks. ...