[android-developers] LinearLayout Problems

2012-05-01 Thread Jason Teagle
It seems I'm not out of the woods just yet. I seem to be having another strange problem with gravity - vertically this time. LEFT, RIGHT & CENTER (aligning a normal and wider button in a vertical layout so that they are both right-aligned) seem to be no problem. Given the following code sample

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-05-01 Thread Jason Teagle
The gravity should be set on the LinearLayout.LayoutParams instead. Ahhh... yes, that fixed it. I misread the function and thought it applied to the View / Widget it was being called on. My bad. *Now* I'm in business - thanks! -- You received this message because you are subscribed to the G

Re: [android-developers] Layouts - Using Remaining Space For Intermediate View

2012-05-01 Thread Jason Teagle
Could you use a LinearLayout and set the layout_weight of each custom view to 1? Hmmm... yes, good call, but there's a slight twist. It seems that gravity doesn't work in LinearLayout. Consider the following code (in onCreate() ): --- super.onCreate(savedInstanceState); // Create the root co

Re: [android-developers] Alternate Page Display mechanisms?

2012-05-01 Thread Jason Teagle
In WP7 we have "Pivots" and "Panoramas" where a "page" may be 15 pages wide and the user can slide them accross. The same Code Class Maybe I could put a very wide page into a horizontal slider or something like that? Although the very wide page and ScrollView option is a possibility, you migh

Re: [android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread Jason Teagle
(@Kristopher: The OP doesn't have access to the other device's application space - it's not a phone or tablet.) electronic frame is supporting bluetooth. So do you know for example how to send file any phone.my program giving error therefore uuid It seems you need to use something called the

Re: [android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread Jason Teagle
So i will use it send piture to electronic frame any ideas :S That may not be possible. From what I have seen through Googling, the target device needs to have "File Transfer Profile" (OBEX FTP) and/or the "Object Push Profile" (OBEX OPP) Bluetooth services enabled. For a phone, this may b

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Jason Teagle
I tried lots of modes, including SRC_OVER. Imagine the following two filters: the first is a solid color blue filter; the second is a fog filter (graduated, upwards from the bottom)[1]. Every other method I tried did some combination of showing only one filter or the other where they overlapped

Re: [android-developers] public variables

2012-04-30 Thread Jason Teagle
(Bearing in mind the warning you were giving [by another member] about globals being evil, don't make *everything* static.) public static Context context; public static MediaPlayer mp=MediaPlayer.create(context, R.drawable.klik); Your error is probably that you declared an object called 'con

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Jason Teagle
seeing the yellow circle through the grey square as it it were tinted glass, which was my understanding of what you wanted - how is ADD different)? -- Jason Teagle jason.tea...@yahoo.co.uk -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-04-30 Thread Jason Teagle
Call me suspicious, but in their own example at http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/Xfermodes.html they don't use either ADD or OVERLAY, but do list the remaining 16 from the PorterDuff enum: private static final Xfermode[] sModes = {

Re: [android-developers] public variables

2012-04-30 Thread Jason Teagle
is there any option that i can declare public variable- such as int,and to be seen in other class in my other activity.When i This would normally be done by using a static boolean / int in a class designed simply for holding 'global' data. public class AppSettings { public static boolean p

Re: [android-developers] Re: Bluetooth devices is pairing but not connecting

2012-04-30 Thread Jason Teagle
nobody is not know anything about that :S If you keep saying that, people aren't going to bother answering you in future. If people had ideas, they would say so. People have already given you answers, but you rejected them. You can't just 'send a file to any device'. At the very least, assum

[android-developers] Re: Pinch Zoom on Image

2012-04-28 Thread Jason
https://github.com/jasonpolites/gesture-imageview On Friday, December 17, 2010 1:07:39 AM UTC-8, ajmer singh wrote: > > Hi All > > I need to implement the pinch zoom on an image,could anybody please let me > know how one can implement this,Is there any tutorials etc ?. > > > -- > Thanks and Rega

[android-developers] Re: Pinch zoom functionality for custom view

2012-04-28 Thread Jason
Hi there, I've implemented an open source pinch-zoom ImageView replacement called "GestureImageView" which does everything you should need. You can either drop it straight in, or just use the source however you want. https://github.com/jasonpolites/gesture-imageview On Tuesday, September 6, 20

[android-developers] How to set the Statusbar background transparent while window format is PixelFormat.RGB_565

2012-04-08 Thread Jason Zhu
Jason -- 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+unsubscr...@googlegroups.com For more opti

Re: [android-developers] Relative layout : how to horizontally center align 2 children.

2012-04-08 Thread Jason Zhu
Both of them are set to "android:layout_centerHorizontal="true"" 在 2012年4月9日 上午11:56,Put_tiMe 写道: > In a relative layout, how do I center align two *child* elements. > The two elements could be of different widths. > > They appear one below the other and are horizontally center aligned. > > > > -

[android-developers] Re: Modify a textview value in a custom listview after clicking

2012-03-25 Thread Jason Tian
Hi, Justin May I ask why we shouldn't modify the view after it has been displayed? Cause I've been doing this a lot in my app... Thanks, Jason On Mar 26, 9:12 am, Justin Anderson wrote: > Modify the data in the adapter and then call notifyDataSetChanged().  Once > the view has

[android-developers] Re: ListView header/footer problem

2012-03-22 Thread Jason Tian
I've had a similar problem. And here is my solution: Put the header/footer in another wrapper layout (e.g. a FrameLayout maybe), and set this wrapper to be the header/footer. Hope it works. 在 2012年3月19日星期一UTC+8下午2时56分31秒,gropapa写道: > > hello guys, > I have an expandableListView in wich i add a

[android-developers] Re: SDK and ADB errors

2012-03-14 Thread jason strait
cool that worked thx > > -- 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+unsubscr...@googlegroups.co

[android-developers] Re: SDK and ADB errors

2012-03-14 Thread jason strait
cool that worked thx On Friday, March 9, 2012 9:22:51 AM UTC-5, Chuck Krutsinger wrote: > > You need to launch adb using sudo: > > adb kill-server > sudo /full/path/goes/here/adb devices > > -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] SDK and ADB errors

2012-03-09 Thread jason strait
i get this... Downloading Android SDK Platform-tools, revision 10 Installing Android SDK Platform-tools, revision 10 Stopping ADB server failed (code -1). Installed Android SDK Platform-tools, revision 10 Stopping ADB server succeeded. Starting ADB server succeeded. Done. 1 package installed.

Re: [android-developers] Android permission denial when installed in wrong order

2012-03-06 Thread Jason Prenger
Mark, I figured this was the case but wasn't sure if there was a nice workaround for it. I'll probably end up just specifying the install order for now and try some of your suggestions later. Thanks again for the response, Jason Prenger On Tuesday, March 6, 2012 11:26:27 AM U

[android-developers] Android permission denial when installed in wrong order

2012-03-06 Thread Jason Prenger
igned to be used by a suite of different apps so I can't just combine the two Thanks in advance, Jason Prenger -- 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@googleg

[android-developers] Canvas or OpenGL

2012-02-14 Thread Jason Prenger
ny experience with OpenGL). So I guess I'm asking the people who know more than me which they would go with for creating a directed graph, Canvas or OpenGL? If you do think I should use OpenGL should I go with 1.x or 2.0? Thanks in advance, Jason Prenger -- You received this message bec

[android-developers] Re: ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
Figured I might as well talk about the solution I came up with in-case someone comes to this thread with the same ideas I was Eventually went with a workaround of having a base layout with 3 frame layouts... http://schemas.android.com/apk/res/ android" android:layout_width="match_pare

[android-developers] Re: ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
Hey Mark, Thanks for the advice, its gotten me closer to the solution that I was looking for. I guess I was hoping or figured there would be an interface to give a layout file to an ActionBar tab as opposed to attaching and detaching the needed fragments in the listener. Jason Prenger On Feb 9

[android-developers] ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
only contains one fragment but I'm not sure how get the first layout into a single tab. Is that something that's allowed? Thanks in advance, Jason Prenger -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Error in NativeDaemonConnector

2011-12-09 Thread Jason Chang
Hi; I'm trying to build the Android 2.3.3 for Nexus One (HTC Passion) on my Ubuntu 10.04 64 bit machine. I first ran the extract-files.sh and get all the proprietary files from the HTC Passion device which was loaded with Android 2.3.3. I could successfully build the code and flashed the boot, rec

[android-developers] Android TileMode REPEAT on Background image stops working

2011-12-05 Thread Jason
I'm having some problems with programmatically setting the background image to tile on a LinearLayout on Android. I've posted a bug report (http://code.google.com/p/android/issues/ detail?id=22541), along with an example project but I'm wondering if anyone's seen this before and has a workaround?

[android-developers] Re: how to apply preference style in user-defined theme

2011-11-21 Thread jason zhu
Ohh, I want to define a Preference style for Settings module. In this style i only want to change the Preference title and summary's textColor and textSize, different from Frameworks' default style. But Now I have to used the method preference.setLayoutResource() or android:layout for every Prefere

[android-developers] How to make voice record during the conversation?

2011-11-15 Thread Jason
Does anybody know how to make voice record during the conversation? thank, Jason -- 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

[android-developers] Omg what's wrong with my emulator! :*( somebody help lol

2011-10-05 Thread Mr Jason
Gouud, you know what?.. my emulator is sosososo slow and it just won't let me progress of my learning fast enough. I mean emulator is slow when it is booting my activity. It gave me tooo much stress over past few days and I started to look up some solutions to make it load my activity fast so

[android-developers] Re: Samsung Galaxy S2 (2.3.4) and Arduino ADK

2011-10-04 Thread Jason Engelman
crashes > > > any later version seems support has been removed > > > [INSTALL_FAILED_MISSING_SHARED_LIBRARY] > > with these > > > I9100XWKI4 šv2.3.4 > > I9100CEKI2 šv2.3.5 > > > Jason -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Samsung Galaxy S2 (2.3.4) and Arduino ADK

2011-10-04 Thread Jason Engelman
mpiles and deploys. > > But crashes > > > any later version seems support has been removed > > > [INSTALL_FAILED_MISSING_SHARED_LIBRARY] > > with these > > > I9100XWKI4 šv2.3.4 > > I9100CEKI2 šv2.3.5 > > > Jason -- You received this message b

[android-developers] Re: Tapping into full duplex audio stream from Bluetooth Headset or Handsfree Profiles?

2011-09-27 Thread Jason
Any suggestions for a 3rd party SDK? On Sep 22, 11:10 am, kdı gjofd wrote: > maybe 3 party sdk will do it > > 2011/9/22, Jason : > > > > > Many embedded bluetooth chip providers advertise a full duplex audio > > connection to the mobile phone.  Is there a way to

[android-developers] Problem with Widget Orientation on different devices

2011-09-26 Thread Jason
. It looks like the Android version >3.0 has a different margin. Can someone Please help me with this Problem. Thanks Jason -- 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@goo

[android-developers] Tapping into full duplex audio stream from Bluetooth Headset or Handsfree Profiles?

2011-09-22 Thread Jason
Many embedded bluetooth chip providers advertise a full duplex audio connection to the mobile phone. Is there a way to programmatically tap into that full duplex stream? It seems to me thus far that the HSP and HFP bluetooth profiles are tightly integrated into the Android Phone app, and there is

[android-developers] Service callback references "ghost" instance of my activity

2011-08-29 Thread Jason
h the third party service? In my code i perform bind in onCreate and unbind in onDestroy... I am stumped as to why my destroyed instance A is still being referenced when the service was bound to and started by B. Thanks, Jason -- You received this message because you are subscribed to the Google G

[android-developers] HTTP request to Android Market being blocked? (403 response)

2011-08-27 Thread Jason
Hi folks, I'm building a system in which I'm wanting to verify the ownership of a given Android app to a given user. (eg. they enter the package name of their app, and I verify that they own it). I am currently using Google App Engine for this, but it seems this is being blocked by the Android M

[android-developers] Locked AVD/emulator even when wiped

2011-07-21 Thread Jason Army
is issue or knows a workaround? thanks -jason Environment Details: - OS: WinXP SP3 - Eclipse IDE for Java Developers v.1.3.2.20110218-0812 - Eclipse Platform v.3.6.2.M20110210-1200 - Android Development Toolkit Plugin for Eclipse v.12.0.0.v201106281929-138431 - JDK 1.6.0_25 Steps to reproduce:

[android-developers] getResourceAsStream fails on 2.1, works on 2.2+

2011-06-16 Thread Jason
Hi folks, I have an Android Library project that I am packaging as a JAR file for distribution. The project has no resources, layouts, assets etc., but it does have some config files that are bundled with the src. This is really just because (AFAIK) we can't distribute a library project with asse

[android-developers] How to remove app widget in home when uninstall the app?

2011-06-14 Thread Jason
Hi Everyone: I have created a widget for my application. When I uninstall the app, widget shows "problem loading widget" error in home screen. So could the app remove app widget in home when uninstall the app? Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] How to send sms/message from windows application to android mobile phone

2011-06-07 Thread Jason C
Hi! All, I'm intent to develop a windows application (.net or java) that can send sms or message to an android mobile phone. Anyone can help how to do this? rgds, Jason -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] System Bar height on tablet devices

2011-05-28 Thread Jason
OK.. I tried replying to this thread: http://groups.google.com/group/android-developers/browse_thread/thread/f9a3974f74e81c65 But Google Groups seems to have lost that email :/, so trying a new post. In the afore-mentioned thread, Dianne talks about not using getHeight()/getWidth() for UI layout

[android-developers] Unable to mock Android classes

2011-05-18 Thread Jason
turn specific values? (or just to eliminate dependencies) Thanks, Jason. -- 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 e

[android-developers] SecurityException: Permission Denial

2011-04-29 Thread Jason tw
I used When I compile,the error occurred.. [2011-04-29 20:37:30 - ] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1000 cmp=com./. } from null (pid=-1, uid=-1) requ

[android-developers] Re: Code coverage report: "no metadata found in any of the data files"

2011-04-22 Thread Jason
for anyone else: http://blog.appmakr.com/android-code-coverage/ On Apr 13, 5:44 pm, Jason Polites wrote: > Hi folks, > > I'm trying to generate code coverage reports from the junit tests on my > project, but I keep running into this message: > > "nothing to do: no

[android-developers] Re: JUnit test case blocking main UI thread for AsyncTask

2011-04-21 Thread Jason
Thanks Billy! I'll give it a go - Jason On Apr 19, 1:28 pm, Billy wrote: > Jason, here is the solution I am using, and it seems to work well. You > are basically still doing the testing on thetestthread, but when it > comes time to call theasynctaskwe switch to theuithread, a

[android-developers] Code coverage report: "no metadata found in any of the data files"

2011-04-13 Thread Jason Polites
#x27;m using the latest build tools (Tools rev. 10, Platform Tools rev. 3), running on an emulated 2.1-update1 device Thanks, Jason. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: ImageView on SlidingDrawer not responding to click event

2011-04-11 Thread Jason
true; } } return false; } }); Let's face it.. it's a hack.. but it works. On Apr 10, 11:37 pm, Jason wrote: > Hi folks, > > I have an ImageView contained in a TableLayout within the "handle"

[android-developers] ImageView on SlidingDrawer not responding to click event

2011-04-10 Thread Jason
Hi folks, I have an ImageView contained in a TableLayout within the "handle" component of a SlidingDrawer and I'm trying to capture the click event on the ImageView but it doesn't seem to be fired. Obviously the SlidingDrawer is capturing the event to handle it according to the rules governing it

[android-developers] Re: JUnit test case blocking main UI thread for AsyncTask

2011-04-05 Thread Jason
d. Hopefully someone out there has a pattern for asserting asynctask outcomes in a test case... Thanks. On Apr 5, 1:46 pm, Jason wrote: > Hi, > > Missed your response.  This didn't work for me unfortunately. > > Interestingly if I mark the test with @UiThreadTest I get the sa

[android-developers] Re: JUnit test case blocking main UI thread for AsyncTask

2011-04-05 Thread Jason
bunch of important test cases that I'm having to just comment out because they hang when run in the suite (although they all run and pass when executed individually). I feel like I've tried everything to get these to work, but clearly I'm missing something here. Any other ideas?

[android-developers] JUnit test case blocking main UI thread for AsyncTask

2011-03-17 Thread Jason
Hi all, I have a test case which is trying to verify the behavior of an Async Task and am running into some problems dealing with (I think) some thread blocking situations. I have a fairly standard ActivityInstrumentationTestCase2 which is testing a single method call on the class under test. Th

Re: [android-developers] Re: Map tiles unnecessarily reloading when panning

2011-03-02 Thread Jason Hanley
Still seeing it here. On my device and on a few emulator images I tried. I created a bug for this: http://code.google.com/p/android/issues/detail?id=15184 On Mon, Feb 28, 2011 at 12:16 PM, Sterling wrote: > Is everyone still experiencing this issue? I'm concerned it's also > impacting the amount

Re: [android-developers] Map tiles unnecessarily reloading when panning

2011-02-24 Thread Jason Hanley
On Wed, Feb 23, 2011 at 11:48 AM, TreKing wrote: > Yes, also adding stuff to my map activity, also thought I'd screwed > something up, but my current release version (what's on the Market) also > shows the behavior. > Methinks the server end is foo-barred. At least I'm not alone. Luckily I haven'

[android-developers] Map tiles unnecessarily reloading when panning

2011-02-23 Thread Jason Hanley
On my device (Nexus S 2.3.2) any activity that is using a MapView is showing flickering of the map tiles when panning around. The behavior is exactly the same as discussed in this thread from several weeks back: https://groups.google.com/d/msg/android-developers/9FR8LqCUpuI/GTrn36gN4W0J Say you p

[android-developers] Re: Create a view like the notification area

2011-01-19 Thread Jason
gt; On Wed, Jan 19, 2011 at 10:02 PM, Jason wrote: > > Hi all, > > > I'm wanting to create a view that behaves the same as the notification > > area. > > > Let me explain: > > > I want one view being displayed on screen, with a "toolbar" at the t

[android-developers] Create a view like the notification area

2011-01-19 Thread Jason
Hi all, I'm wanting to create a view that behaves the same as the notification area. Let me explain: I want one view being displayed on screen, with a "toolbar" at the top of this view which behaves like the notification bar on the device. So when you just touch this toolbar, a "dragable" grab b

[android-developers] Re: Android calendar control

2011-01-04 Thread Jason Kostempski
I was looking for essentially the same thing you are. Couldn't find it, so I had to code it and I put it up on github. https://github.com/jasonkostempski/Android-CalendarView/wiki. On Nov 17 2010, 4:15 am, paresh mayani wrote: > Hello, > > I have referred the article (athttp://www.developer.com/a

[android-developers] Re: Game for multiple phones - need multiple apk's or turn on / off different resources upon build of apk

2010-12-28 Thread Jason
What most other "large" games seem to be doing is a second download of data once the app is launched. So the "core" app you distribute on the market doesn't have any resources, then when the app loads it downloads the resources appropriate for the device. The advantage is the app on the market wi

[android-developers] Re: Need An Android App That Pulls In My sites feeds

2010-12-28 Thread Jason
There is a tool called AppMakr (www.AppMakr.com) which will allow you to easily create this type of app. Their Android version is about to be released, but you can try signing up for a beta here: http://blog.appmakr.com/android-beta-test/ On Dec 29, 7:34 am, james riter wrote: > I am making a

[android-developers] Re: IllegalStateException in MediaPlayer (Redux)

2010-11-27 Thread Jason
ual.. it was my crufty code that was the problem! Thanks again, Jason. -- Droid Odyssey! A new game for Android http://www.carboncrystal.com/droid-odyssey/ On Nov 27, 6:59 am, joebowbeer wrote: > Do you have an error listener registered? Does it give you more > information? > > Acc

Re: [android-developers] Animate to new position - impossible?

2010-11-26 Thread Jason Van Anden
Got it - but ... Its not obvious what the: something to adjust your layout to cause your View to stick in the new spot. is. I am already using the AnimationListener to trigger post animation code - but I am stuck on how to make this actually happen. It would be great to have a snippet that sho

[android-developers] Animate to new position - impossible?

2010-11-24 Thread Jason Van Anden
I am trying to roll my own sliding drawer that can be opened 5%, 25% and 100%. When I animate my view to the new position, the animation moves, but when the animation is finished the view jumps back to its original location. Is it possible to animate a view to a new position or am I attempting to

[android-developers] Android Email Client Omits Email Headers

2010-11-24 Thread Jason Williams
Hi, In Android 2.2, the email client appears to omit the Date header spec'd in RFC822. We need to generate emails to a server that enforces this requirement of the RFC. Is there anyway to get the standard email client to include the Date header or to detect that a message was generated by Android?

[android-developers] Re: Is that possible to print backtrace when debug native code

2010-11-23 Thread Jason
If you want to just print a log line, you can do this with the log.h library: #include __android_log_print(ANDROID_LOG_DEBUG, "Category", "Your message"); But you won't get a stack trace (I'm assume from backtrace you mean stack trace?) If you are trying to handle "exceptions" in C++ then I th

[android-developers] Re: GPU

2010-11-23 Thread Jason
Are you saying you want to use the GPU to process raw data.. or just to render graphics? If it's the former then you'd certainly have to do this from native code, and I doubt you would be able to access this without root access on the device. If it's the latter then the previous poster is correct

[android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Jason
I have a similar use case, although I am only POSTing data and it's a simple RESTful service, but the data exchange mechanism is the same. I haven't actually timed it but your times don't seem wildly out from what I have seen. One thing that stands out in your code is the timer. You should probab

[android-developers] Re: Andriod Trainer(10-15k per day)

2010-11-23 Thread Jason
lol On Nov 23, 6:27 pm, Zsolt Vasvari wrote: > What are you, a slave driver?  I refuse to do for under 20k a day, > sorry. > > On Nov 20, 12:49 pm, syed sameer wrote: > > > > > > > > > We need an Android trainer; the compensation will be 10-15k per day > > for a span of 2weeks, (this training ca

[android-developers] Re: Need Help !!

2010-11-23 Thread Jason
Not sure if it's what you want.. but you could try using a ViewFlipper... http://developer.android.com/reference/android/widget/ViewFlipper.html On Nov 22, 11:16 am, Anis Ben Nsir wrote: > I'm using a TabActivity to run two activity. > In the first activity I'm using GestureDetector.Fling for fl

[android-developers] Re: 1.5 quits for apparently no reason whilst animating (WIN DEATH)

2010-11-23 Thread Jason
Can you post some code? Specifically the portion that does the drawing. On Nov 23, 1:44 am, Muleskinner wrote: > Hi, > > I have an app that is working fine in 1.6 and up but crashing for > apparently no reason in 1.5. The app suddenly quits with the following > message... > > I/WindowManager(  5

[android-developers] Re: IllegalStateException in MediaPlayer (Redux)

2010-11-23 Thread Jason
Whoa.. what's with the double post?? On Nov 23, 8:16 pm, Jason Polites wrote: > Hi folks, > > Some time ago I posted an issue relating to an IllegalStateException > in the Media Player (http://groups.google.com/group/android-developers/ > browse_thread/thread/46c7c2cd4f4a6

[android-developers] Re: LVL - Yay or Nay?

2010-11-23 Thread Jason
What's the status of the Google T&C's in regard to this? Last I read you were "allowed" to promote anything in the app that wasn't purchased via the Market. >From the Android Developer Distribution Agreement: (http:// www.android.com/us/developer-distribution-agreement.html) "You may not use the

[android-developers] IllegalStateException in MediaPlayer (Redux)

2010-11-23 Thread Jason Polites
Hi folks, Some time ago I posted an issue relating to an IllegalStateException in the Media Player (http://groups.google.com/group/android-developers/ browse_thread/thread/46c7c2cd4f4a6958/5551d47aac93632c) I have just launched the app into the "wild" and this error is flooding in. I just can't

[android-developers] IllegalStateException in MediaPlayer (Redux)

2010-11-22 Thread Jason
Hi folks, Some time ago I posted an issue relating to an IllegalStateException in the Media Player (http://groups.google.com/group/android-developers/ browse_thread/thread/46c7c2cd4f4a6958/5551d47aac93632c) I have just launched the app into the "wild" and this error is flooding in. I just can't

[android-developers] Re: Tomcat on Android

2010-11-04 Thread Jason
My experience is that Jetty (http://www.mortbay.org/jetty/) tends to be a bit more lightweight than tomcat, and also a LOT easier to embed (it's basically just a JAR file). Or you could try this: http://tjws.sourceforge.net/ Haven't tried it myself, but looks like it's designed to be lightweight

[android-developers] Re: Rotate bitmap in opengl

2010-11-03 Thread Jason
the same as it will save the extra GL calls and if you have a lot of objects this could become meaningful. On Nov 4, 12:37 am, "Alistair." wrote: > Thanks Jason. One month later and I finally got it working. You were > correct but it has taken a bit of time me to get my

Re: [android-developers] How i can control the Screen On/Off & Lock/Unlock in Donut( SDK 1.6)

2010-10-29 Thread Jason Van Anden
I am facing the same issue. Did you or does anyone else know the answer? J On Sun, Jan 3, 2010 at 9:43 PM, krekar wrote: > hi, all(& happy new year~! :D) > > I making an Alarm App. > > In my Alarm App, if user set the alarm, the alarm Dialog will be shown > at the set alarm time. > > but if de

[android-developers] messages not showing up?

2010-10-28 Thread Jason Graham
I have tried to post a message twice over 2 days and they never show up on the group, what gives? -- 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

[android-developers] Re: MediaRecorder Output Padded - How to Fix?

2010-10-28 Thread Jason Van Anden
Does anyone else have this issue when recording using MediaRecorder? I would like to understand if it might be something I am doing. thx On Wed, Oct 27, 2010 at 8:51 PM, Jason Van Anden wrote: > When I record audio with the MediaRecorder, I am consistently getting .65 > seconds of dead

[android-developers] MediaRecorder Output Padded - How to Fix?

2010-10-27 Thread Jason Van Anden
When I record audio with the MediaRecorder, I am consistently getting .65 seconds of dead space before the recording starts. It appears as if the file gets passed for some reason. Does anyone know why and better yet, how to eliminate this? j -- You received this message because you are subscri

[android-developers] Re: Rotate bitmap in opengl

2010-10-15 Thread Jason
You want to call glLoadIdentity before anything else, and remember that the commands are on a stack, so are processed in "reverse" order. The glLoadIdentity will reset everything, so your matrix will be at 0,0. This means you draw, rotate, then translate; but you push the commands to do this onto

[android-developers] check for new version in Android marketplace?

2010-10-13 Thread jason
How does one programmatically check (in Java) if a new version of a certain application has been published in the market place? The examples shown in http://developer.android.com/guide/publishing/publishing.html just take you to the MarketPlace. Instead I want to check in my code if a new version

[android-developers] frequent c2dm message request

2010-10-10 Thread jason hor
hi all, I had develop a app that allow user to request info from their phone based on chrometophone example. Everything is working well but i noticed that c2dm message only sent once to the device and subsequence c2dm will only reach phone after screen unlock. This make me annoy as my app require

[android-developers] Re: IllegalStateException in MediaPlayer (HTC Hero 1.5)

2010-09-27 Thread Jason
re we should be, and if not handle accordingly. Unfortunately I haven't been able to test again on the HTC Hero as yet, but this has solved a similar error I was getting on another device. On Sep 18, 12:42 pm, Jason wrote: > Anyone?.. Bueller... > > On Sep 18, 5:20 am, Jason wrote

[android-developers] Re: MediaPlayer showstopper bug - please help

2010-09-23 Thread Jason
hmm.. that's odd. setLooping works for me. I have a background track that loops throughout my game, and coincidentally I too have an HTC Desire and HTC Tattoo for testing. Nevertheless, if it's working overall that's good! On Sep 24, 6:19 am, kk wrote: > Thanks for

[android-developers] Re: MediaPlayer showstopper bug - please help

2010-09-23 Thread Jason
Wow.. that IS weird. I'm not sure what the problem is here, but there are a couple of things I do differently: 1. Don't use MP3. Apparently the MP3 decoder on Android is a bit crufty. I was advised to use the OGG format and it works well. You can create OGG files using Audacity (it's free) htt

[android-developers] Re: Threading and the emulator

2010-09-23 Thread Jason
24, 1:06 am, kypriakos wrote: > Hey Jason, > > it's running in the foreground - that's why this was a bit troubling. > Do you have a large number of threads running in your case (100+)? > > Thanks > > On Sep 22, 1:59 pm, Jason wrote: > > > > > Is you

[android-developers] Re: OpenGL video capture

2010-09-23 Thread Jason
AFAIK there is no easy way to capture the screen as video in the standard API (java OR native) However some newer devices do support a "video out" function: http://androidandme.com/2010/07/news/samsung-galaxy-s-does-video-out-via-3-5-mm-headset-jack/ http://androidandme.com/2010/04/news/droid-inc

[android-developers] Re: Android Market the Google I/O 2010 features

2010-09-22 Thread Jason
Early next year is the current "best guess": http://online.wsj.com/article/SB10001424052748704895204575321560516305040.html?mod=googlenews_wsj http://tech.fortune.cnn.com/2010/07/02/google-music-to-launch-for-the-holidays-android-3/ On Sep 22, 1:10 am, Fabrizio Giudici wrote: >   On 9/20/10 15:

[android-developers] Re: Way to run apps on live emulators?

2010-09-22 Thread Jason
Leave the emulator running and either use Eclipse to install your app over the top, or use adb uninstall/install. When you "Run" your app from within Eclipse it will automatically remove the old version and install the new one. On Sep 19, 11:47 pm, Diego wrote: > Is there a way to install (make

[android-developers] Re: Distribute app to customer for review but no one else

2010-09-22 Thread Jason
If you're talking about this: http://www.mobilecrunch.com/2010/06/15/lesson-not-learned-att-locks-down-the-htc-arias-app-selection/ (or similar) then there is pretty much nothing you can do short of actually publishing the app to the app Market. Of course there's nothing wrong with this, you cou

[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-22 Thread Jason
You could also try adding a feature to the app which (optionally) switched on the debug flags on the GLSurfaceView (if you're using that): DEBUG_CHECK_GL_ERROR DEBUG_LOG_GL_CALLS http://developer.android.com/reference/android/opengl/GLSurfaceView.html#setDebugFlags(int) This may help you track d

[android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread Jason
I agree with all above posts.. but would just add one more bit of advice. Try not to be discouraged by the volume of information you are trying to digest. There is years worth of knowledge and experience which is already sort of "assumed" when you hit a platform like Android. For one it assumes

[android-developers] Re: Java Guru Query: override a method taking a reflected class argument

2010-09-22 Thread Jason
Short answer is you don't. Long answer is you implement something like a "facade" pattern combined with a "factory" pattern. The classes that you want to load which have API 7 specific code will only be loaded by the classloader when they are referenced at runtime. Hence pre-api 7 installs will

[android-developers] Re: Threading and the emulator

2010-09-22 Thread Jason
Is your app running in the foreground during all of this? I have threads running continuously without any issues. If your app is NOT running in the foreground then it may well be suspended by the platform. As a "general" rule the onPause method of an Activity should also gracefully pause your th

[android-developers] Re: Request: Don't make us use Ant

2010-09-22 Thread Jason
Not sure if you're asking for help on building with ant, but... I have an ANT build script which references external jar files (Flurry and my own external jar) and uses proguard for obfuscation, plus deals with incompatibilities between the Sun JDK and java generics. I'll agree it IS a real pain

[android-developers] Re: Cupcake(API3) friendly way to pause/stop sound loops in SoundPool? Any ideas?

2010-09-22 Thread Jason
ng > the soundpool instance - but this way, I have to reload all pre-cached > data again. > > On Aug 29, 9:16 am, Jason wrote: > > > > > I use the pause() method inSoundPool... implemented since API level 1 > > >http://developer.android.com/reference/android/

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-19 Thread Jason
Unfortunately it's not just paying and refunding that is the issue with these guys. >From the twitter account of appbucket: "haha...They finally found the crack we have been using for some of our appsTook them long enough. We have a few more up our sleeve..." They are clearly actively cracki

<    1   2   3   4   5   6   7   8   9   10   >