[android-developers] Re: Message get disappeared when add SingleChoiceItems to alert dialog

2012-11-20 Thread AlexG
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

[android-developers] Which component for image/* mimetype

2009-01-03 Thread AlexG
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

[android-developers] Re: How to start the standard MusicBrowserActivity?

2009-01-03 Thread AlexG
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/*);

[android-developers] https://dl-ssl.google.com/android/eclipse/

2009-01-02 Thread AlexG
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

[android-developers] Re: How to start the standard MusicBrowserActivity?

2009-01-01 Thread AlexG
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);

[android-developers] using Music application

2009-01-01 Thread AlexG
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 =

[android-developers] ActivityThread( 200): Failed to find provider info for data

2009-01-01 Thread AlexG
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

[android-developers] Re: Dialog box

2008-12-31 Thread AlexG
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

[android-developers] Dialog box

2008-12-30 Thread AlexG
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

[android-developers] Re: native c/c++ hello world _ problem

2008-12-30 Thread AlexG
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