[android-developers] I can't get Speaker Phone to work on my App

2016-11-18 Thread Timothy Hopfer
No matter what combination I have tried, I do not seem to be able to get the speakerphone to turn on and play out the speakers like it is supposed to. I have headphones plugged in for testing, but the app does not seem to play out of my HTC 626. The frustrating part is that it works on my HTC

Re: [android-developers] App works fine on Kitkat, but does not work on Lollypop

2016-11-17 Thread Timothy Hopfer
7, 2016 at 9:51 PM, Timothy Hopfer <timothyhop...@gmail.com> > wrote: > > I made an app that tests the speakers in an HTC phone. it tests both the > bottom speaker, the top speaker, and the headphones, all while the > headphones are plugged in. It works perfectly in the HTC

[android-developers] App works fine on Kitkat, but does not work on Lollypop

2016-11-17 Thread Timothy Hopfer
I made an app that tests the speakers in an HTC phone. it tests both the bottom speaker, the top speaker, and the headphones, all while the headphones are plugged in. It works perfectly in the HTC Desire Eye that is running KitKat 4.4.4, but it does not work correctly on the HTC Desire that

[android-developers] Copying to and from half-precision F16 allocation

2016-11-10 Thread Timothy Ambrose
I'm trying to figure out how to do half-precision using types like 'half' and 'half4'. The only problem seems to be getting the numbers from java to renderscript and back. The Java Code: private float[] input; private float[] half_output; private RenderScript mRS; private ScriptC_mono

[android-developers] Flashing Question - Tmobile

2016-09-03 Thread Timothy Lefkowitz
Hey there, I want to flash a TMobile LG G Stylo to stock Android Nougat for nexus. Is this okay? Everywhere I see the flashing instructions for my Tmobile phone it gives a tmobile image. I want all the tmobile crap off the phone and a stock andriod OS. Noob here. I've spent an hour looking

[android-developers] Re: Missing Tools SDK

2016-05-04 Thread Timothy Fry
Jonathan S gmail.com> writes: > > > Sorry, it is Gradle instead "Grundle." > AS needs to point the correct SDK directory to order it to work. it looks like Platform-tools is missing. Recheck SDK Manager.  > On Monday, November 30, 2015 at 3:46:58 PM UTC-5, Kimberly Crawley wrote:I would

[android-developers] ClassCastException of LayoutParams to MarginLayoutParams after setting a view's width

2012-10-09 Thread Timothy Caraballo
I've posted this question to StackOverflowhttp://stackoverflow.com/questions/12776557/classcastexception-of-layoutparams-to-marginlayoutparams-after-setting-a-views, but no answer there yet, so I thought I'd ask here as well. I've written a small proxy class so that I can use ObjectAnimator to

[android-developers] Displaying intent launcher in Account settings

2012-10-01 Thread Timothy Caraballo
I've added an account using the AccountManager and can show preferences directly on the Account Settings pages, but I cannot display an intent launcher. My preferences.xml is as follows: ?xml version=1.0 encoding=utf-8? PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Displaying intent launcher in Account settings

2012-10-01 Thread Timothy Caraballo
After MANY different trails, it seems to have all stemmed from not having applying the corresponding intent-filter for my activity. On Monday, October 1, 2012 3:32:15 AM UTC-4, Timothy Caraballo wrote: I've added an account using the AccountManager and can show preferences directly

[android-developers] adb hangs on any attempt to connect

2012-08-20 Thread Timothy Caraballo
I've installed the SDK and platform tools on Fedora 17, and while adb can see the connected Nexus S, it hangs whenever I try to execute a command. I have Debugging enabled on the device. I have to quit adb as it hangs at the point below. Any other command, such as logcat behaves similarly. Any

[android-developers] Jumping in scroll

2012-07-10 Thread Timothy Jupe
We have built a web application (at the moment PHP and jQuery) that we are trying to optimise for our client to use on a Galaxy Tab. *Problem:* The app interface has a div at the top using CSS - position: fixed (meaning the div should remain at the top of the interface no matter what scrolling

[android-developers] Activity fields being reallocated

2012-05-25 Thread Timothy McColgan
I have an Activity that has a field which is an ArrayList, that Activity starts an Activity which returns an object to be added to the list. The first Activity then adds buttons dynamically to itself based on the object that Activity B returns. My problem is that everytime Activity B is started

[android-developers] How to dynamic render account settings preference screen?

2011-07-04 Thread timothy
Hi all, I am currently working on account settings. When user added an account, he also can edit the account, like gmail, there is always an account setting page. In the SampleSyncAdapter, we need a preference xml to describle the preference screen. However, the screen is static, created in

[android-developers] Help with content providers and list views

2010-04-13 Thread Timothy Passaro
Hey developers, I am getting my feet wet with android and have run into a snag. I have been trying to query the contacts on my phone in order to retrieve phone numbers (and other data) but I have not been able to get it right. My goal at the moment is to create a list view of contacts, and have it

[android-developers] Contacts thumbnail image location?

2010-04-13 Thread Timothy Passaro
Hi all, I have not been able to successfully find where contacts thumbnail images are stored and need some help! I have tried ContactsContract.Contacts.Data.Photo.PHOTO_ID as well as DATA15 and still nothing. At the moment, I am testing this with only one contact that has an associated image and

[android-developers] Complains of shrinking font sizes

2010-02-10 Thread Timothy DeWees
Hello, I have an application on the Android Market called My Collection Pro. I am getting complaints from my post Android 2.0 users (Droid, etc) that when the close and re-open the app, the font keeps getting smaller. I build my application in the 1.5 API to have the highest number of supported

[android-developers] Re: ZipFile

2010-01-10 Thread Timothy F
ZipInputStream is easy to use, as is getting an InputStream from either Apache's or Java's HTTP request/response classes. Just keep calling getNextEntry until you find the entry you are looking for (or null if you reach the end), then use the read method to read in the data associated with that

[android-developers] Re: Texture compression

2009-12-28 Thread Timothy F
I would always encourage use of the common features, so as to maximize compatibility across devices, so I'd recommend your using GL_OES_compressed_paletted_texture. Also, while GL_OES_draw_texture is fast, if you need to render many sprites, then using this extension you'd need multiple calls to

[android-developers] Re: Avoiding garbage collection for smooth 2d animations

2009-12-28 Thread Timothy F
You can tell very easily in LogCat whether the GCs belong to your task or another task. If they belong to another task, then at least you can take consolation that Android 1.6 (I think?) gives less CPU to background tasks. If they belong to your own task, then you should run the DDMS tool (not

[android-developers] Re: How can i fill an outlined font?

2009-12-07 Thread Timothy F
We wrote a drop-in replacement for TextView called TypeFaceTextView (http://code.google.com/p/skylight1/source/browse/trunk/SkylightGame/ src/net/nycjava/skylight1/view/TypeFaceTextView.java). You can use it in your layout XMLs wherever you would use TextView, and it automatically puts a black

[android-developers] Re: High performance access on static data: What is your approach?

2009-11-30 Thread Timothy F
A combination of res/raw and java.nio.channels.FileChannel.map() are likely to give you the best performance. If you know your maximum record size, then using get on the Buffer into a byte array, b, then wrapping that in a new DataInputStream(new ByteArrayInputStrea(b)) will make it easy to read.

[android-developers] Re: Encrypting in PHP and Decrypting in Android

2009-11-23 Thread Timothy F
Get a really strong cup of coffee and check out http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html. Use CipherInputStream/OutputStream for encrypting. Not so sure on the PHP side, but http://www.devx.com/webdev/Article/37821 will help you out. On Nov 23, 1:13 pm,

[android-developers] Re: Why is GL_QUADS not supported ?

2009-11-16 Thread Timothy F
You can use them in OpenGL, just not in OpenGL ES::o) Seriously though... given any four points there is no guarantee that they are co-planar, and I believe that no-coplanar quads introduce all sorts of complexities when interpolating colours, textures, and even positions in 3D space. By

[android-developers] Re: Stream youtube to a videoview?

2009-10-13 Thread Timothy Collins
One stupid question... I can't get Eclipse to understand that the line : String uristr = rtsp://rtsp.youtube.com/youtube/videos/ + page + /video.3gp; is a valid line (page is a String variable that includes the video I want to play). It says that is invalid... On Tue, Oct 13, 2009 at 11:26 AM,

[android-developers] Re: Stream youtube to a videoview?

2009-10-13 Thread Timothy Collins
It actually won't play any other video file I throw at it either... On Tue, Oct 13, 2009 at 2:30 PM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: I noticed that I cannot play the file rtsp://rtsp.youtube.com/youtube/videos/S2eoCqwBCQI/video.3gp which you put in your source

[android-developers] Re: ListView....

2009-09-24 Thread Timothy Collins
You know - I believe that would work quite nicely... When I saw the name Spinner I assumed (Yes, I know what that means but in this case only the Me part applies!) that it was some sort of thing that iterated between a few different values before looping back to the beginning... On Thu, Sep 24,

[android-developers] Re: My app is getting killed while I launch an external intent

2009-09-21 Thread Timothy DeWees
doing, so its process may be killed to use memory elsewhere.  You deal with this by implementing onSaveInstanceState() to note anything to need to remember and collecting that from the state you later receive in onCreate(). On Fri, Aug 21, 2009 at 6:47 PM, Timothy DeWees whtdrgn...@gmail.comwrote

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
I'll take that under consideration... That might be a very good point. On Wed, Sep 16, 2009 at 9:40 AM, Mark Murphy mmur...@commonsware.comwrote: furby wrote: I actually am starting it using Eclipse... Really, just running the project. (I have to admit, I am rather new at Android

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
. Since 1.5 it's two files, userdata-qemu.img and cache.img They are tucked away somewhere in your home directory, see if you can find.android/avd/avd name.avd (that's the XP directory layout) On Sep 16, 6:43 am, Timothy Collins wookie...@gmail.com wrote: I'll take that under

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
this problem is gone in the 1.6 SDK. On Sep 16, 10:16 am, Timothy Collins wookie...@gmail.com wrote: Hmmm - I will try that. My machine isn't exactly the most powerful piece of equipment ever created... But all I am running is Eclipse and the emulator (And, of course, the JDK that underlies

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
I tried that... with no good results On Wed, Sep 16, 2009 at 12:14 PM, Dexter's Brain coomar@gmail.comwrote: I also have the same problem sometimes. I just close the emulator and restart it. That usually solves the problem On Sep 16, 9:06 pm, Walter androidremotecont...@gmail.com

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
. Select Run - Run Configuration... and click on the AVD Manager... button. From there it should clear how to delete and create AVD's. On Sep 16, 11:26 am, Timothy Collins wookie...@gmail.com wrote: Stupid question (And this really exposes how new I am to Android development so treat me

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
Recreating the AVD worked like a charm - thanks to everybody for their help! On Wed, Sep 16, 2009 at 12:44 PM, Timothy Collins wookie...@gmail.comwrote: AHA! Thanks a lot - I will try it out as soon as I get home to my computer... On Wed, Sep 16, 2009 at 12:41 PM, Nmix nepean...@gmail.com

[android-developers] data in onPictureTaken always null for raw picture

2009-09-14 Thread Timothy F
I'm attempting to obtain raw picture data from the camera. According to the Javadocs it can be obtained via the callback passed to camera.takePicture(null, callback, null). However, the array passed to the callback is always null. I've checked permissions, examined the logcat, registered a

[android-developers] Re: data in onPictureTaken always null for raw picture

2009-09-14 Thread Timothy F
I can't believe I was unable to find that thread in my searches! Thanks for the prompt answer, even though it is a disappointment of course. On Sep 14, 8:45 am, Mark Murphy mmur...@commonsware.com wrote: Timothy F wrote: I'm attempting to obtain raw picture data from the camera.  According

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

2009-09-03 Thread Timothy F
, or is it just that they are sixteen bits? Regards Timothy On Sep 2, 12:44 pm, WoodManEXP woodman...@gmail.com wrote: 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

[android-developers] Re: there are only five animations for android? how can i extend this feature

2009-09-02 Thread Timothy F
The animations don't do anything to the bitmap, per se. For every tick of the animation, the method getTransformation is called on each Animation so that it can return a Transformation that describes an affine transformation and an alpha value. If you want to do more than those two things you

[android-developers] Re: ADC2 Challenge - Is this allowed?

2009-08-27 Thread Timothy F
I believe from the very beginning it was stated publicly that it was for apps that had not previously been published. I was fearing that they would not allow the entered apps to be published until after ADC2, so the fact that they are allowing them to be published even before ADC2 begins is good

[android-developers] My app is getting killed while I launch an external intent

2009-08-21 Thread Timothy DeWees
Hello, I'm hoping for some help on ways to solve a problem. From my application, I launch an intent that returns a result I need to read (Zebra Crossing). But if the user takes a while to scan the barcode (low light, wobbly hands, etc), my main intent is getting killed. When the app

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Timothy F
Are you calling the release method on the camera? On Jun 21, 5:10 am, Shirish ashir...@gmail.com wrote: If you put the system.gc() every place then your system performance will degrade. On Jun 17, 8:32 pm, Sahil Arora sahilz...@gmail.com wrote: Hi, I had an application where i would

[android-developers] Re: vertice coodinates of Kube

2009-06-18 Thread Timothy F
I haven't used it yet, but look at: http://developer.android.com/reference/android/opengl/GLU.html#gluUnProject(float,%20float,%20float,%20float[],%20int,%20float[],%20int,%20int[],%20int,%20float[],%20int) I think that may help you. On Jun 18, 4:21 am, quill quill...@163.com wrote: Thank you

[android-developers] Re: How to know it's week when input random date?

2009-05-19 Thread Timothy F
Have a look at java.util.Calendar, and its subclasses. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Paid apps related questions discussion list?

2009-02-21 Thread Timothy DeWees
I'm getting some users who can't download updates either. They can get the first version and then when I push an update, it just sits and downloading forever. I haven't experienced copy protection causing crashing, but I'm sure it is only a matter of time... On Feb 21, 12:25 pm,

[android-developers] Re: Paid apps related questions discussion list?

2009-02-21 Thread Timothy DeWees
I just got another round of emails about people not being able to download updates. I don't think it is a coincidence now... Any work from T-Mobile or Google? On Feb 21, 2:20 pm, Gil virgildobjans...@gmail.com wrote: Many users who try to download paid apps are complaining that the downloads

[android-developers] Trouble with OnClickListener on Mac OSX

2009-02-15 Thread Timothy DeWees
Has anyone had trouble getting android projects to work on Mac OSX? I took a project that I run on a Windows Vista system and checked out the project on my Mac OSX box and it can't recognize OnClickListener. I did the same thing on my Ubuntu dev box and it works no problem. Same version of

[android-developers] Re: Comments/Ratings need to expire!

2009-02-14 Thread Timothy DeWees
Preach IT I'm glad we can now mark ratings as spam but they still need to expire. I've released something like 20+ updates to my application and I am still dinged for version 1.0 because a user rated me 1 star and said needs this feature. I've since added that feature but I'm still dinged

[android-developers] Re: RC33 for Dev Phone

2009-02-06 Thread Timothy DeWees
checks the update packages for signatures. JBQ On Thu, Feb 5, 2009 at 6:20 PM, Mark L. Chang mark.ch...@gmail.com wrote: On Feb 5, 8:57 pm, Timothy DeWees whtdrgn...@gmail.com wrote: This one doesn't seem to work for me.  It fails at the verifying package stating that it's not signed

[android-developers] RC33 for Dev Phone

2009-02-05 Thread Timothy DeWees
Hello, can someone help me understand how I can get the latest RC33 release for the dev phone? --~--~-~--~~~---~--~~ 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] Re: RC33 for Dev Phone

2009-02-05 Thread Timothy DeWees
This one doesn't seem to work for me. It fails at the verifying package stating that it's not signed. On Feb 5, 8:20 pm, Brad Fuller bradallenful...@gmail.com wrote: On Thu, Feb 5, 2009 at 4:56 PM, Timothy DeWees whtdrgn...@gmail.com wrote: Hello, can someone help me understand how I can

[android-developers] Setting locale at runtime

2009-01-27 Thread Timothy DeWees
I've running into issues where I've localized my application but someone in the UK buys an unlocked phone localized for the US. I would like my users to be able to set the Locale of my application so my locale-based settings will be used. I've read that cupcake will allow the users to

[android-developers] Market Feature Request for Developer

2009-01-27 Thread Timothy DeWees
I'm not sure where to add this but there are a few things I thought I would chime in on for market features for the developer: 1. Can we provide a method for the developer to view comments on the developer console 2. Can we provide a way for the developer to respond to comments (like, I'm sorry

[android-developers] setDefaultTab(int) not working

2009-01-22 Thread Timothy DeWees
Hello, I have an application with a preferences pane that allows you to show/ hide tabs. I've walked through the code below and I AM passing the right index to the setDefaultTab(int) method; however, when the screen renders the tab is NOT selected. Any idea? SharedPreferences

[android-developers] Stackable Tabs?

2009-01-17 Thread Timothy DeWees
I'm developing an application and I have a need to have around 6 tabs. Currently, I can only fit about 5 before it starts to wrap the text and make it look really ugly. Is there a way to have two rows of tabs and possibly make it so they don't take up so much vertical screen resolution?

[android-developers] Re: Trouble with TabActivity

2009-01-14 Thread Timothy DeWees
Nevermind, I was just being silly. I just had to mark onCreate as protected. I just mis-understood what you had told me. Thanks!!! On Jan 13, 10:16 am, Timothy DeWees whtdrgn...@gmail.com wrote: So I think I need to do something like

[android-developers] Re: Trouble with TabActivity

2009-01-13 Thread Timothy DeWees
Okay, so how do I accomplish what I am looking to do? I want my UI to have 3 to 4 tabs and I want the contents of those tabs to be my activities. On Jan 13, 12:48 am, Sergey Ten sergeyte...@gmail.com wrote: Timothy, Here onCreate is declared as protected method, not public  in 1.0_r2

[android-developers] Re: Trouble with TabActivity

2009-01-13 Thread Timothy DeWees
()); two.setIndicator(”Tab2”); tabs.addTab(two); tabs.setCurrentTab(0); /// // Rest of implementation here /// Do I have it right? On Jan 13, 7:56 am, Timothy DeWees whtdrgn...@gmail.com wrote: Okay

[android-developers] Trouble with TabActivity

2009-01-12 Thread Timothy DeWees
Hello, I'm trying to use a TabActivity class to tab-ify my application. I've found some walkthroughs online but I think they are a little dated. I want to use Activities inside the tab and just re-use the activities I wrote in the current version. It's telling me that there is no onCreate

[android-developers] Converting Bitmap to Byte Array

2009-01-09 Thread Timothy DeWees
Hello, I need to re-size a Bitmap and save it to a database. I can perform the resize, but how do I convert the re-sized Bitmap back to a Byte array for storage in the BLOB? Original format is JPG/PNG --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: SMS Inbox: 2008's toughest problem ( At least for me)

2009-01-01 Thread Timothy DeWees
I ran into something similar and I needed to tell the manifest to use the right permission. Check your android manifest and make try something like this: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.app.you.package

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread Timothy DeWees
, Romain Guy romain...@google.com wrote: In short: you don't, you can't, you won't :) Explanations here:http://android-developers.blogspot.com/2008/12/touch-mode.html On Fri, Dec 26, 2008 at 3:26 PM, Timothy DeWees whtdrgn...@gmail.com wrote: Hello, I've seen a few post on this but have

[android-developers] Barcode scanning through the camera

2009-01-01 Thread Timothy DeWees
Timothy A. DeWees --~--~-~--~~~---~--~~ 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

[android-developers] Having trouble getting ListView to show selected item as highlighted

2008-12-26 Thread Timothy DeWees
Hello, I've seen a few post on this but have never seen or understood the solution. I have an application that is showing a list of items from a database. I extended the CursorAdapter and added an icon in front of the item to easily show type. When I navigate the items using the track-pad, it