[android-developers] Re: Start an activity and return back to original activity

2009-01-27 Thread kaushik sur
yes instead of making new activity to go back to the main activity u can use a flag here screen1 is suppose to be the old activity /* Intent newIntent=new Intent(*android*.intent.action.SCREEN1); newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(newIntent); */ if i

[android-developers] Re: Interesting problem

2009-01-27 Thread Peli
you are missing c1.moveToFirst() before calling c1.getInt(). Peli www.openintents.org www.openintents.biz On Jan 27, 5:52 am, ipeg.stud...@gmail.com wrote: Hi developers.                 Thanks for the replies.   I have a problem from last few days. I want to delete sms from my

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-27 Thread Jeffrey Sharkey
Another quick tip regarding localization is that the framework offers some helpful APIs and strings that are already translated into several languages. Two particularly useful strings are android.R.string.ok and android.R.string.cancel for dialogs, in addition to all sorts of day-of-week and

[android-developers] Re: Adding padding between buttons in a LinearLayout

2009-01-27 Thread Lutz Schönemann
Hi, you can try to add a simple View object between the two Buttons. I found this snippet in the Android source code: Button android:id=@+id/ok_button android:layout_width=150dip android:paddingLeft=6dip android:layout_gravity=left

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-27 Thread alex
When we upload our localized apps to the Market, will we be able to provide our application descriptions in different languages? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Hidden Contacts

2009-01-27 Thread Miguel Paraz
On Dec 9 2008, 8:22 am, Paul paul_rash...@yahoo.com wrote: bklik's question seemed to indicate that he was dumping the contact list programactically via his own activity.  I was just wondering if thecontactsAPI was returning allcontactsand the activity needed to do the filtering. I have the

[android-developers] Element Picker

2009-01-27 Thread Don Rules
Hi Folks, I am learning android. I am writing an Activity which actually launches Notepad provided by google(as tutorial). Now when i select the note, This has to be returned to the launching activity.. How do i do this.. Please help. --~--~-~--~~~---~--~~ You

[android-developers] Bring up active dialer or send dial tone

2009-01-27 Thread songs
Hi, I'm trying to write a convenience app that needs to bring up the active dialer for a connected call, but I'm having issues after trying a couple of approaches. ACTION_DIAL - I've tried starting a new dialing activity and while this brings up a new dialer, it's not connected to the existing

[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread laubea...@googlemail.com
Hi Dianne, I was looking for the entry that reflects the device provisioning. We are currently running our own RIL and the Phone app is rejecting MT calls because of the code in(packages/apps/Phone/src/com/Androi/phone/ CallNotifier.java) : if (!provisioned) { Log.i(TAG,

[android-developers] Asynchronously populating a ListAdapter

2009-01-27 Thread Miguel Paraz
Originally Re: Loading a large list of contacts into a ListAdapter - making it responsive On Jan 24, 12:14 am, Romain Guy romain...@google.com wrote: You have to do the query in a background thread yourself. ListActivity doesn't do any heavy work, only what's needed to fill the screen with

[android-developers] Re: How good to use intents with an application to communcate and modularise it

2009-01-27 Thread Raja Nagendra Kumar
Could any one from Android team, pl. provide your comments.. --~--~-~--~~~---~--~~ 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: What kind of device should Linux udev set up for G1 linked via USB

2009-01-27 Thread Graeme
Hi Faber Well trying again after this post, i did have some sucess On fedora 10. I am using /etc/udev/rules.d/50-android.rules file : SUBSYSTEM==usb,ATTR{idVendor}==0bb4,ATTR{idProduct} ==0c01,MODE=0666, SYMLINK+=android_adb,OWNER=graeme,GROUP=graeme A Guy on IRC #android-dev said I should run

[android-developers] Regarding Positioning

2009-01-27 Thread parth Chothani
How to find whether the mobile is in horizontal or vertical position ?? Is there any event to detect that ? Actually in my application, i want the same look for both vertical and landscape mode.. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Compiling G1 firmware from source and then re-flashing G1

2009-01-27 Thread Graeme
Hi I want to try re-flashing my G1 dev phone with Android compiled from source for HTC Touch target. I have followed instructions from http://source.android.com/documentation/building-for-dream and extracted proprietary binaries from my G1 dev phone, compiled source etc. The build appears to

[android-developers] Re: How good to use intents with an application to communcate and modularise it

2009-01-27 Thread Peli
Is it advisable to uses Intent approach from switching from one view of the other, which are part of the same application Yes, it is advisable. Peli www.openintents.org On Jan 24, 8:22 am, Raja Nagendra Kumar nagendra.r...@gmail.com wrote: Is it advisable to uses Intent approach from

[android-developers] Re: Compiling G1 firmware from source and then re-flashing G1

2009-01-27 Thread Jean-Baptiste Queru
This question would be better suited for the android-platform mailing list, since it's related to working with the android source tree, not to working with the official SDK. You don't need to build an update.zip. Boot our device into the bootloader (hold the back key while powering up), and run

[android-developers] Android Developers Available For Hire?

2009-01-27 Thread phandroid
My name is Rob Jackson and I run phandroid.com and AndroidForums.com. I've got a few simple applications I'm hoping to have developed that I want to make available for free on the Android Market. If you're available for hire to work on a project please leave your info here and/or contact me on

[android-developers] Re: regarding OutOfMemoryException

2009-01-27 Thread Ludwig
I guess the exception tells you that you are over-allocating memory. There are quite strict limits on Android, but your code would fail on any platform (apart from a Turing machine) if the download size is large enough.You will need to loop over the input stream with something like this (no

[android-developers] how to display alert message when some one clicks on back button

2009-01-27 Thread manoj
Hi friends, I want to display an alert asking do you want to exit from the application yes/no? before exiting the application (when we click the Back button). Can any one please help me how to achieve this? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: how to display alert message when some one clicks on back button

2009-01-27 Thread Mark Murphy
manoj wrote: Hi friends, I want to display an alert asking do you want to exit from the application yes/no? before exiting the application (when we click the Back button). Can any one please help me how to achieve this? Probably you will want to use AlertDialog, perhaps created using

[android-developers] Re: how to display alert message when some one clicks on back button

2009-01-27 Thread manoj
can you please show me the sample code? On Jan 27, 6:12 pm, Mark Murphy mmur...@commonsware.com wrote: manoj wrote: Hi friends, I want to display an alert asking do you want to exit from the application yes/no? before exiting the application (when we click the Back button). Can any

[android-developers] Re: Is there any way to know application updates?

2009-01-27 Thread wataru
Search aTrackDog at Android Market. This application will keep track of version of the application that you installed (you have option to track or not track at each application level as well) On Jan 26, 8:46 pm, Nock nock.fora...@gmail.com wrote: I easily missed application updates I use. Is

[android-developers] # special characters in webview

2009-01-27 Thread Bob
Hi, I am populating a webview with the loaddata option but special characters such as ' for quotation mark aren't showing up and end the display. What am I doing wrong? Thanks, Bob WebView wv; wv.loadData(toload, text/html, utf-8);); --~--~-~--~~~---~--~~ You

[android-developers] Re: Compiling G1 firmware from source and then re-flashing G1

2009-01-27 Thread Graeme
Hi Jean-Baptiste Thanks for your reply. I assume the G1 phone is tethered via USB to Linux dev PC whilst being rebooted ? Is there a longer (more detailed) description of this procedure posted anywhere ? Thanks Graeme On Jan 27, 12:50 pm, Jean-Baptiste Queru j...@google.com wrote: This

[android-developers] Re: # special characters in webview

2009-01-27 Thread Jean-Baptiste Queru
LoadData loads your data as a data: Uri. You need to Uri-escape your data. JBQ On Tue, Jan 27, 2009 at 5:45 AM, Bob bshumsk...@yahoo.com wrote: Hi, I am populating a webview with the loaddata option but special characters such as ' for quotation mark aren't showing up and end the display.

[android-developers] Re: Compiling G1 firmware from source and then re-flashing G1

2009-01-27 Thread Jean-Baptiste Queru
Yes, you need to have a USB connection between your device and your PC. Disconnect has a good write-up about fastboot: http://andblogs.net/fastboot/ JBQ On Tue, Jan 27, 2009 at 5:46 AM, Graeme graeme.br...@btinternet.com wrote: Hi Jean-Baptiste Thanks for your reply. I assume the G1 phone

[android-developers] Re: Adding padding between buttons in a LinearLayout

2009-01-27 Thread Inderjeet Singh
Hi Christoph, Great to hear from you and thanks for the reply! layout_margin was exactly what I needed. Inder On Mon, Jan 26, 2009 at 8:59 AM, Christoph Studer chstu...@gmail.com wrote: Hello Inder, nice to see you here. :-) padding{Left,Top,Right,Bottom} is - like in CSS - within the

[android-developers] Re: JavaScript XMLHTTPRequest

2009-01-27 Thread Tez
Hi, Basically, AJAX calls are not allowed within the android web view I implemented a native layer that intercepted the calls and transferred actual data using android apis Cheers, Earlence On Jan 27, 8:58 am, kevin kevin_x...@yahoo.com wrote: I am trying to use javascript XMLHTTPRequest

[android-developers] Audio Streaming Integration

2009-01-27 Thread Tez
Hi, How can I integrate the cupcake audio streaming code into the existing android sdk? Cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Android Developers Available For Hire?

2009-01-27 Thread Peli
Hi, Depending on what kind of projects you envision, we could probably help you: For open source projects - www.openintents.org For closed source projects - www.openintents.biz Peli On Jan 27, 2:03 pm, phandroid robjackso...@gmail.com wrote: My name is Rob Jackson and I run phandroid.com and

[android-developers] Re: Audio Streaming Integration

2009-01-27 Thread Jean-Baptiste Queru
You can't. You'll have to wait for an SDK built form the cupcake code base, and there is currently no such thing. JBQ On Tue, Jan 27, 2009 at 5:56 AM, Tez earlencefe...@gmail.com wrote: Hi, How can I integrate the cupcake audio streaming code into the existing android sdk? Cheers,

[android-developers] Re: how to display alert message when some one clicks on back button

2009-01-27 Thread Mark Murphy
manoj wrote: can you please show me the sample code? ApiDemos/src/com/example/android/apis/app/AlertDialogSamples.java in your SDK's samples/ directory uses AlertDialog.Builder. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0

[android-developers] Re: XMLHttpRequest in WebView

2009-01-27 Thread kevin
I am having the same question, Is AJAX supported by WebView ? Thanks, Kevin --~--~-~--~~~---~--~~ 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: What kind of device should Linux udev set up for G1 linked via USB

2009-01-27 Thread Faber Fedor
On Tue, Jan 27, 2009 at 6:56 AM, Graeme graeme.br...@btinternet.com wrote: Hi Faber Well trying again after this post, i did have some sucess On fedora 10. Congrats! I am using /etc/udev/rules.d/50-android.rules file : SUBSYSTEM==usb,ATTR{idVendor}==0bb4,ATTR{idProduct}

[android-developers] spinner click problem

2009-01-27 Thread Honest
I made a one screen by using xml file. I had a 2 TextView and `1 spinner one the screen but i am facing some proble with spinner. I hope some one will help me in this. 1) how can i add elements in the list ? 2) whenever i clicked on spinner at the botam it display something like textbox and i

[android-developers] Re: i18n - Extracting String-Resources to a Jar - Referencing problem

2009-01-27 Thread plusminus
Anyone? =( On Jan 27, 12:55 am, plusminus stoeps...@gmx.de wrote: Hi all, I'm just about to start externalizing all my String-resources to a new project and then bring them back by including the exported jar-file of this 'i18n'-project. Doing soi18nfor different languages becomes easier (I

[android-developers] Re: spinner click problem

2009-01-27 Thread Peli
Have you looked at the API demos for Spinner? Peli www.openintents.org On 27 Jan., 16:01, Honest honestsucc...@gmail.com wrote: I made a one screen by using xml file. I had a 2 TextView and `1 spinner one the screen but i am facing some proble with spinner. I hope some one will help me in

[android-developers] Re: # special characters in webview

2009-01-27 Thread Bob
Great. that seems to largely resolve it. Thanks! On Jan 27, 8:02 am, Mark Murphy mmur...@commonsware.com wrote: Bob wrote: Hi, I am populating a webview with the loaddata option but special characters such as ' for quotation mark aren't showing up and end the display.  What am I doing

[android-developers] Re: i18n - Extracting String-Resources to a Jar - Referencing problem

2009-01-27 Thread Peli
I don't fully understand how your jar file is organized. Does it contain the res/values/strings.xml files for various languages? (.../values-de/..., etc.?) Does packaging into a apk file work properly with your structure? Why not keep everything in the structure, but copy the language-

[android-developers] Re: Is there any way to know application updates?

2009-01-27 Thread Peli
Another option is OI Update. Depends on whether you rather like more aggressive notifications (some of which may be false), or notifications sent by the developer directly (but not all may participate). Peli www.openintents.org On 27 Jan., 14:25, wataru wataru2...@gmail.com wrote: Search

[android-developers] Re: Market for paid Apps - Identifying customers

2009-01-27 Thread john
I am wondering this as well. Obviously, Google will need to provide the developer / seller of the app with some kind of unique identifier for licensing purposes. Otherwise, licensing will be impossible. I just hope that information on this process will become available well before the paid

[android-developers] Re: Market Process

2009-01-27 Thread john
I am wondering this as well. Obviously, Google will need to provide the developer / seller of the app with some kind of unique identifier for licensing purposes. Otherwise, licensing will be impossible. I just hope that information on this process will become available well before the paid

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-27 Thread Christoph Studer
I was looking for something like DateUtils for my application. I think this class is not in the current SDK, but only available in cupcake. Christoph On Tue, Jan 27, 2009 at 10:32 AM, Jeffrey Sharkey jeffrey.shar...@gmail.com wrote: Another quick tip regarding localization is that the

[android-developers] Retrieve a database from the network

2009-01-27 Thread Billy Bob
Hello, I'd like to use an existing sqlite3 database created outside of the phone, on a computer reachable by Wifi. I know how to download the file using Socket. The problem I see is that android.database.sqlite classes access databases only in /data/data/package_name/databases and it does not

[android-developers] Re: i18n - Extracting String-Resources to a Jar - Referencing problem

2009-01-27 Thread plusminus
Hi Peli, the 'i18n-string'-project just contains a couple of res-folders: /res /strings/ /strings-de/ /strings-fr/ The original project (which now lacks all String-resources) completely fails to compile. I'm doing this, because I want to host the 'i18n-string'-project on a separate

[android-developers] Re: Search engine app for Android? It's in Perst 4.0 embedded database

2009-01-27 Thread loty
What's wrong with SQLite? On Jan 26, 8:11 pm, Ted mcobj...@gmail.com wrote: Looking for a way to integrate full-text search and fast, lightweight data management with your Android applications? The new Perst 4.0 open source, object-oriented embedded database system brings native full-text

[android-developers] Re: Market for paid Apps - Identifying customers

2009-01-27 Thread deepdr...@googlemail.com
I second the motion for test transactions! On 27 Jan., 16:51, john jbatk...@gmail.com wrote: I am wondering this as well. Obviously, Google will need to provide the developer / seller of the app with some kind of unique identifier for licensing purposes. Otherwise, licensing will be

[android-developers] Very Large Views

2009-01-27 Thread adamjernst
Let's say I use a ScrollView to pan over a very large view. The large view draws itself dynamically in onDraw(). Is there a practical limit to the size of the view? That is, are view contents cached or buffer-backed and can I turn that off? --~--~-~--~~~---~--~~

[android-developers] Re: Very Large Views

2009-01-27 Thread Romain Guy
Views themselves are not double-buffered but the window is and the drawing cache (sort of double buffering used by animations and some forms of scrolling) is automatically disabled when the View is too big. The only limits that I can think of are: - The dimension of the View, which cannot exceed

[android-developers] Rotation Redux (resolved!)

2009-01-27 Thread Ward Willats
Thanks to a clever colleague here who suggested this. Since sub-activities inherit any android:screenOrientation set on their launching parent in the manifest, if you lock the parent one way but want the user to be able to control the orientation of the child, you need an explicit constant

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-27 Thread Al Sutton
It's only a US patent and the world is a big place. All it means is that if anyone has a Multi-Touch innovation and wants to play it safe will stay out of the US market. Welcome to America, the land of the free, well, as long as you have the right lawyer that is. Al. robotissues wrote: via

[android-developers] Bug in android browser

2009-01-27 Thread factfinder
There is an apparent bug in the android browser as installed on the T Mobile Gphone. When loading a web page containing an embedded map, the browser takes forever to load. Scrollng down reveals that the container of the embedded google map is infinitely tall. the content is not distorted, but a

[android-developers] Re: Android Challenge!! Can you correct this 1 line ?????

2009-01-27 Thread marc...@android.com
I don't think you can delete using the inbox Uri. Try deleting content://sms/7 or content://sms/raw/7 instead. On Jan 26, 10:30 pm, ipeg.stud...@gmail.com wrote: Please help Me!!!       I am stuck with a small problem for several days, I am unable to delete any SMS.      The error is in

[android-developers] How To send Email with android ??

2009-01-27 Thread XTPL.Java
hello every one..! my self T.D.patel from india ... i m learning Android... plz help me to solve following problems .. (1) clear sms notification icon from status bar .. (2) Android 1.0 Code - How to record voice from android phone . (3) code - how to send email from android phone ?

[android-developers] ListActivity loses selected item position if behind a submenu

2009-01-27 Thread Tote
I have a ListActivity backed by an Adapter, which is NOT a SimpleCursorAdapter, but an extension of BaseAdapter. I create my own view in the adapter's GetView() method, which builds up a list on-the- fly. Now I have a menu structure when this list is in focus. This menu structure contains a

[android-developers] UnknownHostException while Connecting to URL

2009-01-27 Thread Mathias
Hi, I'm trying to read a file via http. (http://www-lehre.inf.uos.de/ ~mmenning/balingen.ts). I wrote a Connector Class: package gip.android.ogl; import java.io.IOException; import java.io.InputStream; import java.net.URL; import android.util.Log; public class DataConnectorTS {

[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread Dianne Hackborn
Could you please move this over to open of the open source groups such as android-platform? This group is for discussions about programming with the SDK. Thanks! On Tue, Jan 27, 2009 at 2:58 AM, laubea...@googlemail.com laubea...@googlemail.com wrote: Hi Dianne, I was looking for the

[android-developers] Re: ListActivity loses selected item position if behind a submenu

2009-01-27 Thread Romain Guy
It's normal and expected. The menu is a global menu and not a contextual menu. If you want to perform contextual actions, either use a long press + contextual menu on a ListView item or use ListView's choice mode. On Tue, Jan 27, 2009 at 2:23 AM, Tote tot...@gmail.com wrote: I have a

[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread Dianne Hackborn
(Btw, there have already been numerous discussions on this lists about provisioning.) On Tue, Jan 27, 2009 at 9:54 AM, Dianne Hackborn hack...@android.comwrote: Could you please move this over to open of the open source groups such as android-platform? This group is for discussions about

[android-developers] Re: Adding padding between buttons in a LinearLayout

2009-01-27 Thread kuldipsinh chauhan
y should use AbsoluteLayout instead of using LinearLayout On Tue, Jan 27, 2009 at 3:19 PM, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: Hi, you can try to add a simple View object between the two Buttons. I found this snippet in the Android source code: Button

[android-developers] Apple Granted Multitouch Patent

2009-01-27 Thread robotissues
via Slashdot .. http://yro.slashdot.org/article.pl?sid=09%2F01%2F27%2F024242from=rss Does this really put the kabosh on multitouch on Android for the next 18 years? Anyone out there have any thoughts on this? www.smileproject.com --~--~-~--~~~---~--~~ You

[android-developers] Re: i18n - Extracting String-Resources to a Jar - Referencing problem

2009-01-27 Thread Dianne Hackborn
So you're saying that you moved the string resources out of your project, and now other resources that are referencing those strings are now failing? If so, that is what I would expect. :} The new aapt in Cupcake allows you to specify multiple paths to search for resource definitions; you could

[android-developers] Internet maps on Emulator

2009-01-27 Thread swapnil . dalal
Hello all, I am trying to browse the Internet on Emulator but not able to do so. I am working on Windows XP right now. I have given following command before starting the Browser. adb.exe shell sqlite3/data/data/com.google.android.providers.settings/ databases/settings.db INSERT INTO system

[android-developers] How to change the ListView black top/bottom fade effect color.

2009-01-27 Thread Moto
Hello all! Well, I wanted to see if I could change the top/bottom wrap fading effect seen on most long scrolling components. In this case I would like to change the color from black to whatever color I desire on a ListView. Is this possible? Thanks, Moto!

[android-developers] Query bluetooth devices. It is possible?

2009-01-27 Thread porzino
Hi, I know there isn't bluetooth API in 1.0 SDK, but I have a doubt. I need to know the visible bluetooth devices. That is, I only need do a scan of the bluetooth devices and save the diferent addresses. I don't need connect to them. I have read here

[android-developers] Re: Bug in android browser

2009-01-27 Thread Jean-Baptiste Queru
You'll have better success getting your bug looked at if you file a bug report at http://b.android.com and if you build the smallest possible example that exhibits that problem. Thanks, JBQ On Tue, Jan 27, 2009 at 8:55 AM, factfinder howardtheb...@gmail.com wrote: There is an apparent bug in

[android-developers] Re: Query bluetooth devices. It is possible?

2009-01-27 Thread Nick Pelly
Hi, There is no way to do this through the Java SDK API right now. Sorry. Nick On Tue, Jan 27, 2009 at 9:56 AM, porzino alberto.mig...@gmail.com wrote: Hi, I know there isn't bluetooth API in 1.0 SDK, but I have a doubt. I need to know the visible bluetooth devices. That is, I only need

[android-developers] Setting locale at runtime

2009-01-27 Thread Timothy DeWees
I've running into issues where I've localized my application but someone in the UK buys an unlocked phone localized for the US. I would like my users to be able to set the Locale of my application so my locale-based settings will be used. I've read that cupcake will allow the users to

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-27 Thread JP
I speculate one of the reasons that multi-touch was not in the Android package because the patent was pending. I predict that noone outside Apple will touch multi-touch even with a 10ft. pole (pun intended). The bigger issue in my view is gesture-based scrolling, which *is* part of Android and

[android-developers] Re: Market Process

2009-01-27 Thread Sundog
Indeed, release of any of the basic nuts-and-bolts information appropriate to a venture of this magnitude, affecting so many people's business and development plans and bottom lines, would be reassuring. I hope I said that politely enough. On Jan 27, 8:52 am, john jbatk...@gmail.com wrote: I am

[android-developers] Re: Audio Streaming Integration

2009-01-27 Thread Dave Sparks
If you are really ambitious, you can download the Cupcake source, unhide all the new API's and build the SDK yourself. However, that is a topic for a different list. On Jan 27, 5:58 am, Jean-Baptiste Queru j...@google.com wrote: You can't. You'll have to wait for an SDK built form the cupcake

[android-developers] Re: the problem with libopencoreplayer.so when compile Android source code

2009-01-27 Thread Dave Sparks
This message is off-topic, this forum is for application developers. Try the android-framework list. On Jan 26, 10:53 pm, bardshen bard.s...@gmail.com wrote: Dear Sirs:     when i try to build the Android source code download from internet use repo. i meet the following problem:    

[android-developers] Can I manage making a call or sending a text?

2009-01-27 Thread Mingyu Kim
Can I know when the user tries to make a call or send a text? and if I can, how can I block the call or the text? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Reusing the +/- number spinner from TimePickerDialog?

2009-01-27 Thread nyenyec
Hi, Is there an easy way to reuse the number selector with the plus/minus buttons from TimePickerDialog? Thanks, nyenyec --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-27 Thread Jason Van Anden
I did a little digging since posting this. A developer at Microsoft named Bill Buxton has an interesting time line on the history of multi touch ... I think that this suggests that one (with deep pockets and the motivation) might be able to argue prior art:

[android-developers] Re: How to change the ListView black top/bottom fade effect color.

2009-01-27 Thread James Yum
Hi, Please read this blog post: http://android-developers.blogspot.com/2009/01/why-is-my-list-black-android.html android:cacheColorHint might work for you. Cheers, James On Tue, Jan 27, 2009 at 9:56 AM, Moto medicalsou...@gmail.com wrote: Hello all! Well, I wanted to see if I could change

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-27 Thread Al Sutton
The most intelligent solution would be disabling it in the firmware shipped in the US. Most handst manufacturers are based in the far east, T-Mobile can ship them to whomever they want outside the US, and developers working outside the US can continue to work on it. The same approach was used

[android-developers] Re: Audio in the emulator...

2009-01-27 Thread Breno
Hey Andrei, To record audio it's pretty easy. But, you must record in sdcard, only. Be sure your path to file it's pointing to sdcard, and you have one mounted in eclipse (or something else). It's working perfectly. Regards Breno On Jan 15, 8:58 am, Andrei Craciun

[android-developers] Re: FrameLayout and positioning children

2009-01-27 Thread skink
basically i don't like the idea i'm using there: setting layout_marginTop in panelHandle children. can it be done in some clever way? hi, actually the subject is incorrect: it should refer to LinearLayout not FrameLayout. i noticed that when i replace id/panelHandle children in my

[android-developers] Re: i18n - Extracting String-Resources to a Jar - Referencing problem

2009-01-27 Thread plusminus
Yes it seems like this (sadly) is not possible. Sounds like I have to do copy-pasting for now :( Best Regards, plusminus On 27 Jan., 12:50, Dianne Hackborn hack...@android.com wrote: So you're saying that you moved the string resources out of your project, and now other resources that are

[android-developers] Re: ellipsize not working with TextView

2009-01-27 Thread James Yum
Hi Mark, Try android:singleLine=true instead of android:maxLines=1 Cheers, James On Mon, Jan 26, 2009 at 7:48 PM, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: just tried that. no change. Still does not display the ..., just truncates the text. On Jan 26, 6:15 pm, Romain Guy

[android-developers] Border around a LinearLayout / rounded edges

2009-01-27 Thread code_android_festival_way
Hello. I'm not very experienced in Java. Is there an easy possibility to get a border and round edges around a LinearLayout? (perhaps with XML parameters) Or do I have to draw my own widgets. Thank you for your help. Regards. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Query bluetooth devices. It is possible?

2009-01-27 Thread porzino
:( OK, thanks On 27 ene, 19:12, Nick Pelly npe...@google.com wrote: Hi, There is no way to do this through the Java SDK API right now. Sorry. Nick On Tue, Jan 27, 2009 at 9:56 AM, porzino alberto.mig...@gmail.com wrote: Hi, I know there isn't bluetooth API in 1.0 SDK, but I have a

[android-developers] Query regarding the listner event in a AlertDialog

2009-01-27 Thread parth Chothani
hey friends, i am taking an xml file in a AlertDialog.the xml file contains table with 6 rows.how can i set listener on a particular row of the table? Here the xml file is displayed in a new View. The rows of the table are part of this view.so how can i set listener in a row?plz reply as soon as

[android-developers] Re: ellipsize not working with TextView

2009-01-27 Thread Mark Nuetzmann
darn, that didn't work either. On Jan 27, 1:28 pm, James Yum j...@google.com wrote: Hi Mark, Try android:singleLine=true instead of android:maxLines=1 Cheers, James On Mon, Jan 26, 2009 at 7:48 PM, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: just tried that.  no change. Still

[android-developers] Re: SAXParser getting stuck on certain characters

2009-01-27 Thread 3D
Help please. On Jan 25, 11:18 pm, 3D ernestgfre...@gmail.com wrote: I'm using a SAXParser to parse an XML document and its getting stuck on certain symbols like the 'trademark' symbol and I think even double- quotes .  I really don't need these characters so it would be fine if the parser

[android-developers] Re: SAXParser getting stuck on certain characters

2009-01-27 Thread Tim Bray
On Tue, Jan 27, 2009 at 12:10 PM, 3D ernestgfre...@gmail.com wrote: I'm using a SAXParser to parse an XML document and its getting stuck on certain symbols like the 'trademark' symbol and I think even double- quotes . I really don't need these characters so it would be fine if the parser

[android-developers] Eclipse kills running app with exit(1)

2009-01-27 Thread blindfold
While developing and debugging an app with Eclipse and running the app on the physical phone via the USB cable, it is easy to forget to first manually quit the app before launching a freshly recompiled APK from Eclipse. I find that the system then brutally calls exit(1) on the running app before

[android-developers] exit button - or not?

2009-01-27 Thread deepdr...@googlemail.com
Hi there, I wonder: should an Android application have an exit button (or menu function) or not? Ok, if there's some service or other resources consuming something running in the background I think the user should have an option to make it stop. But what about an application that would just sit

[android-developers] my application is trying to replace Android System

2009-01-27 Thread CJ
after i got my application ready, i put it on my web server, then i got a big problem. i played around and finally find out couple facts between using edge (not 3g) and wifi to download my file 1. the size different. if i use wifi, the downloaded file is 59k which is correct, the one from edge is

[android-developers] Re: exit button - or not?

2009-01-27 Thread Dianne Hackborn
Simple: no. :) (You can look at the built-in apps for a very clear guide on this, none of them have an exit option.) On Tue, Jan 27, 2009 at 12:34 PM, deepdr...@googlemail.com deepdr...@googlemail.com wrote: Hi there, I wonder: should an Android application have an exit button (or menu

[android-developers] Re: exit button - or not?

2009-01-27 Thread Dianne Hackborn
Oh and there isn't even API to have your app quit, anyway, so you couldn't even implement how you seem to want. In fact that concept of quit just doesn't exist in Android. On Tue, Jan 27, 2009 at 1:51 PM, Dianne Hackborn hack...@android.comwrote: Simple: no. :) (You can look at the built-in

[android-developers] Re: exit button - or not?

2009-01-27 Thread Coredumped
There is a way to stop an activity from running, just use the finish() method. On Jan 27, 3:34 pm, deepdr...@googlemail.com deepdr...@googlemail.com wrote: Hi there, I wonder: should an Android application have an exit button (or menu function) or not? Ok, if there's some service or other

[android-developers] Re: Measuring Views

2009-01-27 Thread Alexey
Well it's seems to me if I set my text into TextView in on dispatchDraw (Canvas canvas) everything is measuring and splitting correctly On Jan 26, 9:50 pm, Alexey avolo...@gmail.com wrote: Now i'm thinking it'll be easier to make calc in the constructor based on image size and screen. not very

[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread laubea...@googlemail.com
Hi Dianne, Will do. Sorry for the noise. Thanks. Laurent On Jan 27, 6:54 pm, Dianne Hackborn hack...@android.com wrote: (Btw, there have already been numerous discussions on this lists about provisioning.) On Tue, Jan 27, 2009 at 9:54 AM, Dianne Hackborn hack...@android.comwrote:

[android-developers] Finding a ViewGroup within another ViewGroup

2009-01-27 Thread steele johnson
Does anyone know how to find a ViewGroup within another ViewGroup at runtime? If I have a Layout file (xml layout), how can I get a reference to a nested Layout? Example: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/layout_1

[android-developers] Re: Finding a ViewGroup within another ViewGroup

2009-01-27 Thread Romain Guy
Just use findViewById(R.id.layout_2) :) On Tue, Jan 27, 2009 at 2:47 PM, steele johnson jsal...@gmail.com wrote: Does anyone know how to find a ViewGroup within another ViewGroup at runtime? If I have a Layout file (xml layout), how can I get a reference to a nested Layout? Example:

[android-developers] Finding a ViewGroup within another ViewGroup

2009-01-27 Thread steele johnson
Does anyone know how to find a ViewGroup within another ViewGroup at runtime? If I have a Layout file (xml layout), how can I get a reference to a nested Layout? Example: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/layout_1

[android-developers] Re: Finding a ViewGroup within another ViewGroup

2009-01-27 Thread steele johnson
Hmm, layout_2 doesn't appear in the id list. On Jan 27, 5:49 pm, Romain Guy romain...@google.com wrote: Just use findViewById(R.id.layout_2) :) On Tue, Jan 27, 2009 at 2:47 PM, steele johnson jsal...@gmail.com wrote: Does anyone know how to find a ViewGroup within another ViewGroup at

[android-developers] Re: Finding a ViewGroup within another ViewGroup

2009-01-27 Thread Romain Guy
Then you should rebuild your project to force the update of R.java. On Tue, Jan 27, 2009 at 2:52 PM, steele johnson jsal...@gmail.com wrote: Hmm, layout_2 doesn't appear in the id list. On Jan 27, 5:49 pm, Romain Guy romain...@google.com wrote: Just use findViewById(R.id.layout_2) :) On

  1   2   >