[android-developers] Re: socket connect through a bluetooth issue

2011-06-28 Thread Indicator Veritatis
Well, posting this larger code snippet does answer some of the questions. But if onCreate() is the only place you call start() on the ClientThread, then the problem is clear: you are closing the OutputStream and the BluetoothSocket prematurely. Take a look at BluetoothChat: neither are closed until

[android-developers] Virtual keyboard moves the image upwards

2011-06-28 Thread Sudeep Sharma
Hi, In the package com.android.setupwizard where the first screen displays the Android Logo and an animated hand arrives, i see one issue there. When you try to open virtual keyboard by long press menu, the Android logo moves up and the image is half cut. I have a similar image and want to pr

[android-developers] Re: Finishing Activities

2011-06-28 Thread Kenny Riddile
On 6/28/2011 12:03 PM, Diogo Salaberri wrote: Hi.. I have a problem, whe I start my aplication the launcher activity is called HOME, and that HOME automatically call other activity called LOGIN. Now, I have to finish this aplication when I click on default "back button" overwriting onKeyDown. Th

[android-developers] who draws the Button's border and background?

2011-06-28 Thread guich
Hi, Who exactly draws the Button's border and background? I saw that Button extends TextView, but this class has 8500 lines. I would like to understand the algorithms used to draw the border and the dithered gradient background. thanks guich -- You received this message because you are sub

[android-developers] Saving "pointers" to object

2011-06-28 Thread Gustavo Vargas
Ok, I know pointers don't exist in Java, but I was wondering if there is a way to mimic its behavior or any other mechanism that let me keep the reference to an object when my activity restart from a softkill. inside the onCreate of my activity I have something like that: work= new workThread(...

Re: [android-developers] Saving "pointers" to object

2011-06-28 Thread TreKing
On Tue, Jun 28, 2011 at 3:41 PM, Gustavo Vargas wrote: > There is a way to do that? http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() - TreKing

Re: [android-developers] who draws the Button's border and background?

2011-06-28 Thread Kostya Vasilyev
Neither. It's a view background, defined as a state list. Take a look in android-sdk\platforms\android-X\data\res\values\styles.xml: *@android:drawable/btn_default *true Re: [android-developers] Saving "pointers" to object
Why not wrap this original "work thread" in a service? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 28, 2011 at 2:41 PM, Gustavo Vargas wrote: > Ok, I know pointers don't exist in Java, but I was wondering if there > is a way to mimic its b

[android-developers] Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

In my application, I create files and write them to the Sdcard. This works fine on my Samsung Galaxy running 2.2, but has some issues on my Acer Iconcia Tab running 3.0. On the Galaxy, my created files show as expected in DDMS and in windows explorer (when the tab is mounted as a USB device). On

Re: [android-developers] Saving "pointers" to object

Orientation changes: http://developer.android.com/resources/articles/faster-screen-orientation-change.html Also consider using onPause / onStop to handle the user leaving the activity, and consider using a service so it can run independently of the activity. -- Kostya 2011/6/29 Gustavo Vargas

[android-developers] How to deal with bulk licensing?

A company would like to purchase a large number of licenses of my application. They do not want to have individual device users make the purchase on their individual Google accounts. Also, I would prefer not to build them an unlocked apk out of fear of it being distributed. Do I have any intelligen

[android-developers] Re: Saving "pointers" to object

On 28 jun, 17:46, Justin Anderson wrote: > Why not wrap this original "work thread" in a service? > Yes, I think I'll do that, I can't see another reliable way to do this. Thanks everybody that give me the tip of using the onRetainNonConfigurationInstance(), I just tried it out and in some cases

Re: [android-developers] How to deal with bulk licensing?

You could do the following: - Have them create a company-wide gmail account: companyn...@gmail.com - On launch of your app, make sure that the specified account is on the device - If it is not do the normal license checking - If it is, bypass the normal license check and unlock the

[android-developers] Re: Install % not updating?

I don't believe this happens to everybody. Everybody who's complaining about this is also saying that their ranking had dropped. I haven't seen a single person said that their ranking had gone up while there install % is stuck. So whet you are saying simply cannot be the case. On Jun 28, 8:21 p

[android-developers] Re: Install % not updating?

On Jun 28, 4:23 pm, Zsolt Vasvari wrote: > I don't believe this happens to everybody.  Everybody who's > complaining about this is also saying that their ranking had dropped. > I haven't seen a single person said that their ranking had gone up > while there install % is stuck. > The key word bein

[android-developers] Re: ANR "Reason: keyDispatchingTimedOut " when drawing overlay on map?

On Jun 27, 7:32 am, Boozel wrote: > Can any one tell me what the best structure is to do the drawing and prevent > this? Your draw() routine is inefficient, and you really get hit in the constrained mobile environment. Here's a few changes that I would try: - Pull object instantiations out of t

[android-developers] Re: Install % not updating?

>> I don't believe this happens to everybody. Everybody who's complaining about this is also saying that their ranking had dropped. One other factor you're not considering... Most developers know the market stats are bonkers at best and they also know that no matter how much they jump up and

[android-developers] Re: Install % not updating?

The ranking I see is the same as what the users see as I check it on a device I am not a user on. I am very familiar with my ranking and my competitors'. The EXACT same apps that hadn't dropped in the ranking the last time this was going on (in April/May?) hadn't dropped this time aroundt. Espec

[android-developers] Re: Install % not updating?

>> There is no other explanation that the ranking systems You are assuming that you know every possible factor that goes into the ranking algorithm. What about usage? That's been acknowledged as being a factor. What if your app is being used less on a daily basis? Did you take that into accoun

[android-developers] Re: Install % not updating?

Even Google knows it's NOT ALL developers. Here's their (canned) response: "...We're aware of reports from SOME developers that they see no change, or have a value of 0 (zero), in the active install number displayed in developer console..." The highlight is mine. Some != All and it's not even t

[android-developers] Re: Install % not updating?

> Just take a chill pill and forget about it. And please don't tell me to take a chill pill. For me, this is my primary income -- if somebody suddenly lowered your salary and you were told to take a chill pill, you wouldn't appreciate it too much. -- You received this message because you are su

[android-developers] Why is it so slow to light on the phone

Dear all, I have encountered a problem. If I use live wallpaper and make phone be in sleep state, then I press power key to turn the phone on I find it is very slow to light the phone on. If I use static wallpaper, it is relatively fast. So I wonder what is the main cause? and where is the relat

Re: [android-developers] Why is it so slow to light on the phone

There is nothing in the system code that knows or cares that the wallpaper is a "live wallpaper." In fact the static wallpaper is just a live wallpaper that is implement by the system and draws a static image. My first guest would be that your wallpaper is consuming a lot of CPU and thus slowing

[android-developers] Re: Install % not updating?

>> And please don't tell me to take a chill pill. Well, you have a choice: 1. Get all agitated, excited, panic, angry and have a nervous breakdown over something you cannot possibly control or do anything to change. 2. Just chill out and wait for it to get solved. I suggest option 2. There is

[android-developers] Re: Install % not updating?

Once again, I am not interested in your advice. I am posting that hopefully somebody from Google takes notice - -- as unlikely as that is - and realize that people's livelihoods are effected. On Jun 29, 9:41 am, John Coryat wrote: > >> And please don't tell me to take a chill pill. > > Well,

[android-developers] Re: socket connect through a bluetooth issue

BTW: this problem is a good example of when to check the original Sun (now Oracle) documentation on the Java APIs: for the original goes into much more detail on Socket and getOutputStream(), explaining that if you close the Output Stream, you also close the socket. Neither of which should you do o

[android-developers] Re: Install % not updating?

Well, if crying in the dark makes you feel better, then who am I to criticize? -John Coryat -- 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

[android-developers] how to make my app as the only one NFC tag handler

Hi all, My NFC tag written a private text string, start with , and I want to dev a tag reader app. How can I make my tag reader to be the only one that will handler a tag stored a string begin with ""? thanks you so much -- You received this message because you are subscribed to the Goo

[android-developers] How to get View instance from Activity's PID,UID,Process name, PkgList?

Hi, I am new to android. I created a service. >From my service, I can able to get which application is running in foreground. I am doing this with the help of ActivityManager.getRunningAppProcesses(). >From this I can able to get the Activity's PID, PkgList, Process name, UID. But I don't know how

[android-developers] Re: How do I know in the screen "EditText" is the last one?

Hi All, I want to know how to check which view is current focus? Please give me some suggestions. On Jun 27, 10:01 pm, wang wrote: > Hi All, > > I have a question about input method, how do I know in the screen > "EditText" is the last one ? I using OpenWnn as system input method, > but when inp

[android-developers] Re: Install % not updating?

What is the ranking that everybody it talking about? I don't see any ranking statistic on the Market App, or in the Developer Console for either of my apps. Where do you find the ranking number? Is it because they dont have sufficient downloads yet? My free one has 8000, which admittedly is not hu

[android-developers] Re: Install % not updating?

And for what it is worth, the Active Installs and Total Installs as others have mentioned bear little relation to reality. I used to obsess about them updating until I realised they don't relate to actual sales. The only way to know your real sales numbers is to use one of the sales tracking soluti

[android-developers] Custom SeekBar

Hi guys, Good Morning, I m one of the beginner of android. I need your help. Now i develop one application. in this application i set a seek bar. I need two thumbs in that seek bar i dont know how to custom that. Can u have any idea to do that? please help me. Then if you have the android s

[android-developers] Using android surface to display video

Hi all, I want to display a rendered video using android surface. Here is what i am doing, * I am creating a surfaceView object and setting it to activity display. * Then registering a callback to it and once the surface is created, i'l get the surface and set it to a field of activity class. * I

[android-developers] Re: How get button event in Notification panel?

hi thanks Murphy, so is there any other way to get two events from Notification panel. On Jun 28, 9:33 pm, Mark Murphy wrote: > On Tue, Jun 28, 2011 at 11:47 AM, shubh wrote: > > any one have idea how to get button event from Notification panel. > > You can't, at least on Android 1.x and 2.x, A

[android-developers] Re: Install % not updating?

By "ranking" we are referring to the position the app appears in your category if you are browsing the Market on the phone or on the web site. On Jun 29, 1:02 pm, James W wrote: > What is the ranking that everybody it talking about? I don't see any > ranking statistic on the Market App, or in the

Re: [android-developers] Re: How get button event in Notification panel?

On Jun 29, 2011 8:17 AM, "shubh" wrote: > > hi thanks Murphy, > > so is there any other way to get two events from Notification panel. not on pre 3.x -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

Re: [android-developers] Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

iconia does not mount as usb drive same way most devices do, so i'd blame their drivers here if oddities occur. -- 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 unsu

Re: [android-developers] How to deal with bulk licensing?

i'd go with own server (assuming 'bulk' means figures justyfying all the efforts) or with special builf just for them. creating one shareable email is wrong as you got no control on number of installations On Jun 28, 2011 11:58 PM, "Justin Anderson" wrote: > You could do the following: > > - Have

<    1   2