Re: [android-developers] HttpUrlConnection issues

2016-06-05 Thread Jeffrey Nielsen
Thanks for the help there sport! On Sun, Jun 5, 2016 at 2:26 AM, gjs wrote: > Use another thread > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Android Developers" group. > To unsubscribe from this topic, visit >

[android-developers] HttpUrlConnection issues

2016-06-04 Thread Jeffrey Nielsen
My API is 23. I am having issues where my device does not send the connection request. I have tried on the emulator, a phone running 6.0, and a tablet with 5.1. Can someone please give me some assistance? Been banging my head against the wall for hours now. import android.app.Activity; import

[android-developers] Captive portal for mobile hotspot

2012-10-21 Thread Jeffrey Orange
I am trying to find code to help me force those that connect to my hotspot from my Razr to a captive portal. Is this possible? -- 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] dragging Multiple object in Android

2012-10-12 Thread Jeffrey Bugahod
Hello guys, I am having hard time dealing with this project (Dragging Multiple Circle). I already made it, it works when all the circle is at the leftmost top of the screen but it seems not working when I started to re arrange the object using the graphical layout of main.xml are the

[android-developers] Re: Problems seeing mobile device via ADB

2012-09-05 Thread Jeffrey Fisher
If you still have a problem after installing drivers (but without a system restart) you may need to restart the adb server process. Can't remember the exact name of it, but it wasn't hard to find, so probably contained adb. System restart would get the job done too, but killing that process

[android-developers] Annoying shutter click undermines scientific research.

2012-09-02 Thread Jeffrey Peacock
I am involved in a project to use camera enabled Android devices to detect cosmic ray events ( http://www.distributedsensorweb.org/wiki/index.php/DECO). It is enjoying some modest funding from the American Physics Society and interest from Fermi Labs and Standford Univ. The intent of the

Re: [android-developers] Annoying shutter click undermines scientific research.

2012-09-02 Thread Jeffrey Peacock
:02, Jeffrey Peacock jeffp.ea...@gmail.com mailto:jeffp.ea...@gmail.com wrote: I am involved in a project to use camera enabled Android devices to detect cosmic ray events ( http://www.distributedsensorweb.org/wiki/index.php/DECO). It is enjoying some modest funding from

Re: [android-developers] Annoying shutter click undermines scientific research.

2012-09-02 Thread Jeffrey Peacock
2, 2012 at 4:02 PM, Jeffrey Peacock jeffp.ea...@gmail.com wrote: I am involved in a project to use camera enabled Android devices to detect cosmic ray events ( http://www.distributedsensorweb.org/wiki/index.php/DECO). It is enjoying some modest funding from the American Physics Society

Re: [android-developers] Annoying shutter click undermines scientific research.

2012-09-02 Thread Jeffrey Peacock
Yup. Sound plays through speaker anyway. But thanks. It shows people are listening (pun intended) and helpful. /J On 09/02/2012 02:50 PM, RichardC wrote: Have you tried inserting a headphone lead? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Can you send parcelable across processes without aidl ?

2012-07-09 Thread Jeffrey Brown
Yes but only if the receiving process knows how to unparcel the object. On Jul 9, 2012 11:29 AM, Agus agus.sant...@gmail.com wrote: Can you send parcelable across processes without aidl ? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Augmented Reality Implementation

2012-06-12 Thread Jeffrey Hodes
I'm trying to implement a simple augmented reality tool for Android. All it needs to do is take as input my location and device orientation and the location of another device and present a camera view with an icon overlaid in the appropriate place in an appropriate size. I'm stuck in two

Re: [android-developers] how to install applet by OTA On Android phone?

2012-04-26 Thread Jeffrey Chu
You need an OTA reader and a javacard tool to install applet to an SE. To install applet to PN65N, you also need the set of keys or public key to generate an load/install token to get authorized to install. Or, a simpler answer is no, you cannot do it because the keys are not available. On Apr

[android-developers] Power button

2011-12-20 Thread Jeffrey Dunbar
I am developing an app, I would like to use the power button as a panic button. Is there a way to hook into and catch globally from a service. I know that android fires the intent.action SCREEN_ON and _OFF but this causes issues. I have a service that monitors for screen on/off sets an alarm on

[android-developers] Re: Regarding play audio files using SoundPool class

2011-12-20 Thread Jeffrey Dunbar
What requirements are you needing. I would suggest amrnb or ogg to keep them small, ogg for quality, never wav or mp3. I personally would put them in the asset directory it seemed to work better for my app Jeff On Dec 19, 11:15 pm, kumar varma kkvarm...@gmail.com wrote: I've created an

[android-developers] Using queueEvent for OpenGL

2011-08-18 Thread Jeffrey
Okay. In my project I am trying to have an OnTouchEvent cause a change in my Renderer thread but I can't figure out how to get this working. I was having the touch event change a boolean value to put the draw method onto the proper trail for what to draw, but there is a 3 second delay before it

[android-developers] Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
I have tried to search for this but because of some of the generic terms I've been coming up blank. In many of the OpenGL tutorials I have seen they all show you how to draw something in the middle of the screen but they never tell you what the coordinates mean. I'm writing an app the is using a

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
Okay, after a more specific search I realize that the f denotes a float, what importance does that have? I have read that it can be left off in situations but that was in a discussion about a different programming language. On Aug 9, 9:10 pm, Jeffrey jeffisagen...@gmail.com wrote: I have tried

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
...@gmail.com wrote: On Tue, Aug 9, 2011 at 9:16 PM, Jeffrey jeffisagen...@gmail.com wrote: Okay, after a more specific search I realize that the f denotes a float, what importance does that have? It's to be explicit and use a float type instead of a double type. No offense, but if you don't know

[android-developers] Re: Using a coordinate system in OpenGL

2011-08-09 Thread Jeffrey
Thank you. That is all I needed to know. I will look into getting a good OpenGL Book. Quick question though, if I'm targeting 2.2 and above should I look towards a particular version or is most of the code carried over to the point where I won't have a head full of wrong information? On Aug 9,

[android-developers] Re: onDraw() causing flicker when drawing new images

2011-08-07 Thread Jeffrey
the dirty rect.  If you're allowing every pixel in view to update on every call to onDraw, well, that can be expensive. Doug On Aug 6, 3:59 pm, Jeffrey jeffisagen...@gmail.com wrote: The problem isn't tearing, as the images shouldn't be drawn there yet anyway. I don't have my position

[android-developers] Re: onDraw() causing flicker when drawing new images

2011-08-07 Thread Jeffrey
Okay, figured it out, syncing the touch event with the draw thread cleared it up. I am still interested in calling invalidate on dirty regions if it will increase performance though... On Aug 7, 3:59 pm, Jeffrey jeffisagen...@gmail.com wrote: How would I go about doing that? I have no formal

[android-developers] Re: onDraw() causing flicker when drawing new images

2011-08-06 Thread Jeffrey
, niko20 nikolatesl...@yahoo.com wrote: Hm sounds like a refresh rate issue, with Surface view you probably can't sync to vertical refresh, so you get tearing, where you see halfway animations for a second as the video buffer changes over to the next frame. -niko On Aug 5, 1:56 pm, Jeffrey

[android-developers] onDraw() causing flicker when drawing new images

2011-08-05 Thread Jeffrey
I'm having an issue with drawing on my surface view. At one point I was just replacing images with new ones in a grid, but the images didn't all draw at the same time. I think that that may have had something to do with modifying the array that it was using to determine what to draw but I couldn't

Re: [android-developers] EventQueue.peekMessage

2011-07-07 Thread Jeffrey Brown
You can use a Canvas to draw an image into a Bitmap on a background thread. Then when that's finished, draw the Bitmap into the View (in onDraw) on the main thread. I'd be worried about a drawing function that takes several seconds to run. We like to keep drawing well under 16ms in order to

[android-developers] Re: Multi-touch pointer ids on Sony Xperia Play spurious ACTION_DOWN events

2011-05-19 Thread Jeffrey Brown
;          }          return true;      } Leigh On 5/17/2011 2:01 AM, Jeffrey Brown wrote: Pointer IDs are arbitrary integers.  The only guarantee is that they will be unique for a given finger as long as that finger remains down.   Once the finger goes up, the id may be reused for a different finger

Re: [android-developers] Re: Multi-touch pointer ids on Sony Xperia Play spurious ACTION_DOWN events

2011-05-17 Thread Jeffrey Brown
Pointer IDs are arbitrary integers. The only guarantee is that they will be unique for a given finger as long as that finger remains down. Once the finger goes up, the id may be reused for a different finger, or it may not. It really depends. The problem with spurious ACTION_DOWN events is

[android-developers] Re: Multi-touch pointer ids on Sony Xperia Play spurious ACTION_DOWN events

2011-05-17 Thread Jeffrey Brown
Pointer ids should be considered to be arbitrary non-negative integers. The framework currently makes some assumptions about the range of these ids, but applications must not, lest they be broken sometime in the future. Imagine a device that supports 60 simultaneous finger touches. It could

[android-developers] Re: Multi-touch pointer ids on Sony Xperia Play spurious ACTION_DOWN events

2011-05-17 Thread Jeffrey Brown
Pointer IDs are arbitrary integers. The only guarantee is that they will be unique for a given finger as long as that finger remains down. Once the finger goes up, the id may be reused for a different finger, or it may not. It really depends. The problem with spurious ACTION_DOWN events is

[android-developers] adb blocks while attempting to connect to server (during most commands)

2011-04-01 Thread Jeffrey Griffin
adb is sometimes blocking while trying to connect via loopback to the adb server. Here is a stack trace from gdb while using the froyo branch: #0 0xf7fdc430 in __kernel_vsyscall () #1 0xf7f5ced1 in connect () from /lib32/libpthread.so.0 #2 0x0805e399 in socket_loopback_client (port=value

[android-developers] adb freezes while attempting to connect to server (during most commands)

2011-03-31 Thread Jeffrey Griffin
adb is freezing while trying to connect via loopback to the adb server. Here is a stack trace from gdb while using the froyo branch: #0 0xf7fdc430 in __kernel_vsyscall () #1 0xf7f5ced1 in connect () from /lib32/libpthread.so.0 #2 0x0805e399 in socket_loopback_client (port=value optimized out,

[android-developers] Issue passing context

2011-03-29 Thread Jeffrey
So I'm trying to use openGl to draw an image for a live wallpaper, using the below method: https://github.com/markfguerra/GLWallpaperService And to draw then image Im referencing the foloowimg tutorial:

[android-developers] Re: Issue passing context

2011-03-29 Thread Jeffrey
The issue is with the last part of the second link, also the xoom needs better autocorrect... On Mar 29, 4:38 pm, Jeffrey jeffisagen...@gmail.com wrote: So I'm trying to use openGl to draw an image for a live wallpaper, using the below method: https://github.com/markfguerra/GLWallpaperService

[android-developers] Re: Issue passing context

2011-03-29 Thread Jeffrey
Sorry, the issue is the last part of the second link. Also, Xoom needs better auto correct... On Mar 29, 4:38 pm, Jeffrey jeffisagen...@gmail.com wrote: So I'm trying to use openGl to draw an image for a live wallpaper, using the below method: https://github.com/markfguerra/GLWallpaperService

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Jeffrey
your 300 mS delay (shouldn't be too hard!) and fix that. Peter Webb On Mar 22, 7:58 am, Jeffrey jeffisagen...@gmail.com wrote: I am not getting any speed improvements over just changing the top/ left coordinates of the .drawbitmap() command. I'm going to look into using OpenGL

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-22 Thread Jeffrey
stripped down google's example livewallpaper, so I don't know if it's lacking any optimizations or anything. On Mar 22, 8:28 pm, Jeffrey jeffisagen...@gmail.com wrote: I only have one image rendered (the background image) and I get the exact same results from canvas.translate() vs .drawbitmap

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-21 Thread Jeffrey
. On Mar 20, 11:35 pm, Peter Webb r.peter.w...@gmail.com wrote: Call canvas.translate(-x), draw, then call canvas.translate(x) You are moving the location on the canvas underneath where you draw, after you have drawn whatever you need to move the canvas back. On Mar 21, 8:47 am, Jeffrey jeffisagen

[android-developers] Re: Canvas frame rate very choppy in Live Wallpaper

2011-03-20 Thread Jeffrey
left in you :) On Mar 20, 9:12 am, Riyad Kalla rka...@gmail.com wrote: Jeffrey, To what Peter said, mobile devices are very fill-rate-limited (at least these current gen of phones) so depending on how you are repainting that image over and over and over again to the Canvas, that could

[android-developers] Canvas frame rate very choppy in Live Wallpaper

2011-03-19 Thread Jeffrey
I'm trying to make a simple (or so I thought) live wallpaper that takes an image and moves it slowly in a circular motion, to make the picture seem less static and more like looking out a window. I took the live wallpaper tutorial from the SDK and stripped it down to the bare bones so I could add

Re: [android-developers] What is Failed to finish input event. Check logs for details. Runtime crash?

2011-03-02 Thread Jeffrey Brown
What else appears in the log? Usually this message is preceded (or shortly followed) by a log entry to the effect that the input event has already been finished or the input channel was closed, or something. Jeff. On Mon, Feb 28, 2011 at 9:06 AM, Pink sivareddy.j...@gmail.com wrote: Hi, I

Re: [android-developers] Manually Dispatch Key Event

2011-02-22 Thread Jeffrey Brown
You need to set the MetaState flags of the KeyEvent for the comma to META_SHIFT_ON. However, I strongly discourage injecting key events if at all possible since it tends to be brittle. For example, you are probably assuming that shift-, produces but there is no guarantee that the keymap will be

[android-developers] Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread Jeffrey
I have traversed the internet and have yet to find an answer for this problem. I have a set of image resources that I use in my widget, I need to be able to reuse them but with differing Alpha levels. So far the only command I can find to change alpha levels is .setAlpha(), but that will not work

[android-developers] Re: Trouble with bluetooth pairing my Samsung Galaxy Tablet with my PC

2011-02-22 Thread Jeffrey
I'm not sure if this is the case but usually BluTooth default PINs are . Might be worth a try. On Feb 22, 9:33 am, OldSkoolMark m...@sublimeslime.com wrote: I am attempting to pair my Galaxy Tab with my Toshiba win 7 x64 laptop. The pairing fails because the laptop needs a PIN. I never set

[android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread Jeffrey
Yeah, looking at things again I think that will work. I wasn't looking at the correct way of converting to bitmap but I found the way that will let it work. Thanks! On Feb 22, 3:50 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 22 February 2011 22:39, Jeffrey jeffisagen...@gmail.com

[android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread Jeffrey
, Jeffrey jeffisagen...@gmail.com wrote: I have traversed the internet and have yet to find an answer for this problem. I have a set of image resources that I use in my widget, I need to be able to reuse them but with differing Alpha levels. So far the only command I can find to change alpha levels

[android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread Jeffrey
Another option that might be easier is if I could find a way to set an alpha for the ImageViews themselves, but I can't find an easy way to do that. On Feb 22, 4:42 pm, Jeffrey jeffisagen...@gmail.com wrote: Okay, after trying it out I am still facing issues. I can't seem to get the alpha

[android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread Jeffrey
(viewId, setAlpha, value). I haven't tried it myself, but I believe it should work.. On Tue, Feb 22, 2011 at 11:50 PM, Jeffrey jeffisagen...@gmail.com wrote: Another option that might be easier is if I could find a way to set an alpha for the ImageViews themselves, but I can't find

[android-developers] LVL Service not loading as Library

2011-02-10 Thread Jeffrey
Okay, so here's the problem that is making me want to pull my hair out. I'm trying to implement the LVL, and when following the instructions everything goes just fine until I hit the step of setting the LVL as a library in my apps properties. When I add it, it does just what the example pictures

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-03 Thread Jeffrey
Wow, thank you! Now I guess I need to look up a tutorial on using the AlarmManager. On Feb 3, 7:46 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Feb 2, 2011 at 9:57 PM, Jeffrey jeffisagen...@gmail.com wrote: I've got a battery widget I'm working on and I have a broadcast receiver

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-03 Thread Jeffrey
One question on AlarmManager, the examples I'm seeing all say to set up a broadcast receiver, but wouldn't that defeat the purpose using alarmmanager to prevent running a BroadcastReceiver in a service? Or is the AppWidgetProvider class able to receive the broadcast? On Feb 3, 4:21 pm, Jeffrey

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-03 Thread Jeffrey
. No such limitation with your own alarm action, though, so there isn't a chicken and egg (= service and receiver) issue here, as for the battery broadcast. -- Kostya Vasilyev --http://kmansoft.wordpress.com 04.02.2011 1:57 пользователь Jeffrey jeffisagen...@gmail.com написал: One question

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-03 Thread Jeffrey
...@commonsware.com wrote: 2011/2/3 Jeffrey jeffisagen...@gmail.com: Thank you, one last issue that I'm having, you said to get the battery level to call registerReceiver with a null broadcast receiver, but when I try the following code I get a nullpointerexception: int rawlevel

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-03 Thread Jeffrey
Also the only thing that changes is the Context, is that where the problem is? Because if it's not that then I have absolutely no clue as to what it could be. On Feb 3, 10:45 pm, Jeffrey jeffisagen...@gmail.com wrote: Am I doing something wrong? The first time my app runs this code it runs

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-03 Thread Jeffrey
Okay, figured it out. I guess I can't have anything from the AppWidgetProvider class activate a registerReceiver so I have to make a service to do it. I don't keep it running, just launch it to update everything then it dies. Thanks for your help and patience. On Feb 3, 10:56 pm, Jeffrey

[android-developers] Where to put a broadcast receiver for a widget

2011-02-02 Thread Jeffrey
I've got a battery widget I'm working on and I have a broadcast receiver for when the battery status changes, but I don't know where it needs to go. I tried putting it in the Configuration activity, but I keep getting this error: Activity com.android.blah has leaked IntentReceiver

[android-developers] Update Droid for testing

2010-10-06 Thread Jeffrey
This may seem like a dumb question but I am new to programming on the Droid and I am using a Droid at version 1.1. How do I update it to a more recent version? Preferable at least 1.6. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Game math/logic calulating movement

2010-08-28 Thread Jeffrey
is not updated. On Aug 26, 8:40 pm, Jeffrey jeffisagen...@gmail.com wrote: I know this is more of a general programming question, but my Android friends here have always been helpful. I am trying to make an image move from one part of the screen to a position the user touches, as a constant speed

[android-developers] Re: Game math/logic calulating movement

2010-08-28 Thread Jeffrey
the image move in crazy ways sometime. On Aug 28, 5:33 pm, Jeffrey jeffisagen...@gmail.com wrote: This almost works, but when I click on a point that has a smaller X value than it's current position it reverses the Y Direction. On Aug 27, 1:01 pm, Robert Green rbgrn@gmail.com wrote

[android-developers] Re: Game math/logic calulating movement

2010-08-28 Thread Jeffrey
Okay, figured it out. I had some remnants from an old system still in there and was referencing a variable that wasn't being updated correctly. Thank you for you help :) On Aug 28, 5:47 pm, Jeffrey jeffisagen...@gmail.com wrote: The problem is that it is only moving the image one direction

[android-developers] Game math/logic calulating movement

2010-08-26 Thread Jeffrey
I know this is more of a general programming question, but my Android friends here have always been helpful. I am trying to make an image move from one part of the screen to a position the user touches, as a constant speed. I don't know the best way to go about doing this and the way I have been

[android-developers] Re: why application size increase in market

2010-08-01 Thread Jeffrey
Do you have copy protection on? Turning on copy protection increases the file size. A way to get around that is to create your app with the new licensing feature. On Aug 1, 11:17 pm, aswani kumar tholeti ensisinf...@gmail.com wrote: Hi Folks, i developed one application its apk file size is

[android-developers] Re: LVL - A Massive Concern

2010-08-01 Thread Jeffrey
The only thing I can say is that it is going to be used primarily on paid apps. Paid apps that you would have had to buy through the market. Meaning that using them on non-market devices wouldn't be possible anyway, since the apps that will be using it are probably using the current form of copy

[android-developers] LVL Sample application problems

2010-08-01 Thread Jeffrey
I've followed the instructions for loading the sample LVL application and it loads up with a bunch of errors. Anywhere that a R.layout.main or R.* request is made it says R cannot be resolved. It suggests importing Android.R but if I do that then it says it can't find any of the files, including

[android-developers] Dynamically creating list on button click

2010-07-28 Thread jeffrey neville
I am trying to make a class schedule that looks something like this __ TextView TextView TextView [_EditText_] [addClass Button][addTime Button][addBuilding

[android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Jeffrey
I disagree, my paid app now has less downloads then I have purchases. So something is definitely up... On Jul 16, 4:06 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Our app Radar Now! dropped from 611,000 to 562,000 - quite a bit! However, when compared to our own internal counts,

[android-developers] HDPI images looking like crap

2010-07-03 Thread Jeffrey
How do I get my HDPI images to not look like autoscaled versions? Do I need to make the pixels per inch special or something? I use GIMP and I've tried everything and my images still look terrible. I don't know what property I have to change to make it work. Right now I have my ppi set at 72.

[android-developers] Re: HDPI images looking like crap

2010-07-03 Thread Jeffrey
android:anyDensity=true / On Jul 3, 8:39 pm, Jeffrey jeffisagen...@gmail.com wrote: How do I get my HDPI images to not look like autoscaled versions? Do I need to make the pixels per inch special or something? I use GIMP and I've tried everything and my images still look terrible. I don't know what

[android-developers] logcat buffer size

2010-06-16 Thread Jeffrey Blattman
i want to increase the logcat buffer size. that is, when i do logcat from adb or from a shell, i want to see more historical log entries. i see that logcat has a -r size option, but that requires -f filename also. i don't understand what this means. i want to change the size of the default

[android-developers] Re: How to detect Bluetooth headset key press

2010-05-24 Thread Jeffrey Palm
You can override the onKeyDown method in any activity and check for the KeyEvent.KEYCODE_MEDIA_* key codes. e.g. boolean onKeyDown(int keyCode, KeyEvent event) { AudibleReadyPlayer p; switch (keyCode) { case

[android-developers] Re: 1.5 Not finding image resource!

2010-05-15 Thread Jeffrey
around it by setting the image immediately in onCreate() so they the button doesn't grow later when clicked. On May 15, 5:40 am, Kostya Vasilyev kmans...@gmail.com wrote: Jeffrey, Use -v4 suffix with alternate drawable folders to make them invisible to Android 1.5. So you'd have: res

[android-developers] Re: 1.5 Not finding image resource!

2010-05-14 Thread Jeffrey
. On May 14, 2:57 am, Guillermo 'YaW' Andrades loko...@gmail.com wrote: In 1.5 nodpi, hdpi, mdpi and ldpi doesn't exist. This terms were born in 1.6 so probably 1.5 doesn't recognize this folders. On 14 mayo, 07:36, Jeffrey jeffisagen...@gmail.com wrote: Slight update, it turns out taking

[android-developers] 1.5 Not finding image resource!

2010-05-13 Thread Jeffrey
I have an app that when run on 1.5 throws the following exception every time it tries to set an image: Resource not found exception blah blah blah caused by: Java.lang.IllegalArgumentException: width and height must be 0 The image is being pulled from a drawable-nodpi folder, and all the

[android-developers] Re: 1.5 Not finding image resource!

2010-05-13 Thread Jeffrey
resources, so there shouldn't be any issue with my image being messed up... On May 14, 12:23 am, Jeffrey jeffisagen...@gmail.com wrote: I have an app that when run on 1.5 throws the following exception every time it tries to set an image: Resource not found exception blah blah blah caused

[android-developers] audio player writing to AudioTrack

2010-05-12 Thread Jeffrey Palm
I've implemented an audio player that does decoding and decryption, so writes to an AudioTrack object. The decoding and decryption is done in native code. On the more powerful phones everything works fine, but on the lower-power (e.g. HTC my touch) phones when I switch activities the CPU becomes

[android-developers] APK not installing, permission request loop at install

2010-05-12 Thread Jeffrey
I have an app that is will work just fine if I install it directly via ADB, but when I export it into an APK file it will not install, whenever you try it loops on the permissions page, and instead of installing when you click install or okay, it just opens that page again. I have tried compiling

[android-developers] Re: SocketTimeoutException: Read Timed Out Occurs Only via Mobile

2010-05-11 Thread Jeffrey
I've been experiencing something similar using HttpClient (also using URLConnection): java.net.SocketTimeoutException: The operation timed out The quick fix seems to be retrying the connection, but I'd like to think there's a better way of handling it. On May 4, 1:26 am, Paul Tongyoo

[android-developers] log buffer size?

2010-05-09 Thread Jeffrey Blattman
how do i set the maximum log buffer size? i see there is a logcat -r ... option, but it requires that i also specify -f, which is the log file location. what's the location of the default android log buffer file? poking around in the file system i can't see to find it. assuming i can find it, is

[android-developers] ProgressBar setMax(int) defaulting to 100

2010-04-26 Thread Jeffrey
I actually found the answer to this issue as I was about to post, but I will post anyway to help anyone that might encounter this issue. DO NOT set any progress or secondary progress amounts in the XML file for the progress bar, this apparently prevents you from setting the Max programmatically

[android-developers] Dialog not responding to fill_parent setting

2010-04-26 Thread Jeffrey
How do I fix this? I'm sure most of you have had this problem. I want my dialog box to fill the screen as I have seekbars set on fill parent, and so it makes this tiny dialog in the middle of the screen with tiny seekbars to go along with it. This is really irritating as I can't find any help

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-22 Thread Jeffrey
Moto Droid received in Southern California. Thank you Google! -- 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] Seek Bar .setFocusable(false) not working

2010-04-22 Thread Jeffrey
I need a seek bar to not be able to be adjusted, but without making the color change... setFocusable does not work for this. Is there a way to do this because it seems like there should be (without re- writing the seekbar class that is). -- You received this message because you are subscribed to

[android-developers] Re: Seek Bar .setFocusable(false) not working

2010-04-22 Thread Jeffrey
Note that setEnabled will not work for me as it darkens the color. On Apr 22, 10:36 pm, Jeffrey jeffisagen...@gmail.com wrote: I need a seek bar to not be able to be adjusted, but without making the color change... setFocusable does not work for this. Is there a way to do this because

[android-developers] Re: ListView row floats out of place, scrolls different speed?

2010-04-04 Thread Jeffrey Blattman
to answer my own question (sort of), there were two objects in the list that were equal according to my equals / hashcode. as this is a list i am not sure why this would be a problem, but removing the unnecessary equals / hashcode made it go away. On Sun, Apr 4, 2010 at 9:55 AM, Jeffrey Blattman

[android-developers] Re: OnPause() - how to resume to an activity which has a Bundle passed to it when it is created

2010-03-12 Thread Jeffrey
What I have done with success in some of my apps is making several parent views that hold each layout within a table layout, and use the menu buttons to change the visibility of the parent view containing the info you want them to see. Since the view is never really closed, it's state is kept.

[android-developers] Re: application to run first time device is turned on

2010-02-26 Thread Jeffrey
You could always have a background service check a savedpreference that returns false by default, and if it's false then it runs the wizard, and when the wizard completes it saves the preference to true or something along those lines. On Feb 26, 6:57 pm, Yoav yoav.epst...@gmail.com wrote: Hi

[android-developers] 2 Dimensional Array not initializing correctly

2010-02-17 Thread Jeffrey
I have a 2D array that I need to initialize. I have a class that holds all my variables name V, so in that class I have this: static String[][] ModelInfo = new String[300][25]; That should make 300 array variables with 25 points in it, but it doesn't as any time I try to reference anything other

[android-developers] Re: 2 Dimensional Array not initializing correctly

2010-02-17 Thread Jeffrey
...@android.com wrote: On Feb 17, 5:34 pm, Jeffrey jeffisagen...@gmail.com wrote: I have a 2D array that I need to initialize. I have a class that holds all my variables name V, so in that class I have this: static String[][] ModelInfo = new String[300][25]; That should make 300 array

[android-developers] Re: Saving the contents of an array

2010-01-20 Thread Jeffrey
for reading the data back. These are a bit simplified, and the process is pretty raw, but the concepts are there. HTH On Jan 19, 8:25 pm, Jeffrey jeffisagen...@gmail.com wrote: How do I save the contents of an array to a file and then read it again later? I have a small amount of data

[android-developers] Saving the contents of an array

2010-01-19 Thread Jeffrey
How do I save the contents of an array to a file and then read it again later? I have a small amount of data that will need to be stored and since I have no idea where to start on using a SQLite database, I think this will work a lot better. -- You received this message because you are subscribed

[android-developers] Re: Installing app on android device

2010-01-19 Thread Jeffrey
Also, exporting an UNSIGNED package is the main problem. Packages must be signed in order to install. It's not hard to sign them as Android allow self-signed packages. Just use the android tools menu and click on export SIGNED package. On Jan 19, 1:43 pm, Robert Nekic robertne...@gmail.com wrote:

[android-developers] Re: myTouch 3G developer phone

2010-01-19 Thread Jeffrey
No, it does not need service so it should work in it's current state. There are quite a few posts on getting dev phones to work, so with some searching I'm sure you can find one and get the issue resolved. On Jan 18, 12:49 pm, heretic619 heretic...@gmail.com wrote: I have a myTouch 3G that

Re: [android-developers] Re: Android Pirate Site

2010-01-17 Thread Jeffrey Blattman
and co-pilot is hacked and available for free also. i guess that didn't work. On Sat, Jan 16, 2010 at 11:13 AM, theSmith chris.smith...@gmail.com wrote: Would it be feasible to authicate the app with a google checkout number like copilot does? -- You received this message because you are

Re: [android-developers] Version Control

2010-01-11 Thread Jeffrey Blattman
bin and gen. On 1/10/10 12:49 PM, barry wrote: When using Eclipse as an IDE, which files/folders can I safely ignore for version control purposes? Thanks. -- attachment: qr-gmail.png-- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Utilizing HTTPS

2010-01-11 Thread Jeffrey Blattman
why do you think it doesn't do the job? you can use https through either the java.net classes or their httpclient equivalents. On 1/11/10 9:10 AM, Knossos wrote: Hi, I want to use HTTPS in my application. The Java URL class does not seem to do the job. Does anyone have any pointers? Thanks!

Re: [android-developers] Re: any nexus discount for developers?

2010-01-10 Thread Jeffrey Blattman
Do any of the other mobile OS developing organizations hand out free phones to developers? On Jan 9, 2010 11:12 PM, blindfold seeingwithso...@gmail.com wrote: Probably not. Googlers got one for free, but us mortal developers are not considered worthy of a similar treatment. On Jan 10, 6:22 am,

Re: [android-developers] Re: any nexus discount for developers?

2010-01-10 Thread Jeffrey Blattman
with the risk of coming across as inflammatory ... you should ask yourself why you are here complaining about android and not somewhere else discussing webos or iphone OS or windows mobile. there are lots of alternatives. my reason is that i thought i could get in the ground floor. it turns out

[android-developers] Re: Nine patch pre-scaling on Hdpi

2010-01-05 Thread Jeffrey
The easiest thing I can think of is to make high density images and see if that fixes the problem. I know that fix isn't the best but it might work. On Jan 5, 7:31 am, Pixie m...@labpixies.com wrote: Hello everyone, I have some 9-patch images on my app, and they work great on the medium

[android-developers] Patch 9 images and .setImageResource

2010-01-02 Thread Jeffrey
I have an image that is applied via setImageResource and it's a patch 9 but it is not stretching correctly. It is stretching the entire image and I can't figure out why. Do I have to set a certain ScaleType? I have tried with CENTER_CROP but it didn't seem to have any efftect so I didn't try the

[android-developers] Re: Patch 9 images and .setImageResource

2010-01-02 Thread Jeffrey
I think I found out why... Apparently there is a difference between whatever.9.png and whatever.9.PNG... On Jan 2, 2:39 am, Jeffrey jeffisagen...@gmail.com wrote: I have an image that is applied via setImageResource and it's a patch 9 but it is not stretching correctly. It is stretching

[android-developers] Draw() filling memory instantly

2009-12-31 Thread Jeffrey
I'm working on a game and right now I'm using the Lunar Lander sample app as a template. The problem I'm encountering is running the draw method I have. In the Lunar Lander app they use this: run(){ while (mRun) synchronized(mHandler) DoDraw(); There is a little more to the code that I can't

Re: [android-developers] AppWidget Update on Orientation Change

2009-12-30 Thread Jeffrey Blattman
I asked the same question some time back and the answer I received was that there is no way to detect if your widget is visible, or currently shown on the home screen. On Dec 29, 2009 7:29 PM, Ryan rgra...@gmail.com wrote: I am developing a photo frame widget, all works except on an orientation

  1   2   >