[android-developers] Re: requestLocationUpdates issue

2010-04-19 Thread Bob Kerns
What he's doing there is specific to using a timer. I'm sure internally, it tells the timer thread to stop processing tasks and exit, just like I outlined earlier. Generally speaking -- if you have a facility that provides a way to wake it up, when trying to end a task, it's good to wake it up so

[android-developers] Re: Is the bad MotionEvent/Touch slowdown stuff actually fixed on first-gen 2.1 updates?

2010-04-19 Thread Robert Green
I filed a bug for this here - http://code.google.com/p/android/issues/detail?id=7836 I believe I did a thorough job with the report. Please star it or comment on it if it affects you. Thanks! On Apr 19, 12:52 am, Robert Green wrote: > Excellent work, Mario.  I think it's quite clear that the

[android-developers] can develop in any phone ?

2010-04-19 Thread Jags
i am from afric. android phones have started selling here. if i buy a tattoo device [around 300$] i can use it for developing apps ? or devices which can be used for dev/debug apps are different from devices being sold in market ? -- You received this message because you are subscribed to the Goo

[android-developers] Re: ArrayIndexOutOfBoundException while reading the file

2010-04-19 Thread DonFrench
It looks like there are a lot of things wrong with this code but have you thought of logging the values of start and end immediately before the statement that crashes the program? This isn't really an Android question, by the way. On Apr 18, 10:41 pm, "pramod.deore" wrote: > hello everybody, I

[android-developers] Re: Paint issues with matrix.polyTopoly.

2010-04-19 Thread ricardolpd
Anyone??? Thanks for the help anyways On 14 Apr, 17:22, ricardolpd wrote: > Hello everyone, > > I need to draw some stuff in perspective and i need it to move it > around as well as moving the perspective effect, i found the nice > example polytopoly on the google samples, i made some chan

[android-developers] Permission

2010-04-19 Thread ReyLith
Hi! I am devoloping an application of image editor. I allways do it by using the resources in the drawable carpet. Now I changed it to use the resources in the SD card. I don't change the code of the image access but the program allways produce an error if I intent to set the value of a pixel. The

Re: [android-developers] Re: HTC Desire keyboard problem

2010-04-19 Thread Michael Rueger
On 4/18/2010 3:43 PM, jamesc wrote: Hi Michael It'll be the Sense UI's IME which has different behaviour to the stock Android IME. Sadly, I'd suggest that you get your hands on a Sense UI- Thanks for the hint, I found this issue for the problem: http://code.google.com/p/android/issues/detail?

[android-developers] Re: What's wrong with this location code?

2010-04-19 Thread patbenatar
Mike- Hahah--Word. I very much respect your position, although I do have to agree with John here... And as far as other possible location providers popping up anytime in the near future, new versions of the OS will have to accompany them, along with new versions of the SDK, which would prompt me,

[android-developers] Re: can develop in any phone ?

2010-04-19 Thread Kumar Bibek
You can test out your apps on any phone. Tattoo has a different screen size than the normal sizes available. That might be a little problem for you if you are starting off. But from development point of view, there is no reason why you shouldn't be able to test your apps on a Tattoo. Thanks and Re

[android-developers] Re: Avoid restarting http request on orientation change

2010-04-19 Thread patbenatar
Michael- An interesting approach indeed. Sounds a little hacky, though... Especially if the docs vaguely advise against it as you mention. A clever hack, though :) -Nick On Apr 17, 11:25 pm, Michael Elsdörfer wrote: > Depending on your specific needs, a service might make sense, but for > sim

[android-developers] Re: Pass ArrayList parameters between two activities.

2010-04-19 Thread Kumar Bibek
There's no simple way. You are on the right track. However, a cheap workaround would be to have this arraylist as a static variable of your source activity. This way, you can access this Array List from your destination activity Thanks and Regards, Kumar Bibek On Apr 19, 11:46 am, Ke Wu wrote:

[android-developers] Re: Android Appending Values Received From Server

2010-04-19 Thread Kumar Bibek
I think, you have a wrong logic in your program. Debug it through and check what the server is actually returning. If you have written the server program, check that as well. Thanks and Regards, Kumar Bibek On Apr 19, 10:35 am, Bob Kerns wrote: > What exactly do you mean by "second usage"? > >

[android-developers] Re: Compiling FFMpeg as NDK Shared library

2010-04-19 Thread sfomra
Would appreciate any help!!! On Apr 19, 3:16 am, sfomra wrote: > Has any one successfully compiled ffmpeg for use as a shared library?? > > I tried  the doing > whathttp://oo-androidnews.blogspot.com/2010/02/ffmpeg-and-androidmk.html > says but i keep getting > the following message on compile >

[android-developers] Re: how to depress the onLongClick() when drag a view

2010-04-19 Thread grace
hi, try disabling the longclick event using public void setLongClickable (boolean longClickable) function while ur performing the drag operation and enable it after that.. so that u can have both the functionalities.. regards, Grace. On Apr 19, 11:47 am, sheng wang wrote: > Hi, > > I have a V

[android-developers] Re: Settings application

2010-04-19 Thread FrankG
Hello Dianne, Can I read somewhere more about this handling of system settings and how is it designed ? Thanks alot ! Frank On 17 Apr., 00:26, Dianne Hackborn wrote: > Settings are stored in a lot of different places, depending on what they > are.  It is done for access control reasons (t

[android-developers] Re: how to depress the onLongClick() when drag a view

2010-04-19 Thread grace
hi, try disabling the longClick event using public void setLongClickable (boolean longClickable) function while ur performing the drag operation and enable it after that.. so that u can have both the functionalities.. Regards, Grace. On Apr 19, 11:47 am, sheng wang wrote: > Hi, > > I have a V

[android-developers] Aren't focus states supposed to bubble to child Views?

2010-04-19 Thread patbenatar
Hey all- When using a View within a View, for example an ImageView within a LinearLayout, both of which have xml drawable resources (the LinearLayout as a background) specifying PNG drawables to use for the on/off states, shouldn't children Views receive the focus state when their parent gets focu

Re: [android-developers] Re: Socket + SurfaceView + multiplayer game problem. Need Help

2010-04-19 Thread Ke Wu
I am new to android, I wish you could solve your problem, and may I have your project as a sample to learn? 2010/4/18 croco > FYI, > > I've raised to 18 FPS by using LinkedBlockingQueue instead of 8FPS > with while design in Socket writer. > But we are far from 60FPS per second. > > Any help? >

Re: [android-developers] Re: Pass ArrayList parameters between two activities.

2010-04-19 Thread Ke Wu
Thanks, I got it. 2010/4/19 Kumar Bibek > There's no simple way. You are on the right track. > > However, a cheap workaround would be to have this arraylist as a > static variable of your source activity. This way, you can access this > Array List from your destination activity > > Thanks and Re

[android-developers] ImageView animation: rotate a certain amount of degrees at some set interval

2010-04-19 Thread patbenatar
Hey all- First off, I'm aware a simple hack to achieve this would be to run a Thread with a sleep for however many milliseconds I want my interval to be and rotate it a certain amount of degrees every time the Thread is run... I'm looking for a built-in way to achieve this animation effect, howeve

[android-developers] Movie class for displaying animated GIF files.

2010-04-19 Thread skan95
Dear all. In ApiDemo app, an animated GIF file is decoded using Movie. What I would like to know is that, 1. why didn't Google use the class to decode animated GIF file in Gallery? 2. usages of duration() and setTime() api in Movis class. Maybe, I am not sure, HTC Magic phone may use this concep

Re: [android-developers] Re: how to depress the onLongClick() when drag a view

2010-04-19 Thread sheng wang
thx for your reply but it doesn't work as will. setLongClickable() in case MotionEvent.ACTION_MOVE phrase doesn't work. But I have figure out the way. The view default implementation will cancel the long press check on ACTION_MOVE,so I just call the super.onTouchEvent to let the default implement

[android-developers] access to the edittexts inside adapter

2010-04-19 Thread FrankieCZ
Hi, I'm facing following problem. I have a layout, which is inflated inside an adapter (extended BaseAdapter). The layout consists of TextView, EditText and of two buttons (Save and Delete). This group is for each item in database and then it's listed one by one, so it means, on screen there can b

[android-developers] Re: glTexImage2D very slow on phones like Nexus one

2010-04-19 Thread Mario Zechner
In that case you have a problem indeed. Frame buffer objects will not be of any help in your situation. Speaking in absolutes is always a problem but i think for your problem at hand you will have to abonden OpenGL for the time being. I'm not aware of an alternative but remember another thread on h

[android-developers] Re: How to get wifi account and password in code?

2010-04-19 Thread patbenatar
I highly doubt this is possible--seems like a huge security hole to me. And I don't believe the Android system has anything in place to allow you indirect access to its saved passwords (like the OS X Keychain). What would you need this info for anyway? If wifi is on, the wifi password is saved on t

[android-developers] Re: OutOfMemory problem

2010-04-19 Thread patbenatar
You say your error doesn't happen as often if you are plugged into your computer? Is that what you mean by VM? If so, that's likely because you're developing your code at the time and every time you run it on the device it kills and restarts your process.. leaving little time for memory leaks to le

[android-developers] java.lang.Object in aidl

2010-04-19 Thread Peerke
Hello, I have a aidl interface in a service. In this interface I want to create a function that can return a int, double or string. In Java I can do that with the java.lang.Object type. But this type is not a basic java type or a parceble, so I can't use this in aidl. Somebody knows a way to still

[android-developers] Re: Defining an XML vertical line drawable

2010-04-19 Thread patbenatar
You could use a 1x1 Nine-Patch PNG On Apr 18, 1:08 pm, Caspa wrote: > Hello, > > I'm trying to figure out how to define a verical line (1px thick) to > be used as a drawable. > > to make a horizontal one, it's pretty straightforward: > > http://schemas.android.com/apk/res/android"; > andro

[android-developers] updating a contact in 2.x Contacts API

2010-04-19 Thread Timo Prill
hi all, i got a problem updating a contact's details. i use the following code to update the contact name: "operations" is a ArrayList of ContentProviderOperation. operations.add(ContentProviderOperation.newUpdate( ContactsContract.Data.CONTENT_URI) .with

[android-developers] Custom Themes

2010-04-19 Thread Chirayu Dalwadi
Hiii, How to create custom themes from scratch for an application? -- Warm Regards, Chirayu Dalwadi -- 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

[android-developers] Re: ArrayIndexOutOfBoundException while reading the file

2010-04-19 Thread Bob Kerns
I suspect you've been having some trouble reading the documentation in English. I've had the experience of reading API documentation in a foreign language, so I know it can be difficult. You probably only got a couple points wrong, but then the confusions piled on top of each other, and it will be

[android-developers] Moving to the next ImageView in HorizontalScrollview?

2010-04-19 Thread javame_android
Hi, I have a horizontal scroll view and there are four images in it. Now what I want is the way to detect which image is focused currently. I mean, is there any way that we can distinguish between the image that is focused and other images. Currently all the images look quite similar. One more th

[android-developers] Re: requestLocationUpdates issue

2010-04-19 Thread Bob Kerns
FWIW -- I just did go look at the source for Timer, and cancel() does exactly what I expected. It synchronizes on its internal queue, sets a flag, clears the queue, and does queue.notify(). On Apr 19, 12:20 am, Bob Kerns wrote: > What he's doing there is specific to using a timer. I'm sure > int

[android-developers] Re: ArrayIndexOutOfBoundException while reading the file

2010-04-19 Thread pramod.deore
Thanks Bob and DonFrench -- 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-developers+unsubscr...@googlegroups.com

[android-developers] Re: Game develop like "Air Attack" touching screen event

2010-04-19 Thread Robert Green
No, Don't override it in your view. Call it from your view in the constructor. setFocusableInTouchMode(true) is what you want to call. On Apr 19, 1:40 am, a a wrote: > I add > >                 android:focusableInTouchMode="true" > in my xml > > and try to override the > >         @Override >

[android-developers] Set Image resource as package path in XML for runtime images

2010-04-19 Thread Alok Kulkarni
Hi, Can i do this :- Set the image background path as package:imageName Example.. At runtime , my package is com.test.android .Inside that i have an image whose path i want to mention in the XML layout file as android:src = com.test.android/img1 for an ImageButton. I saw an SDK reference for ImageV

[android-developers] Accessing protected fields from View subclass

2010-04-19 Thread Pavel Khlustikov
Hi, I'm implementing custom widget exdending a View class. But I've found that View's protected field (e.g. mLeft) is not accessible from subClass: import android.content.Context; import android.view.View; public class MyView extends View { public MyView(Context context) { super(context); init(

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread mscwd01
Has anyone had a reply from Google regarding a potential delivery time- scale to Europe? I have been waiting 7 weeks now and cant seem to get a reply to any emails I send their way. Thanks On Apr 17, 9:12 am, Lorents wrote: > Damn Icelandic people... First they mess with the world economy, and >

[android-developers] Re: can develop in any phone ?

2010-04-19 Thread Jags
and debug ? is tattoo a g1 ? how come so cheap ? On Apr 19, 1:20 pm, Kumar Bibek wrote: > You can test out your apps on any phone. Tattoo has a different screen > size than the normal sizes available. That might be a little problem > for you if you are starting off. But from development point of

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread David C
Crazy, I received the same message has you : >All of the phones have been shipped already. Please be patient; if your phone >has not arrived yet, it is probably in transit and will arrive shortly. I am >>sorry, but we cannot provide individual tracking numbers for each phone. >Thanks, >Neel A

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread JDS
No news from anybody in europe? Since the phones to EU, or at least to us in sweden, are shippen from Frankfurt at least people in germany should have received theirs by now, with or without any volcano? -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread mscwd01
Many people have said the phones will be shipping not from the US but from a warehouse in Europe so I agree that the volcano shouldn't have any effect on delivering the phones. They would be sent over land not by air - which makes me wonder if there is another issue delaying the phones? On Apr 19,

Re: [android-developers] Re: Selling outside the Android Market--> Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-19 Thread George | SlideME
Shane, Seems you received just enough information from Francois to put blame and accuse me and SlideME for being dishonest publicly. I am afraid I have to disappoint you and provide the communication transcripts, so the members on this list can judge for themselves if we are dishonest or what kin

[android-developers] Re: problems with custom listview adapter getView() method

2010-04-19 Thread edzah
Thanks Romain, getView is now called for each row only once. Just one follow up question: it seems that I am having a problem with the listviewadapter. resultsList = (ListView) this.findViewById(R.id.list); resultsList.setAdapter(new ResultsListAdapter(this,R.layout.row, currentSearch)); In my

[android-developers] Re: Set Image resource as package path in XML for runtime images

2010-04-19 Thread Alok Kulkarni
Attached is a sample OK button screen shot seen on the UI The left one is created using XML as follows And in drawable ,* button_style.xml * http://schemas.android.com/apk/res/android";> * button_left_style.xml* http://schemas.android.com/apk/res/android";> *button_right_

Re: [android-developers] Re: Android Preferences

2010-04-19 Thread ~ TreKing
On Sat, Apr 17, 2010 at 10:37 AM, Abhinav wrote: > Does the PreferenceManager have any role to play in the persistence? > Not really. > What is the link between these three classes? > Look at the documentation and see how they call each other. > In addition, once the xml file has been loade

[android-developers] Re: Opengl

2010-04-19 Thread Eddie Ringle
The way I'm doing it right now is drawing a quad with dimensions identical to that of the world size, and texturing the whole thing with my background image. (Works pretty well because my world isn't so big.) On Apr 18, 11:42 pm, risha wrote: > Let me know how to set up a background image in open

[android-developers] Re: Is the bad MotionEvent/Touch slowdown stuff actually fixed on first-gen 2.1 updates?

2010-04-19 Thread Eddie Ringle
Starring it. My poor G1 has a tough enough time with hardware rendering, no need to put added strain on it. On Apr 19, 3:29 am, Robert Green wrote: > I filed a bug for this here > -http://code.google.com/p/android/issues/detail?id=7836 > > I believe I did a thorough job with the report. > > Plea

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread Ove Olavgaard
Well, I have lost all hope. I realize that this was really just meant for the US. Been waiting 7 weeks a well, and can't get any info from Google, Shipping partner or FedEx. Personally I have no choice but to leave the Android platform: - No Google merchant for northern europe means I cant sell ap

[android-developers] Dialog display duration

2010-04-19 Thread angushir...@googlemail.com
Dear all, I need to display an alert message for no more than a half a second. As I understand it, Toast only has 2 available durations, with no way to alter them. Correct me if I'm wrong. Which leads me to sing the AlertDialog. What would be the best way of displaying a dialog for 500

[android-developers] How to play three images as an animation on Widget?

2010-04-19 Thread D.Y
Dear All, I want to star an animation with three images on an app widget, and It should be pause, resume and stop. Any suggestion will be grateful. Best Regards, D.Y -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] How to play three images as an animation on Widget?

2010-04-19 Thread Mark Murphy
D.Y wrote: > I want to star an animation with three images on an app widget, > and It should be pause, resume and stop. > > Any suggestion will be grateful. You cannot have an animation on an app widget, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twi

[android-developers] grow or shrink view

2010-04-19 Thread satish bhoyar
Hi, I have one problem... like i want my view to grow or shrink in one direction like curtains. What animation i can use for this? is this scalling or wht is it ? please tell me thanks.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Android Tablet SDK or Emulator

2010-04-19 Thread Károly Holczhauser
Thx 4 your answare ! On ápr. 14, 17:23, Kevin Duffey wrote: > I don't know of any tablets that are available yet.. I would imagine once > they become available the IDE profile will be updated, although you'd think > it would be out now so we could have software available to take advantage of > th

Re: [android-developers] Re: Android Tablet SDK or Emulator

2010-04-19 Thread Sandeep Phansekar
Hi , there is Android tablet pc is available in the market. name is Tegra. but still that is not officially launch screen size 1024*800 all the docs & api r available on the site Regards sandeep 2010/4/19 Károly Holczhauser > Thx 4 your answare ! > > On ápr. 14, 17:23, Kevin Duffey wrote: > >

Re: [android-developers] Moving to the next ImageView in HorizontalScrollview?

2010-04-19 Thread social hub
try setSelection On Mon, Apr 19, 2010 at 5:07 AM, javame_android wrote: > Hi, > > I have a horizontal scroll view and there are four images in it. Now > what I want is the way to detect which image is focused currently. I > mean, is there any way that we can distinguish between the image that >

Re: [android-developers] updating a contact in 2.x Contacts API

2010-04-19 Thread Dmitri Plotnikov
What's the _id here? It should be the data row id, not the contact id. Also, you shouldn't specify the mime type in an update statement - it is not updatable. Cheers, Dmitri On Apr 19, 2010 2:44 AM, "Timo Prill" wrote: > hi all, > > i got a problem updating a contact's details. > i use the follo

Re: [android-developers] Custom Themes

2010-04-19 Thread ~ TreKing
On Mon, Apr 19, 2010 at 4:45 AM, Chirayu Dalwadi wrote: > How to create custom themes from scratch for an application? By reading the documentation: http://developer.android.com/intl/fr/guide/topics/ui/themes.html -

Re: [android-developers] Re: Highlight part of the text in a textview object

2010-04-19 Thread social hub
You can try the html way to styling This used to work for me. string =" hello " textview.setText(Html.fromHtml(string)) On Sun, Apr 18, 2010 at 1:17 AM, patbenatar wrote: > Sorry, bolding and italicizing is the extent of my text formatting > knowledge with Android. > > Anyone else know more

Re: [android-developers] updating a contact in 2.x Contacts API

2010-04-19 Thread Timo Prill
yeah, you are right, i was totally confused... already found the error myself some time later.. i mixed up contact ID and data-row ID.. volcano-ash seemed to influence me this morning ;) it now updates correctly using: oerations.add(ContentProviderOperation.newUpdate( Contact

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread fhucho
@Ove Olaavgard I completely agree with you. The worst thing is that they are not giving any information about when/if will they expand support for selling apps to more countries. Not being able to get any response from them is really frustrating. They don't even answer simple questions like "Will i

[android-developers] Re: listen for changes made in ContactMethod table

2010-04-19 Thread jrichards1...@googlemail.com
Any advice please? cheers in advance On Apr 16, 12:54 pm, "jrichards1...@googlemail.com" wrote: > Hi. i am trying tolistenout for forchangesmadeinContactMethodtableusing  the > code below: > > mPeopleObserver = new ContactContentObserver(mHandler); > > this.getContentResolver().registerContentOb

[android-developers] Re: how to add progress bar with media Player??????

2010-04-19 Thread ulqui
hi i am currently working in a media player application with a progress bar. It work well but i am searching for a listener or something that will make the progressbar move each second the track is playing but have found nothing. i had tried private ProgressBar barre; private int du

[android-developers] Re: Making a Skype Call

2010-04-19 Thread Daniel Wiedenheft
Well Skype popped my balloon and replied that they do not support actually dialing a number from another application: > We understand that you wish to initiate Skype calls via another > application. > > At present we are not able to help you with this development nor can we > provide you informati

[android-developers] how to add progress bar with media Player??????

2010-04-19 Thread ulqui
hi i am currently working in a media player application with a progress bar. It work well but i am searching for a listener or something that will make the progressbar move each second the track is playing but have found nothing. i had tried private ProgressBar barre; private int du

[android-developers] Removing application shortcut from Home

2010-04-19 Thread fazevedo
Hello, I've been trying to use the UNINSTALL_SHORTCUT intent to remove an application shortcut from the Home screen, but without success. Can anyone provide an example? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

Re: [android-developers] how to add progress bar with media Player??????

2010-04-19 Thread Mark Murphy
ulqui wrote: > hi > > i am currently working in a media player application with a progress > bar. > It work well but i am searching for a listener or something that will > make the progressbar move each second the track is playing but have > found nothing. > > i had tried > > private ProgressBa

[android-developers] The public key in the certificate cannot be used for ENCRYPT_MODE

2010-04-19 Thread Pavol Kaiser
Hello, I am trying to establish a SSL connection and send messages using it. I use MINA for this however i get the following error: Caused by: java.security.InvalidKeyException: The public key in the certificate cannot be used for ENCRYPT_MODE at javax.crypto.Cipher.init(Cipher.java:815)

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread String
On Apr 19, 12:20 pm, David C wrote: > I received the same message has you : > > >All of the phones have been shipped already. Please be patient; if your > >phone has not arrived yet, it is probably in transit and will arrive shortly. Responses like this have been posted to this thread for some

[android-developers] Re: glTexImage2D very slow on phones like Nexus one

2010-04-19 Thread Charles Li
我觉得这个事情也不太妥. It's not a good choice to update texture(huge texture) every frame. (and yes, nexus one has its issues) I think the better solution for video output in game development is let your video be a standard mpeg file. And Launch a new activity to play it. On Apr 19, 2:40 pm, Eong wrote: >

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread Thomas Riley
Good theory, but the few lucky people who do have a phone in Europe (for ADC2 Top 100) said it shipped from Brightpoint Holland, and I think the google rep has also stated this to some people via email. On Apr 19, 4:04 pm, String wrote: > On Apr 19, 12:20 pm, David C wrote: > > > I received the

[android-developers] Re: spinner question: how to detect the selection of an already selected item?

2010-04-19 Thread Will
Hi, Did you tried : onClick(DialogInterface dialog, int which) I think you can update your list adapter according to the "wich" parameter. -- Will On 19 avr, 03:45, greg wrote: > I have an activity with a ListView check list and a spinner that > controls the sort order of the items in that ch

[android-developers] Re: Transfer List of specific objects across intents

2010-04-19 Thread Will
Hi, The object you can put in an intent bundle must be serializable. I think you can create your List extending arrayList and wich implements serializable. Then, you will be able to use extras.put( [your list] ); -- Will On 18 avr, 23:52, raqz wrote: > Hi, > > I wish to send a list of type fr

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread Ove Olavgaard
That might be the case, but I just cant understand why they would ship them by surface mail, when Google sent us mail with a 2-4 weeks timeframe. As a professional shipping partner, it should not be any problem shipping 5-20.000 units at all, considering all the other phones they ship daily. And no

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread String
On Apr 19, 4:22 pm, Ove Olavgaard wrote: > That might be the case, but I just cant understand why they would ship them > by surface mail, when Google sent us mail with a 2-4 weeks timeframe. Possible reasons: Somebody screwed up, or there was inadequate communication between the person at Google

[android-developers] HTC Incredible no default external storage?

2010-04-19 Thread webmonkey
the HTC incredible is now available for pre order at Verizon. Engadget has already done a review at: http://www.engadget.com/2010/04/19/droid-incredible-review/ They mention that there is a storage issue with a lot of apps because it does not come with an external SD card by default. It does have

Re: [android-developers] Re: Selling outside the Android Market--> Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-19 Thread Shane Isbell
On Mon, Apr 19, 2010 at 5:02 AM, George | SlideME wrote: > > Shane, one request. You need to retract now in public any such accusations > that I and SlideME are operating a dishonest operation. > I never said SlideME was dishonest. I said you, as an individual, are dishonest and I gave the reasons

[android-developers] Access a Service across multiple Applications

2010-04-19 Thread madmax
Hey Folks, I have a service that i need to access across multiple Applications. Can anyone tell me how this can be done? Thanks, Prafull. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] Re: Selling outside the Android Market--> Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-19 Thread Shane Isbell
I'll be the first one to give out a suggestion: generate the invoice automatically into a pdf from the SlideME portal. That way you can be sure it is right. Doing manual copying and pasting of transactions seems to be a big hurdle here. On Mon, Apr 19, 2010 at 8:44 AM, Shane Isbell wrote: > > > O

[android-developers] Re: Bluetooth stack becomes dead

2010-04-19 Thread ssozonoff
Hi, Well for the moment its even worse on the HTC Desire, I cant even connect to using the SPP profile!!! I need to spend a little more time to gather more info but its not looking good :-( My understanding is that the Desire sports the same hardware as the Nexus 1 I would have thought Blueto

Re: [android-developers] Access a Service across multiple Applications

2010-04-19 Thread Mark Murphy
madmax wrote: > Hey Folks, > I have a service that i need to access across > multiple Applications. Can anyone tell me how this can be done? Create a remote service and expose an interface through AIDL. Here is a pair of sample applications demonstrating the technique: http://git

[android-developers] Re: HTC Incredible no default external storage?

2010-04-19 Thread String
On Apr 19, 4:38 pm, webmonkey wrote: > what is the correct way to get the path of the internal storage? context.getFilesDir().getPath() works for me. String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Account authorization for Google Health on Android

2010-04-19 Thread Achanta
I am trying to access Google Health profile from android. What I want to do is to let the users access their Google Health Profile and modify it if they want to. I saw the documentation and saw that we need to use either AuthSub or OAuth for account authorization. I am not able to figure out which

Re: [android-developers] Re: HTC Incredible no default external storage?

2010-04-19 Thread Mark Murphy
String wrote: > On Apr 19, 4:38 pm, webmonkey wrote: > >> what is the correct way to get the path of the internal storage? > > context.getFilesDir().getPath() works for me. That's the app-local file storage area. And if the answer is that the Incredible has a few GB of space set aside for this,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread TomTasche
I'm from Austria and didn't receive mine yet... On Apr 15, 10:59 pm, Daniel wrote: > Has anybody from Germany already got his or her Android phone from the > device seeding program? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] Setting the text in the dialog for an EditTextPreference

2010-04-19 Thread ~ TreKing
On Sat, Apr 17, 2010 at 11:55 PM, Hayden wrote: > Is there a way to do this? Haven't tried this myself, but seems like something that should definitely be doable. When you reset the values, have you confirmed that that setting actually get's changed? Did you commit your changes before the user

[android-developers] Bluetooth SPP not working on HTC Desire

2010-04-19 Thread ssozonoff
Hello, I have been doing some Bluetooth SPP development with an HTC Legend which was working just fine. Today I received my HTC Desire and I cant get an SPP connection to work. The first thing I had to do is remove the mAdapter.cancelDiscovery() call in the connectThread(). It seems there is some

[android-developers] an update issue

2010-04-19 Thread klaus johan
Hi , Here's the problem I'm facing : trying to do my own application update I download the update apk from a web server on the sd card and then I launch the Package Installer with the downloading path ( while the old application is running) . So far after the package installer starts and the user

Re: [android-developers] Problems with big buttons using android:duplicateParentState

2010-04-19 Thread ~ TreKing
On Sat, Apr 17, 2010 at 4:26 AM, Marco Alexander Schmitz < marco.alexander.schm...@googlemail.com> wrote: > How can I create such a big button as I want to? I don't know about your current problem, but how about instead using just a Button that's as big as you want, with the text your want, with

Re: [android-developers] Re: Can i get this layout with List view??

2010-04-19 Thread ~ TreKing
On Sun, Apr 18, 2010 at 9:35 PM, SheikhAman wrote: > Things stay fine until i assign the adapter to the list i have created- > > as soon as i add the last line, problems start. > > whats wrong? > Mainly, the fact that you haven't shown what "problems start" means or what error you're actually ge

[android-developers] Re: Avoid cache name collisions with webkit

2010-04-19 Thread Brian
Never mind. I looked at the source for the CacheManager class today, and for web views Android is apparently creating a subdirectory in the cache directory. I could do the same, and therefore stay well out of its way. -- You received this message because you are subscribed to the Google Groups "

[android-developers] How to achieve mixed layout with ListView

2010-04-19 Thread SheikhAman
Ohk, Things go fine, and i am able to design a layout like this- http://schemas.android.com/apk/res/android"; Things stay fine until i assign the adapter to the list i have created- public class MainActivity extends Activity { /** Called when the activity is first created. */

[android-developers] Re: HTC Incredible no default external storage?

2010-04-19 Thread webmonkey
Here is a screenshot of the "SD card & phone storage" screen from phandroid.com http://phandroid.com/wp-content/uploads/2010/04/incredibleinternalstorage-550x372.jpg On Apr 19, 6:24 pm, Mark Murphy wrote: > String wrote: > > On Apr 19, 4:38 pm, webmonkey wrote: > > >> what is the correct way

Re: [android-developers] Re: can develop in any phone ?

2010-04-19 Thread Kevin Duffey
I thought screen size was no longer an issue since 1.6? Or maybe it was 2.0? I thought they added layout managers that adjust to different screen sizes? On Mon, Apr 19, 2010 at 4:19 AM, Jags wrote: > and debug ? is tattoo a g1 ? how come so cheap ? > > On Apr 19, 1:20 pm, Kumar Bibek wrote: > >

[android-developers] Re: Can i get this layout with List view??

2010-04-19 Thread SheikhAman
Sorry. my fault. the emulator says- The application has stopped unexpectedly LogCat says- java.lang.RuntimeException: Unable to start activity ComponentInfo{com.abc.MyApp/com.abc.MyApp.MainActivity}: java.lang.NullPointerException at com.abc.MyApp.MainActivity.onCreate(MainActivity.java:16) [16

Re: [android-developers] How to achieve mixed layout with ListView

2010-04-19 Thread social hub
on Ctrl + F i dont see any widget with id tweetList Have u copied it right here. if you can loojk at logcat trace then you can trouleshoot more or ask for help with tha ttrace On Mon, Apr 19, 2010 at 11:58 AM, SheikhAman wrote: > Ohk, > > Things go fine, and i am able to design a layout like

[android-developers] "waitForCondition(ReallocateCondition) timed out" messages w/deadlock in 2.1?

2010-04-19 Thread Robert Green
I was seeing these with Droid OpenGL reinit and now saw it again on a regular activity/surfaceview that I was just working with. W/SharedBufferStack( 74): waitForCondition(ReallocateCondition) timed out (identity=13831, status=0). CPU may be pegged. trying again. This happens on a Droid w/2.1 a

Re: [android-developers] Re: HTC Incredible no default external storage?

2010-04-19 Thread Mark Murphy
webmonkey wrote: > Here is a screenshot of the "SD card & phone storage" screen from > phandroid.com > > http://phandroid.com/wp-content/uploads/2010/04/incredibleinternalstorage-550x372.jpg Well, at least there's ~1GB for apps. We still need to get to the bottom of why the apps Engadget mentione

[android-developers] Re: Modifying components on widget from activity

2010-04-19 Thread Dirk Vranckaert
Thx Mark, that did it for me :) On 17 apr, 19:18, Mark Murphy wrote: > Dirk Vranckaert wrote: > > On my widget I'm having a button and a textView. When clicking that > > button some data is registered and I want the TextView to be updated. > > However I can't get to the TextView instance from wit

[android-developers] Re: Creating A Bunch of Textviews Programmatically

2010-04-19 Thread Matthew Patience
What if I use a String Builder to create just a giant TextView with all of the comments spanning across a ScrollView? Will this still be a bad idea and take up more memory? Because I really don't want to have to revert to using the ListView. On Apr 17, 5:13 pm, Matthew Patience wrote: > Great, th

  1   2   3   >