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
How to create a thread that waits for an answer from a certain port
( from external server ) ?
in fact i'm trying to comunicate with a server on and of with sql
queries...
open connection send query...
wait for answer in the background and continue working , and when
geting the answer i want to
up
>From the description of ContentProvider class "A content provider is
only required if you need to share data between multiple applications.
For example, the contacts data is used by multiple applications and
must be stored in a content provider. If you don't need to share data
amongst multiple ap
Thanks a lot :)
--~--~-~--~~~---~--~~
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 to
[EMAIL
Yeah, that's the problem. I tested both your version and a version
with the correct intent (MY_LOCATION_CHANGED_ACTION) specified in
onDestroy().
On Apr 5, 8:50 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> I think it has something to do with different intents. You didn't post
> the full code, so I d
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:
> The same operation in Java Swing is almost instantaneous.
>
> On Apr 4, 6:57 pm, Anil <[EMAI
I think it has something to do with different intents. You didn't post
the full code, so I don't know. Is MY_LOCATION_CHANGED_ACTION equal to
"NotSpecialIntent"?
On Apr 5, 8:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hello everyone,
>
> Well, I have a MapActivity and I refresh my loc
The same operation in Java Swing is almost instantaneous.
On Apr 4, 6:57 pm, Anil <[EMAIL PROTECTED]> wrote:
> 35x35 pixels. this is just the audio 'speaker' icon on a button.
>
> On Apr 4, 11:28 am, hackbod <[EMAIL PROTECTED]> wrote:
>
> > On Apr 4, 5:44 am, Anil <[EMAIL PROTECTED]> wrote:
>
>
Hello everyone,
Well, I have a MapActivity and I refresh my location with an intent
receiver that receives intents from the location manager. This is my
basic code:
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
update();
setupForGPSAutoRefreshing
Ok, thank you very much.
On Apr 5, 6:29 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> If it's what I think you are referring to, I think it serves a dual-
> purpose. One is to have space for an image, the other is to make it
> large enough for a touch screen. I would not try to change it for
> reason
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 inflateParams". What should I pa
If it's what I think you are referring to, I think it serves a dual-
purpose. One is to have space for an image, the other is to make it
large enough for a touch screen. I would not try to change it for
reasons of touch screen usage.
On Apr 5, 6:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrot
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 inflateParams". What should I pass for
them?
Thanks!
--~--~-~--~~~---~--~~
You received this message because
Hello everyone,
In the main menu, for each item there is a space for a picture.
However, I do not want to put a picture. Is there any way of
eliminating this white space like the previous SDK?
Thanks,
Noam.
--~--~-~--~~~---~--~~
You received this message because yo
I also meet the similar problem with
Contacts.ContactMethods.CONTENT_EMAIL_URI, but it works fine with
Contacts.ContactMethods.CONTENT_URI. My code is:
Uri uri = Contacts.ContactMethods.CONTENT_URI;
String selection = Contacts.ContactMethods.KIND + "=" +
Contacts.ContactMethods.EMAIL_KIND
Cursor c
That's what it sounds like, and hopefully that's how it's intended.
It's still a bit open to interpretation...
"...AND to advertise, display, demonstrate, or otherwise promote the
Android platform."
If a company were to take your app and distribute it without your
consent, wouldn't it still like
you will probably not like what I'm going to say, but: ranting on the forum
is going to have very little results here.
even if there are Android developers who read them (and a fewer that even
answer certain questions) they are all very busy at the moment. what this
means is that the best way to r
Sounds like you are thinking backwards in terms of when things
happen.
Lets say I unregistered the receiver, but have not made the
removeUpdates call. The location manager does not know this, and still
sends out an update. Being that there are no more registered receivers
for that update, it can'
Hi,
The feature of letting your application answer the incoming call is not
supported at this time, only the inbuilt Phone application is invoked on an
incoming call. So you cannot use ANSWER_ACTION.
Thanks,
Megha
On Sat, Apr 5, 2008 at 10:34 AM, Abhinav Parashar <[EMAIL PROTECTED]>
wrote:
>
> H
Hello Dan,
Thanks for your answer, which seems to solve the problem. However to
me the logical order is
first to call unregisterReceiver(ir) (saying this specific ir instance
is no more interested in notifications),
then calling removeUpdates() (saying skip all notifications to me).
Is that the
Hi. I have been browsing the android SDK documentation in search of
documentation + Sample Apps for the gtalkservice. Yes, there is
documentation + samples for the apis aspect of things, and that is
great, BUT it seems the IM apis are sparsely documented, which would
mean learning them by trial! T
@Dan U.
"There always seems to be a stack trace in LogCat, although
sometimes something odd happens and the LogCat output doesn't show up
in Eclipse. "
I've also seem this problem, LogCat sometis stops being updated. I
think this is a bug. I'm too lazy to report it though.
On Apr 5, 3:46 pm, "
i think it means using the application for advertising, for example,
in a tv commercial. not simply giving it away to the public.
On Apr 5, 1:26 pm, javqui <[EMAIL PROTECTED]> wrote:
> It's not clear for me the paragraph #10 in "ANDROID DEVELOPER
> CHALLENGE TERMS & CONDITIONS". I'm confused and
I want to use the smack library from a java client to send a data
message to my GTalk enabled application on the emulator. I can send
between two emulators just fine. I am new to the smack client. I was
wondering if someone could point me in the right direction?
--~--~-~--~~
It's not clear for me the paragraph #10 in "ANDROID DEVELOPER
CHALLENGE TERMS & CONDITIONS". I'm confused and I need understand what
the real meaning on this topic. Google has a serious reputation, but
this paragraph shows something different for Android alliance. The
Android challenge FAQ shows a
I found
http://groups.google.com/group/android-developers/browse_thread/thread/7f69da8f8501c3f5/94969d7def3d4287?lnk=gst&q=mail#94969d7def3d4287
but it looks like there are some problems.
On Apr 5, 12:14 pm, "Dexter's Brain" <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> How do i send a mail with an
If I have some time, I'll look into it more, but for now, have you
tried to reverse the order of these calls:
activity.unregisterReceiver(ir);
locationManager.removeUpdates(new Intent("test"));
On Apr 5, 3:20 am, Jakob Bjerre Jensen <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I have an IntentReceive
Look in the docs for the dx tool
On Apr 4, 11:11 pm, Lahiru <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks a lot for the reply,,,
>
> I'll try with sources.. :)
>
> Thanks again.!
>
> On Apr 5, 12:34 am, David Given <[EMAIL PROTECTED]> wrote:
>
> > Lahiru wrote:
>
> > [...]
>
> > >> I need to import
Is it just me or it's pretty much impossible to write junit tests for
code that is using android sqlite.
Has anyone succeeded?
Without building a facade and for tests using original sqlite and its
jdbc wrapper..
Any junit test involving Context looks quite a big hack.
regs,
Ahti
--~--~-
I also would have preferred for the normal use of System.out and
System.err, but the Android way does force developers to use a more
proper logging api which is not necessarily a bad thing.
On Apr 5, 8:20 am, Anil <[EMAIL PROTECTED]> wrote:
> I don't think you understood my suggestion. Even if it
Interesting. I don't have the apk with m5-RC14, but api demos were on
the emulator the first time I started it up. No need to install. There
was a post about RC15 not having them, but I don't recall if that was
the real issue.
Back on topic...
> I can handle instability but operating in the dark
Hi,
You can also try by disabling the dithering on your 565 Canvas. Also
remember that physical devices use screen with a 16 bits (565)
precision or less. The "bad" blending you see on your computer screen
is not, or almost not, visible on an actual device.
On Sat, Apr 5, 2008 at 11:41 AM, hanni
I write new article abotu using Content Provider. I get info about
person's name and person's phones in contact list. But I can not get e-
mail of person. Help. I have found URI -
Contacts.ContactMethods.CONTENT_EMAIL_URI, but it not help
My code:
Java:
package maximyudin.contentproviderexampl
Hello All,
How do i send a mail with an attachment to a mail id ???
Is this possible...??
Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
Thanks very much for the link to your .mp4 file. I was able to use it
to get the MediaPlayer example working.
I still need to convert my .mp3 files into .mp4 compatible files
though. Any idea how to do this? I was using Easy CD/DA Extractor
but that doesn't produce files in the correct format.
Got a solution here...I was able to successfully stream a .mp4 file.
Turns out my .mp4 file was not contain "progressive streamable
content". I'm still trying to determine how to convert all my .mp3
files so they contain "progressive streamable content". Even anyone
has a software conversion re
Wow, a breakthrough!
I read in another post that Android's framebuffer uses the RGB_565
color mode. So I tried creating a ARGB_ Bitmap and did all of my
rendering to that Bitmap. After I was done I copied the Bitmap to the
Canvas that I get from the onDraw()-method. This resulted in all semi-
Well, I hope so.
In the mean time I have discarded the use of a dialog with an
indeterminate progress bar and I'm using a determinate progress bar
within my layout (I cannot use the progress bar in the window title
because it still consumes a lot of CPU due to the animation).
I update the progre
Hi ank,
Good question. My m5-RC14 version of the SDK doesn't include an
APIDemos.apk file so you may need to create it using Eclipse and then
push it using the info outlined here.
On the other hand, I did accidentally delete my APIDemos from the
Emulator and simply deleted my Android folder and
Hello,
Can somebody help me in using ANSWER_ACTION . How can i use
it when phone is ringing ??
I tried-
Intent i = new Intent();
i.setAction(Intent.MAIN_ACTION);
i.addCategory(Intent.HOME_
Sadly the source isn't located at that page, but if someone has access
to the source code, then please send me the link to it.
We won't have to worry about poor error messaging if we can go
directly into the Android source code to track down the root of the
problem.
The best way for us to learn
Use:
MotionEvent ev = new MotionEvent( . . .);
dispatchEvent(ev);
it works for me.
On Wed, Feb 20, 2008 at 6:29 PM, conlan <[EMAIL PROTECTED]> wrote:
>
> Is there a way, something like: View.triggerContextMenu()
>
> Thanks!
> >
>
--~--~-~--~~~---~--~~
You re
Oh, I just noticed that if I try to do it the other way, that is,
extract the pixels form the image and applying my own blending
algorithm, another problem arises. There seems to be a bug in the
Bitmap.getPixels() implementation, that causes any pixel that has a
non 0xFF alpha, to automatically lo
I assume this won't be an issue on a real phone. Those will have
hardware acceleration to draw the images on the screen and do stuff
like alpha blending.
On Apr 5, 6:26 pm, qvark <[EMAIL PROTECTED]> wrote:
> Hello all, I'm doing some heavy image processing in the background and
> I wanted to show
Hello all, I'm doing some heavy image processing in the background and
I wanted to show a progress bar to the user (indeterminate since I
don't know how to report the exact process status).
My surprise is that when I add an indeterminate progress bar to my UI,
the background process needs more th
Hi, my application makes heavy use of semi-transparent .png's for
interesting graphics. I'm used to this, developing J2ME applications.
The alpha blending algorithm in Android, however, seems to be less
than adequate. Everything that is semi-transparent is restricted to
very few shades of color, a
I've build SAM, an android client that handles OMA OTA download and install
of android applications. I'm releasing this Monday under Apache License 2.0.
In the mean time, you can take a look at the provisioning server, also
open-source. It handles stocking and OTA delivery. Released here:
http://co
I think perhaps the source is available at http:/code/google.com/p/
android
click on the source tab. But I don't think Source Code is the answer
at this stage.
On Apr 5, 1:44 am, acopernicus <[EMAIL PROTECTED]> wrote:
> Thanks for the reply Andrex...but happily Android's poor error
> messaging is
Yeah, I found the issue I'm adressing in the bug database, and it
seems it has been fixed, but I guess there won't be a release with the
fix included before the Android Challenge deadline.
http://code.google.com/p/android/issues/detail?id=319
I also noticed the same bug in the actual web browser
I don't think you understood my suggestion. Even if it is Dalvik, it
can behave in a standard manner that a generation of Java programmers
expects. After all, we are using Java 1.5. There is a further benefit
in production as listed above.
On Apr 4, 11:56 pm, Andrex <[EMAIL PROTECTED]> wrote:
> I
> Has anyone got the MediaPlayer examples to stream .mp4 files
Yes! We can stream mp4 over http!
(Admittedly, after many attempts...)
Try this (from the MediaPlayerTest):
http://kosmaj.sakura.ne.jp/vids/cm/copy_cm.mp4
mp4 files have to satisfy conditions given here:
http://groups.google.com/
Hello, luke
(1) I tried to add custom javadoc for android project in Eclipse and
result was unstable. The result when I added only stubs with javadoc
as source attachment for android.jar is here
http://www.androidjavadoc.com/toast-example.PNG
(2) Yes, you are right, currently there are no javado
I was thinking of doing OTA updates for the competition as well, but
then reasoned it's probably more work than it's worth at the moment.
Probably only worth the hassle for running on real phones, and that
probably won't be until 3rd or 4th Q 2008 (if we're lucky). I note
that OTA does not work i
On Sat, 2008-04-05 at 05:21 -0700, Tofik wrote:
> I have List View of elements. How can I scroll to specific view? I
> tried next:
>
> private ListView listMessages;
> ...
> View specificElement;
> ...
> listMessages.scrollTo(specificElement.getScrollX(),
> specificElement.getScrollY());
>
> but
I have List View of elements. How can I scroll to specific view? I
tried next:
private ListView listMessages;
...
View specificElement;
...
listMessages.scrollTo(specificElement.getScrollX(),
specificElement.getScrollY());
but it doesn't work. I also tried specificElement.requestFocus(),
tried t
Hello,
I have an IntentReceiver IR, which I register as follows:
locationManager.requestUpdates(..., new Intent("test"));
IntentFilter filter = new IntentFilter();
filter.addAction("test");
IR ir = new IR(...);
activity.registerReceiver(ir, filter);
This works excellent. However doing my unregi
Hi frd,
I tried new Android Release but when i started emulator then there is
no Folder for API Demo so ccan u suggest me tht where the problem
lies.
I am not able to find exact probGuide Me.
Thanks in advance..
On Apr 5, 11:44 am, acopernicus <[EMAIL PROTECTED]> wrote:
> Thanks for the rep
57 matches
Mail list logo