I think your problem is (was) caused by the fact that you use -1 as the
index for the initially chosen item. Try using 0.. your last index.
On Thursday, 12 May 2011 13:11:35 UTC+3, ABS wrote:
Hi
I am working on android app. but i stuck at one point when i
tried to add
Hi
I use this code to view/play different files:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File(my file);
intent.setDataAndType(Uri.fromFile(file), mimetype);
startActivity(intent);
Using mp3 and audio/* mimetype it works OK
for jpg and
Ok
I found out how to do so:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File(your mp3);
intent.setDataAndType(Uri.fromFile(file), audio/*);
Hi
What happened to the ecipse plugin download site?
https://dl-ssl.google.com/android/eclipse/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
It is probably similar to this in some way:
String url = http://www.msn.com;;
Intent i = new Intent();
ComponentName comp = new ComponentName
(com.android.browser, com.android.browser.BrowserActivity);
i.setComponent(comp);
Hi
I am looking for a way to open generic Android apps for different
files. For example, if I need to play a mp3 I would like to open the
Music app and make it play it.
I am doing something similar with the browser:
Intent i = new Intent();
ComponentName comp =
Hi
I am trying to start the ViewImage activity from my code
I am getting the error above in the log and the image appears empty
This is my code:
String url = content://data/app/example.jpg;
Uri uri = Uri.parse(url);
Intent i = new
anyone?
still looking for an idea how to do this...
On 30 דצמבר, 17:17, AlexG alex.shpindov...@gmail.com wrote:
Hi
I am trying to implement something like:
userResponse = showMessageBox(buttons, messages, etc)
So far I have started a new activity that presents themessageand the
button
Hi
I am trying to implement something like:
userResponse = showMessageBox(buttons, messages, etc)
So far I have started a new activity that presents the message and the
button and returns through onActivityResult().
Meaning my activity launches a sub-Activity that shows an AlertDialog
with 2
Hi
A good way to start is running:
./adb shell ls /
So you can see all the fs structure which is a bit different then
Unix.
you can do something like:
./adb push myapp /data/app/
./adb shell chmod 777 /data/app/myapp
./adb shell /data/app/myapp
On Dec 30, 12:40 pm, soumyaranjan
10 matches
Mail list logo