[android-developers] Decryption pad block corrupted error ???

2010-02-18 Thread WoodManEXP
Hello, Anyone know what night be causing a pad block corrupted exception to be raised with decryption on Android? Here is the scenario: 1. On Windows Java app (NetBeans) read a small file, encrypt its contents and write it as a new encrypted file. 2. adb push the encrypted file to an Android 3.

[android-developers] Re: IP Adress of android device

2010-01-28 Thread WoodManEXP
Yea, trying to communicate between any two Androids, or any devices for that matter, using their IP address is probably going to be next to impossible, in the general case. It would work OK inside an intranet where IP addresses are less volatile (like the way controllers communicate with robots

[android-developers] Re: Testing location using network as location provider?

2010-01-28 Thread WoodManEXP
Sure, simply hard code the test coordinate in your app at the point you would otherwise call the LocationManager to get the last known location. Not too elegant, but it has worked over here on many occasions... On Jan 27, 10:57 pm, julius jul...@msa.co.nz wrote: Hi, I have an application which

[android-developers] New sales have come to a halt Re: Developer console stopped updating?

2010-01-27 Thread WoodManEXP
There has been 0 movement on the Developer Console (total or active installs) for days for the four apps we publish. They had constant and increasing activity November, December and early January. We also are unable to find our apps when searching the Market on Verizon HTC Hero phone.

[android-developers] Re: Problematic HTTPS Posts, help needed

2010-01-27 Thread WoodManEXP
Hello, I have done a lot of work with the Android communicating via http, Get and Post, with servers. Most of it seems to work pretty much the same as the org.apache.http.* libraries on other platforms (which is in itself pretty neat!). Couple of things that might be helpful - Do the http work

[android-developers] Re: Cant get data from my service

2010-01-24 Thread WoodManEXP
Daffo0, I would like to know how you solve this because I have a similar need with a background service doing a job and the background service would like to push updates to an activity (if the activity is running). What are the preferred communication techniques between Service and Activities?

[android-developers] Re: No stats? 0 total; 0 active installs while 5000 AdMob impressions??

2010-01-08 Thread WoodManEXP
My app numbers have not changed in several days which strikes me as unusual as they were very active through October, November and December. But on about Jan 2 they stopped moving. And the active install numbers keep fluctuating in strange ways. Maybe all the Androids being advertised on TV just

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

2010-01-08 Thread WoodManEXP
Peter, To your original question about is OpenGL on Android internally float or fixed: See this document http://glprogramming.com/red/chapter02.html. It says OpenGL works in the homogeneous coordinates of three-dimensional projective geometry, so for internal calculations, all vertices are

[android-developers] Re: Protection Method to avoid an .apk being copied overall

2010-01-06 Thread WoodManEXP
Make a separate version that disables itself after a period of time. On Jan 6, 7:57 am, Alex Corbi a.co...@gmail.com wrote: Hi Developers, First i explain you my situation: I have just released my new App (Voice Alerts - more info:http://49ers.es/corbi/voice-alerts), there is a demo and a

[android-developers] Re: Motionevent problems - multitouch events give wrong coordinates

2010-01-06 Thread WoodManEXP
Colin, Wow! I am working on using multitouch for a game and remain equally confused by similar behavior and will be anxious to see how this is resolved. So far the answer has eluded me too, sigh... Thanks for positing such a clear explain. Maybe a Google person will get involved. On Jan 6,

[android-developers] Re: Fancy ListView help

2009-12-22 Thread WoodManEXP
Although I use ListView a lot it has always been a little confusing to understand how it manages its views returned from BaseAdapter.getView (). If you know you have just the six list rows, which is not a lot, then every time BaseAdapter.getView() is called create the view hierarchy, with the

[android-developers] Re: DroidFanz offering unauthorized paid apps - check yours

2009-12-22 Thread WoodManEXP
Hi, Sounds like you are talking about writing a crawler, basically :-). To input Username/Password between your app and the web server you will likely need to construct a Post, containing the UID and Password, to send to the Roger's Wireless login URL. To get back the info you read the results of

[android-developers] Re: Accessing Web Information

2009-12-22 Thread WoodManEXP
Hi, Sounds like you are talking about writing a crawler, basically :-) (Fooling the web site into believing you are just another user with a browser). To input Username/Password between your app and the web server you will likely need to construct a Post, containing the UID and Password, to send

[android-developers] Re: Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo

2009-12-17 Thread WoodManEXP
Your app is maybe not showing on the Tattoo because of the combination of Tattoo being a small-screen device and the screen settings in your app's manifest. There is a blog posting at http://d.android.com/guide/practices/screens_support.html that explains it well. And on the comment of They want

[android-developers] Re: notifyDataSetInvalidated does *not* reset scroll position

2009-12-11 Thread WoodManEXP
I have run into the same thing in 1.6 in that sometimes notifyDataSetInvalidated sends the list back to the top and sometimes it does not. Here is a block of code that seems to work (at least it has not not worked yet in testing). lViewAdapter.notifyDataSetInvalidated(); // New data, this does

[android-developers] ListView not allowing onDraw on child Views in special case?

2009-12-11 Thread WoodManEXP
I have a ListView with an adapter attached. In the individual list items are placed views with widgets that continually update themselves within the list. Everything works well except for this case: Touch the list and start scrolling it just before the longTouch event would be thrown. Then lift

[android-developers] Re: Project dependency: reusing code and resources from another Android project

2009-12-11 Thread WoodManEXP
How do you manage resources between the various subsystems they are in? On Dec 11, 2:39 pm, Andriy Tsykholyas andriy.tsykhol...@gmail.com wrote: I've ended up with a 'build' project which is merely a set of symbolic links to 'real' projects. This approach works perfectly for me :) On Dec 10,

[android-developers] Re: Large data file: how to deal with it?

2009-12-11 Thread WoodManEXP
Several of my apps have huge data files, like 20mB or more. One technique is to download the compressed data file when the app first starts. Store it on secondary store and access it with regular java IO classes (Unfortunately Java IO is really, really slow because it is so strung out on being

[android-developers] Re: Project dependency: reusing code and resources from another Android project

2009-12-10 Thread WoodManEXP
I have been successful breaking out common classes into separate Eclipse projects and exporting them as .jar files, and referencing the .jar files in other Eclipse projects, as long as they do not reference resources. If they need to reference resources, well, it just seems it is not possible at

[android-developers] locationManager.requestLocationUpdates and 1.6

2009-12-10 Thread WoodManEXP
In Android 1.6 there are log messages being generated by GpsLocationProvider about exceeding MIN_FIX_COUNT and stopNavigating. There are some bug reports against 1.6 saying that the locationManager.requestLocationUpdates has a problem that causes it to hibernate at the incorrect times if an app

[android-developers] Re: Project dependency: reusing code and resources from another Android project

2009-12-10 Thread WoodManEXP
to break apart the apps into reusable modules (.jar files). And resources need to be included in the mix. (In days of old there were tools called Link Editors that resolved such issues :-) ) On Dec 10, 8:42 am, Andriy Tsykholyas andriy.tsykhol...@gmail.com wrote: On Dec 10, 3:28 pm, WoodManEXP

[android-developers] Units for Paint.setTextSize() ?

2009-12-08 Thread WoodManEXP
Does anyone know what the units are for Paint.setTextSize(size) ? With the TextView class you can use a call like TextView.setTextSize(TypedValue.COMPLEX_UNIT_PT, ptSize) to select the units of the size parameter. How are the units set for Paint.setTextSize()? Thank you, -- You received this

[android-developers] For Google about BaseAdapter class

2009-11-19 Thread WoodManEXP
For Google about BaseAdapter class In Android 1.6 and 2.0 the BaseAdapter class has apparently been modified to throw an exception when it sees the Adapter.getCount() method return a number different than what it picked up when BaseAdapter.notifyDataSetChanged() was called (at least I did not

[android-developers] Re: java.lang.IllegalStateException: Content of adapter changed but ListView didn't

2009-11-17 Thread WoodManEXP
I have run into this, pretty much exactly as you describe it, starting with Android 1.6, but not before. Get any ideas about what's going on? On Oct 10, 11:22 pm, pawpaw17 georgefraz...@yahoo.com wrote: I'm getting an unhandled exception in my class that fills an arrayadapter from items in a

[android-developers] Re: Android 2.0 and ADP (necessary to flash the ADP?)

2009-11-13 Thread WoodManEXP
How are we suppose to take advantage of the 2.0 upgrades if it is not going to be available for the ADPs? Will it ever be available for the ADPs? On Nov 12, 2:24 pm, Disconnect dc.disconn...@gmail.com wrote: That is because android 2.0 is closed source. On Thu, Nov 12, 2009 at 9:33

[android-developers] Re: SDK 2.0 vs SDK 1.6

2009-11-13 Thread WoodManEXP
Our upgrade to 2.0 was mostly painless and switching between SDKs and emulators works OK. We are trying to figure out how best to test against 2.0, other than the emulator, as there is no 2.0 image available for the ADP. On Nov 2, 7:02 pm, dataStorm armags...@gmail.com wrote: Oh cool, so it is

[android-developers] Growing pains for Android developers??

2009-11-13 Thread WoodManEXP
We have spent significant time energy and $$ producing several Android applications on the bet/hope it will be able to cut into the iPhone market. Unfortunately little is happening. - The apps sales are sluggish (the apps are hardly even being pirated as far as we can tell). - ADP cannot be

[android-developers] Re: Growing pains for Android developers??

2009-11-13 Thread WoodManEXP
grow if they put their apps on them also. On Fri, Nov 13, 2009 at 5:57 PM, WoodManEXP woodman...@gmail.com wrote: We have spent significant time energy and $$ producing several Android applications on the bet/hope it will be able to cut into the iPhone market. Unfortunately little

[android-developers] Re: Growing pains for Android developers??

2009-11-13 Thread WoodManEXP
a phone that supports 2.0. On 13 Nov, 13:57, WoodManEXP woodman...@gmail.com wrote: We have spent significant time energy and $$ producing several Android applications on the bet/hope it will be able to cut into the iPhone market. Unfortunately little is happening. - The apps sales

[android-developers] Re: Choosing Dev Phone

2009-11-13 Thread WoodManEXP
Well, hopefully there will soon be a 2.0 image for the ADP1. Right now there is almost no $$ to be made selling apps so I don't want to buy any more hardware. That said the ADP1 (HTC dream phone) has been a a really good device. It is well built, fast, has all the sensors and has a keyboard. I am

[android-developers] Re: Application design - using threads

2009-11-12 Thread WoodManEXP
To my understanding the point of threading is, mostly, to avoid blocking the UI. The UI should never be unresponsive because an app has the UI thread tied up doing something other than responding to user's actions. (And if the OS detects an app not responding it will pop up a message saying the

[android-developers] Re: Application design - using threads

2009-11-12 Thread WoodManEXP
Oh, and yes you could use Thread with a run() method. Its easy to set up. AsyncTask is sort of a specialization of Thread tat helps with some of the communication between parent and child thread. But they can be run only once. So a new one needs to be instantiated each time. On Nov 12, 8:13 am,

[android-developers] Android 2.0 and ADP (necessary to flash the ADP?)

2009-11-12 Thread WoodManEXP
Apologies if this is a silly question, but is it necessary to flash an updated OS into the ADP1 to run SDK version 5 apps in the ADP? If so where are the images? I do not see them at http://developer.htc.com/adp.html like for the other system images. Any one know? Thanks! -- You received

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

2009-11-12 Thread WoodManEXP
Xavier, Where is the 2.0 system image for ADP? On Oct 27, 11:45 am, Xavier Ducrohet x...@android.com wrote: Hello everyone! We've just announced the Android 2.0 SDKhttp://android-developers.blogspot.com/2009/10/announcing-android-20-... If you already have the 1.6 SDK, note that you can

[android-developers] Re: Android 2.0 and ADP (necessary to flash the ADP?)

2009-11-12 Thread WoodManEXP
Thank you Tom. This means the android:minSdkVersion in the Manifest should stay at 3 or 4 for now, right, since the ADP can only get to 4? On Nov 12, 9:56 am, Thomas Riley tomrile...@googlemail.com wrote: Hello, Sadly 2.0 is only available for the Motorola Droid at the moment, so stick with a

[android-developers] Re: Where put file with data?

2009-11-11 Thread WoodManEXP
.  :) -- PJ On Nov 5, 4:17 am, sangorys sango...@gmail.com wrote: I have a similar question. I just want to add a .txt file in my program. Where can I put it ? Thanks On 4 nov, 20:20, WoodManEXP woodman...@gmail.com wrote: /sdcard/ works well. On Nov 2, 1:01 pm, Wojciech Topolski

[android-developers] How to build apk from multiple Eclipse projects?

2009-11-11 Thread WoodManEXP
Does anyone know of suggestions/recommendations on how to structure Eclipse projects in order to build an apk from multiple projects? I would like to share classes resources (strings, layouts, etc…) across multiple apps. Any pointers on how to structure Eclipse projects to do such a thing is

[android-developers] Re: downloading a file programatically

2009-11-11 Thread WoodManEXP
As a first step maybe pull the downloaded file off the /sdcard/ using adb and compare it to the file you think is on the server to make sure you are getting what you expected. On Nov 11, 7:03 am, mudit mudit.a...@gmail.com wrote:   0  vote down  star hi. i am downloading files from web server

[android-developers] Re: How to build apk from multiple Eclipse projects?

2009-11-11 Thread WoodManEXP
jar files. On Nov 11, 7:29 am, WoodManEXP woodman...@gmail.com wrote: Does anyone know of suggestions/recommendations on how to structure Eclipse projects in order to build an apk from multiple projects? I would like to share classes resources (strings, layouts, etc…) across multiple apps

[android-developers] Re: Where put file with data?

2009-11-04 Thread WoodManEXP
/sdcard/ works well. On Nov 2, 1:01 pm, Wojciech Topolski wojciech.topol...@gmail.com wrote: Hi I have a problem with files. I would like to add file with database inserts to my app. Where should I put this file? In res/then? This file will have 5 MB, so after operation I would like to

[android-developers] GPS_EVENT_SATELLITE_STATUS called alot

2009-11-04 Thread WoodManEXP
Has anyone noticed that onGpsStatusChanged for event GPS_EVENT_SATELLITE_STATUS is called alot? As far as I can tell it seems to be called continously. Is that expected? Thank you! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Getting paid apps for free ??

2009-10-14 Thread WoodManEXP
I keep reading posts about Chinese and other web sites that are offering the paid, copy protected apps for free. If this is indeed the case and there is not a reasonable remedy it definitely takes the wind out of our sails for investing further in creating applications for the Android platform.

[android-developers] Piracy protection idea

2009-10-14 Thread WoodManEXP
I am no security expert and have not thought this out all the way, but could a workable solution to the pirating problem be something like this: 1. The market clients (like Google Market, AndAppStore, SlideME) could record on their servers some kind of identifier about who bought the app and

[android-developers] Re: for Google attention

2009-10-13 Thread WoodManEXP
Well this is just great! How should developers attempt to combat this? Does the app copy protection help in any way? How is the owner of this site getting the apps? On Oct 13, 1:00 pm, Andrei gml...@gmail.com wrote: There is a Chinese web site where u can download packages for paid

[android-developers] Re: for Google attention

2009-10-13 Thread WoodManEXP
, distribute it Google offers really no package protection On Oct 13, 1:33 pm, WoodManEXP woodman...@gmail.com wrote: Well this is just great! How should developers attempt to combat this? Does the app copy protection help in any way? How is the owner of this site getting the apps

[android-developers] Re: for Google attention

2009-10-13 Thread WoodManEXP
with this and add copy protection to your own app? On Tue, Oct 13, 2009 at 2:23 PM, WoodManEXP woodman...@gmail.com wrote: Maybe a white-hatted person will show up and target some serious DoS efforts on these sites! On Oct 13, 1:52 pm, Fan Zhang fredplusp...@gmail.com wrote: There are many

[android-developers] See the Google app store without having cell phone service ??

2009-09-26 Thread WoodManEXP
Does anyone know if it possible to see the Google app store without having cell phone service on the Android (like from my ADP with no SIM card)? I can see bits of it at http://market.android.com, but can you see all of it without the Android on a cell phone account? Thank you!

[android-developers] Re: How to start debugger on ADP1 device rather than AVD

2009-09-18 Thread WoodManEXP
: menu Run Run/Debug Configuration select config Target tab Manual. R/ On Thu, Sep 17, 2009 at 8:02 PM, WoodManEXP woodman...@gmail.com wrote: Does anyone know how to get the debugger to launch on an ADP1?. It was recently flashed to 1.5. Dev platform is Eclipse on Windows XP

[android-developers] Re: Writing my ListAdapter for ListView

2009-09-18 Thread WoodManEXP
Yes and lists can be scrolled quickly so many of the images locations may scroll away even before they are loaded. I'd maybe want to make sure the images to be loaded are small like thumbnails if possible in order to speed load time and decrease memory footprint. Otherwise you might want to not

[android-developers] BaseAdapter.getView()’s conve rtView parameter

2009-09-18 Thread WoodManEXP
BaseAdapter.getView()’s convertView parameter Does anyone understand how this parameter works or is intended to work? By watching it in the debugger it seems to be the view that was previously returned from getView(). - Are we supposed to be able to reuse the previous view as some sort of

[android-developers] Re: how do you quit an app...

2009-09-18 Thread WoodManEXP
Yea, Android wants to be the killer of processes. I believe the thinking is that it is better to leave one running incase the user wants to come back. So when user presses home key the app is just suspended but not killed, unless OS needs its resorces. That's why they relaunch so quickly. On Sep

[android-developers] Button.setTextColor, how to make it work? Options

2009-09-17 Thread WoodManEXP
Experimenting with some UI ideas I wanted to change the color in a button view some time after it had been initially drawn. So it seemed like calling .setTextColor() should do it. But it does not cause the color of the button text to change. Have even tried calling .invalidate() to force a

[android-developers] How to debug on ADP1 real device?

2009-09-17 Thread WoodManEXP
How to debug on ADP1 real device Does anyone know how to get the debugger to launch on an ADP1, which was recently flashed to 1.5? I am running Eclipse on Windows XP with the SDK 1.5 USB driver installed (HTC Dream Composite Interface). Windows can see the device and adb can see the device with

[android-developers] Re: Button.setTextColor, how to make it work? Options

2009-09-17 Thread WoodManEXP
you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 17, 7:22 am, WoodManEXP woodman...@gmail.com wrote: Experimenting with some UI

[android-developers] How to start debugger on ADP1 device rather than AVD

2009-09-17 Thread WoodManEXP
Does anyone know how to get the debugger to launch on an ADP1?. It was recently flashed to 1.5. Dev platform is Eclipse on Windows XP with the SDK 1.5 USB driver installed (HTC Dream Composite Interface). Windows can see the device and adb can see the device with “adb devices” command. USB

[android-developers] How to flash Android Dev Phone 1.5

2009-09-15 Thread WoodManEXP
Just got a Dev Phone 1 and want to flash it to 1.5. I found instructions at http://www.htc.com/www/support/android/adp.html. Are these the official instructions? Are there instructions from Google? Thank you! --~--~-~--~~~---~--~~ You received this message

[android-developers] ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread WoodManEXP
HttpHostConnectException: Connection to http://127.0.0.1 refused This Android app is using (trying to use) the http libraries to post and retrieve from a web server. Running the app on the emulator connecting to the Apache server on the same box (localhost) it gives the Connection refused

[android-developers] Re: ?? HttpHostConnectException: Connection to http://127.0.0.1 refused ??

2009-09-15 Thread WoodManEXP
Pop myself in the head! Thank you Terry and Jason.. Of course 127.0.0. is the Android. I keep forgetting simple stuff like that. And I now also see it staring me in the face in the docs under Emulator Networking. Hopefully I can return the favour. On Sep 15, 4:51 pm, Jason Proctor

[android-developers] Re: Question about custom Views in ListView

2009-09-14 Thread WoodManEXP
And the answer is... Make sure the parent ListView has its width set to fill_parent rather than wrap_content. Maybe this will help someone else! On Sep 14, 1:20 pm, WoodManEXP woodman...@gmail.com wrote: Question about custom Views in ListView This app is building custom Views for elements

[android-developers] Question about custom Views in ListView

2009-09-14 Thread WoodManEXP
Question about custom Views in ListView This app is building custom Views for elements of a list view. How can the custom view be made to fill the entire width of the list view? This XML for the element’s view is inflated from this: ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Re: How to create a View from an external XML source?

2009-09-14 Thread WoodManEXP
Yea, look at class LayoutInflater. It explains why pulling the XML from outside will not work... On Sep 14, 8:31 pm, Mark Murphy mmur...@commonsware.com wrote: Argy wrote: What if I have this XML layout online (on a website) and I want to create the layout on runtime? Is there any way to

[android-developers] ListView and OnItemSelectedListener and clicking/touching

2009-09-13 Thread WoodManEXP
Two questions: 1. When does OnItemSelectedListener get called? My expectation was that when an element of a ListView was clicked/ touched that the OnItemSelectedListener would be called. My OnItemSelectedListener is not called when a list element is clicked/ touched. (It is called if the list

[android-developers] Re: setText

2009-09-13 Thread WoodManEXP
I do not know the answer to this but I might experiment with setting a width other than wrap_content just to see how it behaves. Maybe try setting width to something like 100dip as a starter and see if the same behavior occurs. On Sep 13, 3:47 am, Anastasiya Dremina

[android-developers] IOException from RandomAccessFile ?

2009-09-11 Thread WoodManEXP
Hello, I have a RandomAccessFile in the main activity opened r (read only) and can read from it no problems. A menu choice from the main Activity launches another Activity (from an intent set on the MenuItem). The newly launched Activity instantiates a RandomFileAccess also with r (readonly)

[android-developers] Re: Change Text in Text View

2009-09-11 Thread WoodManEXP
I think maybe where you have mInfo = ((TextView) findViewById(R.string.infomation)); it is not getting a view back. Usually R.string.information would be referring to a field like android:id=@+id/information Which would be an attribute of the TextView from your layout XML file. You

[android-developers] Why does app not get onDestroy when exited but then receives an onCreate when relaunched?

2009-09-11 Thread WoodManEXP
Why does app not get onDestroy when exited but then receives an onCreate when relaunched? Here is the trace Launched app It received onCreate and the other expected on calls for a launch. Now, leave application with the home button and it receives onSaveInstanceState onPause onStop And

[android-developers] InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
Today Eclipse is telling me ERROR: Application does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner whenever I select the Run choice of the Run menu. What does this mean? The AVD manager is listing the target avd. The

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
/manifest On Sep 10, 9:50 am, WoodManEXP woodman...@gmail.com wrote: Today Eclipse is telling me ERROR: Application does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner whenever I select the Run choice of the Run menu

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
Oh, here ya go. Looking under Eclipse's Run-Run Configurations menu choice. Under that one can select a target AVD for the Android Application. That seems to do the trick. So if you get such an error try tinkering with the Run Configurations. On Sep 10, 10:04 am, WoodManEXP woodman...@gmail.com

[android-developers] How to change width of a SeekBar?

2009-09-10 Thread WoodManEXP
How to change width of a SeekBar? Below is a TableRow with two items in it, a Button and a SeekBar. How can the SeekBar be made to extend its right side to fill in the remaining width of the TableRow? Currently I have only been able to control the SeekBar width by setting it’s

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
OK, I'll place that inside the application tag. The XML looks like this now. Can you tell if the other things in there are placed correctly? Thank you! ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.MyApp

[android-developers] Re: How to change width of a SeekBar?

2009-09-10 Thread WoodManEXP
very narrow. Is there another way to change its width? Thank you! On Sep 10, 11:49 am, Mark Murphy mmur...@commonsware.com wrote: WoodManEXP wrote: Below is a TableRow with two items in it, a Button and a SeekBar. How can the SeekBar be made to extend its right side to fill

[android-developers] Re: How to change width of a SeekBar?

2009-09-10 Thread WoodManEXP
Why thank you! Using android:layout_weight=1 (I need to lookup what that means now) works great. The SeekBar resized itself to fill out the remainder of space in the view. On Sep 10, 12:06 pm, Mark Murphy mmur...@commonsware.com wrote: WoodManEXP wrote: I thought fill_parent would have

[android-developers] Re: How does BaseAdapter communicate with its ListView?

2009-09-08 Thread WoodManEXP
Thanks Romain for the info. On Sep 6, 4:05 pm, Romain Guy romain...@google.com wrote: ListView just sets a ContentObserver on the adapter. On Sep 6, 2009 3:51 PM, WoodManEXP woodman...@gmail.com wrote: How does BaseAdapter communicate with its ListView? I was wondering how the BaseAdapter

[android-developers] Development phones ??

2009-09-08 Thread WoodManEXP
Does anyone know the status with the development phones? Apparently they are out of stock. - Can any other device be used for development testing? - If you get a development phone does it come with Android 1.5 or do you need to update it? Thank you

[android-developers] How does BaseAdapter communicate with its ListView?

2009-09-06 Thread WoodManEXP
How does BaseAdapter communicate with its ListView? I was wondering how the BaseAdapter. notifyDataSetChanged() method notifies the attached View that the underlying data has been changed and it should refresh itself? When creating a BaseAdapter you attach it to the View with

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-02 Thread WoodManEXP
Hi Dmitry, Thank you for responding. The chars I’d like to read are two byte chars (they really are an array of ushorts, but the java char type represents them OK). As far as I can tell there is simply no way in Java to implement a seemingly obvious sequence of statements like: char[] cBuffer

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-02 Thread WoodManEXP
Hi Haravikk, Thanks for the suggestion and on fist glance it looks like this ought to work, but no such luck :-( The InputStreamReader has two things going against it for large array operations. 1. It allocates a huge buffer (way larger than the 8K advertised). Whenever it tried it to read

[android-developers] Re: Setting internal storage in the AVD

2009-09-01 Thread WoodManEXP
Well, I edited the avd's .ini file to have a line like hw.ramSize=256 and restarted the avd. The avd does not show an increase in internal storage like I thought it might. I am just wondering if/how this parameter in the .ini file works. On Aug 31, 1:41 pm, Balwinder Kaur (T-Mobile USA)

[android-developers] How to read in a large array of chars, quickly?

2009-09-01 Thread WoodManEXP
This is sort of a java question too… How to read in a large array of chars, quickly? I have a file on the /sdcard/ with a million chars (2 bytes each) that I would like to read in quickly. It is a binary file written from another system and I cannot change it. It can be read into a byte[]

[android-developers] Re: Popup a spinner when clicking on a TextView

2009-09-01 Thread WoodManEXP
I have had success making stuff appear and disappear with setVisibility(). No visability, no response to user events. visability and response to user events. Good luck! On Sep 1, 4:28 pm, Jonas jonas.hey...@gmail.com wrote: Hi, How can I popup a spinner when clicking on a TextView? I then

[android-developers] Re: How to read in a large array of chars, quickly?

2009-09-01 Thread WoodManEXP
to just copy from a byte[] to your own char[] in code? On Tue, Sep 1, 2009 at 5:13 PM, WoodManEXP woodman...@gmail.com wrote: This is sort of a java question too… How to read in a large array of chars, quickly? I have a file on the /sdcard/ with a million chars (2 bytes each) that I

[android-developers] 16M application heap limit

2009-08-31 Thread WoodManEXP
Does the 1.5 SDK still have the 16mB application heap limit? Is there any way to change it? Do you think this limit will persist into the forseeable future? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Setting internal storage in the AVD

2009-08-30 Thread WoodManEXP
Does anyone know how to set internal storage in the AVD to something other than the default 92M? I have tried setting hw.ramSize in the AVD's .config file, but no change and also tried setting it when creating a AVD with the android create command. Same net resut. I'm on Windows XP. Thanks in

[android-developers] Re: How to show a Progress dialog in AsyncTask?

2009-08-30 Thread WoodManEXP
Hi Juan, This is pretty easy to do. One way is to implement a class in your UI class that extends AsyncTask. Then you can instantiate the ProgressDialog class (which you may want to extend for various reasons) in the constructor. In the doInBackground method call publishProgress which will call