android

Android VideoView not playing sample video on T-Mobile G2 (Just audio)

Hi, What I'm trying to do is play the first video retrieved from the external SD card, which on my T-Mobile G2 turns out to be the sample video for the phone. Now I assumed that since it plays in the phones video player, that it'd have no problems with playing in the VideoView in my test app. How wrong... All I get is the audio playi...

Send message through intent filter

how to send a message from one activity to another using intent and intent filters? ...

Android Twitter exception error :(

Hi guys, Started coding up a simple android app. Part of it pulls the users last 20 tweets and saves them to a database. When I run this, statuses = twitter.getUserTimeline(); throws an exception its handled and prints out: failed to get timeline-permission denied. When I run the same code non-android, it works fine. I'm a little bit baf...

Run a full android phone rom on the Android Emulator

As the title says, it is possible to run a full android device rom inside the Android emulator? ...

mobileapp - web communication ,application connection to web using her own UI concept ?

hello I want to work with a site how do I do it let's say I want my app to grab some information from a site. lets say I have a site which store all the phone numbers data and I want an application app who will have a menu where you just need to click name and address and the app find for you using the web(a web which supply this servi...

Android Emulator hang up and impossible to quit

Hi, i've installed the Android plugin on Eclipse 3.6 in a regular way (aka i followed step by step the google installation page). When i launch any sample application, everything work fine, but if i try to quit the emulator (by clicking the exit cross button of the emulator), the emulator seems to hang completly. What is very bothering ...

Android beginers

My android project shows error on the root folder(red cross on the application root folder)although any class or resource file inside the root folder does not show any error. ...

Accessing .sqlite file in Android 2.1

I have a .sqlite file with one table in it. i want to access this data. Please tell me, where to copy this .sqlite file (in eclipse project) and how to access the data from this .sqlite file. please suggest some code or liniks.. [i am using Android 2.1, dont know the database version..] Thank you.. ...

How to increase the rotation speed in android?

I have an image drawable. i rotating the image like a progress bar. <rotate xmlns:android="http://schemas.android.com/apk/res/android" android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0" android:toDegrees="360" android:drawable="@drawable/spinner_white_48" /> i want to increase the rotation speed? for that, What attribut...

android adding number to Call logs

Hi Friends, Is it by anyway possible to write to call logs database?? I mean i want to add selected numbers to the call history. I tried searching the tutorial on net but couldn't find any... Though 1 thing is for sure, IT CAN BE DONE. coz i have seen lots of applications online, which restore call logs, so i guess we can modify the cal...

Getting text from a Listview

I have a ListView that gets filled from a cursor (using rawQuery) that I need to get the text of the selected item from on click. protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); Intent mViewChaptersIntent = new Intent(this, ViewWeb.class); String s = ((Te...

Android: Enumerate all wake locks in the system

I have trouble with an Android app keeping a partial wake lock on my system; so I'd like to write an app that keeps an eye on the bad app and kills its partial wake lock shortly after it acquires one. android.os.PowerManager is used to acquire and release wake locks but I don't see any way to get all wake locks in the system; even if I ...

getting the screen density programmatically in android?

How to get the screen density programmatically in android? I mean How to find the screen dpi of the current device? ...

something olike the multi desktops app

hi any idea how to implement something like the multiple desktops of the android? I tried Gallery but it sucks I wansted something just like the desktop app thanks ...

Creating Android UI like HTC Sense

Hi guys, Do you have any idea what's the starting point to develop an UI for Android OS, similar with HTC SenseUI ? Can I create that on top of Android or I need to get the Android source code ? Thank you. Florin Matincă ...

android listview scroll past top

Does anyone know how to achieve the "scroll past top" functionality that you see in some apps (like the HTC Sense email app for example) where when you scroll up to the top of the list and try to scroll up past that, it appears to pull down, and when you release it springs back up? ...

Java: Sorting multiple ArrayLists synchronously or a single mapped ArrayList

I've only started learning Java about 3 months ago and this is my first post here, so please bear with me. I have multiple ArrayLists built from parsed XML that are directly related to each other in order. The arrays are later put into a single mapped ArrayList (groupData) to be read with a SimpleAdapter which creates the list in the An...

Is it possible to access the camera's LEDs directly in Android?

I'm still pretty new to using Android, but I decided that my first application would be a simple flashlight app for my new Incredible. Unfortunately, it seems to be more difficult than I had originally thought. It seems that there's no way to access the LEDs through the SDK, at least not without a bunch of weird hacks to make the phone ...

Android+Eclipse project sharing via SVN?

I am very new to Eclipse (Galileo, Eclipse IDE for Java Developers) and working on my first Android app, but have used SVN on many other kinds of projects and development. Last night I took my first crack at pushing the new source into a shared repository (at work) and then pulling it back down at home. Based on an SO question/answer, ...

writing some characters like '<' in an xml file.

Hello, since the beginning of my programmation, I used some special character like "<-", ""<<" im my string.xml in Eclipse while developping for Android. All worked fine for one year, but today, i just wanted to make some minor changes and began to edit my xml files. I get now compilation error on these characters because eclipse bel...