[android-developers] MotionEvent not firing as expected

2010-12-17 Thread stanchat
I am creating a drag and drop application and the core features of the app are wokring. One issue I am having is that the sequence of events for the MotionEvent class was not what I was expecting. For example in my application I can have up to 100 image views on a layout and you can drag these im

[android-developers] Re: layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-13 Thread stanchat
tes very frequently. > Xav > > > > > > On Sun, Dec 12, 2010 at 9:10 PM, stanchat wrote: > > The new Layout Editor is also giving me problems.  I'm trying to add a > > Linear Layout as the child of another linear layout and then add a > > textview and

[android-developers] Re: layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-12 Thread stanchat
The new Layout Editor is also giving me problems. I'm trying to add a Linear Layout as the child of another linear layout and then add a textview and button. I'm having a hard time doing that with the new editor. I miss the big + and - along with the arrow keys to move views up and down. Is the

[android-developers] What happened to the Arrows and + and - button in Layout Editor

2010-12-11 Thread stanchat
I just updated my Android SDK in eclipse and ofr some reason the arrows that would allow me to order views and the plus and minus signs that would add and remove views are now gone. Is there anyway to get them back or is this just part of the new and improved IDE. -- You received this message be

[android-developers] Re: Custom GridView with ArrayAdapter out of sync with backing data

2010-10-29 Thread stanchat
    a.isSelected = isChecked; > >       // The call below may not be necessary.... >       ard.notifyDataSetChanged(); >     } >   } > > On Oct 28, 1:17 pm, stanchat wrote: > > > > > This will work for the AddAll and ClearAll buttons.  How do I make it > > work for an i

[android-developers] Re: Custom GridView with ArrayAdapter out of sync with backing data

2010-10-28 Thread stanchat
;   } > > Never call your adapter's getView() method yourself. It will be > called by the framework. It's a call-*back* function. > > If you want to change the items in the list-view, do *not* change the > list-item views (child-views) of the listview (GridView). I

[android-developers] Custom GridView with ArrayAdapter out of sync with backing data

2010-10-28 Thread stanchat
I'm have a custom GridView Array Adapter. The problem for me is that when the grid list gets large enough to scroll off the screen the gridview and arraylist get out of sync. For instance in my case I have code that checks if an actor is of type director the text color should be red. if you scro

[android-developers] Context Menu long press and onTouch event conflicting

2010-10-26 Thread stanchat
I have a situation where I have some textview on a framelayout that I have a onTouch event wired in order to simulate dragging. I alos want to enable the ability to have a context menu display when the user long presses the textview. Now that I have implemented the context menu functionality drag

[android-developers] GridView with Filter and Sort capabaility

2010-10-25 Thread stanchat
Is it possible to have a grid view that is filterable and sortable? The GridView is a collcetion of a more complex view that is CheckBox and TextView with a picture background above the text. I have created a custom class that where I override getView. I can display and work the gridview just fine

[android-developers] Re: Best Practice for additional content delivery and add-ons

2010-09-13 Thread stanchat
Ok. This seems like a good approach. So I need to figure out how to do cross application communication between two apps basically. Do you know of any good examples or tutorials on this concept? -Stan On Sep 13, 1:32 pm, TreKing wrote: > On Mon, Sep 13, 2010 at 1:26 PM, stanchat wr

[android-developers] Re: Best Practice for additional content delivery and add-ons

2010-09-13 Thread stanchat
Security restrictions on this. What is the architecture to do this? On Sep 13, 1:10 pm, TreKing wrote: > On Mon, Sep 13, 2010 at 12:54 PM, stanchat wrote: > > Does the Android SDK have any built-in methods to deliver additional > > content? > > Nope. > > >  Does and

[android-developers] Best Practice for additional content delivery and add-ons

2010-09-13 Thread stanchat
I have a design question I was hoping someone could answer or offer guidance. I am desiging a game that will initially have 100 levels but the user will have the ability to purchase additional levels. For instance when the game is relaesed the free version will have 100 levels and then the user c

[android-developers] User Ratings in Apps

2009-11-17 Thread stanchat
Just curious, how do most applications get users to rate their application. I know the user gets the opportunity when they purchase from the market but do many applications have a button emmbeded in their application like "Please Rate My Game" etc.. that will redirect the user. -- You received

[android-developers] Re: adb finds my G1 device but not others!

2009-08-09 Thread stanchat
Try the kill server command. adb kill-server On Aug 8, 7:25 am, elpix1 wrote: > Is the USB debugging setting turned on ? > > Settings->Applications->Development->USB debugging. > > On Aug 8, 5:16 am, Paul Drummond wrote: > > > > > I have never had a problem with adb detecting my G1 device bu

[android-developers] Multi parameter searches using SearchManager

2009-07-12 Thread stanchat
I have been looking at the SearchManager in Android and wanted to know if it is possible to do multi parameter searches. For instance lets say you have a RESTful web services that can search on "LastName", "FirstName", "BirthDate" and "Emal". With this scenario I would like to present the user wi

[android-developers] Re: Modifying the UI within Java, not XML

2009-07-12 Thread stanchat
You may want to consider the AddHeaderView and AddFooterView methods of the list view. The link below describes how to implement these. http://groups.google.com/group/android-developers/browse_thread/thread/9f11fe55e35d0e9e/997e3a06ec25d745?lnk=gst&q=addHeaderView On Jul 11, 5:58 pm, Breezy wr

[android-developers] Error un-installing "Android Editors" in Eclipse

2009-07-04 Thread stanchat
I am upgrading to the 1.5 SDK and trying to un-install the "Android Editors" per the instrcutions". However when I click "Finish" I get the following error "An error occurred while collecting items to be installed No repository found containing: org.apache.oro/osgi.bundle/ 2.0.8.v200903061218"

[android-developers] Best Practice for Static Headers and Footers

2009-04-11 Thread stanchat
I am trying to display a high score table in my application and wanted to know the Best Practice for displaying static headers or footers. The data for the High Score tableis a REST web service returing up to 100 JSON records. I have looked at some of the previous posts http://groups.google.com/g

[android-developers] Displaying Dialog with no dim on background window.

2009-03-23 Thread stanchat
I am trying to display a dialog but would like to have the background windows show clear with no dim or blur. I have played around with the Windows Manager Layout parameters setting WindowManager.LayoutParams FLAG_DIM_BEHIND and dimAmount but it still gives a slight dim in the background. Does

[android-developers] Programmatically get resource information

2009-02-14 Thread stanchat
I have a SQLite database and one of the tables has a column that is the string name of a jpeg file.. For instance the column is called "PhotoID" and a record value is say "photoone.jpg" I have strored all the actual jpegs in the drawable resouce directory. I would like to be able to programmatic

[android-developers] Re: Acessing web services with ksoap

2008-09-21 Thread stanchat
<[EMAIL PROTECTED]> wrote: > stanchat wrote: > > Does anyone know the link to get the ksoap2 souce code? > > http://ksoap2.sourceforge.net/ > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Warescription: All titles, revision

[android-developers] Re: Acessing web services with ksoap

2008-09-21 Thread stanchat
Does anyone know the link to get the ksoap2 souce code? On Sep 10, 2:41 pm, Luciano <[EMAIL PROTECTED]> wrote: > In fact I quit using thatksoapmodified library from Tuxpan and I > used the original ksoap2 library. So I had to modify the source code > of HttpTransport class: > Original >