I think you mentioned the solution yourself: create a thread. Are you
worried about the overhead of creating a thread?
On Apr 5, 11:07 pm, E.D.I [EMAIL PROTECTED] wrote:
How to create a thread that waits for an answer from a certain port
( from external server ) ?
in fact i'm trying to
Is it possible to load to activities in the same screen each for upper
or lower part of the screen?
both works independentfrom each other ...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
I think ActivityGroup would let you, but I haven't used it before.
On Apr 6, 12:02 am, E.D.I [EMAIL PROTECTED] wrote:
Is it possible to load to activities in the same screen each for upper
or lower part of the screen?
both works independentfrom each other ...
Hello All,
From my aplication. I need to take a screenshot and save it as a
picture. Is it possible???
Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hello,
Is that possible to play a recorded voice on a phone call.
Like as answering machine does. ???
Can somebody help me ??
Thanks
Abhinav Parashar
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Hello All,
Where can i find the documentation about this package..Does this
work???
I dont want to use any extra jars to be able to send a mail. Please
let me know, if this can be done using this package??
Dexter.
--~--~-~--~~~---~--~~
You received this message
When I load something from a file, I need a dialog that displays all
the file listed in certain directory. And I think this dialog should
work for all kinds of applications. Will there be a FileOpenDialog in
future SDK? There seems to be something like FileOpenDialog in Windows
mobile.
Thanks
thanks. it was unconnected
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email
Hi, I have a problem using MediaPlayer SDK. ( M5-rc15, Windows )
With this problem I can't test my application without crash...It's
critical.
I modified Megha Joshi MediaPlayerTest sample code to reproduce the
problem . (http://groups.google.com/group/android-developers/files)
I added stop
I am aware of that...but what i want is to do it from within an
application...on the press of a button.
Dexter.
On Apr 6, 2:04 pm, Harsh Jain [EMAIL PROTECTED] wrote:
yes, go to DDMS perspective in eclipse, there is a screen capture tool.
harsh
On Sun, Apr 6, 2008 at 1:41 PM, Dexter's
Hi,
I'm writing an application with two screens.
Screen 1: Parameters settings
Screen 2: Display info (depending on parameters settings)
I've used one Activity and two LinearLayout views to implement it. I
switch from screen 1 to 2 with setContentView(...) and it works fine.
However, in the
Hi,
I have been noticing that my emulator mysteriously reboots once in a while.
I want to make sure this is not due to my application. Does this happen to
others as well ?
Harsh
INFO/DEBUG(494): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
***
INFO/DEBUG(494): pid: 517, tid: 538
Ah, thanks a lot!
Dan U. wrote:
I think you should look at the docs for ViewInflate.
On Apr 5, 6:25 pm, NTR [EMAIL PROTECTED] wrote:
I see there's a Resources.getView-method, but it returns an
XmlPullParser, and I have no idea what to do with it. The Views take
an AttributeSet and a Map
Hi All,
I need to add dynamically buttons to a view. The buttons must be
small, so I must style them with android:attr/buttonStyleSmall. I know
how to do it in xml file, but how can I do it from java?
Thanx,
George
--~--~-~--~~~---~--~~
You received this message
Is there a mechanism to dynamically obtain a resource?
I mean, let's say I want to show some image depending on context out
of 5 images I have in drawable dir.
So I would expect something like
getResourceByName(String s) : int
which would take a string that points to the resource and will get
Hi Dan,
From what you explain, I can see, why the problem might arise (still
being a bit suspicius
about how the firing can happend between the two consecutive calls,
but alright, it might occur).
However I might disagree with the whole design semantic, unless you
can convince me otherwise
Thanks for you reply :)
On 4月6日, 下午8时31分, David Given [EMAIL PROTECTED] wrote:
babyblue wrote:
When I load something from a file, I need a dialog that displays all
the file listed in certain directory. And I think this dialog should
work for all kinds of applications. Will there be a
Boolean t = flags.get(position);
Log.e( + position, getView_flag: +
t.booleanValue());
if (t.booleanValue()==true) {
Log.e(postion:true + position, );
I keep getting this error in my console when I try to startup the
emulator. I've restarted Eclipse, but it keeps croaking with this
error. Also the emulator easily takes 5 minutes to startup before
finally getting a application not responding on googleapps. Any ideas
on what I should do? I'm
If I try and download a file type with the web browser that's not
supported. I get a message saying Unable to download file as content
type is not supported. Is there a way I can register my application
as a supporter of a particular content type or mime type?
Charlie
sasperilla wrote:
If I try and download a file type with the web browser that's not
supported. I get a message saying Unable to download file as content
type is not supported. Is there a way I can register my application
as a supporter of a particular content type or mime type?
AFAIK, you
I guess you might not know this, but you don't need to be using a
Boolean. You should change it to lowercase boolean and get rid of
all the messy t.booleanValue() calls.
But, the reason you don't see logging output is the way you are using
Log. You are actually trying to print an empty message
The firing between those calls is a race condition. If you notice, the
location manager updates in the emulator get fired off in rapid
succession if you give a small interval value. There is enough time
between an unregisterReceiver call and a removeUpdates call for this
to happen.
In terms of
I'm having the same 19% problem, and moving the mylyn files didn't do
anything. I tried moving the mylar files as well, and that didn't do
anything either. Opening the emulator in debug mode *does* seem to
help, but that creates finicky problems of it's own as well.
TM
Well, my rule of thumb (being a web developer) is to think of it in
terms of how many web pages I'd want == how many Activities I should
break it up into. To me, seeing setContentView called multiple times
in an Activity is a bit bothersome. I can't quite explain why I feel
that. I guess because
Will this work:
Button b = new Button(this, null, null,
android.R.attr.buttonStyleSmall);
On Apr 6, 6:04 am, goro [EMAIL PROTECTED] wrote:
Hi All,
I need to add dynamically buttons to a view. The buttons must be
small, so I must style them with android:attr/buttonStyleSmall. I know
how to
You could put everything in one Activity. You could also put your
complete application in a single class, and both are a bad idea for
the same reason.
On Apr 6, 2:35 pm, Derek [EMAIL PROTECTED] wrote:
Hi,
I'm writing an application with two screens.
Screen 1: Parameters settings
Screen 2:
Woaw, this must be one of the worst pieces of code i have recently
seen.
On Apr 6, 4:21 pm, areslp [EMAIL PROTECTED] wrote:
Boolean t = flags.get(position);
Log.e( + position, getView_flag: +
t.booleanValue());
if
Hi all, I'm looking for suggestions on how to architect something:
My application consists of a number of activities, most of which talk
to the network (through tcp sockets). I.e. - one activity connects to
the network, sends and receives some stuff, launches another activity,
which also sends
Well, actually you can pass a lot more than just Strings to a Activity
onCreate, but that's not what you should do here. I think I would
write a Service to provide server communication. Any of your
activities could then access this service.
On Apr 6, 1:09 pm, colintheprep [EMAIL PROTECTED]
Might have found a bug. So I thought I'd post about it.
Doing:
android:text=#... will give an error. The # makes it try to
parse the text as a color, but android:text should not be parsed as a
color?
Niklas
--~--~-~--~~~---~--~~
You received this message
Is there a known issue with the emulator for m3rc37a that results in
intermittent failures to connect to the internet?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
I was curious what the range was for the integers assigned to
resources? Specifically will -1 ever be a valid value for a
resource? In my code, I am passing a resource ID into a method and
sometimes I don't have that ID so I want to provide a value that I can
check against and know not to use.
Awesome!
I don't see the error anymore!
Thanks,
Noam.
--~--~-~--~~~---~--~~
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 unsubscribe
When I have the contents of the Activity on a 9-patch background with
background padding, the texts in the radio buttons and checkboxes go
behind the buttons. Has anyone else experienced this? Is the only
workaround to create a separate TextView for each of those?
See the screenshot:
When I reload a package from the Eclipse IDE to run in the emulator,
the first mouse click is always discarted when I click the emulator
screen, even if the emulator window is already selected. Has anyone
else noticed this? Maybe if so, it's not just my computer :P
Also, some views like the MapView and WebView seem to disregard the
background padding if they don't have any padding themselves. If they
do have padding, their own padding is disregarded, but the background
padding works.
And, if I have a horizontal LinearLayout and put an element in the
middle
Finally decided to test NotesList application (which is based on
ContentProviders) and found that it has the same error. I would say
it's an error of Android platform and from my point a serious one.
--~--~-~--~~~---~--~~
You received this message because you are
When I try using the gps provider, I get the following:
ERROR/AndroidRuntime(3253): Caused by: java.lang.NullPointerException
ERROR/AndroidRuntime(3253): at
android.location.LocationManager.createProvider(LocationManager.java:
61)
ERROR/AndroidRuntime(3253): at
I even tried running emulator -wipe-data again, but it didn't
help...
NTR wrote:
When I try using the gps provider, I get the following:
ERROR/AndroidRuntime(3253): Caused by: java.lang.NullPointerException
ERROR/AndroidRuntime(3253): at
try \#...
On 4月7日, 上午4时43分, Nixarn [EMAIL PROTECTED] wrote:
Might have found a bug. So I thought I'd post about it.
Doing:
android:text=#... will give an error. The # makes it try to
parse the text as a color, but android:text should not be parsed as a
color?
Niklas
And, if I have a horizontal LinearLayout and put an element in the
middle of it, with horizontal FILL_PARENT, the elements on the right
of it won't be shown. For workaround, I've set the horizontal span to
WRAP_CONTENT, but weight to 1.0f.
It's not a workaround, it is how it is supposed
hi,
i want my program to start if the phone rings, so i want to receive
that action but cannot find what you need in the manifest to get this
intent to start - please help!
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
Dell Dimension 8400. 3GHz. 2Gb RAM.
On Apr 5, 11:02 pm, Dan U. [EMAIL PROTECTED] wrote:
It should be a lot faster than that, but knowing the emulator is a
resource-hog, my first question is what kind of computer are you using
for dev work?
On Apr 5, 8:49 pm, Anil [EMAIL PROTECTED] wrote:
How to develop a top application(window) which is on top of any
window else?Like the Tencent's QQ.
By the modification to the Android,can we implement a top
application?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I don't know what error you are talking about. If you create a
listactivity and use a correctly implemented contentprovider (for
example the Contacts content provider) the data in the list will
updated automatically when records are added, deleted or changed.
The error is related to notion
Should be a fast enough machine.
Is your main concern that the actual devices will be slow doing this?
I've heard the development hardware out there is faster than the
emulator. Not sure if that accurately reflects production hardware
though.
On Apr 6, 7:02 pm, Anil [EMAIL PROTECTED] wrote:
Hello everyone,
I want to get the zoom number from a distance.
For instance,
int distance = 999;
Now, how could I calculate the amount of zoom needed so I can see all
of these 999 miles on the map?
Ex.
int distance = 999;
MapView mMapView = new MapView(this);
MapController mc =
I want to read data from a COM port.
Is there any way to read data from COM port by using Android?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello Android Champs
1 what i want is i want to give a margin or distance between the
listview items
Like
A
B
A
B
2 secondly i want to show the white textcolor on selection of an item
of listview ..
i have successfully changed the background color but unable to change
the textcolor please
Is there a way to find out the length of text drawn to a Canvas (using
drawText()) in pixel?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
51 matches
Mail list logo