[android-developers] Re: In-App Billing forces screen orientation change

2011-08-25 Thread groob
The problem is that my application, temporary covered by Google Checkout, is changing its orientation. Normally it would not react on it, keeping the display in portrait. Only when billing popup appears it is happening and is definitely unwanted behaviour. On Aug 26, 1:16 am, TreKing wrote: > On

Re: [android-developers] How to record voice(audio) while call

2011-08-25 Thread GopalaKrishnan D
My Problem is how to record voice -- 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...@goog

Re: [android-developers] How to record voice(audio) while call

2011-08-25 Thread Mark Murphy
AFAIK, this is not possible, unless the device is in speakerphone mode. On Fri, Aug 26, 2011 at 2:35 AM, GopalaKrishnan D wrote: > > how to record voice or audio while call can any one help me pls... any > sample code > -- > ~* Regards* > *GopalaKrishnan D* > > -- > You received this message

[android-developers] Re: Android : Detect history.back() in WebView

2011-08-25 Thread Aki
I cannot change the HTML. -- 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

[android-developers] How to record voice(audio) while call

2011-08-25 Thread GopalaKrishnan D
how to record voice or audio while call can any one help me pls... any sample code -- ~* Regards* *GopalaKrishnan D* -- 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.c

[android-developers] XStream and proguard qestion

2011-08-25 Thread Daniel Rindt
Hello droids, i am using XStream for multiple tasks in a project. But when i release it then it comes that proguard do usual optimizations and obfuscation. Since i am using XStream and let them parse XML into POJO's to work with ease with the XML i run into the problem that XStream won't work p

[android-developers] more that 50mb video file size issue

2011-08-25 Thread Naveen
Hi developers, Now i am able to play approx 50MB video by using ffmpeg codec interface when trying to play approx 200mb or 1gb video then only audio works video not on surface. Please help what need change in code.why i am not able to play long video. what are the limitations on android large vid

[android-developers] Lazy loading in HorizontalScrollView to prevent Out of Memory issue

2011-08-25 Thread himanshu jain
I want to add lazy loading feature to HorizontalScrollView, It has linearlayout as a child and i am addding to linearlayout, I am interested in listening to the event when the child view is out of the visibility area, I see in linearlayout implementation it does not call either dispatchViewVisibi

[android-developers] Using the Hardware decoder in LGP500 to render frames from camera

2011-08-25 Thread B.Arunkumar
Hi, We have created our own RTSP stack which gets frames from camera and gets decoded by FFMPEG and is rendered on ImageView. We are using an LG Optimus One device. The problem is that we are finding the frame rate to be slower than the actual frame rate. We, therefore would like to use the ha

[android-developers] Android : Detect history.back() in WebView

2011-08-25 Thread Aki
A button in my WebView is used to go back using the history.back()JavaScript call. I do not understand much of JavaScript, but after a bit of searching I found that we can use the addJavascriptInterface() method of a WebView. I landed up having something of this sort: public class MyActivit

Re: [android-developers] OpenGL ES 2.0 Texture Atlas example

2011-08-25 Thread Muriako
I believe I have more or less gotten the concept down, though there is most definitely a better way to be doing things, but I am satisfied with just getting it working. Now I can take any two parts of the image and put them onto the object, and it should be pretty easy to add more, I just have

[android-developers] In-App Purchase delay in 2.2 & 2.3

2011-08-25 Thread vinith
HI, I have tested in-app purchase in Android 2.1, 2.2, 2.3 and was able to complete the in-app purchase process till a couple of days back. But yesterday onwards I am receiving response as "Your order is processing. Your item will be available in a few minutes." in android 2.2 & 2.3 while doing i

Re: [android-developers] APIs for triggering incoming calls?

2011-08-25 Thread TreKing
On Tue, Aug 23, 2011 at 10:21 PM, eagle.l...@gmail.com wrote: > I'm wondering whether Android provides APIs for triggering incoming calls > or not. > What do you mean "trigger" an "incoming call" ... ? The trigger would be someone calling you ...

Re: [android-developers] Conversion to Dalvik format failed with error 1

2011-08-25 Thread TreKing
On Tue, Aug 23, 2011 at 4:15 AM, double_dik wrote: > "Conversion to Dalvik format failed with error 1" > How do i resolve this problem?please > First try: http://tinyurl.com/27k5dob Then if that doesn't help, try some details - like what you're doing to get this and where you see this error, fo

Re: [android-developers] Control on "Force Stop" and "Uninstall" button of Android Device

2011-08-25 Thread TreKing
On Tue, Aug 23, 2011 at 11:11 AM, DJ wrote: > So after clicking on force stop and uninstall button I want to do some > functionality. > Allowing you to do something after "Force Stop" or being uninstalled would kinda defeat the purpose of such functionality, dontcha think? > So how to do it.Ho

Re: [android-developers] Emulator Compliance for Product Release?

2011-08-25 Thread TreKing
On Wed, Aug 24, 2011 at 8:55 AM, ColorTheorist < colortheorydevelo...@gmail.com> wrote: > What are your thoughts as a development community? Thought: the likelihood of the average end user knowing what an emulator is, let alone actually wanting to run an app on it considering the many limitation

Re: [android-developers] Active Installs > Total Installs = Piracy?

2011-08-25 Thread Michael Banzon
On Fri, Aug 26, 2011 at 5:36 AM, Mark Ayers wrote: > On the other hand if your analytics numbers are ALWAYS higher than total > installs in the market console, THEN youhave pirates. Aaarg! Could I have some rum then?! ;-) -- Michael Banzon http://michaelbanzon.com/ -- You received this messa

Re: [android-developers] what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-25 Thread Mark Ayers
Read Code Complete second edition. It will teach you that and much much more. On Aug 24, 2011 5:24 AM, "Naveen" wrote: > what are the best practices for good coding skills and classes, > methods, and variables naming +android > > -- > You received this message because you are subscribed to the Goo

Re: [android-developers] Active Installs > Total Installs = Piracy?

2011-08-25 Thread Mark Ayers
On the other hand if your analytics numbers are ALWAYS higher than total installs in the market console, THEN youhave pirates. On Aug 25, 2011 9:04 AM, "Appaholics" wrote: > The market is in generally very broken. The numbers update at different > times, sometimes with a day or two between updates

[android-developers] Re: GPS vs Network

2011-08-25 Thread lbendlin
yes, if you register your location listener for both sources you will get data from both. That data will contain the accuracy information so you can decide which one to use. if you unsubscribe from the GPS location service then I would expect the lastknownlocation to be fed from the network loc

Re: [android-developers] Re: what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-25 Thread Nick Risaro
On Aug 25, 2011 6:48 PM, "Indicator Veritatis" wrote: > > That is much too vague an answer. A less vague and more helpful answer > would be, start with what is "best practices for good coding skills > and classes" in Java itself, and apply the same principles to > Android's classes. > > Now to get

[android-developers] GPS vs Network

2011-08-25 Thread kypriakos
Hi all, is there anywhere where I can find more information as to how these work? In other words, when I have them both turned on I do get coords from both of them (programmatically) even though the Network seems to be a bit off, which is expectable. What's not clear is, if I enable the GPS in th

[android-developers] Button in Custom Preference gets enabled automatically

2011-08-25 Thread KK
I have a custom preference in my application which consists of a textview and a button and it is put in a preference screen. I load the layout in the onCreateView of the preference LayoutInflater inflater = (LayoutInflater)getContext(). getSystemService(Context.LAYOUT_INFLATER_SERVICE); Vie

Re: [android-developers] Re: Opportunistic Transfer

2011-08-25 Thread lbendlin
I believe we are talking battery impact here. Can you substantiate your statement with actual mAh numbers? -- 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 unsubscr

[android-developers] Re: New (?) market bug: most free games are GONE

2011-08-25 Thread Zsolt Vasvari
Can't comment on the topic on hand, but just wanted to wish you a speedy recovery. On Aug 25, 7:06 am, Jim Graham wrote: > This morning, I found out that I'm about to be in the hospital for > a while (cancer's back), and just went to get some free games to keep me > occupied.  I was amazed to fin

[android-developers] Question about Table Row filled with buttons

2011-08-25 Thread Ash
Hi All, I have a table layout defined in my XML file. At run-time, I dynamically create rows and add buttons to them. Lets say I have 1 row with 5 buttons with some text. I am facing with 2 issues: 1. There are some buttons whose text is slightly longer and thus the text wraps on the button. Th

[android-developers] Is it possible to give gradient effect using code?

2011-08-25 Thread Ash
Currently I have an XML file which sets the gradient of the button background. Is it possible to achieve the following using code? If yes, can someone please give me a sample? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

Re: [android-developers] In-App Billing forces screen orientation change

2011-08-25 Thread TreKing
On Thu, Aug 25, 2011 at 5:37 PM, groob wrote: > Does anyone ever met similar behaviour? Yes, this is how Android works. > Anyone knows the solution? Solution to what? You didn't state a problem. ---

[android-developers] Re: Android 2.3 for X10 Mini Pro

2011-08-25 Thread nadam
Begging here won't help. 2.3 for X10 Mini Pro can be found at http://forum.xda-developers.com/showthread.php?t=1201116 On 24 Aug, 13:19, "thepaul...@gmail.com" wrote: > Hello! Please start the development of Android 2.3 for X10 mini pro > and others. Because without the support of the phone can n

[android-developers] In-App Billing forces screen orientation change

2011-08-25 Thread groob
Hello! I'm trying to deal with an issue taking place when Google Checkout window (by its intent, I believe) appears over my application. I've been performing tests on Motorola Milestone/Droid, but I do know about several other devices behaving the same way. I took "Dungeons Example" from Google t

[android-developers] Re: How can I best identify my App?

2011-08-25 Thread nadam
I don't have any problem with this. Just use the same name and adjust it to the naming conventions for each place, for instance if you have an app called "Foo Bar": App name (android:label in manifest): Foo Bar App name (Title in market): Foo Bar Package: com.example.foobar or com.exemple.foo_bar

[android-developers] Re: what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-25 Thread Indicator Veritatis
That is much too vague an answer. A less vague and more helpful answer would be, start with what is "best practices for good coding skills and classes" in Java itself, and apply the same principles to Android's classes. Now to get that start, there is no better place to start than Joshua Block's "

[android-developers] Re: ImageView not getting vertically centered

2011-08-25 Thread Manish Garg
:( not working. I guess problem is coming because of scrollView but I can't remove it, as there is possiblity that image size could be larger than the screen size. On Aug 25, 4:22 pm, Drezden wrote: > Can you try something like this using centerInParent? > >     android:id="@+id/preview_image" >

[android-developers] Re: The emulator died when I execute ping in adb shell repeatly

2011-08-25 Thread Luiz Carvalho
You need root permissions for run ping... use this: http://forum.xda-developers.com/showthread.php?t=682828 On Jul 28, 11:27 pm, nanhu wrote: > I want to analyse the network health > > On 7月29日, 上午10时00分, Nick Risaro wrote: > > > > > > > > > I think that making a simple HttpRequest for a file i

[android-developers] Re: Opportunistic Transfer

2011-08-25 Thread Hank
So based on your answer, does implementing an opportunistic transfer system provide beneficial results? On Aug 25, 4:16 pm, Dianne Hackborn wrote: > On Wed, Aug 24, 2011 at 2:38 PM, lbendlin wrote: > > there is no perceptible difference between the energy required to establish > > a connection a

Re: [android-developers] OpenGL ES 2.0 Texture Atlas example

2011-08-25 Thread Muriako
I actually looked into that book a bit a while ago, but I opted to try just going straight for OpenGL ES 2.0. A lot of people recommend against that of course, but I have never been able to focus on learning something when I know there's something "better" to be trying to learn. Libgdx also se

Re: [android-developers] Enhancement Review Process

2011-08-25 Thread Richard Schilling
Right. Thanks! I knew there was a link somewhere I wasn't finding... Richard Schilling -- 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 grou

Re: [android-developers] Enhancement Review Process

2011-08-25 Thread Dianne Hackborn
Go to android-contrib for discussions about contributions. Also see: http://source.android.com/source/index.html On Thu, Aug 25, 2011 at 12:41 PM, Richard Schilling wrote: > I'm looking at the enhancements on > http://code.google.com/p/android/issues/list , and I would like to pick > one out to

[android-developers] Re: ImageView not getting vertically centered

2011-08-25 Thread Drezden
Can you try something like this using centerInParent? On Aug 25, 1:39 pm, Manish Garg wrote: > Hi All, > > I need to display one image on the screen who's size depends upon the > image fetched from the server. It is getting horizontal center but not > vertical center. When image size is large t

Re: [android-developers] Re: Recommendation for Android Training

2011-08-25 Thread Rocky
Hi, I'm providing Android training, but i'm suggesting you if it is possible join Mark Murphy :) On Fri, Aug 26, 2011 at 1:40 AM, Akos Cz wrote: > Take a look at Marakana. > http://marakana.com/training/android/ > > They also have a some free educational videos on the TechTV section of > thei

Re: [android-developers] Re: Opportunistic Transfer

2011-08-25 Thread Dianne Hackborn
On Wed, Aug 24, 2011 at 2:38 PM, lbendlin wrote: > there is no perceptible difference between the energy required to establish > a connection and the energy required to maintain a connection. Plus, most > devices are "always connected" anyhow. Where do you get this from? Keeping a network sock

[android-developers] Re: Recommendation for Android Training

2011-08-25 Thread Akos Cz
Take a look at Marakana. http://marakana.com/training/android/ They also have a some free educational videos on the TechTV section of their site. http://marakana.com/techtv/index.html On Aug 25, 9:09 am, Bsweet wrote: > Has anyone attended any in person Android development training?  If > so, I

[android-developers] Re: Opportunistic Transfer

2011-08-25 Thread Hank
Does the mobile data connection hold a connection? Or does it only establish one when it is used? I thought mobile data would be more battery intensive and only establish connections when it is being used and then disconnect the connection when it is finished. Unlike Wi-Fi which I believe always ho

Re: [android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-08-25 Thread String
On Thursday, August 25, 2011 6:41:33 PM UTC+1, Dianne Hackborn wrote: But please please please -- don't abuse widgets by consuming lots of > resources with them, this has a direct impact on the overall experience. > Yeah, I hear you, honestly I do. It's a situation, though, where users complain

[android-developers] Enhancement Review Process

2011-08-25 Thread Richard Schilling
I'm looking at the enhancements on http://code.google.com/p/android/issues/list , and I would like to pick one out to work on, but I want to be sure that someone attached to the official project has reviewed the enhancement and decided that it's worth while and/or not duplicated. How can I kno

Re: [android-developers] How to use another value in countdown timer?

2011-08-25 Thread TreKing
On Wed, Aug 24, 2011 at 1:16 PM, oliverorav wrote: > i want to pass x to contdown timer : > new CountDownTimer (X, 1000) > So do exactly that ... what's the problem? - TreKing

Re: [android-developers] Focusing on the list view menu when selected

2011-08-25 Thread Mark Murphy
On Thu, Aug 25, 2011 at 5:52 AM, rajesh nair wrote: > I have a list view, when I click on a item it gets highlighted and then > return backs to the non highlighted state > I would like to keep the highlighting on until I have selected another menu > item or until I have exited the list view In th

Re: [android-developers] Focusing on the list view menu when selected

2011-08-25 Thread TreKing
On Thu, Aug 25, 2011 at 4:52 AM, rajesh nair wrote: > I also read that highlighting should be avoided but I have seen > applications using it. > There are many apps that do a lot of things they shouldn't be doing. That doesn't mean more apps should follow suit. > If anyone has done it before p

[android-developers] emulator by accident

2011-08-25 Thread bob
A lot of times I start the emulator by accident in MOTODEV Studio. Anyone know how to kill it after this? -- 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 unsubscri

[android-developers] Re: Plain Unit Testing

2011-08-25 Thread Diego Torres Milano
Take a look at the presentation posted at http://dtmilano.blogspot.com/2011/08/linuxcon-2011-north-america.html. Slide 113 will answer your question but I recommend you follow the complete example. On Aug 25, 4:49 am, Ryan Huang wrote: > Hi All, > I want to do some plain junit testing(using TestC

[android-developers] Re: Determining audio decoders available

2011-08-25 Thread b0b
You're right of course. Above code works on Samsung devices which do not WMA support. However, Samsung devices have FLAC support and you'd thought it'd be enumerated by above code. Not at all: they must have added support for it hacking $deity knows what code in the Media Scanner and elsewhere.

[android-developers] Re: how to handle click events for 3x3 image buttons arrays?

2011-08-25 Thread Amit
Can't you set id as per array index and when button pressed, you can get id and do processing as per that. Thanks, -A On Aug 25, 9:28 pm, Drezden wrote: > Can you create a List and add a reference onto it for > each of your buttons, then run a loop to assign the onClickListener? > Then within th

[android-developers] ImageView not getting vertically centered

2011-08-25 Thread Manish Garg
Hi All, I need to display one image on the screen who's size depends upon the image fetched from the server. It is getting horizontal center but not vertical center. When image size is large then it is displaying fine scroll bar is also coming but when image size is smaller the screen size then I

[android-developers] Re: Eclipse not generating R.java files when import an android project

2011-08-25 Thread Doug
On Aug 22, 5:06 am, CDAWG wrote: > any clue as to why eclipse isn't auto generating R.java files for me? > finished the notepad1 tutorial and when i moved to 2 it has stopped > working ive tryed: deleting the folder and it pops back up with no > file. creating it from scratch but then it doesnt up

Re: [android-developers] OpenGL ES 2.0 Texture Atlas example

2011-08-25 Thread Adam Ratana
The book referenced has an excellent introduction to openGL as well. It's definitely something to start from the ground up with, and working through the full code for a simple game will probably be for the best. Working with openGL has a bit of a learning curve, especially if you're used to ni

[android-developers] Re: Position of GONE Views

2011-08-25 Thread Doug
On Aug 22, 12:36 pm, Rafael wrote: > The problem is, the Draw inst immediately, so I cant get the position. > I tryed invalidate and postinvalidate but inst working. > > What should I do? After making the table row visible, try using View.post to queue up a runnable that will scroll the view to t

[android-developers] Re: Obfuscated for Android lib project.

2011-08-25 Thread Doug
On Aug 22, 10:19 am, Robin wrote: > I have added proguard configuration file into my project, and my > project referred an Android Lib Project, I found the lib project > can't  be obfuscated. > Who can give me a guide or sample? > Thanks advanced! What exactly do you mean by "can't be obfuscated"

Re: [android-developers] OpenGL ES 2.0 Texture Atlas example

2011-08-25 Thread Muriako
Seems a tad overwhelming to me to work through the code from a full game, written in OpenGL ES 1.1, to figure it out. It probably does have the answers I need though, so if I can't find anything easier to work with then I will do my best to work with it. Thank you very much for the link. :)

Re: [android-developers] Re: how to get the view size after orientation changed

2011-08-25 Thread Dianne Hackborn
You can do this yourself by just say subclassing a FrameLayout (or the layout manager of your choice) and calling out. I really recommend implementing your own layout manager for this kind of stuff, though, because it is important to fully participate in the layout when you want UI elements to vis

Re: [android-developers] end of a method

2011-08-25 Thread Kristopher Micinski
On Thu, Aug 25, 2011 at 1:51 PM, bob wrote: > Is there an easy way to jump to the end of a method in Eclipse? > Perhaps this is slightly off topic, but I found that my productivity in eclipse was a lot better when I started using Emacs+, which works really well if you're an emacs fan, but like to

[android-developers] Re: Determining audio decoders available

2011-08-25 Thread Doug
On Aug 24, 8:03 am, b0b wrote: > As it is a hack using private API it might break, sure. But I don't > expect it to break before 2038 :). If it breaks it's not fatal for the > app (crash). Btw above code snippet should catch Throwable to catch > potential although unlikely UnsatisfiedLinkError. D

[android-developers] end of a method

2011-08-25 Thread bob
Is there an easy way to jump to the end of a method in Eclipse? -- 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-d

Re: [android-developers] Can we have a RelativeLayout with rounded rectangle shape and an image in the background?

2011-08-25 Thread gaurav gupta
Hi Use framelayout. On 25 Aug 2011 23:12, "Raj" wrote: Hello, I am stuck. Can we have a RelativeLayout with rounded rectangle shape and an image in the background? I was successful in giving roundrect shape/image in the background, but not both. So can anybody tell me how can we acheive both? -

[android-developers] Re: what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-25 Thread Doug
On Aug 24, 5:23 am, Naveen wrote: > what are the best practices for good coding skills and classes, > methods, and variables  naming  +android There are two: 1. Whatever has already been defined for Java 2. Whatever suits you personally Doug -- You received this message because you are subscr

[android-developers] Re: how to get the view size after orientation changed

2011-08-25 Thread Doug
On Aug 23, 10:05 am, Dianne Hackborn wrote: > You need to participate in the view hierarchy as a layout manager, do get > the onSizeChanged() calls and such. Since it's come up, it's actually been a thorn in my side to have to "be" a layout manager to know something simple such as the size of a v

[android-developers] Can we have a RelativeLayout with rounded rectangle shape and an image in the background?

2011-08-25 Thread Raj
Hello, I am stuck. Can we have a RelativeLayout with rounded rectangle shape and an image in the background? I was successful in giving roundrect shape/image in the background, but not both. So can anybody tell me how can we acheive both? -- You received this message because you are subscribed

Re: [android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-08-25 Thread Dianne Hackborn
That said, you could probably get around this with a content provider. But please please please -- don't abuse widgets by consuming lots of resources with them, this has a direct impact on the overall experience. On Thu, Aug 25, 2011 at 10:40 AM, Dianne Hackborn wrote: > I am continually glad fo

Re: [android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-08-25 Thread Dianne Hackborn
I am continually glad for this limitation. Shoving over a MB of memory that the launcher needs to keep in its process for a widget is not desirable. Sorry. On Thu, Aug 25, 2011 at 9:39 AM, Mark Murphy wrote: > On Thu, Aug 25, 2011 at 11:11 AM, String > wrote: > > The funny thing is, that doesn

[android-developers] Remote execution

2011-08-25 Thread kypriakos
Hi all, I am able to access one of the development phones I have over the network and start activities using: $ ./adb.exe shell am start -n / However I noticed that in such cases the activity does not connect to a remote host (via sockets). If I start the activity manually on the phone then tha

Re: [android-developers] Recommendation for Android Training

2011-08-25 Thread Mark Murphy
On Thu, Aug 25, 2011 at 12:09 PM, Bsweet wrote: > Has anyone attended any in person Android development training? Lots. Of course, usually I'm the instructor. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.co

Re: [android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-08-25 Thread Mark Murphy
On Thu, Aug 25, 2011 at 11:11 AM, String wrote: > The funny thing is, that doesn't actually help. The FAILED BINDER > TRANSACTION seems to occur whenever you send too much data through IPC > (where "too much" is on the order of 1MB), but it doesn't seem to matter if > that 1MB is in a single trans

[android-developers] Re: how to handle click events for 3x3 image buttons arrays?

2011-08-25 Thread Drezden
Can you create a List and add a reference onto it for each of your buttons, then run a loop to assign the onClickListener? Then within the onClick(View v) figure out which button was pressed based on the v value and handle it accordingly? I've done this before when I only want one button selected

Re: [android-developers] Active Installs > Total Installs = Piracy?

2011-08-25 Thread Appaholics
The market is in generally very broken. The numbers update at different times, sometimes with a day or two between updates. Use a service like Flurry or Google Analytics to track your installs and usage. Also pirated versions will not be registered in the market console. It only tracks installs th

[android-developers] Re: Overlay text and live video in Android

2011-08-25 Thread Drezden
Hmm, it sounds like you want to do video encoding on the fly. That's a pretty intensive process for Android to try and do in real-time. My suggestion would be to look into using FFMpeg and the NDK. Other than that I'm sure how you're going to handle that one. On Aug 24, 6:01 pm, "James (Wei-Jie

Re: [android-developers] Recommendation for Android Training

2011-08-25 Thread rambabu mareedu
hi this is rambabu from hyderabad(india)..we will give android online training...if u r intrested drop me a word to rambabu.mare...@gmail.com On Thu, Aug 25, 2011 at 9:09 AM, Bsweet wrote: > Has anyone attended any in person Android development training? If > so, I would love to hear any recomm

[android-developers] Recommendation for Android Training

2011-08-25 Thread Bsweet
Has anyone attended any in person Android development training? If so, I would love to hear any recommendations (or classes to avoid). I'm in Seattle, but willing to travel. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: NullPointerException on displaying ImageView of a bitmap

2011-08-25 Thread Drezden
What is specifically happening in your onCreate method at line 62? That's where the null exception is coming from. Also, you might want to use the BitmapFactory.Options to help in image creation. You can easily tweak the options to get image dimensions without having to create the actual bitmap (

[android-developers] NullPointerException on displaying ImageView of a bitmap

2011-08-25 Thread Abhi
Hi I have the following piece of code which is resulting in a NullPointerException and I am not able to understand why. I am able to get the correct size of the bitmap in the Log statement below before displaying the image, so up to that point everything is good. //result is a byte array which co

Re: [android-developers] OpenGL ES 2.0 Texture Atlas example

2011-08-25 Thread Appaholics
The chapter nine project uses a texture atlas. http://code.google.com/p/beginning-android-games/source/browse/ Thanks On Thu, Aug 25, 2011 at 9:13 PM, Muriako wrote: > I am trying to learn OpenGL ES 2.0 by creating a fairly simple app. At > this point it is nothing more than a square on the mi

[android-developers] Re: Regular expressions and ICU4C

2011-08-25 Thread Drezden
ICU4C is the C-language library, you need to use ICU4J. I believe you can download the jar here: http://site.icu-project.org/ You can also do most types of RegEx tests using the Pattern and Matcher classes like so: private boolean validEmail(String email) { String emailPattern = "^[\\w\\

[android-developers] Active Installs > Total Installs = Piracy?

2011-08-25 Thread Adam Ratana
I've heard this mentioned before on this list, is this indeed some piracy, or is there another explanation? Looking at sales reports, the total of active installs is actually greater than the number I've sold of the app, cross-referenced with appmonger/google checkout. It doesn't do daily volu

[android-developers] Re: Adding Views into layouts

2011-08-25 Thread Drezden
I have an app in the market right now that uses a custom designed tab bar at the bottom of the screen and a relative layout at the top that acts as an iframe, so this is very doable. In my app I used the LocalActivityManager to load the requested activity and then extract it's main layout, like th

[android-developers] OpenGL ES 2.0 Texture Atlas example

2011-08-25 Thread Muriako
I am trying to learn OpenGL ES 2.0 by creating a fairly simple app. At this point it is nothing more than a square on the middle of the screen that I am able to apply a texture to. The next step for my idea is to be able to apply multiple textures to that square, and I want to create the entir

Re: [android-developers] New (?) market bug: most free games are GONE

2011-08-25 Thread Jim Graham
On Thu, Aug 25, 2011 at 10:23:02PM +0800, Christopher Van Kirk wrote: > I would point out that it's not just the free games that suffer from > this, all apps appear to be similarly limited. Of that I am certain. I only mentioned free games because I'm looking for a bunch of new ones to keep me oc

Re: [android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-08-25 Thread String
On Thursday, August 25, 2011 3:38:33 PM UTC+1, Mark Murphy (a Commons Guy) wrote: > > > Anyway, what I was saying was that 360px square was as large as I could > go > > before running into the dreaded "!!! FAILED BINDER TRANSACTION !!!" bug. > I'd > > really hoped that would be fixed by now, but

Re: [android-developers] New (?) market bug: most free games are GONE

2011-08-25 Thread Michael Banzon
On Thu, Aug 25, 2011 at 4:23 PM, Christopher Van Kirk wrote: > I would point out that it's not just the free games that suffer from this, > all apps appear to be similarly limited. > > On 8/25/2011 8:39 PM, String wrote: > > Seems more likely that it's country-specific rather than carrier-specific

[android-developers] Re: how to handle click events for 3x3 image buttons arrays?

2011-08-25 Thread hoyski
On Aug 25, 8:34 am, Hitendrasinh Gohil wrote: > There are 9 buttons in one box.I m repeating this box 9 times.There are 9 > different ids assign to 9 diff buttons. > > But how to determine button is clicked from which box as there are 9 same > boxes? > There are a couple of different ways. One

[android-developers] Re: Disabling a set of 'reserved characters' from user Input?

2011-08-25 Thread Chris
On Thursday, August 25, 2011 4:35:33 AM UTC-4, bdk wrote: > > > I'll go hunting for an 'official' list of locale-specific path > separators... > > There's a constant in java.io.File named 'separator' which gives you the localized, system-specific file separator string. -- You received this m

[android-developers] Re: WebView

2011-08-25 Thread bob
Looks like it was this: table { width: 100%; } It didn't like that. On Aug 25, 4:20 am, Daniel Drozdzewski wrote: > On 25 August 2011 09:49, bob wrote: > > > Anyone know why WebView doesn't like this? > > Any more details, on how WebView does not like it? Does it say > anything, when you feed

[android-developers] Re: New or old release Java JDK

2011-08-25 Thread blake
I suggest you get your Java from Apple: http://support.apple.com/kb/DL1421 I also, shamelessly, suggest this book: http://oreilly.com/catalog/0636920010364 It was written, exactly, with guys like you in mind. It will answer a lot of questions just like this... -blake On Aug 23, 5:50 am, gate

Re: [android-developers] Re: java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-25 Thread b0b
More on this Exception. I triggered it accidently by quitting and relaunching my app quickly and got the following logcat Application.onCreate() is called ... 08-25 15:41:33.003: WARN/ActivityThread(16118): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may f

Re: [android-developers] Re: Generic resizable appwidgets in Android 3.1

2011-08-25 Thread Mark Murphy
On Thu, Aug 25, 2011 at 7:42 AM, String wrote: > If your give the root of your appwidget's layout a width & height of > match_parent, then it will expand to fill all available space that the OS > gives it as the user resizes. Seems obvious in retrospect, but none of us > mentioned it the first tim

[android-developers] Re: ViewFlipper animation and Gallery on the same activity

2011-08-25 Thread Tomas Prochazka
It is caused by child.setVisibility(View.GONE); in ViewAnimator class it cause remeasure and redraw of whole activity screen :-( I used source code put in on own package and modify it to child.setVisibility(View.INVISIBLE); On Aug 25, 10:33 am, Tomas Prochazka wrote: > I found that it maybe doesn

Re: [android-developers] Reading byte to byte array from Socket - help

2011-08-25 Thread TreKing
On Thu, Aug 25, 2011 at 8:47 AM, Matej755N wrote: > is anybody to help me with reading 332 bytes from Socket client when I > send aswear 0xD9,0x30 to Server. > I need to receive as byte Array type. > Buddy, this has nothing to do with Android development. Try Googling for samples, groups, or for

[android-developers] Re: Reading byte to byte array from Socket - help

2011-08-25 Thread RichardC
You have not: * said what your problem is. * told us what your code does when you try to run it. * said if there is an exception thrown. * provided the LogCat output. * told us what the server should do when it receives your command. Fill in some of the above and try again. On Aug 25, 2:47 pm, Ma

Re: [android-developers] Re: Apk file size limit / number of files limit

2011-08-25 Thread Raphael André Bauer
On Wed, Aug 24, 2011 at 6:54 PM, Chris Stratton wrote: > On Wednesday, August 24, 2011 12:43:16 PM UTC-4, Drezden wrote: >> >> I would also suggest that you look into ways to pull your tiles from >> the web instead of storing them on the device.  You very rarely see >> apps in the wild that have a

Re: [android-developers] New (?) market bug: most free games are GONE

2011-08-25 Thread Christopher Van Kirk
I would point out that it's not just the free games that suffer from this, all apps appear to be similarly limited. On 8/25/2011 8:39 PM, String wrote: Seems more likely that it's country-specific rather than carrier-specific, especially since Google is doing country-specific rankings now. Doe

[android-developers] Reading byte to byte array from Socket - help

2011-08-25 Thread Matej755N
Hello, is anybody to help me with reading 332 bytes from Socket client when I send aswear 0xD9,0x30 to Server. I need to receive as byte Array type. my Client code: final byte comand_out_30[] = {(byte) 0xD9,0x30}; .. try { s = new Socket(fadresa, fport); OutputStream writer = s.getOutputStre

[android-developers] Re: List Data

2011-08-25 Thread lbendlin
this depends entirely on your user expectations. Are they willing to wait while the list is fetched? Can you predict which list they will look at first, next etc? (In that case you could do prefetching) Are these users on a mobile data plan? How often does the data change on the server? -- Yo

Re: [android-developers] How to toggle on gps in android programatically?

2011-08-25 Thread lbendlin
If, however you mean "start using the GPS" then all you need to do is register a location listener. The GPS icon will then automatically appear in the status bar. A few seconds after you stopped your listener the icon will disappear. -- You received this message because you are subscribed to

  1   2   >