Can you provide the logcat output that shows the stack trace?
What value did you enter for the et2 field?
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do
Well, this is what I observe when I press the back button:
In the main activity:
- onPause() is called
- onStop() is called
- on Destroy() is called
In the remote service:
- onUnbind() is called (I unbind in onDestroy() of the main activity)
- onDestroy() is called
After that in the debugger:
i entered numbers such 545.
but there is nothing but exption happened.
2009/5/23 Jack Ha (T-Mobile USA) jack...@t-mobile.com
Can you provide the logcat output that shows the stack trace?
What value did you enter for the et2 field?
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・
Hi..
Can you update entire code...
Thank You
Nithin N V
--~--~-~--~~~---~--~~
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
iou200...@gmail.com wrote:
I want to know ,too.
On May 6, 9:11 pm, ainilife ainil...@gmail.com wrote:
hi all:
i want to download aapkfile from my server and run this
application in my app. is this possible? if it can , please post some
sample code. thank you all.
That is not
public void menu_add(){
//
setContentView(R.layout.add);
Button btnadd=(Button)findViewById(R.id.addtips);
Button btnreturn=(Button)findViewById(R.id.return_menu_record);
//点击添加备注
btnadd.setOnClickListener(new View.OnClickListener(){
public void onClick(View v) {
// TODO Auto-generated method
Ok. Thanks.
I would like to stream video comes from my video capture card located
on my PC through WI-FI into my Android G1 device. Do you have any
suggestions regarding how to set stream the right video format so
the G1 device will be able to play it?
Emil
On May 22, 9:23 pm, Dave Sparks
I have the same bug for all non standard applications, whatever the
phone I tested.
What's going on with this feature ?
On 6 mai, 15:40, Guillaume Perrot guillaume.p...@gmail.com wrote:
I go to the application settings, but the clear defaults button is
always enabled - I meant always disabled.
I have the same bug for all non standard applications, whatever the
phone I tested.
What's going on with this feature ?
On 6 mai, 15:40, Guillaume Perrot guillaume.p...@gmail.com wrote:
I go to the application settings, but the clear defaults button is
always enabled - I meant always disabled.
I have the same bug for all non standard applications, whatever the
phone I tested.
What's going on with this feature ?
It is difficult to answer this question, since you have not really said
what the feature is you are curious about.
I check the box, it tells me that I can clear the
Hi,
1. I want to use my own color for selecting ui views.
By default, android shows the selected view with background as orange.
I want to show the view background color as red.
2. In the same way, I want the same behaviour should be applied to
whole application.
How can I achieve this?
Can
For a quick example, download Astro File Manager, click on a image file, you
should see 2 actions:
* ASTRO Image Viewer
* View Picture (standard)
And a check box Use by default for this action, I choosed View Picture.
If you check it, a text explains (ok it does not tell, don't play on
words...) :
Some users of my program are randomly experiencing a
java.io.SyncFailedException on a call to java.io.FileDescriptor.sync()
for a file held on an sdcard. Other than being out of space on the
sdcard (which is a definite possiblity for at least some of the
occurences, and definitely not for
But my second question remains unsolved: there is an interesting flag in
the
Manifest:
android:allowClearUserDataWhether or not users are given the option to
remove user data — true if they are, and false if not. If the value is
true, as it is by default, the application manager includes
Hey,
My app seldom needs to put the device (or screen) to sleep.
That is - programmatically imitate user pressing on red stop-call
button.
According to docs PowerManager.goToSleep() does just that, but
requires android.permission.DEVICE_POWER, which is never granted to
apps!
(A) What on earth
Thanks.
According to me, it would be useful to have both the uninstall and the clear
data button.
Thus the documentation is quite confusing with this flag.
2009/5/23 Mark Murphy mmur...@commonsware.com
But my second question remains unsolved: there is an interesting flag in
the
Manifest:
Hi,
I created an Activity that I would like call when user wants display a
picture. I found a lot of source code as below
activity android:name=.TestActivity !-- My Activity --
intent-filter android:label=Mon Test
action android:name=android.intent.action.VIEW /
User AlertDialogBuilder to add your buttons...It's simplier
On May 23, 4:47 am, hencechen...@gmail.com hencechen...@gmail.com
wrote:
i have my code
Dialog dlg=new Dialog(android01.this);
dlg.setContentView(R.layout.error);
arnouf wrote:
But when I open Gallery and try opening a picture my application is
not proposed.
What's wrong?
Does Gallery suggest any other third-party applications? In other words,
does Gallery support the feature (adding third-party items into option
menus) that you are seeking?
--
Hi,
1 point for your Mark (plus the others!)...
The problem is maybe this...
I'll try another thing to demonstrate this Intent possibility...
Rgds
On May 23, 3:25 pm, Mark Murphy mmur...@commonsware.com wrote:
arnouf wrote:
But when I open Gallery and try opening a picture my application is
GiladH wrote:
My app seldom needs to put the device (or screen) to sleep.
I suspect the Android model says that the user controls when the device
goes to sleep, either by the power button or via the user-selected
inactivity timer.
According to docs PowerManager.goToSleep() does just that, but
Guillaume Perrot wrote:
According to me, it would be useful to have both the uninstall and the
clear data button.
Thus the documentation is quite confusing with this flag.
Agreed. If you want, visit http://b.android.com and file a bug against
the documentation.
--
Mark Murphy (a Commons
Hi,
i have a ImageView with a Picture in it.
When I touch the Picture through the TouchScreen, how can i get the
ColorCode (eg. 0xff0033933) from the x/y Coordinate I clicked?
Something like: onTouch.GetColorCode (from the pixel bellow my
finger)
Any Idea?
Thanks
Yours Chris
Thanks Romain,
Just to clarify, are you suggesting to pass an object containing the
data ? ie Object, void, void or similar, where object has attributes
= parameters I want to pass ?
On May 23, 2:24 am, Romain Guy romain...@google.com wrote:
Just use the type Object for the parameters and you
It's fixed thanks
On May 23, 3:31 pm, arnouf arnaud.far...@gmail.com wrote:
Hi,
1 point for your Mark (plus the others!)...
The problem is maybe this...
I'll try another thing to demonstrate this Intent possibility...
Rgds
On May 23, 3:25 pm, Mark Murphy mmur...@commonsware.com wrote:
I think that I found a problem with Android SDK
in a relative form, try to add An ImageView and A VideoView
In an activity, retrieve your VideoView and try to retrieve his
SurfaceHolderYour application have to crash with a real big
tracelog in LogCat
i found the problem...its function add();
Thank you for your help.
2009/5/23 arnouf arnaud.far...@gmail.com
User AlertDialogBuilder to add your buttons...It's simplier
On May 23, 4:47 am, hencechen...@gmail.com hencechen...@gmail.com
wrote:
i have my code
Dialog
This is the intended behavior. See the docs starting here:
http://developer.android.com/guide/topics/fundamentals.html#procthread
On Fri, May 22, 2009 at 11:54 PM, olko y.olkho...@gmail.com wrote:
Well, this is what I observe when I press the back button:
In the main activity:
-
I'm writing a widget that needs to update rather infrequently (say
multiple hours). Following the source examples out there, it seems the
common solution is to use a service to prepare the updates. However,
after I am done, my process is still running on service level, it
looks like it's not
On Fri, May 22, 2009 at 9:57 PM, iDeveloper ideveloper...@gmail.com wrote:
Thanks.
And how do I stop the audio from playing if isMusicActive() returns true?
Do I have to use the MediaPlayer instance? But the instance won't be in
memory any longer as the activity has been exited once and a new
On Sat, May 23, 2009 at 8:46 AM, arnouf arnaud.far...@gmail.com wrote:
I think that I found a problem with Android SDK
in a relative form, try to add An ImageView and A VideoView
In an activity, retrieve your VideoView and try to retrieve his
SurfaceHolderYour application have to crash
hi,
i'd like to draw on Canvas semitransparent NinePatchDrawable with
color filter in SRC_IN mode:
npd.setColorFilter(0x8080, Mode.SRC_IN);
npd.draw(c);
and it seems that central patch is drawn with different color than the
others.
without setting color filter everything is ok.
is it a
hi,
i'd like to draw on Canvas semitransparent NinePatchDrawable with
color filter in SRC_IN mode:
npd.setColorFilter(0x8080, Mode.SRC_IN);
npd.draw(c);
and it seems that central patch is drawn with different color than the
others.
without setting color filter everything is ok.
is it a
You probably have thought of this, but when you created the AVD did
you enable camera support (the default is disabled)?
see: http://developer.android.com/guide/developing/tools/avd.html
cheers
On May 22, 8:02 am, arnouf arnaud.far...@gmail.com wrote:
Ok so you did the test that I would
Hi Guys,
Im trying to run an unix command from my application,
Basically I want to extract a tar file, but Im getting an I/O
exception while running the below code.
Can you please tell me as to how this has to be done
executeCommand(tar, - xvf,
Yes, I have the same problem. Sometimes it happens very soon after
launch-(
On May 21, 10:11 pm, Peter Jeffe pje...@gmail.com wrote:
If I leave the 1.5 emulator running for a while (overnight, maybe
less) it starts getting unknown host errors like this:
05-21 18:03:23.618 2663 2683 I
On 23 Maj, 16:52, skink psk...@gmail.com wrote:
npd.setColorFilter(0x8080, Mode.SRC_IN);
npd.draw(c);
it seems that 0x8080 is to dark to see it use 0x instead.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
karthikr wrote:
Im trying to run an unix command from my application,
I am uncertain if the commands available in Android, few as they are,
are part of the public API, and as such perhaps should not be relied upon.
Of course, based upon your code, you've apparently decided that sticking
to
On Sat, May 23, 2009 at 11:29 AM, Mark Murphy mmur...@commonsware.comwrote:
I am uncertain if the commands available in Android, few as they are,
are part of the public API, and as such perhaps should not be relied upon.
They are definitely not part of the supported API.
Do you have any
Don't use a service; use the alarm manager to schedule your wakeup/work.
On Sat, May 23, 2009 at 9:38 AM, Michael Elsdörfer
mich...@elsdoerfer.infowrote:
I'm writing a widget that needs to update rather infrequently (say
multiple hours). Following the source examples out there, it seems the
Don't use a service; use the alarm manager to schedule your
wakeup/work.
Currently I'm actually using the widget framework's update mechanism.
From what I understand, a service must be used in any case to avoid ANR
when processing the request might take a bit longer.
The widget example
This is my strange scenario.. maybe it will help someone:
1. On Project/Build Automatically checked I'm not getting any
errors.
2. When I uncheck Project/Build Automatically and build, I'm not
getting any errors.
3. When I clean and build (with Project/Build Automatically
unchecked) i get: no
You might want to change that.
On Sat, May 23, 2009 at 12:10 PM, Anil Sasidharan anil...@gmail.com wrote:
Airtel calling card
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hello Dave,
When you wrote HTTP progressive and RTSP for 3GPP/MPEG-4 streams did
you mean also that G1 device supports H.264 video streaming?
Thanks,
Emil
On May 23, 1:09 pm, Emil semil...@gmail.com wrote:
Ok. Thanks.
I would like to stream video comes from my video capture card located
on
You can do something like this:
public class MyImageView extends ImageView {
.
.
.
public boolean onTouchEvent(MotionEvent ev) {
BitmapDrawable bd = (BitmapDrawable)getDrawable();
Bitmap bitmap = bd.getBitmap();
Hello,
In my Android application, I have a ListActivity. This ListActivity
uses a SimpleAdapter that I fill with items from my service. So, in my
code, I do:
MySuperCoolService.Binder serviceBinder = null;
private ServiceConnection serviceConnection = new ServiceConnection()
{
public
Isaac Waller wrote:
In my Android application, I have a ListActivity. This ListActivity
uses a SimpleAdapter that I fill with items from my service. So, in my
code, I do:
MySuperCoolService.Binder serviceBinder = null;
private ServiceConnection serviceConnection = new ServiceConnection()
i found the problem...its function add();
Thank you for your help.
2009/5/23 chen hence hencechen...@gmail.com
public void menu_add(){
//
setContentView(R.layout.add);
Button btnadd=(Button)findViewById(R.id.addtips);
Button btnreturn=(Button)findViewById(R.id.return_menu_record);
Move the now retrieve from service using binder and set list adapter
into onServiceConnected() and get rid of the sleep() infinite loop.
If I do this, then I lose the benefits of running it in the UI thread.
I want to hang my application until it gets these items, because if
not, my view with
Using intents.
http://developer.android.com/reference/android/content/Intent.html
You can browse through a few examples here:
http://www.openintents.org/en/applications
Peli
www.openintents.org
On 23 Mai, 06:30, iou200...@gmail.com iou200...@gmail.com wrote:
As the subject ,I want to know How
On Sat, May 23, 2009 at 5:51 PM, Isaac Waller ad...@isaacwaller.com wrote:
Move the now retrieve from service using binder and set list adapter
into onServiceConnected() and get rid of the sleep() infinite loop.
If I do this, then I lose the benefits of running it in the UI thread.
I want
If I do this, then I lose the benefits of running it in the UI thread.
I want to hang my application until it gets these items, because if
not, my view with id=android:empty shows up for a second, and that
looks ugly.
So put in another view, one that's not ugly.
how about some kind of progress
Even if I changed that, I would lose the saved list scroll position
and selected item.
I do not want to make some hack around running it in the UI thread - I
want to hang the UI thread.
On May 23, 8:06 pm, Jason Proctor ja...@particularplace.com wrote:
If I do this, then I lose the benefits of
hanging the UI thread is the hack. I suggest you do it the right way
instead.
On Sat, May 23, 2009 at 8:09 PM, Isaac Waller ad...@isaacwaller.com wrote:
Even if I changed that, I would lose the saved list scroll position
and selected item.
I do not want to make some hack around running it in
No, what you are supposed to do, is not return from onCreate until you
are ready to show your GUI. I am not ready without these items. If it
took, say, 2 or 3 seconds to load these items, maybe, but it takes a
fraction of a second - the screen flashes 'LOADING' and then shows the
items. It looks
2009/5/22 Cédric Berger cedric.berge...@gmail.com:
2009/5/21 Cédric Berger cedric.berge...@gmail.com
took me a LOT of trials before it worked !
I finally have this rule and it is OK (did not have to edit user groups on
my system):
SYSFS{idVendor}==0bb4, SYSFS{idProduct}==0c02,
On Sat, May 23, 2009 at 8:27 PM, Isaac Waller ad...@isaacwaller.com wrote:
No, what you are supposed to do, is not return from onCreate until you
are ready to show your GUI. I am not ready without these items. If it
took, say, 2 or 3 seconds to load these items, maybe, but it takes a
On Thu, May 21, 2009 at 6:20 AM, Android Users androidmai...@gmail.com wrote:
Any help on this as this is stopping our work. Searched in all android
forums, but no luck..
You need to ask your carrier to provide the maps binaries in their
system images (or did you create your own system
2009/5/21 Cédric Berger cedric.berge...@gmail.com:
I had asked HTC if they had drivers...
their answer :-( :
You recently wrote us about an issue that you have encountered with your htc
To clarify your issue, you stated that: you would like to install usb driver
in Google android SDK 1.5.
http://free-belajaronline.blogspot.com/2009/05/myspace-is-in-real-trouble-if-these.html
MySpace Is In Real Trouble If These Page View Decl...
http://free-belajaronline.blogspot.com/2009/05/hip-hop-star-murdered-just-two-hours.html
Hip Hop Star Murdered Just Two Hours After His Fir...
60 matches
Mail list logo