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
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
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,
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);
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,
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 =
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
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
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);
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
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
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:
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,
* 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,
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
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
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,
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
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:
--~--~-~--~~~---~--~~
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);
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,
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
just fyi, the ADP1 is again available for purchase.
--
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
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
25 matches
Mail list logo