android

Android: Strange GregorianCalendar Behavior

Hello, i have trouble with a piece of code that runs fine on 99% of installations, but leads to an infinite loop on a few HTC Desire handsets. What I'm trying to do is to create a list of months for which data is available. I start from the first date for which data is available and then use a loop until i reach the present. Here i...

problem with jqtouch vertical scroll in android sdk 1.6

I have problems with android. why jqtouch vertical-scroll not work in android sdk 1.6? I test it in both android sdk 1.6 and 2.2. only 2.2 i can scroll vertically. I'm using webview to show html file containing scroll div. ...

What is the process of creating an AlertDialog with ListView in Android?

I want to know the process or order of creating the AlertDialog. The order of I asking this question is that I suppose to filter and disable some list item in the AlertDialog. It this must be dynamically. So I chose overwrite the onPrepareDialog(int id, Dialog dialog) method. First I create a AlertDialog in the onCreateDialog(int id) me...

mapview for bing maps in android

I am using bing maps for showing the distances between specified places in my app. We are using SOAP request for getting the image from bing. that image we are showing in WebView. We want the effect same like shown in bing map website like zooming and panning effect. But through the SOAP we are unable to do that because, it gives us on...

Can't run the new PhoneGap version on Windows 7

Hi everybody, I have some troubles when I try to create a droidgap project. I installed everything required to run a droidgap project (jdk, ruby, git bash, ...) and all of them work perfectly. I found this post : http://stackoverflow.com/questions/3588534/phonegap-android-sample-pr where it's said that I should try to add ".bat" tu the...

android activity and service

is it ok to create a class which extends a service within a class that extends an activity public class fill extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.seconds); .................

How to create a custom home-screen replacement application on Android?

Can anybody tell me where to find information about how to write a custom home-screen replacement application? Can any application be a home-screen by just registering it with a CATEGORY_HOME intent? ...

How to disable some items in listview which is in the Alert Dialog

I want to disable some items in ListView which is in the AlertDialog. How may I do it? ...

Display route between two points in installed application

How to showActivity which will display route between two points. This will start installed map application on android phone. ...

How to mimic Split Screen feature of MSWord for Android Screen.?

I want my Android Screen (320*480) to be split into two 2 screens each of resolution 320*240 which should mimic the "split Screen" feature of MS Word .How can this be achieved Any sample code or any suggestions . I will be waiting for reply. Thanks In Advance. ...

Android: Is application running in background ?

Is there any way in android to know if your application is running in background ? By background, I mean none of the applications activities are currently visible to the user ? Any help will be appreciated!! ...

Show Toast on Missed Call in android application.

Hi, i want to show a Toast in an Activity when a missed call happened. How can i do it? Thanks in advance. ...

How to change the image of my button on pointing my mouse over it ?

In the emulator on touching my button I want its image to be changed. I just want to bring my mouse pointer there, without click. This can be observed for thr keys of the emulator. On touch a blue image appears on the keys. ...

Packaging SQLite DB with my application.

I have created a SQLite database on my PC. I have imported it into my assets folder in the project directory. How do I access it from my Android application? ...

JVM based language without language runtime

Does anyone know of some alternative JVM language, however obscure it might be, which can compile to plain old java bytecode, without the need of a language runtime. I need this in order to try to develop android applications without startup or size penalty. Scala, Clojure and Groovy all require its own runtime library distributed with ...

How to add tabbar in view in android

Hi friends I have the textview button in one activity and i want to add tabbar in the same activity in below can anybody give example Thanks ...

Android - Confusion Regarding "Remember me" functionality

I have read this question: http://stackoverflow.com/questions/2154438/how-to-implement-remember-me-function-in-login-of-android-activity , I am developing "Login" Activity for the first-time, Where i am also having: two EditText: Username, Password One checkbpx: Remember me one Button: Login If user click on Login Button then Userna...

Chart using scrollview in Android

I want to draw a chart and I'm using a scrollview to do so. my scrollview holds the chart view. What I've observed is that the scrollview's onDraw calls the onDraw of my chart view. Now I draw the entire chart on the canvas when the onDraw of chart view is called. Also scrollview's onDraw is called everytime I scroll the view. So I end u...

problem loading some web pages in Webview

Hi, I am facing problem loading some url's in the web view through my app. I am using simple code to just laod the url. Some url's are loading fine but some like the Facebook pages are showing that web page is not available. I could open the url on my system but cant do it through web view. Is is the coding problem or web page issue......

Has anyone gotten access to App Inventor for Android yet

I signed for up this quite a few weeks back now but as of yet haven't heard anything. Has anyone been granted access yet? Found here ...