[android-developers] Re: Rapidly unwinding Activity stack

2008-04-17 Thread Greg
hello guys ?? On Apr 17, 6:03 pm, Greg <[EMAIL PROTECTED]> wrote: > 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 > > >

[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 //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 window

[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 onRes

[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 co

[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:

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

2008-04-17 Thread [EMAIL PROTECTED]
Not sure if is available through Android, but you could use IMEI or the phone number to identify the phone (the best one will be the IMEI since is unique) -fr4gus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andro

[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 spinn

[android-developers] Re: Where has everybody gone???

2008-04-17 Thread [EMAIL PROTECTED]
I've been working alot in other projects and haven't had much time to get back to andriod dev, and also I thing a mailing list like this one is not the best to follow up what's happening in the community, I rather forums, for easy reading and code/images/video attachment. --~--~-~--~~-

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

2008-04-17 Thread hackbod
On Apr 17, 10:51 am, Rui Martins <[EMAIL PROTECTED]> wrote: > The problem is that if not enough processing power is available, the > messages accumulate ! Just send a new message as part of processing the previous one. > I Think that this solution is not the definite solution for frame > refresh

[android-developers] Re: Visual language media control bar demo code?

2008-04-17 Thread Megha Joshi
Hi, That is a good suggestion, though the current SDK does not support voice recording. You may want to log this as a feature request in the Android Issue Tracker, you can find a link to it on the groups page. Thanks, Megha On Wed, Apr 16, 2008 at 5:04 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> w

[android-developers] Re: How can I get the current page's url of the web browser?

2008-04-17 Thread Megha Joshi
Hi, You can use WebView's getUrl() method to retrieve a URL for the current page: http://code.google.com/android/reference/android/webkit/WebView.html#getUrl() Thanks, Megha On Wed, Apr 16, 2008 at 6:52 AM, Doroth

[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 are

[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 pl

[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@googleg

[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: 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 differ

[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 y

[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, Ra

[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 i

[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 figur

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

2008-04-17 Thread Pzikit Bloo
Hi guys, I'm tying to figure out with this problem: I would programmatically add rows to my TableLayout; here's the code: TextView tv_name = new TextView(this); tv_name.setLayoutParams(new LinearLayout.LayoutParams( LinearLayout.Layo

[android-developers] Re: webview not showing data

2008-04-17 Thread Laren
Just a thought, but perhaps it's not redrawing the view? I haven't tested this out, but try calling wView.invalidate(); after you load the data. On Apr 17, 9:14 am, Diego Torres Milano <[EMAIL PROTECTED]> wrote: > Check this issue:http://code.google.com/p/android/issues/detail?id=678 > > On Apr

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

2008-04-17 Thread Android Lover
thank u so much for the help and explnation On 4/17/08, tanin <[EMAIL PROTECTED]> wrote: > > > 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

[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 s

[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: 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 MapView.requestUp

[android-developers] Re: webview not showing data

2008-04-17 Thread Jose María González
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 it? On Apr 9, 10:43 pm, Diego Torres Milano <[EMAIL PROTECTED]> wrote: > WebViewis, ehrrr... the web view ;-) > The same as the one in the brow

[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 da

[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 Lo

[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

[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 <[EM

[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 startSu

[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 t

[android-developers] Re: Rapidly unwinding Activity stack

2008-04-17 Thread Greg
but in that case of deleting some data onto F activity and then showing refresh data on E how can we do this without startSubactivity ??? if user press back button user will be shown incorrect data which is wrong if using startsubactivity activites are overlapping i have been stucked here it h

[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 po

[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 andro

[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 = KeyP

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

2008-04-17 Thread David Given
stavy.sun wrote: [...] > #include [...] > 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 with. W

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

2008-04-17 Thread Mi
Tanks for helping. On Apr 11, 9:13 am, Ram <[EMAIL PROTECTED]> wrote: > You can use the following steps to remove the database > > adb shell > cd data > cd data > cd > cd databases > rm > > if you'd just like to remove one table > replace the last step with > sqlite3 > drop table ; > > For a c

[android-developers] Re: is a Menu incompatible with a FrameLayout?

2008-04-17 Thread AMGG
Many thanks. It was the problem. On 16 abr, 19:55, hackbod <[EMAIL PROTECTED]> wrote: > 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 > re

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

2008-04-17 Thread vetch
> You can't tie activity visibility with toast. > > what do u mean by above statement ? Activity is independent of an toast. Toasts are designed to be used for showing simple state messages to user, for example from background service. You also can't check state of toast, it was designed just to

[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 to

[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. Be

[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 A

[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 subscrib

[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 = g

[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

[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 fri

[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 > f

[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: > >

[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