android

Android bluetooth push files

Hi, i want to send files via Bluetooth to a another device. I want to send files to a device programmatically. Has anyone a idea how i can send files via Bluetooth OPP? ...

how to change the fontsize of the lisview dynamically in android?

how to change the fontsize of the lisview dynamically from java class ...

Controlling PC loudness via Android

I want to create an intent on an android phone that sets (or increases/decreases) the loudness of music that gets played on a PC running Windows. Is there some API that helps me? ...

Querying a database from a remote service

I have been working on this little music player for a while and I have been stuck for quite a couple of days in creating a now-playing list. I was thinking about storing it inside the database back end. Well, I have a remote interface and what I would like to do is that I would like to query and retrieve data from the database, from that...

where is internal file stored in an android project?

In my project I have to make a text file and read particulars from that file. I need to know where I should place the file in directory so that I can successfully read it in my java code? ...

How to Transfer calls to voice mail in android?

Is there any way by which i can transfer calls to voice mail programmatically?? I am making an application for android in which i will use this feature. ...

Eclipse not Recognizing "R.id..." with Android

Any ideas why at times Eclipse frizzles and doesn't recognize code it did seconds ago? The "R" in the code below has the red squiggle under it when it didn't 5 minutes ago and I've change no code. This happens frequently with Eclipse and usually I shut it down and start it again and it's good to go...no go this time. // Initialize vie...

How to connect to internet programatically?

HI, I'm building an Android application requiring internet connection, and I'm using ConnectivityManager to check whether the device is connected to internet or not. Now, what's the best strategy if it's not connected? Should I quit the application and tell the user to first connect to internet? or is there any way to ask the user if he...

How to delete a selected row in database android

Hi Everyone, I'm newbee to Android. I somewhat manage to get the data & stored in Database & also I displayed in Listview. Now I need to delete the selected listview i.e, corresponding row in a database. Can anyone help me pls. ...

Application clicked action in Android

Hi all, Application icon clicked action in Android How to get application clicked action in Android?? Example:When i click on Contacts i want to display Image First the display Contacts List How can i Do this??? Please Reply soon. Waitin for your reply. Thanks ...

Android RelativeLayout

Why doesn't it work? "First" overlapped "Second". What's wrong? protected View onCreateDialogView() { RelativeLayout layout = new RelativeLayout(mContext); RelativeLayout.LayoutParams mParams = new RelativeLayout.LayoutParams (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); mFirstTex...

android mapview partly blank

There is a mapview in my application and it works well. I added a menu item, when click it, a new activity that also has a mapview will start. Then finish the new activity and go back to the first one, part of the mapview become blank and never refresh when pan the map, and it can be recovered only after zooming in or zooming out severa...

When do I need to use "android:id"?

I saw it used in textview and webview android:id="@+id/textview" android:id="@+id/webview" but looks like there is none for DigitalClock widget. So, when do I have to use it? Just for text and web views? ...

Search for Best Provider in Android Application

I am trying to search for best provider with this case below: // GPS case R.id.main_menu_gps: // Set up location services mLocationManager = (LocationManager) getSystemService(LOCATION_SERVICE); mBestProvider = mLocationManager.getBestProvider(new Criteria(), true); Log.d(DEB_TAG, "@@@@Value of mBest...

get cursor from array

Is it possible to get an android cursor from an array (either ArrayList or StringaArray)? ...

android DDMS logcat filter by name

Is there any way to setup a logcat filter by name? I realize they have the filter by log tag, but my app may have various different tags. I can use the filter by pid, but of course everytime i recompile and redeploy this pid changes. I'd like to be able to fitler it by com.mycompany.appname or something along those lines. is this eve...

Are Android AIDL/Binder Interface Objects thread-safe?

If I have a Binder object representing a Remote Interface (to an Android service or a callback interface to a remote client), would I need explicit synchronization when sending IPC via this object from multiple threads, or is that taken care of by the underlying Android component? ...

How do i get started with Android?

Hello, How should i get started with Android? From where do i get help and sample source code? Can a JSF application run on Android phones? I saw primefaces site and it has TouchFaces which are meant for Android phones. But i really don't know how should i get started with Android. Is it too tough? Does it take too much time creating ev...

Prevent android menu/submenu from closing on selecting

Possible Duplicate: Android checkable submenu options So I posted this last night but I guess the server ate it. I have an options menu, and then a submenu with checboxes. All this works fine, except I need to let the user select multiple checkboxes without the menu closing. How is this implemented? I've looked at performShort...

Android application theming on Sense phones

I've hit a brick wall on a UI item with regard to applications on sense phones. I have been unable to craft search queries on google or SO to find any reference to what I'm after. Is there a way that I can have my application theme its UI styles to match the phone's currently applied style? I'm basically after the styles for different U...