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 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 library
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
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 call
application exits after run.
i guss the problem lie in System.loadLibrary(...)
source code is as the following
/
TestJNI.java
package com.test.hello;
/**
* @author stavy
*
*/
public class TestJNI {
static {
It's not MapView.requestUpdate
but LocationManager.requestUpdates.
On Apr 17, 3:39 pm, tanin [EMAIL PROTECTED] wrote:
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
ok thanks
i want to show a messaage for some time moments and then i want to
exit the activity.
On Apr 17, 11:49 am, hackbod [EMAIL PROTECTED] wrote:
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
To find out more about Twitter, visit the link below:
http://twitter.com/i/1914384c1c69cab88fc126a4f07b825fa5e3e24a
Thanks,
-The Twitter Team
About Twitter
Twitter is a unique approach to communication and networking based on the
simple concept of status. What are you doing? What are your
That's really easy to implement. Simply display the toast, let your
application wait Toast.TIME_xxx and the call finish().
On Apr 17, 9:18 am, Greg [EMAIL PROTECTED] wrote:
ok thanks
i want to show a messaage for some time moments and then i want to
exit the activity.
On Apr 17, 11:49 am,
Uri myEmail = Uri.parse(content://contacts/contact_methods/ + id);
int count = ctx.getContentResolver().delete(myEmail, null, null);
This should work.
On Apr 17, 3:30 am, kingkung [EMAIL PROTECTED] wrote:
Sorry the line above got cut off. This is what my call looks like:
int count =
is it possible ?
Finish Activity when toast message has been dissapered
I think you got bad flow design. You can't tie activity visibility
with toast. Try reflow user path.
greets,
peter.
--~--~-~--~~~---~--~~
You received this message because you are
I wouldn't count on it. I'm not sure what you exactly want to
archieve, but to implement something like this would mean that the
browser needs to fire an intent everytime the user selects something
and then it would also somehow need to know what the external
application wants to do with it.
On
I have found two interesting sources and would like to give the
benefit of my experience to you.
I am tuning my pc by the best software for free, with the file search
engine http://fileshunt.com and http://filesfinds.com May be you have
your own experience and could give some useful sites too.
You can't tie activity visibility
with toast.
what do u mean by above statement ?
On Apr 17, 2:02 pm, vetch [EMAIL PROTECTED] wrote:
is it possible ?
Finish Activity when toast message has been dissapered
I think you got bad flow design. You can't tie activity visibility
with toast. Try
stavy.sun wrote:
[...]
#include stdio.h
[...]
printf(hello testjni!\n);
I think this is your problem; I don't think you can call printf() from
Android's JNI environment.
(Android has its own libc that is *not* compatible with the glibc
headers that the CodeSourcery toolchain comes
Hi all,
I've got a question regarding bc in android, would be glad if anyone
could help.
What I am trying to do is to generate KeyPair using KeyPairGenerator
(ECDSA) in android, like
KeyPairGenerator g = KeyPairGenerator.getInstance(ECDSA)
or using bouncy castle
KeyPairGenerator g =
Hi all,
I want to get one row's Uri in the database table.
Anyone can help me?
Thanks.
Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Start earning money online today
http://mimik-mik.blog.cz/0804/start-earning-money-online-today
BUX.TO = THE BEST WAY TO EARN MONEY
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
This depends on the implementation of the content provider powering
the table. Usually the value in the _id field can be appended to the
base content uri to get a specific row.
On Apr 17, 1:15 pm, Wei Yongqiang [EMAIL PROTECTED] wrote:
Hi all,
I want to get one row's Uri in the database
If showing incorrect data is a problem, you should requery the data in
the onResume() method of the subactivity.
On Apr 17, 2:20 pm, Greg [EMAIL PROTECTED] wrote:
but in that case of deleting some data onto F activity and then
showing refresh data on E
how can we do this without
A better approach is to have a class that extends SQLiteOpenHelper and
override the onUpgrade and OnCreate methods. In the onUpgrade you drop
the tables from your database, so when you increase the database
version your program manages the update to the new db schema.
On Apr 17, 12:38 pm, Mi
you are right let me try great
On Apr 17, 5:25 pm, Hielko [EMAIL PROTECTED] wrote:
If showing incorrect data is a problem, you should requery the data in
the onResume() method of the subactivity.
On Apr 17, 2:20 pm, Greg [EMAIL PROTECTED] wrote:
but in that case of deleting some data onto
On Apr 16, 4:02 pm, [EMAIL PROTECTED] wrote:
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
You have two options, both painful.
1. Request the updates from
i tried it but it still doesn't work
same it shows old data for 2 secs then it refreshs when i used on
resume
same it show
On Apr 17, 5:28 pm, Greg [EMAIL PROTECTED] wrote:
you are right let me try great
On Apr 17, 5:25 pm, Hielko [EMAIL PROTECTED] wrote:
If showing incorrect data is a
Oopss sorry. Kosmaj is right.
And I suggest you to use IntentReceiver.
Because you can specify the minimum distance and minimum time that you
want to receive a new location.
And you dont have to deal with Thread.
On Apr 17, 9:13 am, Kosmaj [EMAIL PROTECTED] wrote:
It's not
i wonder if i can use the cell id as an ident in a DB on a server...
--~--~-~--~~~---~--~~
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
Check this issue:
http://code.google.com/p/android/issues/detail?id=678
On Apr 17, 3:19 pm, Jose María González [EMAIL PROTECTED] wrote:
I have the same problem.
But if I refresh one button in the layout for example, then the
webView content appears like magic.
Somebody knows how to solve
On your TableRow you must set new TableLayout.LayoutParams and on your
TextViews you must set new TableRow.LayoutParams. The rule is simple:
on a child, set the layout params of its parent.
On Thu, Apr 17, 2008 at 8:05 AM, Pzikit Bloo [EMAIL PROTECTED] wrote:
Hi guys,
I'm tying to figure
It's really simple! :) It works!
Thank you Romain!
On Apr 17, 5:13 pm, Romain Guy [EMAIL PROTECTED] wrote:
On your TableRow you must set new TableLayout.LayoutParams and on your
TextViews you must set new TableRow.LayoutParams. The rule is simple:
on a child, set the layout params of its
I tried this, and it doesn't seem to be working. I added
kxml2-2.2.2.jar to my build path in my Eclipse project and deployed my
application. It is still using the kxml2 packages provided by
Android, which throw an exception if I try to use WbxmlSerializer.
What can I do?
On Mar 22, 10:21 am,
Hi all,
setItem(int arg0, onClickListener arg1) keeps an int as first
parameter, like an R.array. How to create the list from a DB query?
Something like setListAdapter? But how it works?
Thanks,
Pzikit Bloo
--~--~-~--~~~---~--~~
You received this message because
Cell ID identifies the current GSM cell where the mobile phone is
using.
Many phones can be using the same cell !
Your phone only uses one cell at once, but can negotiate data with
more than one, when doing transfer from one cell to the other.
Cell IDs, as far as I known can be reused in
SOLVED - cant send data to service
yay! it works - i used a Handler to send a message to the thread -
whew!!!
fran w
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Good luck Moussa,
Great name...hope to have it on my phone sometime.
Anthony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I tried this Handler throwing messages at a specific rate solution.
But I must admit I'm not terribly happy with it.
The problem is that if not enough processing power is available, the
messages accumulate !
Making the application seem sluggish due to input Lag, since touch
events seems to be
I want to design an simple multimedia message interface for testing
the network. And now I have a question of how to insert image into the
message. Is there anyone who can tell me about it? Many thanks.
--~--~-~--~~~---~--~~
You received this message because you
I was looking through your code and have one question... what is
R.layout.notes_list?
On Wed, Apr 16, 2008 at 3:56 AM, Fred Janon [EMAIL PROTECTED] wrote:
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
Thank you for the help.
How would I do this for Phones as well?
On Apr 17, 1:45 am, Hielko [EMAIL PROTECTED] wrote:
Uri myEmail = Uri.parse(content://contacts/contact_methods/ + id);
int count = ctx.getContentResolver().delete(myEmail, null, null);
This should work.
On Apr 17, 3:30 am,
I was looking through your code and have one question... what is
R.layout.notes_list?
It's the id automatically generated for the notes_list.xml file where the
layout below resides.
Fred
On Fri, Apr 18, 2008 at 4:38 AM, Megha Joshi [EMAIL PROTECTED] wrote:
I was looking through your code
At the beginning, the SurfaceView can draw OpenGL scene correct.
But while I launch another Activity , after that close the new-
launched Activity and return to the original Activity.
Then the SurfaceView became empty and cann't draw anything.
That's why?
There are any action must be done in
david,
i have modified my project according to your suggestion.
1 remove the following
//#include stdio.h
//printf(hello testjni\n);
2 add simple calculation function
but the problem exist yet.
ps:
HelloAndroid.apk is build in android-sdk with eclipse under
41 matches
Mail list logo