Re: [android-developers] How to stop terminate the Android application when using the native code

2012-07-20 Thread Clark kent
your native code so it doesn't do this. Anyone giving you a native library that is calling exit() in it is an evil sadist. :p On Fri, Jul 13, 2012 at 3:02 AM, Clark kent nguyenle...@gmail.com wrote: Hello every body I have this problem which can not resolve it. I'm calling the native

[android-developers] How to stop terminate the Android application when using the native code

2012-07-14 Thread Clark kent
Hello every body I have this problem which can not resolve it. I'm calling the native code(*C code*) from the android application. But in the native code, they call function *exit(0)* so it makes the app on Android terminate. Could any one know how to stop this one, because after i called

[android-developers] [HELP] File Dialog

2011-06-10 Thread KENT
Hello there, I want to create a Button that will show File Dialog on onClick event and let user to choose a .txt file, after he choose a file, its file path will be set to a textview via setText I think. But I dont know how to start from. Please help --- Regards, Hoang Nguyen -- You received

Re: [android-developers] [HELP] File Dialog

2011-06-10 Thread KENT
Lol ok, i used andexplorer intent to solve my problem. Thanks On Jun 11, 2011 9:03 AM, TreKing treking...@gmail.com wrote: On Thu, Jun 9, 2011 at 11:48 PM, KENT hoangk...@gmail.com wrote: I want to create a Button that will show File Dialog on onClick event and let user to choose a .txt file

[android-developers] AlertDialog + setMultiChoiceItems + cursor, oh my!

2011-06-06 Thread Kent Loobey
Has anyone got this dialog to work? How does one get the selected checkbox to reflect the change when clicked? = String myList = ROW_ID + , + ITM_DESC + , + ITM_CHECKED; final Cursor myCursor = myDB.rawQuery( SELECT + myList + FROM + myTable

[android-developers] AlertDialog + setMultiChoiceItems + cursor, oh my!

2011-06-06 Thread Kent Loobey
Has anyone got this dialog to work? How does one get the selected checkbox to reflect the change when clicked? = String myList = ROW_ID + , + ITM_DESC + , + ITM_CHECKED; final Cursor myCursor = myDB.rawQuery( SELECT + myList + FROM + myTable

Re: [android-developers] AlertDialog + setMultiChoiceItems + cursor, oh my!

2011-06-06 Thread Kent Loobey
Gosh, I finally figured it out. On Saturday, June 04, 2011 01:16:32 PM Kent Loobey wrote: Has anyone got this dialog to work? How does one get the selected checkbox to reflect the change when clicked? = String myList = ROW_ID + , + ITM_DESC

[android-developers] Re: high scores

2011-04-20 Thread Kent
FWIW, I like to keep the top 5. Even if playing against yourself, it's nice to see the recent high marks you've hit. Or at least I like to sometimes - so everyone gets a screen that does it they can ignore. :-) On Apr 16, 4:58 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: You're welcome,

[android-developers] ScheduledExecutorService memory leak question.

2011-04-20 Thread Kent
Hey, trying to puzzle out someone else's code and have a question. If there is a custom subclass of RelativeLayout that holds a ScheduledExecutorService declared in the class as: public ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1); Assume that the

[android-developers] Re: Amazon MP3 store intents - quick how to.

2011-04-20 Thread Kent
I think you are correct. If there were official docs, this post would have been redundant. You did say this exact same thing when Android was first released and the original Amazon methodology was shared unofficially ... and that worked for a good long time (longer than a few Android functions

[android-developers] Amazon MP3 store intents - quick how to.

2011-04-07 Thread Kent
It has been pretty difficult to track down information on interacting with the Amazon MP3 application. After a bit of poking around, it appears the app provides a way to handle external intents through a proxy activity. There are two mechanisms for accessing the Amazon MP3 search service. Here are

Re: [android-developers] Can someone test my app on the Nexus One and Droid?

2010-04-06 Thread Kent Loobey
On Tuesday 06 April 2010 05:07:02 Isaac Wagner wrote: I published an app that works in all the emulators I've tried and on the two Android phones that I've tried. I've got the Droid and my wife has the Eris. This morning I received the OTA update to 2.1 and now all the fonts in my app are

Re: [android-developers] Nexus One - Stalled when downloading Apps from Market using Wi-Fi

2010-01-13 Thread Kent Loobey
On Tuesday 12 January 2010 19:21:22 48-New wrote: Anybody experiences the same issue? Saw a post last March complaining the same issue for G1. Did it get resolved but re-surface again on Nexus One w/ 2.1? Please advise. P.S. If I have a data plan from T-Mobile, would it resolve the issue?

Re: [android-developers] Android 2.1 SDK

2010-01-11 Thread Kent Loobey
On Monday 11 January 2010 15:24:44 Xavier Ducrohet wrote: Hello everyone, We've just released the 2.1 SDK. More info: http://android-developers.blogspot.com/2010/01/android-21-sdk.html Enjoy! Xav Thank you! Thank you! Thank you all! -- You received this message because you are

Re: [android-developers] Re: iPhone to Android: Creating good Android Interfaces

2010-01-10 Thread Kent Loobey
On Saturday 09 January 2010 23:18:58 kylestew wrote: ... I am hoping the Android community will come together on the subject of interaction design. Its going to take developers making apps with good usability for Android to beat iPhones market share. +1 -- You received this message because

Re: [android-developers] Re: Nexus 2.1 one sale, WHERE is the SDK!

2010-01-10 Thread Kent Loobey
On Sunday 10 January 2010 17:32:22 nexbug wrote: Users reporting that the notification lights are not working as on earlier devices(let alone LED color customization). Have been chasing around trying to figure this out until i realized none of the apps are showing the flashing notification

Re: [android-developers] How much is the weight of the shipped box?

2010-01-09 Thread Kent Loobey
On Friday 08 January 2010 06:58:31 Mario Chacon wrote: Hello, I'm from Argentina and I'm searching the weight of the Nexus Box, Could you tell me how much it is, please? I can't find it and I need to know before the ship. Weight: 2.0 lbs/0.9 kg Thank you salu2... masch... -- You

[android-developers] Google Maps: Package file was not signed correctly

2009-12-19 Thread Kent Loobey
I have an Android Dev Phone 1 Firmware version 1.6 and for the last month or so it has been trying to update Google Maps but it keeps getting Installation error Package file was not signed correctly. I have done a search on the Internet and a number of people have successfully completed this

[android-developers] Package naming/renaming

2009-10-21 Thread Kent
I am trying to do an update to an app that was released under 1.0 about a year ago. When it was released, I used the package naming convention: com.android.myApp. At the time, I thought this was the correct naming convention. In retrospect, this is not the case. The AndroidMarket does not accept

[android-developers] Re: Package naming/renaming

2009-10-21 Thread Kent
guess I'm off to seek some advice on the AndroidMarket forum. -K On Oct 21, 12:11 pm, Mark Murphy mmur...@commonsware.com wrote: Kent wrote: #1: What is a correct method for selecting package names? I have started using a convention com.myAppClass.appname. Where myAppClass is a arbitrary

[android-developers] How to unsubscribe from this list?

2009-08-31 Thread Kent Loobey
Messages received from this list contain the following at the botton: ... To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com ... When I send a message to that address I get a message back that includes: ... - The following addresses had

[android-developers] Re: CONTRACT - ANDROID Developers - Toronto

2009-08-20 Thread Kent Loobey
On Thursday 20 August 2009 13:16:21 Kevin - IT Recruiter wrote: I have 3 month contracts (extendable) available for Android Developers in Toronto You must be local (no remote work) Send me a word version of your resume ASAP You won't accept a sound version? kevi...@talgroup.net kevin

[android-developers] Re: unsubscribe

2009-08-19 Thread Kent Loobey
On Wednesday 19 August 2009 20:07:55 FrogPad wrote: What does it take to be taken off of this group? I have tried to unsubscribe for a week. Any insights would be greatly appreciated. To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com Thank you

[android-developers] Re: How to draw text in rectangle

2009-08-05 Thread Kent
I don't know what you are trying to do, but if it's just simple layout stuff you may be making life more difficult for yourself than necessary. Try one of these things instead: a: use a textView and set it's background property (either to a color #argb or to a drawable). This has limitations,

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-25 Thread Kent Loobey
On Friday 24 July 2009 20:16:41 Juan Hernandez wrote: How can you guys even use the term software piracy and propose the dead on arrival DRM and use Linux as a platform? it's because of people like you that the industry is driven by crappy corporations. Shame on you. Go and develop something

[android-developers] Re: Android Toast Duration

2009-07-23 Thread Kent Loobey
On Thursday 23 July 2009 08:17:25 Mohamed Amir wrote: Is there a way to make the Toast last for longer time? I have tried this code Toast t = new Toast(this); View v = View.inflate(this, R.toast_layout, null); t.setView(v);

[android-developers] Re: how to run Android live cd on sun virtualbox in windows xp?

2009-07-20 Thread Kent Loobey
On Monday 20 July 2009 02:42:07 901 wrote: how to run Android live cd on sun virtualbox in windows xp? I searched web,it tell us use cat command,but windows have not that command cat will display the contents of a file. In windows you would use type to get the same affect.

[android-developers] Re: Failed import from 1.0, issue with R.java

2009-07-20 Thread Kent Loobey
On Sunday 19 July 2009 22:29:01 Frank wrote: Hi all, Attempting to import my code from 1.0 to 1.5 sdk. just a bit of background info, i originally wrote the code for 1.0 on a windows machine, now i have a mac, eclipse and the latest sdk and would like to import and continue coding. The

[android-developers] Re: Select a specific InputMethod by program

2009-07-16 Thread Kent Loobey
On Monday 13 July 2009 10:09:57 Dianne Hackborn wrote: If you just want a custom keyboard, you can use the same keyboard class to implement a keyboard within your app. Currently that is the only thing that is really supported. I want to do a similar thing. I have an EditText field that I

[android-developers] Spinner style?

2009-06-27 Thread Kent Loobey
Is there a way to set a Spinner's style so that each entry has the but no radio button? --~--~-~--~~~---~--~~ 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: Spinner style?

2009-06-27 Thread Kent Loobey
On Saturday 27 June 2009 16:38:20 Kent Loobey wrote: Is there a way to set a Spinner's style so that each entry has the but no radio button? Is there a way to set a Spinner's style so that each entry has text but no radio button? --~--~-~--~~~---~--~~ You

[android-developers] Re: Application Needed

2009-06-23 Thread Kent Loobey
OI Countdown might do what you want. Do a search on AndroidMarket. On Tuesday 23 June 2009 10:17:22 Brian Cloutier wrote: While I do not know of such an app, if you give me a week or two I could write one for you. On Tue, Jun 23, 2009 at 9:56 AM, Fred Grott(shareme)

[android-developers] horizontal/vertical finger swipe...

2009-06-22 Thread Kent Loobey
How do you detect a horizontal or vertical finger swipe? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Able to use T-Mobile G1 without contract for application testing?

2009-06-09 Thread Kent Loobey
The following is my opinion. I have a dev g1 phone. I was not able to get it to register with google without a sim card. This means that I couldn't get past the registration screen until I had a sim card. I think google makes it have to go through a phone connection to complete the

[android-developers] Re: If I buy a Dev G1 phone, will it be delivered to my US address as registered item or not?

2009-05-26 Thread Kent Loobey
On Tuesday 26 May 2009 02:50:01 codeplay wrote: Hi folks: If I buy a Dev G1 phone, will it be delivered to my US address as registered item or not? Is my signature required when it is delivered to me? Thank you! I had to sign for mine. Rgds, cp

[android-developers] A $400.00 learning experience...

2009-05-25 Thread Kent Loobey
Because I wanted to develop an android application that ran on a G1 device I bought an Android Dev 1 Phone. I thought that having the actual device in hand would help me get a better feel for the device as I worked on the application. I don't personally use a phone that much and don't have

[android-developers] Question about cupcake changes.

2009-01-05 Thread Kent
to public developers? And a related question: will this change cripple settings management applications already posted on the Market? Thanks, Kent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: How to scan for WiFi networks?

2008-12-10 Thread Kent
I think you are looking for BroadcastReceiver (More info @ http://code.google.com/android/reference/android/content/BroadcastReceiver.html ) . Try something like this in your application's onCreate() ... // -- Sample WiFi implementation IntentFilter i = new IntentFilter();