android

Deleting SQLite rows automatically/periodically

Hi guys! So, i have a application that displays tasks and i created an option in the Settings menu that lets you choose in how many days all (Never, 10 days, 20 days or 30 days) these tasks should be automatically deleted. So when i open up the app there will be a method that will be called and check if theres any tasks to be deleted. I...

Blackberry - Estimate port of Android app with GPS and Google Maps

Lets say I have an Android app that uses Google Maps and GPS.Uses custom views and timers. How much time will it require to develop it for Blackberry? What changes will be required? Can the UI be reused? I am totally new to Blackberry, though I know Java. Please help me estimate the time. ...

Refreshing code

Hi I want code for refershing my page automatically when i click on any button.For Ex I have a people page In that page i delete people from total peoples using one button but that selected people is not deleted immediately That means the People page is not refreshing.So,I want code for refreshing that page.Give me any suggestions.Than...

Question about Intent, android

I am confused, and need to get my concepts straight. After executing the last statement, which function is called, in MapsActivity? is it onResume? and under which function (onResume()?) should i put getExtra()? Log.i("onMenuAnimate", "Attempting to animate to:"); Intent intent = new Intent(SearchDB.this, MapsActivity.class); intent.pu...

android image exif reader 3rd party api

Is there any 3rd part api for android to read exif tags from image which support api level starting from 1.5. ...

problem with send me log

Hi, I had try to implement the send me log feature into my apps but I can't get it right. Can anyone please help me with it? In the logcat, it shows the errors: 03-29 21:23:37.636: ERROR/AndroidRuntime(820): Uncaught handler: thread AsyncTask #1 exiting due to uncaught exception 03-29 21:23:37.726: ERROR/AndroidRuntime(820): java.lang...

How to access button's id in android 1.5 platform

Hi, mostly i am working on android 1.6 platform.I made an application on 1.5 platform but i could not access button through like R.id.button1 like platform 1.6.Is there any idea? Thank you ...

Android acclerometer mouse

I am planning to develop an accelerometer based mouse on the android platform. the mobile device which i plan to use is htc nexus one. the cursor should move as the mobile is moved is space. will that be difficult compard to movement wrt gravity? ...

TextView height

Hi Everybody, I want to get height of TextView and line number currently shown in that TextView. How can I do that can any body help me about this matter ?? Thanks ...

does android natively support RTP and/or SCTP?

Hi, I am developing a walkie-talkie application for Android, and would like to know whether RTP and/or SCTP is natively supported in the latest version of android SDK. From whatever I have dug-up so far, the answer is no. It seems that support for SCTP is coming in JDK 7. But then, I am not sure how this will work with my android de...

how to set background image in android ListView?

dear friends, i want have an image and i want to set it as a background of android list view i have used android:background="drawable/image" but nothing happened can any one guide me how to achieve this? any help would be appricated. ...

Multiple Icons on status bar! How to disable this?

HI In Bluetooth application I am noticing it is displaying multiple icons not number. I updated number of notification object, then it was displaying number and but also multiple icons.. how to disable this multiple icons? ...

how can i know that access point/configured wifi has pasword or secure protocol programmatically?

Hi, I want to track the strength of connected wifi continually and if that signal strength decreasing then connect the another best strength wifi from configured or access-points.Here i got a problem, how can i know that the selected wifi from configured or non-configured access-points is secured one?How can i configure secured wifi in ...

Android - display specific contacts information [Answered]

In my application when a user clicks on a button I want to open the contacts application and display a particular contacts information. At the minute I have this: Intent intent = new Intent(Intent.ACTION_VIEW, People.CONTENT_URI); startActivity(intent); This displays the contact application with all the contacts displayed. But how d...

Android Webview + WebViewClient + javascript + hardware input

I've a webview which should distinguish between internal site links and external links. I achieve this behavior by adding a html anchor named "#external" to every link url which contains html-attribute target="_blank" with the help of javascript and checking the urls with WebViewClient's shouldOverrideUrlLoading This solution work...

Create an incrementing timer in seconds in 00:00 format?

I want to create an incrementing second timer like a stopwatch. So I want to be able to display the seconds and minutes incrementing in the format 00:01... Google only brings up 24 hour clock examples, I was wondering could anyone get me started with an example or tutorial of what I want to do? Edit: Here is what I have using the Chr...

how to move scroll at the bottom of list Programmatically?

dear friends, i after calling notifydatasetchanged(); i want to move scroll of list to the bottom of list so that user could see last record in the listview.actually i am writing Chat module so for that purpose i need latest record at the bottom of list. can any one guide me how to achieve this? any help would be appriciated. ...

How to find the co-ordinates of the transparent area of an .png image..

In my application I use an image . I made some portion of the image transparent. Now How can I find the co-ordinates of the transparent portion of the image so that I am able to find the actual area of the non-transparent area.. I want some methodical way to find.. please help ...

How can I get zoom functionality for images?

Is there a common way to show a big image and enable the user to zoom in and out and pan the image? Until now I found two ways: overwriting ImageView, that seems a little bit too much for such a common problem. using a webview but with less control over the overall layout etc. ...

how to set a footer at top layer of the app in android?

i want set my footer at the top layer of my app. it should not have any shakes and moves while the activity navigation or showing up the keyboard. it should always settled in the bottom of the screen. how to do that? any ideas plz. ...