android

Android RIL primitive - DEACTIVATE_DATA_CALL

Working with Android FroYo, I'd like to cause the RIL primitive named DEACTIVATE_DATA_CALL to appear in the logcat radio log. I can do it manually via GUI, I used the Delete APN menu to delete an existing APN and found the required RIL primitive. However I'd like to get the same log including the above RIL primitive using an automatic ...

assigning hidden values to a listview item

I have an activity that extends ListView. I populate my list with the results of a query to the sqlite database. A list element consists of start_time, end_time, client_name and status. These are the 4 bits on info I need to display for each list item. My question is: Is it possible for me to assign hidden elements to this ListView it...

Develop Youtube Client for Android from Scratch

Hello! Is it possible to develop a Youtube client app from scratch using the existing Youtube Data APIs? I would like to create one that supports Android 1.6 and above. ...

invalid command line parameter when android execution....

When i click the run as android application it shows the following error: [2010-08-16 16:56:35 - Emulator] invalid command-line parameter: http://hostname:port. [2010-08-16 16:56:35 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2010-08-16 16:56:35 - Emulator] please use -help for more information ...

Can you deploy an Android application onto Google App Engine?

Is it possible to deploy an Android application to the google app engine environment? ie to deploy it to appspot? If not, is there any kind of "container" which would allow one to do this? I would like to create an application that can be deployed on both android, and a web based environment ...

Android hide status bar of traslucant screen

Android hide status bar of traslucant screen please give me the solution. true true @null @null @android:color/transparent true and i have tried only by setting the theme "android:style/Theme.NoTitleBar.Fullscreen" in manifest file but i'm getting background screen black color. ...

Place a RelativeLayout at the bottom of a Relative layout, Android

I have a RelativeLayout, and this Layout has two childs, one is a MapView and the other a RelativeLayout that contains a button. I want it to look like that http://pocketjourney.files.wordpress.com/2008/03/goal.gif but my transparent box (a relativelayout) is always displayed at the top of the map. <RelativeLayout android:layout_wi...

Is there an official way to authenticate for Google Data API on Android using AccountManager accounts?

I'm trying to use the Google Data API for an installed application on Android 2.1. I don't want the user to have to enter their credentials if he already has an account configured on the device. Thus, I'm using the AccountManager with Account type "com.google". But where to go from there? There are no samples from Google on how to do Go...

Google maps - limit panning between longitudes

Hi, I"m trying to set limits to the map view so the user won't be able to pan it cyclic. (when panning to the right, instead of the map will cycle, I want it to stop). is it possible? Ori ...

Android - Is this Code correct?

is the below mentioned code correct public boolean checkRecipe(CharSequence recipename) throws SQLException { Cursor checkRecursor=rDb.query(true, DATABASE_TABLE, new String[]{KEY_TITLE}, KEY_TITLE+"="+recipename, null, null, null, null, null); if(checkRecursor!=null) return true; ...

Android capture new outgoing call

Hi, The requirement is to replace newly dialed number with another one. I have captured the ACTION_NEW_OUTGOING_CALL event and used Intent.EXTRA_PHONE_NUMBER to get the current outgoing number and then I have used setResultData inside my class(which extends BroadcastReceiver) to replace the dialed number. Basically code is, if (Intent....

how can we set balloon tips in android google map?

i want to set balloon tips in android google map... please tell me how can we set and display balloon tips ? ...

How to display out image into Listview from DB?

I successfully inserted my image data into a database. However, currently I am having problems with showing it on the Listview. setListAdapter(new SimpleCursorAdapter(this, R.layout.view_list, c, new String[] {"date", "title", "mood"}, new int[] {R.id.txtDate, R.id.txtTitle, R.id.mood})); getListView().setOnItemClickListener...

How to list git commits for Android release?

Does anybody know how to determine whether a certain git commit, for example this one from this issue, was rolled into a particular Android release such as 2.2 Froyo? Thanks! ...

How do I stream alaw audio?

I have a source that streams wav audio in alaw format which I would like to receive in Android, but Android only supports linear PCM: Android Supported Media Formats There are a few apps on the market that stream alaw, but I'm not sure how the developers made it happen. What is the correct approach to adding this functionality? ...

How can I use OrmLite with Android's default SQLite

I have a big problem using the default SQLite database via JDBC driver.I would like to use ORMLite with this.Let me expose my code: String databaseUrl = "jdbc:sqlite:/data/data/my.package.name/db.sqlite"; Class.forName("SQLite.JDBCDriver"); DriverManager.getConnection(databaseUrl); dataSource = DatabaseTyp...

runOnUIThread question..

Hi, I'm create a download manager with listview and it will display the current downloaded by progressbar. May I know how can i update the progressbar? for example. i have 3 class. "main.class" = is a listview. "mAdapter.class" = is extends ArrayAdapter. "mThread.class" = implements Runnable to start the download. I have google, a...

Android-Audio Recording

I would like to know The Audio Recording can be done within emulator It should be stored in some other place but not in SD card. ...

How to list all the files which are in google docs in android using gdata-client? (like mp3,jpeg,png)

Is it possible to list all the files of the google docs in android using gdata-client? public class GoogleDataExample extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); try ...

Making SQLite queries from a view

I've got a view which has an onClickListener, when the user clicks at a certain position I'd like to query the database and then pull data from it. Problem is I can't seem to do this in a view class because it's not an Activity. I've tried implementing an OnTouchListener over the Layout in the Activity but it seems the view's layout ove...