android

Issue with button text shifting

I'm having this odd issue. I have these buttons where the button's text is shifted downward upon certain actions. For example, I have a spinner with choices and one of the choices makes some buttons invisible while others are made visible. When I choose these, the buttons made visible all have their text shifted downward. Nothing else is...

facebook webservices for android

Hi, I am trying to use the facebook in my application. I had founded some webservices for dotNet . Like that is there any facebook webservices are available for android . can any one help me please. ThanQ. ...

image slideshow example in android?

dear friends, i want to create image slideshow in android. i have many images in android gridview now i want to open manual slideshow if any image is clicked so that i could view it by moving finger left or right next and previous images like android built in gallery. any one guide me how to achieve this? any help would be appriciat...

Audio Reminders

Hi , I am developing a reminder application. A part of it is to have voive notes as reminders. On click of voice notes button i want to start the inbuilt voice recorder. How do i go ahead for it ? Also once it starts i want to retrieve the path where it gets stored so that it can be played automatically on the day the timeline is reache...

How to go through every record in sqllite db?

Hi guys. I think it's kinda easy one but still I'm new to android programming so please have patience. I want to know how can I get the number of records (rows) in a specific table in my db. I need this so I can create a loop to go through every record and add each one of it to the specific Array and display it later on. This is the sour...

simple_list_item_2 in Android

Hi guys, after creating some menus with simple_list_item_1 (which worked very fine) I tried to replace this by simple_list_item_2, but my system throws around with exceptions... Now I'm wondering how to create such a two-different-sized-line-entry for my list...is there any trap for beginners? Can someone please help me fixing my (smal...

Custom Content Provider

How can I make a custom content provider in android?Give me a simple example ...

Samsung i7500 Galaxy - speakers, calling problem after listening music

I've been listening music on my Samsung i7500 Galaxy with headset plugged to the device. After listening I've plugged headset out and now while I call to somebody I see there is a call on the device screen, but either me, either person whom I am calling to, doesn't hear the other person. While I plug headset again I can hear everything (...

How to get current location with an accept accuracy in Android

I am trying to locate user's device to get its current location with coarse method. The problem is that I can only accept a location with accuracy of 1000m, my code like this: public void onLocationChanged(Location location) { currentLocation = location; if(location.hasAccuracy()) { if(location.getAccuracy() < 1000) { ...

Redundant margins when adding ImageView to ScrollView in Android.

Hi.. I have been trying to use a ScrollView on a single ImageView with a JPG (~770 x 1024) over an AVD that's 600x800. My main.xml is: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android...

finishFromChild and onActivityResult not firing when child starts activity of the same type as the parent

I have an application, which (for the sake of simplicity) has two types of activities - Overview and DetailView. The Overview activity shows a list of steps and allows the user to start a DetailView activity corresponding to the step chosen. In the DetailView activity, the user can start another Overview, which shows different steps tha...

Accessing google maps in android emulator

hi, i am developing an android application using google maps data.I can access google maps in emulator but when i try the same in my application the google maps is not opening .What is the problem?Help ...

Android TextEditor

where i can get the entire source of android text edit.i got apk and some other sources at http://textedit.paulmach.com/ need entire source.please sug the file location to download. Thank u!! ...

Android device guidelines/requirements

Are there any requirements/guidelines for an Android device? like numbers of buttons or minimum buttons required. Also are there any android devices which do not have the menu and back buttons? ( I am aware that no menu/back buttons will kill most of the apps in terms of usability , I just wanted to know more on the topic :-) ) ...

android customize list view prepends results

I am using list view using "ArrayAdapter" to display number of items while user is looking at results when user click on load button i want results to load and prepends(add in the beginning) ...

Cheap Wifi enabled Android or other programmable device

Does anyone know of a cheap Android or programmable device that has wifi? I need it for a project for a company that needs a wifi handheld device for the shop floor. Im not too fussed about the language the device uses though Im not really interested in the iTouch as theres no intention to release the app in the app store and I don`t ...

Android source code not working, reading frame buffer through glReadPixels

Hi, I am new to Android development and have an assignment to read frame buffer data after a specified interval of time. I have come up with the following code: public class mainActivity extends Activity { Bitmap mSavedBM; private EGL10 egl; private EGLDisplay display; private EGLConfig config; private EGLSurface s...

Which of these two Android books, and why?

Both get five star customer reviews on Android. I suspect that there will be an 80%+ overlap in contents, so can anyone say which to buy and why? Professional Android 2 Application Development (Wrox Programmer to Programmer) Pro Android 2 If any one has read either, or both, I am particularly interested in developing wifi application...

Video playback on VideoView disappears after going back from another Activity

I have two Activities: one with VideoView attached to MediaPlayer and the second one. I start watching a video in the first Activity, then during playback I start second Activity. After going back to first Activity I can hear sound but see no picture. My Video Layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android=...

how to display remote image in layout ImageView?

dear friends, i am using following code to display remote image in my layout imageview ImageView img; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); img= (ImageView)findViewById(R.id.myImageView); GetLiveImage(); setContentView(R.layout.imageviwer); } public vo...