[android-developers] Re: Context of a class

2009-01-27 Thread suhas gavas
make object of the class in which u have to use the context . Then pass as parameter this to the class And the class in which u have to use conext should have constructor as parameter context in it e.g class activity extends Activity { Viewclass myclass; public on

[android-developers] Re: Context of a class

2009-01-27 Thread suhas gavas
make object of the class in which u have to use the context . Then pass as parameter this to the class And the class in which u have to use conext should have constructor as parameter context in it e.g class activity extends Activity { Viewclass myclass; public on

[android-developers] Context of a class

2009-01-27 Thread Immy
Hi, Can anyone tell me how to access context of a class which is not an activity? Thanks, Immanuel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

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

2009-01-27 Thread Nock
I want to ask same question. Recently I found some applications which has only Japanese title and description note. The system and our phones seems able to handle such codes (UTF-8?) correctly, but many people confused to see it. Of course, current market system still not yet support Japanese, b

[android-developers] How to Code following logic to make a turning effect of page.

2009-01-27 Thread tahera rabadi
hello, Here, i m proposing a logic to make a turn over of page http://www.codeproject.com/KB/GDI-plus/TurnThePage/turn_the_page2.gif but how to implement it in android. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-developers] Re: how to create Page turn effect

2009-01-27 Thread tahera rabadi
Thank you very much Stoyan Damovwill surely try to make your suggestion in process On Wed, Jan 28, 2009 at 6:01 AM, Stoyan Damov wrote: > > Try googling for "page flip effect". It's not for the faint of heart, > but is not terribly hard to do either - get the back of the page, skew > it,

[android-developers] ADC Top 10 Winner Looking for New ADC 2 Teammates

2009-01-27 Thread Chris
Our team, Life360, is looking to add to our group for the upcoming ADC2. If you are an Android fanatic and want a jumpstart on the next competition shoot me an email. We have a few pretty big legs up, such as: -In House design, dev, and product teams -Dataset of judge behavior from our winning A

[android-developers] Re: how to set width of gridview from java code(dynamically)

2009-01-27 Thread kuldipsinh chauhan
On Wed, Jan 28, 2009 at 11:23 AM, jj wrote: > > how to set width of gridview from java code(dynamically), > is there any function to specify the width of grid view dynamically. > thank you > > > make the object of Griedview and objname.setWidth(int size);use this method --~--~-~--~~-

[android-developers] How to mute the player when I got an incoming call?

2009-01-27 Thread manoj
Hi friends, I have written a small player application. I want to handle incoming calls in my application. Actually while player plays some media file, if an incoming call comes, then my player should mute the volume and when the incoming call is done, the player should unmute the volume. Can

[android-developers] How to implement onKeyDown() for KEYCODE_BACK

2009-01-27 Thread manoj
Hi, I want to show some alert message when some one clicks on back button. Actually I am using it in a class which extends TabActivity. I implemented the kode as public boolean onKeyDown(int keyCode, KeyEvent event) { System.out.println("(onKeyDown) is called in RadioC

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

2009-01-27 Thread shimo...@gmail.com
Hi, Would be delighted to discuss working on this. http://www.shsh.com Shimon On Jan 27, 3:03 pm, phandroid wrote: > 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 fre

[android-developers] Re: how to enable internet access in emulator v1.0

2009-01-27 Thread sheik
U need to fill the same data in the SOCKS proxy and add the ipaddress below 127.0.0.1. On Jan 28, 10:53 am, Ravi Patil wrote: > hi... > I am unable to connect to internet after changing to 111... > what i did is.. > step 1: went to Command prompt > step 2: change path to android SDK tools folde

[android-developers] Re: how to enable internet access in emulator v1.0

2009-01-27 Thread Ravi Patil
hi... I am unable to connect to internet after changing to 111... what i did is.. step 1: went to Command prompt step 2: change path to android SDK tools folder step 3: Run the command adb.exe shell sqlite3 /data/data/ com.google.android.providers.settings/ databases/ settings.db "INSERT INTO syst

[android-developers] how to set width of gridview from java code(dynamically)

2009-01-27 Thread jj
how to set width of gridview from java code(dynamically), is there any function to specify the width of grid view dynamically. thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

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

2009-01-27 Thread Dianne Hackborn
Yeah there are two big things I have on my priority list to address this: - Some facility to figure out which applications are draining your battery. - A way to entirely force stop an application: kill all its processes, stop all its services, unregister its alarms, remove its notifications, etc.

[android-developers] Re: Instead of waiting.

2009-01-27 Thread EboMike
I shouldn't really feed the trolls, but that post has me intrigued. What is "that game Google and T-Mobile" are playing? First of all, T- Mobile? What do they have to do with anything? And what's said "game"? On Jan 27, 9:17 pm, Alexey wrote: > So you'd rather delayed the release of the phone

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

2009-01-27 Thread EboMike
A task manager isn't really essential for Android. I think I mostly need it to get rid of bad apps - I typically have enough RAM left for all my apps to run, but sometimes I just don't WANT them to run because they are badly written and seem to hog CPU time (i.e. they're running a worker thread th

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

2009-01-27 Thread Dianne Hackborn
In general, just going through a couple heavy applications (web browser, maps, camera) without pressing back will remove previous apps as much as any "task manager" kind of program that you use to kill processes. The system will kill the background app's process as it needs memory for the other ap

[android-developers] Re: Instead of waiting.

2009-01-27 Thread Alexey
So you'd rather delayed the release of the phone until all those features are implemented ? And than somebody will come with different features set and another one .. Phone was released like 3 months ago. Again.. THREE months ago. And it's far better dev platform than winmo . So i guess little pa

[android-developers] Re: centering in linearlayout

2009-01-27 Thread Bob
Figured it out: android:layout_gravity="center_horizontal" On Jan 27, 6:58 pm, Bob wrote: > Hi, > How do I place a TextView in the center of a horizontal LinearLayout? > > Thanks, > Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to

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

2009-01-27 Thread EboMike
The "Task Manager for Root Users" app works just fine for the purpose, no point for every single application to implement its own custom exit functionality. That said, a task manager is somewhat of a necessity to get rid of rogue apps that feel like onPause() doesn't apply to them and have some th

[android-developers] Re: Retrieve a database from the network

2009-01-27 Thread Michael MacDonald
static SQLiteDatabase SQLiteDatabase openOrCreateDatabase comes in flavors that take a java.io.File or a String path Billy Bob wrote: > 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 usin

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

2009-01-27 Thread Nock
Sounds good. Thanks for information. I'll try both! Nock On Jan 28, 12:48 am, Peli wrote: > 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 par

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

2009-01-27 Thread technick
It would be nice to have a will to exit applications IMHO On Jan 27, 3:34 pm, "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 resources consuming something > running

[android-developers] Cannot View Images from SD Card Image on Emulator

2009-01-27 Thread th3.mik...@googlemail.com
Hello all, I have just started learning to develop for the G1 after two weeks of joyful us of my actual G1. I have however, come across a stumbling block in my development learning. I have successfully emulated an SD Card on the emulator. However, now, after saving an image from the browser to t

[android-developers] PMD rules for Android platform

2009-01-27 Thread Xavier Le Vourch
Hi, I have written a few PMD rules to deal with calling super in the onCreate, onStart, ... methods and also to protect the calls to Log.d and Log.v (protected by calls to Config.LOGD and Config.LOGV respectively). This is based on a quick look at some of the SDK source code. I'm not too sure ab

[android-developers] Applications copy protection

2009-01-27 Thread Robin Bad
I didn't find any information about how works app copy protection. Where can I read something about it? --~--~-~--~~~---~--~~ 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: G1 detected as 'offline' by Eclipse plugin

2009-01-27 Thread Hypercreature
Hey GiladH, I'm having the same problem. How did you fix it? A restart or something? Thanks. On Dec 2 2008, 10:15 am, GiladH wrote: > Problem resolved. > Probably due to improper USB driver installation. > > On Dec 1, 10:34 pm, GiladH wrote: > > > Guys, > > > I can debug my app just fine with t

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

2009-01-27 Thread Neal McBurnett
I've tried to add a bit more context, at this wiki page about fastboot which was based on Disconnect's site: http://android-dls.com/wiki/index.php?title=Fastboot and I would love to see more folks help document the lower parts of the stack. On Jan 27, 6:49 am, Jean-Baptiste Queru wrote: > Yes,

[android-developers] Re: Apple Granted Multitouch Patent

2009-01-27 Thread technick
The US is in need of some major copyright reform. Apple should of never been granted the patient on multi-touch interfaces, as its the next natural progression from a single touch interface. On Jan 27, 2:05 pm, Al Sutton wrote: > The most intelligent solution would be disabling it in the firmwar

[android-developers] Instead of waiting.

2009-01-27 Thread metrodrive...@gmail.com
Hello! With all this rumors about CUPCAKE release date, and now that it may not be released, to all Developers, PLEASE MAKE AN APPLICATION THAT WILL RECORD VIDEO & ANOTHER THAT WILL VERBALLY READ IN-COMING TEXT MESSAGES AND VERBALLY ANNOUNCE WHO IS CALLING...Like the Windows Mobile 6.0 "Voice

[android-developers] How to capture ACTION_MOVE MotionEvents in a view

2009-01-27 Thread info.sktechnol...@gmail.com
If I setOnTouchListener for a view the only events I get are ACTION_DOWN events. What do I need to do to capture ACTION_MOVE events which should occur when the user drags a finger across the view? --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: Eclipse Plug-in Site down?

2009-01-27 Thread Mafian911
Anyone get anywhere on this? I am still having this problem. On Jan 7, 1:27 pm, PeeWee Sperman wrote: > Did you ever get this fixed. I'm having the same problem after > researching this thread entirely. The repository is still down and I > have instaalled all the proper software SDK, ADT's etc.

[android-developers] Still no solution

2009-01-27 Thread Mafian911
I too am experiencing this problem. Anyone get anywhere? --~--~-~--~~~---~--~~ 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 unsubscri

[android-developers] centering in linearlayout

2009-01-27 Thread Bob
Hi, How do I place a TextView in the center of a horizontal LinearLayout? Thanks, Bob --~--~-~--~~~---~--~~ 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

[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 9:47 AM, Faber Fedor wrote: > On Tue, Jan 27, 2009 at 6:56 AM, Graeme wrote: > >> >> A Guy on IRC #android-dev said I should run adb with root permissions >> so: >> >> adb kill-server; sleep 1; sudo adb start-server; > > And I foundthe answer to that problem here: http://c

[android-developers] Re: How To Custom Horizontal Scroll?

2009-01-27 Thread Moto
Well what can I say thanks all for the input! and to bring all this issue to an end I figured out a way to make this shaking issue go away! with only 2 lines of code! not sure how well it would work for other things but in my case it works like a charm! So here is the secret! Before we had this

[android-developers] Re: how to create Page turn effect

2009-01-27 Thread Stoyan Damov
Try googling for "page flip effect". It's not for the faint of heart, but is not terribly hard to do either - get the back of the page, skew it, throw some blending for the "bend" effect and you're done. The implementation is left as the dreaded exercise for the reader :P Cheers On Tue, Jan 27,

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

2009-01-27 Thread blindfold
> Also note that calling Activity.finish() doesn't actually quit the process, > so the OS is still in charge of managing when the process goes away. That's why I am still using System.exit(0); at the end of onDestroy() to also kill the process, because my app somehow leaks memory from run to run,

[android-developers] Success! (Partial, anyway) 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 wrote: > > Hi Faber > > Well trying again after this post, i did have some sucess On fedora > 10. And I have had success under CentOS 5! Ladies and Gentlemen, I give you a working 50-android.rules file: SYSFS{idVendor}=="0bb4", SYSFS{idProduct

[android-developers] Re: Can you play a local video not on the sdcard?

2009-01-27 Thread Marco Nelissen
Playback/decoding actually happens in a different process (the media server), so that process needs to have permission to read your file. On Tue, Jan 27, 2009 at 4:01 PM, devileper wrote: > > I can only get the VideoView to play videos on the sdcard, NOT local > to my application. Is there a p

[android-developers] Can you play a local video not on the sdcard?

2009-01-27 Thread devileper
I can only get the VideoView to play videos on the sdcard, NOT local to my application. Is there a permission requirement to get this working or can it only access the sdcard? Working: VideoView videoView = (VideoView) findViewById(R.id.video); videoView.setPath("/sdcard/video.mp4"); Not Workin

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

2009-01-27 Thread Marco Nelissen
Having a UI element for the user to select that then causes Activity.finish() to be called is no different from the user pressing the back button. In fact, this is what Activity.onKeyDown() does when you let the back key fall through. Also note that calling Activity.finish() doesn't actually quit t

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

2009-01-27 Thread James Yum
Hi, You can set the background to a 9-patch image: http://code.google.com/android/reference/available-resources.html#ninepatch It's fairly easy to create one yourself. Just make sure the outside 1-pixel area is completely empty except for the black lines. Or ... Create a file "res/drawable/my_b

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

2009-01-27 Thread Inderjeet Singh
In my app, I provide a top-level option to quit (using Activity.finish()), and I still think it is a good idea. I somehow have a feeling that this notion of OS managing everything behind the scenes is not going to work out too well in practice. Moreover, the users might prefer the option of being

[android-developers] Any plan to build some thing like Flex Builder for Android?

2009-01-27 Thread Videoguy
Hi I don't know whether this is the right forum. I am wondering whether Google has any plan to ship a screen painting tool as part of Android Eclipse plugin. If you have an application with 3 or 4 screens, it is not an issue whether you code it in Java or in XML layout file. If you are in a shop w

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

2009-01-27 Thread steele johnson
Ah doh! That was it. I suppose I should switch on 'Build Automatically'. Thanks for the help.. you guys are quick. ;) On Jan 27, 5:55 pm, Romain Guy wrote: > Then you should rebuild your project to force the update of R.java. > > > > On Tue, Jan 27, 2009 at 2:52 PM, steele johnson wrote: > > >

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

2009-01-27 Thread songs
Anyone? --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to android-develop

[android-developers] TextView - line break

2009-01-27 Thread Alexey
Is it possible to make TextView to break words in the middle and then move to another line, instead moving whole word that doesn't fit to the new line ? I have a width and number of lines of the TextView and a long string and want to calculate which portion of the String will fit exactly. the co

[android-developers] Market Feature Request for Developer

2009-01-27 Thread Timothy DeWees
I'm not sure where to add this but there are a few things I thought I would chime in on for market features for the developer: 1. Can we provide a method for the developer to view comments on the developer console 2. Can we provide a way for the developer to respond to comments (like, "I'm sorry

[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 wrote: > > Hmm, layout_2 doesn't appear in the id list. > > On Jan 27, 5:49 pm, Romain Guy wrote: >> Just use findViewById(R.id.layout_2) :) >> >> >> >> On Tue, Jan 27, 2009 at 2:

[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 wrote: > Just use findViewById(R.id.layout_2) :) > > > > On Tue, Jan 27, 2009 at 2:47 PM, steele johnson wrote: > > > Does anyone know how to find a ViewGroup within another ViewGroup at > > runtime? If I have a Layout

[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: http://schemas.android.com/apk/res/ android" android:id="@+id/layout_1" android:orientation="vertical" android

[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 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: > > http://schemas.and

[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: http://schemas.android.com/apk/res/ android" android:id="@+id/layout_1" android:orientation="vertical" android

[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 wrote: > (Btw, there have already been numerous discussions on this lists about > provisioning.) > > On Tue, Jan 27, 2009 at 9:54 AM, Dianne Hackborn wrote: > > > > > > > Could you please move this over

[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 wrote: > Now i'm thinking it'll be easier to make calc in the constructor based > on image size and screen. not very elegant though >

[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" 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 resources consuming

[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 wrote: > Simple: no. :) > > (You can look at the built-in apps for a very c

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

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

2009-01-27 Thread Ward Willats
Are you _sure_ your webserver is sending a "Content-Type" header for the APK of type "application/vnd.android.package-archive" ? (Based on the thread, I don't think it will help, but, it certainly won't work without it...) -- Ward >after i got my application ready, i put it on my web server,

[android-developers] How to add a calendar entry?

2009-01-27 Thread Markus Junginger
I would like to insert a new event (start time, end time, and event name) in the user's calendar. How can I do that? I have the impression, that the SDK does not have the API for it (yet), but the G1 has the APIs. Would the CalendarProvider class the way to go? See also: http://code.google.com/p/

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

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

[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 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 just skips over these

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

2009-01-27 Thread 3D
Help please. On Jan 25, 11:18 pm, 3D 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 just skips over these

[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 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 > > wrote: > > > just tried that.  no change. Still does not display the "..."

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

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

2009-01-27 Thread porzino
:( OK, thanks On 27 ene, 19:12, Nick Pelly 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 wrote: > > > Hi, > > > I know there isn't bluetooth API in 1.0 SDK, but I have a doubt. > > I need to know the

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

[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 wrote: > > just tried that. no change. Still does not display the "...", just > truncates the text. > > On Jan 26, 6:15 pm, Romain Guy wrote: >> Try changing t

[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 wrote: > So you're saying that you moved the string resources out of your project, > and now other resources that are referencing those st

[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: 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" wrote: > Thanks

[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: 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 wrote: > > Hello all! > Well, I wanted to see if I could change the top/bottom wrap

[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: http://www.billbuxton.com/multitouchOve

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

[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] 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 wrote: > Dear Sirs: >     when i try to build the Android source code download from internet > use repo. i meet the following problem: > >     external/opencore//an

[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 wrote: > You can't. You'll have to wait for an SDK built form the cupcake code > base, 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 wrote: > I am wondering this as

[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] 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 administer

[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 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 do > a scan of the bl

[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 wrote: > > There is an apparent bug in the android browser as

[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 http://groups.google.com/group/android-begin

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

[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 wrote: > > I have a ListActivity backed by a

[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] 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 tr

[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 ? th

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

[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 { priva

[android-developers] Apple Granted Multitouch Patent

2009-01-27 Thread robotissues
via Slashdot .. http://yro.slashdot.org/article.pl?sid=09%2F01%2F27%2F024242&from=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 r

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

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

  1   2   >