[android-developers] Create native typeface in 2.31

2011-02-28 Thread intbt
Code: final Typeface font2 = Typeface.createFromAsset(getAssets(), fonts/ CHOPS___.TTF); App works fine in 1.6 but when I run 2.3 I get this error: 02-28 11:48:33.751: ERROR/AndroidRuntime(539): FATAL EXCEPTION: main 02-28 11:48:33.751: ERROR/AndroidRuntime(539): java.lang.RuntimeException:

[android-developers] Using ListView in AlertDialog

2010-11-04 Thread intbt
) { AccSelected = accs[position]; } }); alertDialog = builder.create(); return alertDialog; Code crashes on return of alertDialog. Any ideas as to what the adding window with non-application token means? intbt -- You received this message

[android-developers] Re: Using ListView in AlertDialog

2010-11-04 Thread intbt
That was it, thanks and sorry I had never run into this problem before. I appreciate the assistance. intbt On Nov 4, 12:49 pm, TreKing treking...@gmail.com wrote: On Thu, Nov 4, 2010 at 2:00 PM, intbt in...@tacberry.com wrote: Any ideas as to what the adding window with non-application token

[android-developers] Re: Three ListViews side by side

2010-11-03 Thread intbt
android:layout_marginTop=38px android:divider=#FFCC00 / intbt On Nov 3, 1:47 pm, Kostya Vasilyev kmans...@gmail.com wrote: Mat, Not sure what kind of content a ListView uses for wrap_content width - maybe that's the root of this problem. Perhaps you can try

[android-developers] mediaplayer.create causes null pointer exception

2010-10-14 Thread intbt
Anybody give me an idea as to what is going on - I have used this same code in another app and it works fine. It seems like it can't find the enter_dvd.mp3 file in the raw folder but it is there. The error occurs at the create line. public class playScales extends Activity implements

[android-developers] Re: layout issue

2010-09-23 Thread intbt
android:layout_height=wrap_content android:textSize=22px android:textColor=@color/black / /LinearLayout Thanks, intbt On Sep 23, 9:28 am, dashman erjdri...@gmail.com wrote: worked like a charm. thank you. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: layout issue

2010-09-23 Thread intbt
the suggestions, intbt On Sep 23, 12:19 pm, Kostya Vasilyev kmans...@gmail.com wrote: Item views don't exist until created by the getView method of your list view adapter. Move the code that sets attributes of views in the list item layout into there. Also call findViewById on the list item view

[android-developers] Re: finding spinner widgets

2010-09-19 Thread intbt
, is that possible? Thanks, intbt On Sep 10, 3:11 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 10, 2010 at 6:06 PM,intbtin...@tacberry.com wrote: Where can I find a complete list of the spinner types available for use? What do you mean by spinner types? Also how about a list of DIALOG IDs

[android-developers] Re: finding spinner widgets

2010-09-19 Thread intbt
Thanks for the help. I will take a look at modifying the existing spinner layout. What I am trying to do is to get a smaller (width) spinner so it does not take up the whole page when selected. The picker I want to design just provides a list of items and the user selects one. I have a design

[android-developers] Re: zapfino

2010-09-19 Thread intbt
Actually some one suggested Scriptina and it looks pretty good for free ($40) On Sep 18, 3:00 pm, DanH danhi...@ieee.org wrote: Sure.  You can get it from Linotype for $39. On Sep 18, 3:59 pm, intbt in...@tacberry.com wrote: Anyone know where I can find zapfino for Android CHEAP!! ($40

[android-developers] zapfino

2010-09-18 Thread intbt
Anyone know where I can find zapfino for Android CHEAP!! ($40) intbt -- 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

[android-developers] finding spinner widgets

2010-09-10 Thread intbt
Where can I find a complete list of the spinner types available for use? Also how about a list of DIALOG IDs? intbt -- 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

[android-developers] Spinner added to onDraw view

2010-08-26 Thread intbt
I have a view (scalesView.java) that I create with onDraw and I need to add a spinner selector to the lower left of the screen. The code (below) runs and places a spinner where I need it but when I enable the setAdapter, the app crashes. When I remove the spinner code the view works fine, when I

[android-developers] Re: Hi, anyone knows how to install python on android?

2010-06-21 Thread intbt
Go to this blog for ASE, it worked on my Eclipse running 2.0 http://www.akeric.com/blog/?p=879 On Jun 19, 8:39 pm, asicwizard asicwiz...@gmail.com wrote: Read: Command your shiny Android inPythonhttp://indefinitestudies.org/2009/06/20/command-your-shiny-android-in... Have fun. On Jun

[android-developers] soft keyboard

2010-06-21 Thread intbt
the latest version of Eclipse and am calling sdk = 3, so if you can also explain what I am doing wrong there it is appreciated. intbt -- 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

[android-developers] Re: eclipse upgrade now will not run emulator

2010-05-21 Thread intbt
occurred. See error log for more details. java.lang.NullPointerException If I just use RUN (instead of Run Configuration) it will run an emulation. Any help from eclipse experts or suggestions as to a better user group to try? intbt On May 20, 3:50 pm, intbt in...@tacberry.com wrote: Just allowed

[android-developers] eclipse upgrade now will not run emulator

2010-05-20 Thread intbt
if that is of help. Any ideas as to what I did wrong? intbt -- 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

[android-developers] Re: Debug Certificate Expired

2010-05-18 Thread intbt
Had the same problem when the certificates on Eclipse expired after 365 days. I had to remove debug.keystore but also Eclipse required me to uninstall any project file (adb uninstall org.example.'projectname') before it would restart the project. This means, among other issues, that you lose any

[android-developers] setting button images in drawable/xml

2010-03-25 Thread intbt
I am getting an error from Eclipse when I use this xml file (res/ drawable/btnswitch.xml) to designate different button conditions ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_pressed=true

[android-developers] Re: setting button images in drawable/xml

2010-03-25 Thread intbt
That did it, thanks. intbt On Mar 25, 9:08 am, timo prill timo.pr...@googlemail.com wrote: you should go menu-Project-clean and let eclipse clean your project. the android R files are then rebuilt so everything should be fine afterwards. cheers Wayne Wenthin schrieb: I'll toss out what

[android-developers] Re: How to close an activity when the user clicks on home button

2010-02-20 Thread intbt
it may be as simple as adding android:clearTaskOnLaunch=true in your Manifest under the main activity tag to re-initialize after returning to Home screen. intbt On Feb 20, 4:54 am, Mark Murphy mmur...@commonsware.com wrote: Achanta wrote: But since I started trying to log everything

[android-developers] Re: System.out.println(...) statements within the onCreate

2010-02-10 Thread intbt
You can use System.out - The output also appears on Logcat (not console) with a system.out tag. On Feb 9, 9:56 pm, Sandeep Phansekar sandeep.phanse...@gmail.com wrote: Instant of  System.out.println(...)  use Log.e( class/method name ,Error message); And view the output in Logcat in Eclipse

[android-developers] Androi ASE

2009-12-14 Thread intbt
ASE will not install on my G1, I assume it is because I am running 1.5 and it requires 2.0. I can get ASE to run on the Eclipse emulator when it is running 2.0 (not 1.5 or 1.6). Is this correct and where is this described as a requirement for ASE? (As an aside, the G1 downloads for 1.6 at

[android-developers] create drawable from image stored on sd card

2009-07-20 Thread intbt
I am trying to draw a group i fimages stored on teh sd card instead on internal storage. I can draw the internal images with my code but get no images whem I try to download from the card. I have tried 2 versions (dw[] is Drawable array) 1/ using getIdentifier int dwID =

[android-developers] Re: create drawable from image stored on sd card

2009-07-20 Thread intbt
instances newGame.sdShapes [xOFy.returnOrder(jj)] provides path to file (/sdcard/filename) On Jul 20, 8:35 am, intbt in...@tacberry.com wrote: I am trying to draw a group i fimages stored on teh sd card instead on internal storage. I can draw the internal images with my code but get no images whem I

[android-developers] logcat behavior

2009-07-14 Thread intbt
I have found that if I am trying to run Eclipse with the G1 connected (vis USB), logcat will only output info from programs running on the phone - not when I run code on the emulator. If I disconnect the phone and then run the emulator version, logcat provides the desired output. I also have now

[android-developers] Re: How can I give my paid app away for free to some users?

2009-06-19 Thread intbt
Coupons or some method of offering free or discounted versions. If you have a customer that might want to use apps as a giveaway for selected customers, it is difficult with the present Google Market set-up. On Jun 18, 11:01 am, Jason Van Anden jason.van.an...@gmail.com wrote: +1 On Thu, Jun

[android-developers] Re: Getting my app in the featured section

2009-06-13 Thread intbt
As an aside - when I searched Apps with 'scan' your app did not appear, when I searched 'pdf' it was on the list. Good luck with your application and with Google. intbt On Jun 12, 12:39 pm, guruk ilovesi...@gmail.com wrote: just make your app so successfull that it reach 50.000 installations

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-05 Thread intbt
their first response should be 'what is wrong with our credit card handling?' not 'let the supplier foot the bill.' intbt On Jun 5, 8:30 am, Marco Nelissen marc...@android.com wrote: On Fri, Jun 5, 2009 at 8:04 AM, Disconnect dc.disconn...@gmail.com wrote: Generally you have a method of fighting

[android-developers] Re: audio codec

2009-06-03 Thread intbt
I am having a problem retrieving codec output and listing the bytes. Following the Breno/Sparks thread I was able to get past the errors with initializing Audio Record and my code seems to run but I get all 0's as output. I assume I am missing something in AudioRecord.read? I am trying to look

[android-developers] Re: Audio record and ply the recorded audio..

2009-06-03 Thread intbt
This may help as well http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ I am having difficulties in using audio record - trying to save the codec byte output in an array/buffer. Any help? On Jun 3, 4:26 am, guna gunaz...@gmail.com wrote:

[android-developers] Trying to retrieve codec output from Audio Record

2009-06-01 Thread intbt
I am having a problem retrieving codec output and listing the bytes. Following the Breno/Sparks thread I was able to get past the errors with initializing Audio Record and my code seems to run but I get all 0's as output. I assume I am missing something in AudioRecord.read? I am trying to look

[android-developers] Re: device not detected in eclipse

2009-06-01 Thread intbt
I had a similar problem with Windows-Eclipse after I added a second AVD. I had selected one of the AVDs instead of setting the target on Automatic. Under Run - Configuration - Target, only select Automatic On Jun 1, 12:17 am, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: hi all, i

[android-developers] Re: audio recorder

2009-05-29 Thread intbt
apparently) and Second - you must have permission for RECORD_AUDIO set in manifest Onward and upward... On May 28, 6:45 pm, intbt in...@tacberry.com wrote: With version 1.5, I keep getting this error 05-29 01:36:39.440: ERROR/AudioRecord-JNI(1280): Error creating AudioRecord instance: initialization

[android-developers] audio recorder

2009-05-28 Thread intbt
With version 1.5, I keep getting this error 05-29 01:36:39.440: ERROR/AudioRecord-JNI(1280): Error creating AudioRecord instance: initialization check failed. 05-29 01:36:39.450: ERROR/AudioRecord-Java(1280): [ android.media.AudioRecord ] Error code -20 when initializing native AudioRecord

[android-developers] Re: audio codec

2009-04-28 Thread intbt
interface and additonal encoding.  It's hard to tell from the JavaDocs alone. Here's a post talking about AudioRecord instantiation:http://groups.google.com/group/android-developers/browse_thread/threa... On Apr 27, 5:23 pm, intbt tacbe...@gmail.com wrote: Is there a method to access

[android-developers] audio codec

2009-04-27 Thread intbt
Is there a method to access the digital output of the audio codec without first storing it into a file, a streaming output? intbt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] checking version of app

2009-04-17 Thread intbt
When adding a url file containing the most recent version, what format does the file need to be (text, php, html?) to be accessible from the meta-data android:name=org.openintents.updatechecker.UPDATE_URL android:value=url to version file / also can the user force a check

[android-developers] Re: Visibility of ImageButton

2009-04-09 Thread intbt
...@commonsware.com wrote: intbt wrote: I am trying to change visibility of a button (Image). However this code does not affect the image - any ideas?            Prevword_btn = (ImageButton) this.findViewById(R.id.prev_btn);            Prevword_btn.setVisibility(View.INVISIBLE

[android-developers] Visibility of ImageButton

2009-04-08 Thread intbt
I am trying to change visibility of a button (Image). However this code does not affect the image - any ideas? Prevword_btn = (ImageButton) this.findViewById(R.id.prev_btn); Prevword_btn.setVisibility(View.INVISIBLE); Nextword_btn = (ImageButton)

[android-developers] Vista does not access G1 memory card

2009-04-01 Thread intbt
I am trying to access the memory card but Vista says please insert a disk into removable disk H: and will not permit me to load files into the card. Any ideas as to what is wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Database installation - Android

2009-02-13 Thread intbt
, this flag is re-set. How do I make sure that as long as the on the app is installed on the phone, the database does NOT re-load when the app is called from the Main phone menu? Can I install on application loading from the app site as opposed to user activity? Thanks, intbt

[android-developers] multiple tables in sqlite

2009-02-06 Thread intbt
Hopefully some one will nmotice my 'obvious' mistake. I have created 2 tables in the database (below). When I access table c, no problem. But when I attempt to access table s I get an error message that column name x (all names give the same error) does not exist. How can 1 table get created but

[android-developers] AlertDialog.Buillder

2009-01-07 Thread intbt
I need to setItems from a generated ArrayList. Eclipse gives me an error that the setItems must be a int source. I have made it work with a stored Array from R.array.. How do I change my arraylist to a format accepted by the AlertDialog.Builder setItems command? This code works with a