[android-developers] Finish Activity when toast message has been dissapered

2008-04-17 Thread Greg
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] Re: About load '.so' library file with JNI

2008-04-17 Thread Macro
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

[android-developers] Re: A question about OpenGL SurfaceView in DEMO

2008-04-17 Thread Macro
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

[android-developers] Re: How to update my current location from GPS

2008-04-17 Thread tanin
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

[android-developers] Re: About load '.so' library file with JNI

2008-04-17 Thread stavy.sun
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 {

[android-developers] Re: How to update my current location from GPS

2008-04-17 Thread Kosmaj
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

[android-developers] Re: Finish Activity when toast message has been dissapered

2008-04-17 Thread Greg
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

[android-developers] senthilarjunan wants to keep up with you on Twitter

2008-04-17 Thread senthilarjunan
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

[android-developers] Re: Finish Activity when toast message has been dissapered

2008-04-17 Thread Hielko
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,

[android-developers] Re: deleting a phone number or email address

2008-04-17 Thread Hielko
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 =

[android-developers] Re: Finish Activity when toast message has been dissapered

2008-04-17 Thread vetch
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

[android-developers] Re: Will users be able to select text in the web browser?

2008-04-17 Thread Hielko
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

[android-developers] Rapidshare search

2008-04-17 Thread Rapidshare
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.

[android-developers] Re: Finish Activity when toast message has been dissapered

2008-04-17 Thread Greg
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

[android-developers] Re: About load '.so' library file with JNI

2008-04-17 Thread David Given
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

[android-developers] Elliptic Curve Cryptography in Android and Bouncy Castle library

2008-04-17 Thread rayback_2
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 =

[android-developers] how to get one row's Uri in one SQLite table?

2008-04-17 Thread Wei Yongqiang
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

[android-developers] Start earning money online today

2008-04-17 Thread fan.jirka
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

[android-developers] Re: how to get one row's Uri in one SQLite table?

2008-04-17 Thread Hielko
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

[android-developers] Re: Rapidly unwinding Activity stack

2008-04-17 Thread Hielko
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

[android-developers] Re: Removing a database or its table

2008-04-17 Thread Hielko
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

[android-developers] Re: Rapidly unwinding Activity stack

2008-04-17 Thread Greg
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

[android-developers] Re: How to update my current location from GPS

2008-04-17 Thread Hindin
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

[android-developers] Re: Rapidly unwinding Activity stack

2008-04-17 Thread Greg
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

[android-developers] Re: How to update my current location from GPS

2008-04-17 Thread tanin
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

[android-developers] does the cell id is unique?

2008-04-17 Thread E.D.I
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

[android-developers] Re: webview not showing data

2008-04-17 Thread Diego Torres Milano
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

[android-developers] Re: Invalid LayoutParams supplied to android.widget.TableRow

2008-04-17 Thread Romain Guy
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

[android-developers] Re: Invalid LayoutParams supplied to android.widget.TableRow

2008-04-17 Thread Pzikit Bloo
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

[android-developers] Re: Does KXML2 api be usable in andorid

2008-04-17 Thread Josh Guilfoyle
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,

[android-developers] AlertDialog.Builder.setItem() using Cursor

2008-04-17 Thread Pzikit Bloo
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

[android-developers] Re: does the cell id is unique?

2008-04-17 Thread Rui Martins
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

[android-developers] Re: cant send data to service???

2008-04-17 Thread franw
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,

[android-developers] Re: Add more features on my application

2008-04-17 Thread Biosopher
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

[android-developers] Re: A question about OpenGL SurfaceView in DEMO

2008-04-17 Thread Rui Martins
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

[android-developers] questions of inserting image

2008-04-17 Thread Pierre
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

[android-developers] Re: What adapter to use with a Spinner and a ListView in the same layout?

2008-04-17 Thread Megha Joshi
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

[android-developers] Re: deleting a phone number or email address

2008-04-17 Thread kingkung
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,

[android-developers] Re: What adapter to use with a Spinner and a ListView in the same layout?

2008-04-17 Thread Fred Janon
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

[android-developers] Problem of resume a SurfaceView

2008-04-17 Thread Macro
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

[android-developers] Re: About load '.so' library file with JNI

2008-04-17 Thread stavy.sun
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