android

First Android App - How to Access the Compass

Hi all, I'm making my first Android application. As a toy problem to learn the system I want to make a simple app that display as text which direction the phone is pointing using the built in compass. How do I access the compass from my code, and have my code be aware of direction changes? I believe I'll need the SensorManager class...

Insert progress spinner into splashscreen android

Hello In my android application,i would like to place a progress bar such that it shows the user that the data is getting downloaded and gets dismissed once the data is loaded. Is there any way that i can achieve this. Thanks in advance:) ...

Video producer needs help capturing full motion screen casts on Android device

I'm not a software developer, but I have done enough reading online to get the Android SDK, Eclipse, and the necessary downloads to get it all working. I am able to capture device screenshots using the DDMS, but I need to capture full motion video of the system OS and apps for an Android TV commercial. So far I've called the manufa...

Activities Design in Android?

Hi Folks, Basically, we are maintaining the sessions for the specific user's environment. For that, Three basic stuff we have to maintain. That are Login, Session check and Logout. In Android, Each screen designed by Activity. we can startActivity() and finish() a current Activity. But you can not do that Previous Activity. UI Design ...

WifiManager: Android

Hi, I am not able to get, What is the purpose of Creating the MulticastLock used with WifiManager in android. Can any body clarify me what exactly it means and when to use... Any help much appreciated.. thanks rakesh ...

store remote images and audio files in android

Hi all, i developed one app it is displaying image and play audio along with the image.for this application i want to get images and audio files from remote server and store those on inside apk 1) i heard about sqllite in mobile.is this database hold image,mp3 files 2) i dont want to store images sd card Thanks in adavance Aswan ...

Starting an activity from a random class

Hi, I've adapted the GridInputProcessor-class of the 3D-Gallery ( http://android.git.kernel.org/?p=platform/packages/apps/Gallery3D.git;a=blob;f=src/com/cooliris/media/GridInputProcessor.java;h=91dfd4783be6b21ec8ff2518a5c244752570e90d;hb=HEAD ) so that it detects upward/downward swipes. The detection of swipes works, but I now want to...

Xml Parsing Error

Hello All! I am getting this error while trying to Parse the Xml response from the Web Service by SAX Parser in Android. ERROR in LogCat :- " Response =====> org.xml.sax.InputSource@43b8e230 " I got to know that I need to convert the response in String may be by toString() Method, but the problem is I don't know how to do that as I ...

What are these API's?

Hi, i'm new to android and i would like to know about these api's.. wen i was browsing the developers guide i found out some thing like Api 1,Api 2,Api 7......etc what are these Api's and the purpose of their presence..... ...

How to tie specific pending intents to specific buttons on specific widgets on a multi-widget.. appwidget?

I have a Widget i am working on, that allows the user to have more then one instance of the widget on his screen. Each Widget id maintains its own configuration file. However for some odd reason my code that is responsible for setting up the buttons individually for each widget id is not working, only the first widget id is linked to eac...

Has anyone done or does anyone knows of a way to use Delphi/Prism to develop for the Android os ?

Is it somehow possible to use the Delphi language (or Prism if absolutely necessary) to develop programs for the Android platform ? Any starting point ? ...

Working sample of PhoneGap Android Test Case

I am trying to write a TestCase for PhoneGap on Android and i am unable to load the main PhoneGap activity that extends DroidGap. I believe there is a problem with the project set up because it continues to be unable to load the main activity that extends DroidGap I can make the test work by duplicating the code, placing the Activity i...

store image and audio file in android internal storage

Hi folks how to store image and audio files in android internal storage and how to retrieve back to display image imageview Thanks in advance Aswan ...

Java to C++ bridge?

I know there are plenty of tutorials about integrating C++ into Java, but whats about the other way around, a Bridge from Java to C++? The reason i'm asking this is Android. Every C++ developer who wanted to write applications for the android noticed at some point that there is no serious (mature) C++ api for android (infact, android i...

How to print 3d string in android

Please help me, now I am developing a screen saver by let the user input the string and I will bring this string to print out as a 3d string on the android mobile phone. Please suggest me in the android have function to do this or I have to use openGL ES to develop and how to do that. ...

Need help with using reflection for backwards compatability

I've been reading the android documentation on reflection, but i'm just not really grasping how to actually use it. Is it multiple class files i'll have to create? Is it breaking it up to certain parts all in the same class file? I want to understand it, I really do, but I just don't get it. Anyway, I have this simple webview code that...

Android Development: How To Use onKeyUp?

I'm new to Android development and I can't seem to find a good guide on how to use an onKeyUp listener. In my app, I have a big EditText, when someone presses and releases a key in that EditText I want to call a function that will perform regular expressions in that EditText. I don't know how I'd use the onKeyUp. Could someone please s...

File sharing between android and opencv

Hi, I am trying to invoke opencv library from my android code. I previously stored my haar xml under the /data/data/org.siprop.opencv/files/ directory and passed this file path (i.e. /data/data/org.siprop.opencv/files/haarcascade_frontalface_alt.xml) to the opencv library. This xml was successfully read by the opencv code. But I noti...

Layout design for HTC desire

Hello , I designed an app for htc desire.The background image used for the app looks good in ecipse layout, when installed in phone it is stretched.Please Help on this... Thanks , Dheepak ...

Android: Force closing for lack of permission which is located in the manifest

Hello, I'm trying to delete a bookmark using contentResolver.delete() and I get force close for missing permission "com.android.broswer.permission.WRITE_HISTORY_BOOKMARKS" but it's in the manifest... this is in the manifest (outside <application></application>) <uses-permission android:name="com.android.browser.permission.READ_HISTORY...