Hi all. How can i be notified when new media file is inserted into
media store. For example when is downloaded from the net. I found some
posts on this topic but they are not very helpful.
http://stackoverflow.com/questions/230643/android-api-for-detecting-new-media-from-inbuilt-camera-mic
http://
Hi all,
I faced really nasty problem these days. I am executing the following
code
String destination = "";// this string is initialized before
coming here
URL url = null;
InputStream inputStream = null;
try {
url = new URL(destination);
inputStream = url.openStr
Hi all,
In my application i'm having the following code
private static final String[] ANDROID_COLUMNS = {
AudioColumns.ARTIST_ID,
AudioColumns.TRACK,
AudioColumns.ARTIST,
AudioColumns.ALBUM_ID,
AudioColumns.ALBUM,
Hi all, I have the following problem i have to transfer my db file
over internet. How can i lock the file to ensure that nobody will
write in the sqlite db file while i am transferring it. I need to get
READ LOCK on the file to prevent blocking on read operations. Thanks
--
You received this mess
Hi all i have a library written in C which implements some complicated
algorithm over two databases and as a result produce new one. I am
trying to import it in android using android-ndk. What is the correct
wat to use sqlite in you native libraries, i was able to build the
sqlite manually using th
Hi all , I have ListView with adapter class which extends ArrayAdapter
and implements SectionIndexer. The problem is section indexer is not
updated when adapter data is changed. Even if i add new elements the
section remain the same. I tried some options
setFaseScrollEnabled(false);
setFaseScrollEn
Hi all i want to implement listview with uses different xml layouts
for rows depending on underlying item. A non optimal solution will be
int getView method just to inflate every time a new view depending on
the item from the adapter. Is there a better way to do this ?
--
You received this messag
Hi all, I am using the following code to launch chooser for sharing
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, message);
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "MyApp");
sendIntent.setType("text/plain");
try {
activity.startActivity(Intent.crea
How can i stop listview kinetic scrolling ?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr..
Hi all, in my application i am trying to use amazon mp3 application to
search for songs in amazon. I got this code from the default music
player.
Intent i = new Intent();
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.setAction(MediaStore.INTENT_ACTION_MEDIA_SEARCH);
i.putExtra(SearchManager.QUERY, m
Hi all, in my application i am trying to use amazon mp3 application to
search for songs in amazon. I got this code from the default music
player.
Intent i = new Intent();
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.setAction(MediaStore.INTENT_ACTION_MEDIA_SEARCH);
i.putExtra(SearchManager.QUERY, m
Hi all,
In my activity i have simple grey gradient
http://schemas.android.com/apk/res/android";
android:shape="rectangle">
and i use as background of some view. The problem is that the gradient
looks pretty banding. After searching i found some solutions and posts
about this problem but
Hi all,
I have an activity which handles configuration changes by itself e.g
it's not destroyed and recreated every time. But now i have to change
one image with another when configuration is changed. The easies way
is just to remove android:configChanges attribute from manifest and to
let android
Hi all i am developing music player and i want to put some controls
when screen is locked. Is there a way to put widget when screen is
lock ? The documentation says that "For example, the home screen has
one way of viewing widgets, but the lock screen could also contain
widgets," but i couldn't fin
hi i've posted the question on stack overflow but no answer - any
ideas ?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
How can i set custom thumb for fast scroll.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr..
Hi all,
In the application im working on now i came up with the following
problem. I have list view which is displaying items with images in
most cases it will be different image for different items ( thumbnails
about 60x60 pixels ). So the problem is how can i handle image
processing for the view.
Hi i have an application that records audio and i want to add an
indicator which shows the volume of the recorded audio ( in real
time ). Any ideas how to do is. Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
Hi all,
I want to customize option menu items. I can change icon when
selecting using a selector but how can i change the text color during
selection. If it was TextView i could use again selector for textColor
property but for menu items there is only resource for textValue not
for textColor. So m
Hi all, i need to use the SqliteDataBase from from multiple threads.
According the the sqlite documentation sqlite is threadsafe if it's
compiled with SQLITE_THREADSAFE = 1 and in android this can be done by
calling SQLiteDatabase.setLockingEnabled(true) ( the default value is
also true so it works
Hi all,
How can i extract the embedded cover art in ID3 tag of an audio file.
There is MediaStore.Audio.AudioColumns.ALBUM_ART but it seems it
doesn't work i got "no such column".
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Hi all,
I have the following issue. I get a cursor in some background thread
and pass it to the gui thread. In the gui thread i use the cursor to
create cursorAdapter and fill some ListView. So far if the database
access blocked there will be no problem because it's made in other
thread. So the cur
Hi all,
With the application i am working on i came with the following
problem. I have a listview that should display data from a database
table. But in background the data table could have two states:
State one - the database table is filling dynamically and the
listview also should dynamically
Hi,
I am trying to make ListView which should display data from db. But
the db is filled slowly so want the entries in the ListView to grow
dynamically according to the elements in db.
For example on a desktop music player when you import a folder to the
music library the list with songs is filling
I am trying to write a desktop client to synchronize data with my
android app. When i mount the sd card how can i find is this is
android sd card and how to check if given application is installed of
the phone ( by de desktop client).
--~--~-~--~~~---~--~~
You recei
Hi,
I have the following issue i have an application that uses
android.media.MediaPlayer and got this exception:
09-12 16:21:05.921: ERROR/AndroidRuntime(9890): Uncaught handler:
thread main exiting due to uncaught exception
09-12 16:21:06.101: ERROR/AndroidRuntime(9890):
java.lang.IllegalStateEx
; > the tuto:
>
> >http://android-france.fr/2009/04/15/developpez-une-application-pour-a...
>
> > On 2 sep, 10:24, manigault wrote:
> > > I have a listview with cursor adapter and i want to be able to search
> > > in the list view. I implemented my own search :
I have a listview with cursor adapter and i want to be able to search
in the list view. I implemented my own search : i implement
TextWatcher interface and when the text is changed i make a new query
to the db to obtain a new cursor and than refresh the listview content
it works but it is too slow
Maybe this will help you
http://stackoverflow.com/questions/500264/android-multiple-actions-on-a-list-view-focus-issue
On Jul 30, 5:26 pm, legerb wrote:
> Each list item in myListViewis a linkified TextView, and a regular
> TextView.
> The problem is that once there is a touchable item in theLis
29 matches
Mail list logo