[android-developers] ExpandableListView entries attribute

2013-01-09 Thread Vance Turnewitsch
I am trying to use the entries xml attribute for an ExpandableListView. The entries attribute works in a ListView when pointed at a String array I've defined in xml; but I can't determine how to define a String array for the ExpandableListView entries attribute. I tried this and got

[android-developers] Using Dialog onStart

2012-10-17 Thread Vance Turnewitsch
I need to load a media file for a VideoView contained in a Dialog on pre-1.6,2.1 Android devices. I can't use the setOnShowListener http://developer.android.com/reference/android/app/Dialog.html#setOnShowListener%28android.content.DialogInterface.OnShowListener%29for 1.5,1.6, or 2.1; so I need

[android-developers] Using android.R.id.title and getParent to remove TitleBar

2012-07-21 Thread Vance Turnewitsch
I am using the following code to dynamically hide the TitleBar: ViewGroup ob = (ViewGroup) findViewById(android.R.id.title).getParent(); ((View)ob).setVisibility(View.INVISIBLE); ob.setLayoutParams(new LinearLayout.LayoutParams(0, 0));

[android-developers] MediaController not visible for VideoView in Dialog

2012-06-25 Thread Vance Turnewitsch
Hi, I am displaying a VideoView in a custom Dialog I am creating. I am attaching a MediaController to the VideoView, but the MediaController won't show up when touching/clicking the screen or VideoView on a device or in the emulator. Below is my code for creating the Dialog: private Dialog

Re: [android-developers] Leaking Window on orientation change

2012-06-18 Thread Vance Turnewitsch
wrote: On Sun, Jun 17, 2012 at 9:05 PM, Vance Turnewitsch wrote: so should override that method for the Dialog or the view in my dialog? I think it would be the View that owns the dialog. In this case maybe your FrameLayout? Or the resizeVidView

Re: [android-developers] Leaking Window on orientation change

2012-06-17 Thread Vance Turnewitsch
, but I won't be able to re-write them in the large project. On Sunday, June 17, 2012 12:42:53 AM UTC-4, TreKing wrote: .On Sat, Jun 16, 2012 at 11:06 PM, Vance Turnewitsch wrote: I am writing a separate component for an Android framework, and I can't modify the activity that will use my

Re: [android-developers] Leaking Window on orientation change

2012-06-17 Thread Vance Turnewitsch
I know this situation is strange, but I am being honest. I saw the Romain guy post that suggestion somewhere before, and I have tried using that method. I haven't had success with it; so should override that method for the Dialog or the view in my dialog? Vance On Sunday, June 17, 2012

Re: [android-developers] Leaking Window on orientation change

2012-06-16 Thread Vance Turnewitsch
I am writing a separate component for an Android framework, and I can't modify the activity that will use my component. Vance On Friday, June 15, 2012 11:23:43 PM UTC-4, TreKing wrote: On Fri, Jun 15, 2012 at 7:54 PM, Vance Turnewitsch wrote: I cannot access the on* methods of the activity

[android-developers] Re: Back button problem in android

2011-09-14 Thread Vance Turnewitsch
First, I think you are asking a user question. This is a developer forum. I would suggest looking for the android market help forum. http://www.google.com/support/forum/p/Android+Market/label?lid=1d903020a35e806ehl=en. Or contact the developer of the app. Also for the time being, developers

[android-developers] Re: BitmapFactory.decodeStream() blocking

2011-08-22 Thread Vance Turnewitsch
I doubt that decodeStream is thread safe. There is no synchronized in the method declaration for Android 2.2 http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/graphics/BitmapFactory.java#1 On Aug 21, 6:50 am, b0b pujos.mich...@gmail.com wrote:

[android-developers] Re: Active install percent metric: now it's just ridiculous!

2011-08-15 Thread Vance Turnewitsch
Yah, I've noticed different update lags with the install numbers. But who cares if the % is wrong with that many installs! What i would give to get that many downloads. :) On Aug 15, 4:06 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Aug 15, 2011 at 5:02 PM, Mark Ayers

[android-developers] Re: Cross Platform Framework

2011-08-15 Thread Vance Turnewitsch
Concerning multiple screens, a HTML/JavaScript based framework like PhoneGap or Titanium SDK can probably support any screen size. Both frameworks are rather slow on android though, and Titanium Studio's build process is miserable to work with. I dont know much about Corona. For more info, I'd

[android-developers] Re: getting stuck in database

2011-08-15 Thread Vance Turnewitsch
Your question is rather vauge. Post some code showing how you read data and set the UI to clear things up, or maybe take a look at LogCat to see if you're getting errors. Vance On Aug 15, 4:52 am, abhijit chakra kanh...@gmail.com wrote: I am doing a project based on  SQLIte,I have there field

[android-developers] Re: Activity Start Performance Improvement - how to dealt with loading the data while the UI continues to be displayed

2011-08-14 Thread Vance Turnewitsch
AsyncTask can help, but on single-core devices AsyncTask will at times block your UI loading code. I've have experienced this with loading images and data from a SQLiteDatabase. I would suggest starting up an AsyncTask to load your data in onResume or onStart. That way you have a pretty high

[android-developers] Re: just made an app

2011-08-11 Thread Vance Turnewitsch
It took my app a few hours for it to show up in searches in the store. On Aug 9, 6:49 pm, ddd timmy...@gmail.com wrote: hello, new to apps .. I just had an app published, Baseball Cards value, I can not see it anywhere in the store, How long does it typically take? -- You received this

[android-developers] Re: Just in section

2011-08-08 Thread Vance Turnewitsch
I think the Just In section has been removed on the Market. On Aug 7, 7:30 pm, Jim Graham spooky1...@gmail.com wrote: On Sun, Aug 07, 2011 at 01:43:13PM -0500, TreKing wrote: I think the Android Market on my phone got updated, and I can't find the Just in section any more.  Anyone know

[android-developers] Ideas on providing add on packs for an app

2011-08-05 Thread Vance Turnewitsch
I have released an app on the Android Market that let's users create content on their devices and then use the content in the app. To increase attractiveness to the app, I would like to offer some pre- built content that users could download and use inside the app. I was thinking of offering

[android-developers] Re: Custom Simpleadapter not updating listview on notifyDataSetChanged

2011-08-05 Thread Vance Turnewitsch
I think there is a problem with your getView method. If the convertView is not null type.equalsIgnorCase(...)==true, then your view is not updated at all: getView returns the view that was passed in. On Aug 5, 1:53 am, Manish Garg mannishga...@gmail.com wrote: Hi All, I am using following