[android-beginners] Re: ADT plugin for eclipse

2009-09-26 Thread Andre Wichmann
Hi, On Sep 24, 8:46 pm, John Douma douma.j...@gmail.com wrote: I am using Eclipse 3.4 on Windows XP. I downloaded and installed the Android SDK, version 1.6, in accordance with the instructions athttp://developer.android.com/sdk/1.6_r1/installing.html. I also installed the Android Developer

[android-beginners] startActivityForResult problem...

2009-09-26 Thread MagouyaWare
I have an activity that needs to start another activity in the onCreate method. The second activity doesn't have a UI, it just processes some data (very quickly) and returns it via setResult. The problem I am having is that it looks like the onActivityResult method from my first activity is

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
basically the program, decides whether the phone has moved, if it hasn't (time some set time) then it makes noise and shows a simple xml based animation, and the decision part decided which animation/ audio to play David On Sep 26, 1:15 pm, skink psk...@gmail.com wrote: On Sep 26, 1:20 pm,

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
So i declare ImageView imgView; ImageView imgView1; in onCreate: imgView = (ImageView)findViewById(R.id.imageView); imgView.setBackgroundResource(R.drawable.frame_animation); imgView1 = (ImageView)findViewById(R.id.imageView1); imgView1.setBackgroundResource(R.drawable.frame_animation);

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread skink
furthermore your code is not called in ui thread, so maybe that's why it doesn't work try using Handler/Messages pskink --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread skink
On Sep 26, 1:20 pm, Kingcrowley kingcrow...@gmail.com wrote: So i declare ImageView imgView; ImageView imgView1; in onCreate: imgView = (ImageView)findViewById(R.id.imageView); imgView.setBackgroundResource(R.drawable.frame_animation); imgView1 =

[android-beginners] Is it possible to pass a set of data to an Intent?

2009-09-26 Thread Jordan B.
Hi! I want to show a picture using the Camera App's image viewer. Thus, I'm using the following : Uri pictureUri = ContentUris.withAppendedId (Media.EXTERNAL_CONTENT_URI, id); Intent viewPicture = new Intent(Intent.ACTION_VIEW, pictureUri); this.startActivity(viewPicture); It works well. But

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
i think i get what you are sayingso basically what i have won't work because timertask can not affect UI components? so i need to use a Handler to monitor the things i need in a separate thread? David On Sep 26, 3:26 pm, skink psk...@gmail.com wrote: On Sep 26, 4:09 pm, Kingcrowley

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
So i declare ImageView imgView; ImageView imgView1; in onCreate: imgView = (ImageView)findViewById(R.id.imageView); imgView.setBackgroundResource(R.drawable.frame_animation); imgView1 = (ImageView)findViewById(R.id.imageView1); imgView1.setBackgroundResource(R.drawable.frame_animation);

[android-beginners] Re: startActivityForResult problem...

2009-09-26 Thread Sean Hodges
That is definitely a puzzling behaviour, I suspect the fact you have no content view is probably the cause. Is there any reason why you need the second activity? Activities are supposed to be used to display a new screen, processing data in the background is usually performed in an ASyncTask or

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread skink
On Sep 26, 4:09 pm, Kingcrowley kingcrow...@gmail.com wrote: but for smaller projects, wouldn't using handlers be a bit of overkill? this is just for waiting for no sensor movement, or restarts basically if there is sensor movement On Sep 26, 2:26 pm, skink psk...@gmail.com wrote: On

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
but for smaller projects, wouldn't using handlers be a bit of overkill? this is just for waiting for no sensor movement, or restarts basically if there is sensor movement On Sep 26, 2:26 pm, skink psk...@gmail.com wrote: On Sep 26, 3:21 pm, Kingcrowley kingcrow...@gmail.com wrote:

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
basically the program, decides whether the phone has moved, if it hasn't (time some set time) then it makes noise and shows a simple xml based animation, and the decision part decided which animation/ audio to play David On Sep 26, 1:15 pm, skink psk...@gmail.com wrote: On Sep 26, 1:20 pm,

[android-beginners] Re: startActivityForResult problem...

2009-09-26 Thread Justin Anderson
* That is definitely a puzzling behaviour, I suspect the fact you have no content view is probably the cause.* I tried giving it a LinearLayout but the result was the same. * Is there any reason why you need the second activity? * I'm doing this as a way to have both free and paid (or rather,

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread skink
On Sep 26, 3:21 pm, Kingcrowley kingcrow...@gmail.com wrote: basically the program, decides whether the phone has moved, if it hasn't (time some set time) then it makes noise and shows a simple xml based animation, and the decision part decided which animation/ audio to play David On

[android-beginners] Simulate KeyEvent (raise Options Menu programmatically)

2009-09-26 Thread jbrohan
Hello I want my activity to start with the menu in place. There seems to be a some discussion about simulating KeyEvents, but these are from an earlier release and the import android.view.IWindowManager; is used. This does not seem to be available nowadays. John

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
basically the program, decides whether the phone has moved, if it hasn't (time some set time) then it makes noise and shows a simple xml based animation, and the decision part decided which animation/ audio to play David On Sep 26, 1:15 pm, skink psk...@gmail.com wrote: On Sep 26, 1:20 pm,

[android-beginners] Re: Strange message during opening stream at InputSource

2009-09-26 Thread kiro
thanks, problem has resolved by changing manifest file: uses- permission android:name=android.permission.INTERNET On Sep 25, 2:32 pm, kiro cih.exe...@gmail.com wrote: up On Sep 24, 10:22 am, kiro cih.exe...@gmail.com wrote: -(new InputSource(url.toString)); was with another message

[android-beginners] Re: Simulate KeyEvent (raise Options Menu programmatically)

2009-09-26 Thread jbrohan
To answer my own question... http://groups.google.com/group/android-developers/browse_thread/thread/564fd6d454463bdf?fwc=1 openOptMenu() but it needs to be a runnable...see posting above On Sep 26, 7:45 am, jbrohan jbro...@gmail.com wrote: --~--~-~--~~~---~--~~

[android-beginners] Re: ImageView.VISIBLE/INVISIBLE

2009-09-26 Thread Kingcrowley
So i declare ImageView imgView; ImageView imgView1; in onCreate: imgView = (ImageView)findViewById(R.id.imageView); imgView.setBackgroundResource(R.drawable.frame_animation); imgView1 = (ImageView)findViewById(R.id.imageView1); imgView1.setBackgroundResource(R.drawable.frame_animation);

[android-beginners] Re: remote app commands sent via http

2009-09-26 Thread Jeffrey Blattman
you are opening a URL, then writing that URL to the stream you open at the URL. that's probably not what you wanted. what's the URL, and what is the "command" you are trying to pass? how does the endpoint accept the command? by reading POST data? through GET parameters? On 9/25/09 7:31 PM,

[android-beginners] Re: Is it possible to pass a set of data to an Intent?

2009-09-26 Thread Jeffrey Blattman
Intent#putExtra(key, ...) On 9/26/09 6:15 AM, Jordan B. wrote: Hi! I want to show a picture using the Camera App's image viewer. Thus, I'm using the following : Uri pictureUri = ContentUris.withAppendedId (Media.EXTERNAL_CONTENT_URI, id); Intent viewPicture = new

[android-beginners] ADP1 available again

2009-09-26 Thread Jeffrey Blattman
just fyi, the ADP1 is again available for purchase. --

[android-beginners] Should anyone be allowed to alter Android OS and Applications?

2009-09-26 Thread Fugita
It is an Open Operating System with the code released for all to use but developers have stopped Modifying the Stock OS because it seems it is illegal! WHAT... I mean really it is OPEN! Meaning we can do what we want with the code as long as we are not selling it for profit, right? I just don't

[android-beginners] Re: Should anyone be allowed to alter Android OS and Applications?

2009-09-26 Thread Jeffrey Blattman
unfortunately, it's not that simple. there are parts of android dists like CM that are not in AOSP. the google apps are a major, glaring example. their license clearly does not allow them to be re-distributed. so you can make a custom android dist, but it can't include google mail, google