No, if you are wanting to tie your activity with the toast window,
you'd be better off just showing your own Dialog. The toast is really
for cases where something needs to be displayed independently of the
current activity: for example from a receiver or service, or shown by
an activity as it is
I forget that you have to call MapView.requestUpdate(...
Something ...), so that it will broadcast its Intent.
On Apr 16, 10:50 pm, tanin <[EMAIL PROTECTED]> wrote:
> If you mean that you want it to update automatically as the user's
> position changes, then you gotta use "Intent".
>
> First ca
The mock GPS Setup should be attached to the .apk file
because i dont think that Judges will install it themselves,
(in case you send kml, nmea file to them)
On Apr 16, 5:06 am, SnowDrifter <[EMAIL PROTECTED]> wrote:
> A mock GPS setup was not allowed I believe for the challange.
>
> On Apr 15,
Thanks, but there are another problem:
At the beginning a SurfaceView can draw OpenGL scene correct.
But while I launch another Activity , after that close the new-
launched Activity,
the SurfaceView became empty and cann't draw anything.
That's why?
There are any action must be done in onResume()
Android support the API, your library name are correct?
What does you logcat said?
On 4月17日, 上午11时38分, "stavy.sun" <[EMAIL PROTECTED]> wrote:
> hi Macro.
> i have done the same test following your way, but i haven't run JNI
> successful.
> i meet the problem "application exits after loading lib
Hello
is it possible ?
Finish Activity when toast message has been dissapered
--~--~-~--~~~---~--~~
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@googlegr
how do i know about toast that it has been disappeared so that i can
finish the activity?
On Feb 25, 1:58 pm, corem <[EMAIL PROTECTED]> wrote:
> Hi,
> Is there any way to position aToastto a specific location on the
> screen?
> I know about gravity, but it is not enough. I've tried to set margins
theres ways to cap the framerate if you want
On Apr 16, 5:50 pm, Macro <[EMAIL PROTECTED]> wrote:
> In the demo of OpenGL, there launch a thread with an endless circle
> to draw the frame.
> But I believe the modus waste lots of system resource, there are any
> good modus?
--~--~-~--~---
hello guys thank you very much for your time but i still coudlnt find
the right solution
A BC D
A main screen
B shows some items
C shows some items
D select that item and delete it
I used on activity Result to refresh the data of C so that i would
hi Macro.
i have done the same test following your way, but i haven't run JNI
successful.
i meet the problem "application exits after loading library using
System.loadLibrary(...)"
doesn't android-sdk support "System.loadLibrary(...)"?
thx.
--~--~-~--~~~---~--~~
You
The point of the demo is to show how to do a continually updating
OpenGL display, such as used in a game. If that is not what you need,
you can use Handler to post a message at the rate you want to update
the display.
On Apr 16, 5:50 pm, Macro <[EMAIL PROTECTED]> wrote:
> In the demo of OpenGL,
What's going on with Mobile Web Applications like Gears for Mobile
versus Android. I've heard some say that Web Applications will be in
vogue over Android Java apps. What's going on there? Specifically, are
there hooks in the Webkit api that are for such web applications?
- Juan
--~--~-~
Sorry the line above got cut off. This is what my call looks like:
int count = getContentResolver().delete(ContactMethods.CONTENT_URI,
ContactMethods.PERSON_ID+"="+id, null);
Any help?
On Apr 16, 6:28 pm, kingkung <[EMAIL PROTECTED]> wrote:
> I'm having trouble deleting a phone number from the
I'm having trouble deleting a phone number from the Phones table.
This is the code I have to do that...
int count = getContentResolver.delete(Phones.CONTENT_URI,
Phones.PERSON_ID+"="+id,
where id is the value stored in the Person._ID column. The count
always states that 0 rows are deleted, even
In the demo of OpenGL, there launch a thread with an endless circle
to draw the frame.
But I believe the modus waste lots of system resource, there are any
good modus?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "
Hi all,
I would really like for my application to be able to use this
scenario:
the user selects some text from a web page he/she is browsing using a
standard web browser, and then my application handles the text from
this selection.
As far as I can see, this feature is currently absent, but ar
If you need a straight line, using drawLine() would be recommended,
drawPath() takes a Path object, which enables you to draw circles, arcs,
lines, etc.
Instantiating a Path object would be a little bit of performance hit, if all
you want to do is draw a straight line.
On Tue, Apr 15, 2008 at 12
Yes, indeed his approach is much cumbersome.
For uploading files to a server Multipart is a great class featured in
apache commons (it comes with Android), which will leave you away of
coding your output at a very low level.
http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclie
You sir are a genious. Thanks!
On Apr 16, 4:51 pm, tanin <[EMAIL PROTECTED]> wrote:
> My guess is Point class is from the wrong package.
>
> There are two Point class in the Android Library.
>
> On Apr 16, 4:25 am, Kyle R <[EMAIL PROTECTED]> wrote:
>
>
>
> > Any idea what is causing this? I'm t
My guess is Point class is from the wrong package.
There are two Point class in the Android Library.
On Apr 16, 4:25 am, Kyle R <[EMAIL PROTECTED]> wrote:
> Any idea what is causing this? I'm trying to use the map services
> directly from another example, and the function is not recognizing the
If you mean that you want it to update automatically as the user's
position changes, then you gotta use "Intent".
First call MapView.requestUpdate();
Then register IntentReceiver();
here is some code
static Intent gpsIntent = null;
static IntentReceiver gpsIntentReceiver = null
Hi Anthony,
Yes this is right,we are 10 including me and i didn't announced about
my app publicly because its not only app, its a project, and the idea
for that project is a key for win on this challenge,even on my company
website i didn't put any information a bout our app, anyway the
applicatio
My app requires interaction with the server so I can at minimum tell
you that the judges haven't launched my application yet as there have
been no hits to my sever yet. And I don't believe my app (pocket
journey) is so awful that it won't get at least an initial run-
through.
Moussa, I saw in an
Well, it looks to me like the author re-invented the wheel. It's quite
easy to post an image to a server. Here's some code in one of my
applications that has been modified to be more generic. I didn't test
the modifications, but it should work. Note that I'm posting both the
file (videoFile) and a
Sorry, forgot to remove tracing. :(
Without it, it's only about 300ms for querying. That's at least
comparable to other java code.
Probably sqlite does't like complex queryes, but there are ways to
deal with that...
On Apr 16, 10:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Digit wrot
Menus are displayed as a separate window on top of the activity, so
there should be nothing you can do in your layout to break them. The
only thing I can think of is to check to make sure you aren't
returning true when processing a menu key, otherwise you will consume
it and the default behavior
On Apr 16, 5:10 am, Greg <[EMAIL PROTECTED]> wrote:
> when i used this code
> this.finish();
> startSubActivity(i, ACTIVITY_CREATE);
As I said before, you want to start the new activity before finishing
the current one. Otherwise you are first finishing the current one
and, yes, there is a time
onCreate for a service does not take any parameters, when i put it
there (or anywhere in GetContacts.java i get syntax error "the method
getIntent() is undefined for the type GetContacts" ???
On Apr 16, 1:32 pm, "Michael Novak" <[EMAIL PROTECTED]> wrote:
> it goes before you call the extras fir
it goes before you call the extras first i would say onCreate.
On Wed, Apr 16, 2008 at 1:23 PM, franw <[EMAIL PROTECTED]> wrote:
>
> where does this go?
> in onStart, in run ?? onCreate of the service?
>
> On Apr 16, 12:56 pm, "Michael Novak" <[EMAIL PROTECTED]>
> wrote:
> > you should call..
I posted this in beginners and got no response, but it appears this
group is far more active; I hope this doesn't offend anyone.
I have been reading a lot of documentation, and I'm looking to start
building my application very soon. However, I'm not sure how I want to
handle a key aspect of it, a
where does this go?
in onStart, in run ?? onCreate of the service?
On Apr 16, 12:56 pm, "Michael Novak" <[EMAIL PROTECTED]>
wrote:
> you should call.. for example
>
> Bundle extras = getIntent().getExtras();
>
> then
>
> extras.getString(KEY, VALUE);
>
> -mike
>
>
>
> On Wed, Apr 16, 2008 at
A very elegant language called Objective C.
David
On Apr 15, 2008, at 11:17 PM, pramod shinde wrote:
>
> Hi everyone,
> Can anybody let me know what is development language used by Apple
> for developing there applications?
>
>
> Regards,
>
> Pramod K.Shinde
>
>
>
> between -00-00 and 999
you should call.. for example
Bundle extras = getIntent().getExtras();
then
extras.getString(KEY, VALUE);
-mike
On Wed, Apr 16, 2008 at 12:51 PM, franw <[EMAIL PROTECTED]> wrote:
>
> hi, can anybody help - ive got an intent receiver that starts a
> service, and i want to send data via the
hi, can anybody help - ive got an intent receiver that starts a
service, and i want to send data via the intent for the service OR a
bundle - neither seem to work. my data is always empty strings, as
initialized in the service .
i thought onStart of the service was the place to pick up the data
yes, extactly. I also suspect it might be caused by dead thread. My
sub activity also started a thread which will take a lot of memory
when it is alive.
On Apr 16, 3:04 pm, mickrobk <[EMAIL PROTECTED]> wrote:
> I noticed a similar thing. (mb the same depending on your code)
> You can see the issu
P.S. And about sane figures (may be 5-10% less) with in-memory database
--~--~-~--~~~---~--~~
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.c
Hi greg, I think you can try to use 1 activity and 3 xml layout, and
tried to setContentView() when you want to move from one panel to
another( each panel <-> each xml layout).
the setContentView() will change the whole screen, and you can keep
your backend data model (& update states) in one ac
Digit wrote:
> I think 63 ms == 0.063 s, so the difference is about 120:1 which really
> looks a bit surprising here, even taking the ARM emulation into account.
>
> can you post a small code snippet (and/or even an example database file) to
> duplicate this ?
>
Here:
package sqlite.test;
impor
Hi!
I'm using a FrameLayout which is set to fill_parent as shown here:
LinearLayout (fill_parent/fill_parent)
FrameLayout(fill_parent/fill_parent)
Custom3DView
I'm trying to show a menu with one item, but when I press the "menu"
button nothing happens...
May be it is not shown be
Now you can watch our submission of NavXS to the ADC on YouTube:
http://youtube.com/watch?v=8t_4kbZ15SY
On 16 Feb., 22:47, Tucka <[EMAIL PROTECTED]> wrote:
> As promised, we have produced a movie with a demonstration ofNavXS-
> a Mobile Social Network - which we have developed using our One-Butt
Suggestion, read the contest rules.
In my opinion, they can only judge what they see, and according to the
4 evaluation vectors that where defined.
Anything that isn't implemented is futurology ! :)
But that's why there is a second round in the contest, i.e. the prizes
on the first round, will a
Hi all,
Could someone tell me how to access the current page's content or url
of the web browser from another android application?
Thanks a lot. :)
D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Develope
How to update my current location from GPS
I got the current location from GPS with the following method,
i want to update the my current location
any body help me how to do it
// method to get current location from gps
public void gotoCurrentGPSPosition() {
bubbleIcon = BitmapFactory.
I just change the exit button to "back" on B and C activity.
I think it is usual in all mobile applications to go back to A then
exit the application.
On Apr 3, 11:23 am, Greg <[EMAIL PROTECTED]> wrote:
> I have three activies
>
> A B C
>
> i start sub activ
good post :)
I finished my submitted mine two weeks ago, it was not complete and
mostly it is prototype.
But I really get addicted to this group.
On Apr 13, 6:51 pm, "Dexter's Brain" <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> Where's everybody gone? I dont find any new topics nor any messages
>
I was forgetting add the provider. Now, I can be able to send and
receive extensions, but I can not send a custom IQ messages, because
the sever tell me that "service_unavailable".
Thanks.
On 3 abr, 18:22, CochiVgr <[EMAIL PROTECTED]> wrote:
> Hello everybody.
>
> I'm trying to extend several me
when i used this code
this.finish();
startSubActivity(i, ACTIVITY_CREATE);
new activity stared but in new activity for moments it shows old
activity
y does it so ?
On Apr 16, 3:17 pm, Greg <[EMAIL PROTECTED]> wrote:
> ok
>
> but what about this scenerio
>
> A --->B "before C i finish
Impressed by the API Demo code and the good things it can do through
UI standardization to make the android user experience positive, will
the next release have a bit of voice recorder media control bar sample
code?
Particularly start/stop record function on a minimal keypad. I'm
looking for the
I am trying to build a layout with some spinners and a list below the
spinners. The layouts and the code work fine when I get the spinner values
from an array resource. When I try to populate the spinners from an array, I
get an exception, see below. Is it possible to have spinner and a list view
i
ok
but what about this scenerio
A --->B "before C i finished B" > C
"before D i finished B" ->D
from now D i have to go back to B again if user press cancel button
when user press Cancel Button C onActivity Result will be called in A
so i have to ca
the next release should have audio input, i.e. audio recording will work,
for example to do speech recognition.
as to when this version will appear, I can't say at all...
NOTE: you still won't get audio emulation while doing a "phone call" in the
emulator, this is a rather complex issue related t
I've just got a notification of a incoming sms, finally, that's a
little strange because I didn't change anything...
Thanks anyway
D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
I have the same problem with m5_rc15_linux, my IntentReceiver doesn't
answer at all. Has anyone some ideas about it?
Thanks a lot.
Dorothy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
Hello,
I just knew that the current version of the emulator doesn't capture
any input voice. And we're to develop a speech recognition and
synthesis application on Android, so we want to be able to capture
input voice in the emulator to be able to test the correctness of our
application. So, any i
Objective-C :
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/chapter_1_section_1.html
On Wed, Apr 16, 2008 at 7:17 AM, pramod shinde <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> Can anybody let me know what is development language used by Apple for
> developin
I noticed a similar thing. (mb the same depending on your code)
You can see the issue I filed here
http://code.google.com/p/android/issues/detail?id=548&q=thread&colspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summary
On Apr 15, 11:55 pm, "Larry @ z" <[EMAIL PROTECTED]> wrote:
> Hi, Any
56 matches
Mail list logo