[android-developers] Re: OpenGL fixed point vs. floating point

2010-01-08 Thread Peter Eastman
zation, or any of the other things happens that makes timings nondeterministic. Peter -- 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

[android-developers] Re: OpenGL fixed point vs. floating point

2010-01-07 Thread Peter Eastman
as hardware floating point support? The idea is that I want to implement both floating point and fixed point versions of my rendering code, then chose which one to use at runtime based on the hardware it's running on. Peter -- You received this message because you are subscribed to t

[android-developers] Re: OpenGL fixed point vs. floating point

2010-01-07 Thread Peter Eastman
e, because I'll be writing it myself. :) It's the behavior of OpenGL that I don't know about. Perhaps I would do better to ask a slightly different question: how can I determine whether the device my program is running on has hardware floating point support? Peter -- You received thi

[android-developers] OpenGL fixed point vs. floating point

2010-01-06 Thread Peter Eastman
ating point for matrices? Peter -- 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...@googl

[android-developers] Re: Start and Stop music on application launch and stop

2010-01-05 Thread Peter SSK
How to play music in android?... You have any suggestion related this?.. If so pls give some idea for that or example program. On Jan 5, 11:14 am, Hassan Imtiaz wrote: > Hi, >     In my application i have several activities and i want to start > background music whenever my *Application* is launc

[android-developers] Re: MapView Overlay problem

2010-01-05 Thread Peter SSK
see this link http://www.androidpeople.com/category/google-map/ On Jan 5, 4:59 pm, Stefan wrote: > hello, > > i have an activity with a MapView ad overlays. If i start a new > activity and go back to my Activity with the map, i only see the map > without my overlays. How can i save my overlays

[android-developers] application name change

2009-12-13 Thread Peter Jeffe
We're having to change our app's name due to it being somewhat close to a mark owned by a large company that believes consumers are easily confused. I had been assuming that this was simply a matter of changing the name listed in our Market description when we publish an update, but has anyone don

[android-developers] Message Center Address

2009-12-10 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named "getServiceCenterAddress( )". this method could get the Message Center Address from message's pdu that you recived. But my application want get this address directly, and base on it to do some pe

[android-developers] Re: Multitouch support in Android 2.0

2009-12-10 Thread Peter Kirn
Phone), especially Android phones. It's a bit tricky to code, and obviously this is more of an expressive thing than it is something you'd consider as fundamental to UI design, but I've tried some experiments that were pretty effective. Peter On Dec 1, 4:34 pm, Dianne Hackborn wrote: > On T

[android-developers] Re: Multitouch support in Android 2.0

2009-12-10 Thread Peter Kirn
sting purposes. It wouldn't be a full-blown replacement for testing on the device, of course, but it couldn't hurt -- and it could be an interesting option for creating a solution that worked both on multitouch-ready Android devices and desktops. ;) Peter On Oct 27, 6:18 pm, RichardC wrot

[android-developers] Re: About "Message Center Service Number"

2009-12-08 Thread peter
anyone kowns? On 12月7日, 下午1时31分, peter wrote: > Hello, Everyone: > I found that in SmsMessage class, it has an instance of > method named "getServiceCenterAddress( )". > this method could get the Message Center Address from message's pdu > that y

[android-developers] Re: motally analytics for Android

2009-12-07 Thread Peter Sankauskas
Hi Max, I am using Motally for my game Remembory and I really like the reports. PAS On Dec 3, 6:41 pm, Max Binshtok wrote: > Is anyone using motally for analytics? > > If yes - did you experience any problems? I am just wondering how are > they since I want to try them out. > > Thanks, > Max.

[android-developers] About "Message Center Service Number"

2009-12-06 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named "getServiceCenterAddress( )". this method could get the Message Center Address from message's pdu that you recived. But my application want to get this address directly, and base on it to do some

[android-developers] About "Message Center Service Number"

2009-12-06 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named "getServiceCenterAddress( )". this method could get the Message Center Address from message's pdu that you recived. But my application want get this address directly, and base on it to do some pe

[android-developers] Can i create file dir when apk installing on device

2009-12-03 Thread peter
Hello,everyone: I want to create file dir when apk installing ondevice. does it possible?and how? -- 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 unsubscrib

Re: [android-developers] Overlays on Map

2009-12-01 Thread Peter Stevenson
Peter wrote: Do you populate each of the Overlays in the ArrayList? In order to add new OverlayItems to our ArrayList, we need a new public method. We'll handle this with the following method: public void addOverlay(OverlayItem overlay) { mOverlays.add(overlay); populate(); }

[android-developers] Windows 7 + adb driver for G1 -- can't install, because "the best driver" is already installed. Augh.

2009-11-15 Thread Peter Kirn
I seem unable to convince Windows 7 (32-bit) to let me manually install the driver for my G1. I recall some similar trouble before, but having looked through previous solutions, this seems -- well, worse. Looking through the documentation and bug errors, I can't seem to find a fully-documented cas

[android-developers] Re: Droid phone unable to recognize device

2009-11-09 Thread Peter Dietz
I was getting the same issue. Running Ubuntu 9.10 Karmic x64, with Motorola Droid plugged in. I followed the guide on android.com until I couldn't get any further. I also found: http://ubuntuforums.org/showthread.php?t=1305691 , but thats the same, and didn't work for me. # echo 'SUBSYSTEM=="usb",

Re: [android-developers] Can someone with a Motorola Droid call AccountManager.getAccounts() please?

2009-11-09 Thread Peter Natt
Hello Sir, Please unsubscribe my email id in your mailing list. Best Regards, Peter On Mon, Nov 9, 2009 at 10:51 AM, Micah wrote: > In Android 2.0 there is a new android.accounts.AccountManager class > has a function getAccounts() > see: > http://developer.android.com/refer

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-11-09 Thread Peter Ersts
Try: export GDK_NATIVE_WINDOWS=true before you launching the manager. I came across a similar problems with Eclipse since upgrading to Ubuntu 9.10 on my 64-bit machine, this seems to fix most of the problems. On Nov 6, 1:37 pm, Romain Guy wrote: > It's a known issue with SWT and GTK. > > > > On

[android-developers] Start app from browser

2009-11-02 Thread Peter Rytter
Hey there I need to start an app from the browser on my android-phone (on my own webpage) Is that posible (what to do)? Peter -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Detecting a Tidal Wave of Android Apps

2009-10-27 Thread Peter Farago
d and what's to come at: http://gigaom.com/2009/10/26/will-there-be-an-android-app-boom-soon/ Best regards, Peter Farago VP Marketing www.flurry.com Follow us: http://blog.flurry.com http://twitter.com/FlurryMobile --~--~-~--~~~---~--~~ You received this messa

[android-developers] Re: Google: please change your release process

2009-10-27 Thread Peter Jeffe
On Oct 27, 9:12 am, "Mark Murphy" wrote: > > That's a slippy slope to start on JP, not long until we're building > > for vendor specific custom OS's and then versions of those OS's. > > You don't need to do that. Of course that's true for a lot of apps Mark, but certainly you know, as does anyon

[android-developers] Google: please change your release process

2009-10-26 Thread Peter Jeffe
The recent experience with the 1.6 release underscores the need for Google to take a different approach to future releases. No matter how hard you try to make an OS backward-compatible, or an application forward-compatible, there will always be breaking changes in an OS release. That is why OS v

[android-developers] Re: ADC 2 rating

2009-10-26 Thread Peter Jeffe
On Oct 26, 5:32 am, Omer Saatcioglu wrote: > Yes, in deed! But, still, IMHO it is not enough to score user > experience. About 140 users for ours. I agree it's a pretty small sample, not sure why they couldn't have left the first round open for a while longer. --~--~-~--~~-

[android-developers] Re: Android 1.6 SDK is here!

2009-10-02 Thread Peter
On Oct 1, 6:11 pm, Dianne Hackborn wrote: > Are you using android:targetSdkVersion="4"?  The namespace prefix is > important.  As long as your manifest has a android:targetSdkVersion="4"/> under the manifest tag, you won't be forced > to have the permissions. > Adding the namespace prefix did

[android-developers] Re: Android 1.6 SDK is here!

2009-10-01 Thread Peter Jeffe
OS level? Frankly I'm a bit stunned. -- Peter --~--~-~--~~~---~--~~ 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 uns

[android-developers] Re: Android 1.6 SDK is here!

2009-10-01 Thread Peter
* minSdkVersion="4" in AndroidManifest.xml ...but the permission prompt would not disappear, even though I do not have the WRITE_EXTERNAL_STORAGE permission listed in my manifest. Has anyone managed to get this working? If so, what steps did y

[android-developers] about the height of status bar and system title

2009-09-27 Thread peter
Hello, everyone: I want to know how to get the height of status bar and system title in current Activity. Is there any method or variable that i can use? Thank for your advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-19 Thread Peter Jeffe
On Sep 18, 5:49 pm, fadden wrote: > I don't know anything about how Maps works, so I can't offer any > specific advice there.  Something is using lots of memory, and until > it stops, this will be a problem. :-( I understand Andy, I was just wondering if you could answer my question above: Shor

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-18 Thread Peter Jeffe
Andy and Adam, any further comment? I'd like to believe that there's something developers can do to minimize the impact of these problems on end users. I think you can appreciate that having an application crash repeatedly through no fault of one's own is very disheartening. --~--~-~--~

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-13 Thread Peter Jeffe
On Sep 11, 6:53 pm, fadden wrote: > It works something like this: Thanks Andy, this discussion has definitely clarified things for me. Of course the frustrating part is that we have no control over this code, so there's probably no way to influence its use of external memory. Short of forcing G

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-11 Thread Peter Jeffe
Below is some output when I was zooming in maps, not sure if this sheds light on anything. Since this is unrelated to anything in my app it's obviously something that anyone can exercise. It seems to me that the issue is a question of time lag more than anything else. Is it possible that trackE

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-10 Thread Peter Jeffe
On Sep 10, 2:14 pm, fadden wrote: > If you see softlim+extlim approaching 16MB, you're about to have a > problem.  extlim and exalloc will give you a sense for how much memory > is assigned to external allocations.  The actual virtual heap limit Thanks Andy, although I must confess I'm as confus

[android-developers] Re: Linking Directly To An App In The Market?

2009-09-10 Thread Peter Sankauskas
olverson wrote: > > > On Feb 24, 5:26 am, Peter Sankauskas wrote: > >> I have been researching the same thing and have not yet found an > >> answer. Has anyone else discovered how to write a link that goes to an > >> app in the android market? > > > I

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-09 Thread Peter Jeffe
On Sep 9, 11:27 am, Dianne Hackborn wrote: > Of course it can grow the heap.  It will also use mmap for allocations over > 64K so they aren't in the main heap at all.  (Fwiw, the allocator is a > somewhat modified version of the standard dlmalloc.) I should have said more clearly that in the cas

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-09 Thread Peter Jeffe
On Aug 28, 3:17 pm, fadden wrote: > The bitmap memory isn't actually stored on the VM heap -- it's an > "external allocation" -- so improvements to the GC will not help this > much. I assumed that the problem is that the native code tries to allocate memory but the native allocator for some reas

[android-developers] when does the ADC judging start?

2009-09-02 Thread Peter Jeffe
Anyone know when the ADC judging app will be released? --~--~-~--~~~---~--~~ 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 unsubscrib

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread Peter Jeffe
Our app details: Name: SocialMuse Category: Social By: MixZing URL: http://www.mixzing.com (info on this app not yet posted there, will be soon) Description: A map-based app that lets you browse or search for other users on the map. You can restrict your search to users with similar musical tas

[android-developers] Re: Link to Amazon MP3 Store?

2009-09-01 Thread Peter Jeffe
If you mean how to invoke the Amazon MP3 app through an intent, you can do something like this: String query = // put query string here Intent i = new Intent(); i.setAction(Intent.ACTION_SEARCH); i.setClassName("com.amazon.mp3", "com.amazon.mp3.android.client.SearchActivity"); i.putExtra("actionS

[android-developers] Re: on-screen keyboard always displays on Galaxy

2009-08-13 Thread Peter Jeffe
ehave the same, e.g. in my case when I go to enter text into an input field the soft keyboard pops up if I have the keyboard hidden, which is what I'd want it to do on a phone without a keyboard too. Thanks for your help Diane. -- Peter --~--~-~--~~~---~--~~ You

[android-developers] on-screen keyboard always displays on Galaxy

2009-08-13 Thread Peter Jeffe
always displayed. Does anyone know why this would be so? And why would a phone without a keyboard act differently from a phone with a keyboard that's hidden--shouldn't they follow the same logic? Thanks. -- Peter --~--~-~--~~~---~--~~ You received th

[android-developers] Re: AutoCompleteTextView

2009-08-12 Thread peter
Create a adpter extends BaseAdpter to fill AutoCompleteTextView On Aug 12, 3:40 pm, Gavin wrote: > all, > >    Is there any method to control popup window in > AutoCompleteTextView? Such as location, background...? > >   thanks. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Setting a listener for drag animations in MapView

2009-08-10 Thread Peter Jeffe
;m missing something here, this would seem to make MapView a very limited tool indeed. -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Sharing Industry Stats: Android Reeling in iPhone?

2009-08-07 Thread Peter Farago
Pulse-July-2009 Topics we cover this month: 1. No End in Sight for New iPhone Apps 2. Google Android: We Have Lift Off 3. You Trying to Swindle my Kindle? Best regards, Peter -- Peter Farago VP Marketing www.flurry.com Follow us: http://blog.flurry.com http://twitter.com/FlurryM

[android-developers] Re: how to use preferences & widgets together.

2009-08-06 Thread peter
Create a class extends View or SurfaceView. you should reference "User Interface->Building Custom Componment" on developer of android website On Aug 6, 1:34 pm, ANKIT SOMANI wrote: > Hi, > > Can any body know how we can use the preference & widgets together . > > I want to use preferences to sh

[android-developers] Re: record incoming and outgoing call

2009-08-06 Thread peter
I'm not sure how capture incoming voice, have any function to do it? but i think you could capture voice from people who talk to the phone with voice record On Aug 6, 1:46 pm, Honest wrote: > Hello, > > I want to record the outgoing and incoming call. Can some one tell me. > Is it feasible or n

[android-developers] Re: Memory problem

2009-08-06 Thread peter
Create a Bitmap is very consume memory On Aug 6, 2:41 pm, Rahul wrote: > Hi all > > i have one big problem in android due to this my application crashesh > every time > > My Problem are > > 1. Bitmap memory exceed error > 2. Out of memory error > > somebody pls help me to solve this problem. > >

[android-developers] Re: How to wake up the device by Code?

2009-08-06 Thread peter
I guess AlarmManager could do it for your requirement On Aug 6, 3:29 pm, "guishenl...@gmail.com" wrote: > Hi all, >     I have an application with notification. I want my notification > can wake the device up when it goes off but the device is asleep. > Could anybody tell me how to do by some co

[android-developers] Re: can execute my app automatilly when android is up?

2009-08-06 Thread peter
you should register a broadcast receiver in your AndroidManifesr.xml and set intent filter about mobile power on action your class extends from BroadcastReceiver should fire up your activity of application On Aug 6, 4:46 pm, tstanly wrote: > thanks for your reply, > > for your first point, > i

[android-developers] Re: UI Development in Android

2009-08-06 Thread peter
you should reference "User-Interface" document in android developer website On Aug 6, 2:48 pm, swapnil wrote: > Hello all, > > I am working on UI Development in Android . > > Can any one please tell me how I can put multiple layouts on the > screen at specific positions? > > Is it ok that i can

[android-developers] Re: Will a notification still work if the device once shut down.

2009-08-06 Thread peter
Set flag of Notification, there have sort of flag to let your notification show like this:"Notification.flag = Notification.FLAG_AUTO_CANCEL" On Aug 6, 4:42 pm, "guishenl...@gmail.com" wrote: > Hi all, >     I have an application with notification. I want to keep the > notification working even

[android-developers] Re: Activity timeout on WebView load

2009-08-04 Thread peter
Use "Handler" and "Message" in your backgroud thread to load web page. On Aug 4, 7:07 am, "droidin.net" wrote: > In my app I have to load external page into WebView-based activity. > Some of my users with slower connections are reporting screen timeout > while waiting for the page to load. What

[android-developers] Re: Spinner - don't display selection

2009-08-04 Thread peter
set your Sipinner "onItemSelectedLisnter" and implement the inteface method : onItemClick(AdapterView arg0, View arg1, int arg2,long arg3) the parameter of "arg1" is your selected view, and you could pick textview form it. then set the backgroud color as your like of textview On Aug 4, 1:10 pm, "

[android-developers] Re: prevent native application

2009-08-04 Thread peter
I don't think you can do it on android system. if you could, other application could do it too. On Aug 4, 1:27 pm, Honest wrote: > Hello, > > I want to prevent native application to receive message.I want that my > application only receive message. Is it possible ? if yes then how ? > can i acc

[android-developers] Re: Any way to find out the current running activity from a service?

2009-08-04 Thread peter
you can use "ActivityManger" to get number of running activity. Like this: ActivityManger am = (ActivityManger )getSystemService (ACTIVITY_SERVICE); List runningTask = am.getRunningTasks(maxNum); On Aug 4, 2:54 pm, Paul Drummond wrote: > Hi, > > I have been looking for this for a

[android-developers] Re: 1.5_r3 backward compatibility

2009-08-03 Thread Peter Jeffe
upport, and it's going to get much worse very soon as the Android versions proliferate and we have quite a few different levels of OS out there at any given time. We developers need to be able to choose which versions we support and we need to have the tools available to do that. Hope that m

[android-developers] Re: 1.5_r3 backward compatibility

2009-08-03 Thread Peter Jeffe
ch release we choose to support. Romain, do you know if this is in the plans? -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Re: listview onlistitemclick not getting

2009-08-03 Thread peter
I think you have a wrong place in you code As first parameter in method "onListItemClick" is not "AdapterView " type but "ListView" On Aug 2, 2:54 am, bhas wrote: > Hi all, >   I am beginer to the anroid ,i am using the below code for displaying > listview and i am not able to getting the onlis

[android-developers] Re: Text Invalide question

2009-08-03 Thread peter
In your code, the main thread still running when you trigger a new thread to run in background obviously, you will see result of last setText call as "Process Success" you should callback main thread to reset status after your thread finished. On Aug 2, 2:31 pm, Arun wrote: > I've a button on

[android-developers] 1.5_r3 backward compatibility

2009-08-02 Thread Peter Jeffe
Sorry if I missed this in the release notes, but if I build against the 1.5_r3 SDK are there any compatibility issues with running it on devices that are at previous levels of 1.5? I would certainly hope not, but I've learned not to make such assumptions. :-) --

[android-developers] Re: BadTokenException from the ZoomButtonsController

2009-08-02 Thread Peter Jeffe
Submitted http://code.google.com/p/android/issues/detail?id=3440. --~--~-~--~~~---~--~~ 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: password mode

2009-07-30 Thread peter
On Jul 30, 1:53 pm, Shang Hao wrote: > Hi, > > It is observed that while entering text in password mode, first the > text is displayed and then after 1 second the asterisk (star) is > displayed Is there no way to directly display the asterisk?? > > code: > mInputPwd.setTransformationMethod

[android-developers] Re: how to add a progressbar or other widget to some row of the listview??

2009-07-30 Thread peter
hi. you could use "setOnItemClickListener" for your listview the parameter of "arg2" is the ID you selected "onItemClick (AdapterView arg0, View arg1, int arg2, long arg3)" On Jul 30, 3:02 pm, frog wrote: > hi,all > I had this questions a few days ago.but no one give the answer,perhaps that

[android-developers] BadTokenException from the ZoomButtonsController

2009-07-29 Thread Peter Jeffe
eInit.main(ZygoteInit.java:540) dalvik.system.NativeStart.main(Native Method) Is this a known problem? Is there anything I should be doing special when displaying a WebView? AFAIK I never had this problem before cupcake. Thanks. -- Peter --~--~-~--~~~---~--~~ Yo

[android-developers] Re: running code immediately after activity is displayed

2009-07-22 Thread Peter Jeffe
und stuff is done then you need to do both. If you can let the user do something useful while the background stuff is going on then all the better (but that's not my case at the moment). So I think we mostly agree but are having two different conversations. :-) -- Peter --~--~-~--~---

[android-developers] Re: running code immediately after activity is displayed

2009-07-22 Thread Peter Jeffe
On Jul 22, 1:29 am, skink wrote: > use MessageQueue.addIdleHandler() Very cool, thanks! So I guess this works since it only gets back to the (now empty) message queue when it's completely done starting the activity? -- Peter --~--~-~--~~~---~--~~ You

[android-developers] running code immediately after activity is displayed

2009-07-21 Thread Peter Jeffe
cking the display of the activity until it's done. I tried running it from onPostResume() but same problem. This is such a common use case I have to believe it's doable--does anyone know how? Thanks. -- Peter --~--~-~--~~~---~--~~ You received this mess

[android-developers] Re: onRestart() being called after onDestroy()

2009-07-21 Thread Peter Jeffe
of those, but thanks for the warning, I'll stay away from them. :-) I am logging the event if and when it happens, so I'll let you know if I get a smoking gun. Could be something in my app but it's hard to imagine what... Thanks for the feedback. -- Peter --~--~-~--~---

[android-developers] onRestart() being called after onDestroy()

2009-07-21 Thread Peter Jeffe
ening periodically, but no apparent pattern to it. This certainly isn't in the state diagram, and needless to say this doesn't make for a happy app. Any ideas why this would happen or what to do about it? -- Peter --~--~-~--~~~---~--~~ You received this message

[android-developers] Hierarchy Viewer in landscape orientation

2009-07-13 Thread Peter Jeffe
nyone know a way around this? -- Peter --~--~-~--~~~---~--~~ 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 t

[android-developers] Re: How to disable automatic redirect handling by HttpClient in Android 1.5?

2009-07-13 Thread Peter
On Jun 11, 2:55 pm, eligijus wrote: > Hello! > > As I understand by default HttpClient automatically handles Redirect > replies from server (follows the redirect link included in the answer > from a server). > I wonder if and how is it possible to disable this behaviour and > handle redirects man

[android-developers] Flurry Mobile Application Analytics - Industry Pulse, June 2009

2009-07-01 Thread Peter Farago
tics since releasing our beta late last year, and now have over 600 android applications reporting real-time, client-side usage data. Best regards, Peter Farago VP Marketing www.flurry.com Follow us: http://blog.flurry.com http://twitter.com/Fl

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-29 Thread Peter
an artifact of that. > > Doug > > On Jun 26, 10:56 pm, Peter wrote: > > > > > > There's not adefaultnumberof views created for an adapter. A list > > > creates as many views as it needs to fill the screen. Views get reused > > > only when you start

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
> There's not a default number of views created for an adapter. A list > creates as many views as it needs to fill the screen. Views get reused > only when you start scrolling or when the adapter send a > notifyDatasetChanged(). You say you have a thread updating the data, > what is exactly that t

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
On Jun 26, 5:59 pm, Mark Murphy wrote: > Peter wrote: > > Sorry. I'm making the mistake of hoping people identify the problem > > based on not very much information, partially because I'm lazy, I > > guess. > > I may also simply be a bit thick. > > &g

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
ew hierarchy / adapter state. > > There is also an ApiDemo of updating the contents of an adapter in a list > view as data is available; you can look at that to see if you are doing it a > similar way. > > > > > > On Fri, Jun 26, 2009 at 2:17 PM, Peter wrote: > > > S

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
See my comments inline that should give you a better description and slightly more information. Thank you. On Jun 26, 4:43 pm, Mark Murphy wrote: > Peter wrote: > > I've tried to describe this problem a few times, but I'll try again. > > I saw your earlier posts. I coul

[android-developers] Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
I've tried to describe this problem a few times, but I'll try again. I have a thread (not spawned from the adapter) which updates items in a List that a BaseAdapter child uses to populate its view. I am not adding things in the List from the thread, just modifying content. In any case, I have 6 r

[android-developers] ListView convertView recycler showing duplicates?

2009-06-24 Thread Peter
6 reloads. My code uses a similar pattern to something like the Settings - Manage Applications page. On Jun 24, 10:52 am, Peter wrote: > No, getView() itself is quite simple. There are threads running while > getView() is being called, but no threads spawned inside getView(). > > On

[android-developers] Re: Strange ListView loading problems

2009-06-24 Thread Peter
No, getView() itself is quite simple. There are threads running while getView() is being called, but no threads spawned inside getView(). On Jun 24, 8:24 am, Guru wrote: > Are you running any thread in the getView of the adapter? > > On Wed, Jun 24, 2009 at 2:04 PM, Peter wrote: >

[android-developers] Strange ListView loading problems

2009-06-24 Thread Peter
I have a listview that is populated by a couple threads that pull in data from the network. Before that data comes in, there are some default values displayed. When the screen loads, there are 6 items displayed, each with the default data. The 1st (index 0) loads and is updated on the screen, and

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-06-07 Thread Peter Jeffe
this wastes battery and > bandwidth and greatly increases application-level latency. Thanks. -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Clarification on static variables

2009-06-03 Thread Peter Carpenter
Thanks very much Mark & Streets of Boston. It's taken me a while to get a grasp of the whole application lifecycle - especially once you throw Services into the mix, but I think I'm starting to get it! :) System.exit() definitely gets me out of the hole for now. Which is great - but as you say

[android-developers] Clarification on static variables

2009-06-02 Thread Peter Carpenter
ill allow me to effectively unload the application (on activity exit?) forcing the 'jvm' to reinitialise the static variables on next activity startup? Cheers, Peter. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[android-developers] Re: which junit to use when creating reusable library for Android apps?

2009-06-02 Thread Peter
of the time, these machines are not or can not be set up to run a > windowing system especially when running linux.  It would be very cool if > there was a way to get around the the true emulator for unit test purposes. > > > > On Thu, May 28, 2009 at 4:55 PM, Peter wrote: >

[android-developers] Re: Extremely frustrating = TextView in ScrollView -> Scroll to bottom?

2009-05-28 Thread Peter Carpenter
s Subject: [android-developers] Re: Extremely frustrating = TextView in ScrollView -> Scroll to bottom? On 28 Maj, 01:28, "Peter Carpenter" wrote: > Hi guys, > > > It appears that plenty of people have asked about this in newsgroups, > but no solution offered

[android-developers] Re: which junit to use when creating reusable library for Android apps?

2009-05-28 Thread Peter
e library from > the library itself. You could define an Android test application with a > manifest, etc, that references the library and contains all the tests for > the library. > > > > On Wed, May 27, 2009 at 2:42 PM, Peter wrote: > > > I am creating an Android librar

[android-developers] Re: flagNoExtractUi still showing keyboard text area

2009-05-28 Thread Peter Jeffe
So is anyone else using this flag? The only other app I can find that uses it also has the same issue, so at this point I'm assuming this is a bug. It's too bad, it's really a shame taking up that extra space and confusing the user when there's already a text box on t

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-28 Thread Peter Jeffe
that have 2-hour TTLs but it's querying them every few minutes. Seems to me this wastes battery and bandwidth and greatly increases application-level latency. -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

[android-developers] Extremely frustrating = TextView in ScrollView -> Scroll to bottom?

2009-05-27 Thread Peter Carpenter
doing this and then calling the scroll. I've also tried setting the text as spannable and setting the cursor position to the end. Cheers, Peter. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-developers] which junit to use when creating reusable library for Android apps?

2009-05-27 Thread Peter
I am creating an Android library that does stuff like http requests, etc, that uses android.jar objects. There will be no manifest or resources, etc, however. What is the best practice regarding the JUnit library to use in this library? DO I use standard JUnit, or the one included in android.jar?

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-27 Thread Peter Jeffe
reproduce it so far when running with -tcpdump, but I'll let you know if I do. -- Peter -- ro.build.id=CUPCAKE ro.build.display.id=sdk-eng 1.5 CUPCAKE 147336 test-keys ro.build.version.incremental=147336 ro.build.version.sdk=3 ro.build.version.release=1.5 ro.build.date=Tue Apr 21 21:10:23 P

[android-developers] flagNoExtractUi still showing keyboard text area

2009-05-27 Thread Peter Jeffe
s the same if I set the option programmatically: Thank for any help. -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-25 Thread Peter Jeffe
7;s also a problem on the device, which would be a disaster. -- Peter --~--~-~--~~~---~--~~ 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@googlegrou

[android-developers] Easy one (hopefully) Inverse preference dependency?

2009-05-21 Thread Peter Carpenter
way to specify "android:dependency= !"pref_server_active" or android:dependency= NOT("pref_server_active") ? Cheers, Peter. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] UnknownHostException on 1.5 emulator

2009-05-21 Thread Peter Jeffe
7;t bothered to do a network trace to see what it's doing. I also haven't tried to see if this is also a problem with the 1.1 emulator in the 1.5 SDK, but it was certainly never a problem with the 1.0 SDK. Anyone else seeing this, and more importantly, anyone seeing it

[android-developers] Re: SDK 1.5 breaks our build

2009-05-21 Thread Peter Jeffe
That workaround does the job, thanks for the help Xavier! -- Peter --~--~-~--~~~---~--~~ 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@google

[android-developers] Re: SDK 1.5 breaks our build

2009-05-20 Thread Peter Jeffe
ck so I'll put it in place and see how it goes. -- Peter --~--~-~--~~~---~--~~ 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: SDK 1.5 breaks our build

2009-05-19 Thread Peter Jeffe
ho need to build our products from separate Android projects. Can you tell me why this is not a serious problem that warrants an immediate fix? -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developer

<    1   2   3   4   5   6   >