Re: [android-developers] Re: Android Market Developer Console not updating

2011-06-19 Thread Nikolay Elenkov
On Mon, Jun 20, 2011 at 3:47 PM, Yenchi wrote: > I keep a spreadsheet which I update everyday, and I do observe that on > some > of my less popular apps the install count freezes for a week while > active > install count do get updated everyday regardless of popularity... There's an app for that

[android-developers] Re: Android Market Developer Console not updating

2011-06-19 Thread Yenchi
I keep a spreadsheet which I update everyday, and I do observe that on some of my less popular apps the install count freezes for a week while active install count do get updated everyday regardless of popularity... but maybe it's just me... On Jun 19, 2:38 pm, Didier Girard wrote: > For several

Re: [android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-19 Thread Adam Ratana
Thanks for the speedy replies Romain and Diane. I take it now that we should not worry about it, beyond the typical known concerns for real-time drawing and rendering, etc. Appreciated -- Adam On Monday, June 20, 2011 2:22:14 AM UTC-4, Romain Guy (Google) wrote: > > Skia's font cache doesn't c

Re: [android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-19 Thread Romain Guy
Skia's font cache doesn't count towards your heap limit. On Sun, Jun 19, 2011 at 11:19 PM, Adam Ratana wrote: > Thank you for responding; it seems to be freeing up quite often, probably > several to more than several meg of memory a second (if the numbers are > right), depending on how often the

[android-developers] Re: Shape having two sided border

2011-06-19 Thread Sapna Srivastav
http://schemas.android.com/apk/res/android"; android:background="#ff" android:layout_height="fill_parent"> This layout produces two sided border. and where b1 and b2 are: http://schemas.android.com/apk/res/android"; android:src="@drawable/leftgrayb

Re: [android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-19 Thread Adam Ratana
Thank you for responding; it seems to be freeing up quite often, probably several to more than several meg of memory a second (if the numbers are right), depending on how often the view is invalidated. I know we are working with limited heap space, is this something we can optimize in our impl

[android-developers] Re: Dialog and Progress Dialog issues on Orientation Change

2011-06-19 Thread Zsolt Vasvari
I've taken care of the dialog's on rotation issue with a custom pattern. I posted it here a few months ago, but was shut down by people. It's not that simple, but it works very well and the dialogs are preserved perfectly. If you care, I can post my solution again. On Jun 20, 1:08 pm, William

[android-developers] Re: Strange device?

2011-06-19 Thread Zsolt Vasvari
Yeah, you are right. It has to be this phone being tested by somebody. One of the 4 modes are: "•Tablet Mode with one application spread across both screens for a full 4.7-inch viewing area" 800x960 On Jun 20, 1:41 pm, Jitesh dedhiya wrote: > Yeah i think its not released yet but this kind

Re: [android-developers] Strange device?

2011-06-19 Thread Jitesh dedhiya
Yeah i think its not released yet but this kind of phone may be this one http://worldofphones.net/?p=4487 On Mon, Jun 20, 2011 at 4:26 AM, Zsolt Vasvari wrote: > As part of my app, if I notice a screen size/DPI combo I haven't > tested on, I pop-up a dialog and ask the user to send me an e-mail

[android-developers] Re: Device and printer connection for printing data on printer.

2011-06-19 Thread ABS
Here is the code that i wrote to connect with printer socket. I hope u will reply me ASAP,bcz i have to release my application. package com.ob; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader;

[android-developers] Android Camera

2011-06-19 Thread FAISON N.P
Hi all, Can anybody tell me what is the best way to do a camera in portrait mode in version 2.1? Thanks -- 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 unsubs

[android-developers] Re: Dialog and Progress Dialog issues on Orientation Change

2011-06-19 Thread William Ferguson
Android doesn't handle rotation and dialogs particularly well, mainly due to rotation causing the Activity to be destroyed and a new one created. This leaves Dialogs with an invalid Context. Using managed dialogs (like you are) just shifts the problem, otherwise you get java.lang.IllegalArgumentExc

Re: [android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-19 Thread Dianne Hackborn
It just means it needs to flush old data from the font cache. You may see this a lot if you are for example drawing at a large number of sizes, as you fill up the font cache with glyphs in a lot of sizes and old glyphs need to be removed to make room. On Sun, Jun 19, 2011 at 9:17 PM, Adam Ratana

[android-developers] skia / purging [x]k from font cache [y entries] - what does it mean? was Re: Custom Fonts

2011-06-19 Thread Adam Ratana
Hello, I am noticing the same with an implementation for some new functionality I'm experimenting with. I am doing a lot of canvas.drawText calls on a custom View canvas, using the system font though. Are you doing canvas.drawText a lot, Samuh? Also a "bump" in case anyone reading has knowled

Re: [android-developers] how to handle navigation between activities?

2011-06-19 Thread TreKing
On Sun, Jun 19, 2011 at 11:05 PM, Hitendrasinh Gohil < hitendra.virtuei...@gmail.com> wrote: > Like i am calling one activity from other and finishing the current > activity. > > startActivity(intent); > finish(); > Why? > But if i finish activity the i have to manage back functionality by putt

[android-developers] how to handle navigation between activities?

2011-06-19 Thread Hitendrasinh Gohil
Hi, Can anybody tell me what is the best way to do a navigation between activities. Like i am calling one activity from other and finishing the current activity. startActivity(intent); finish(); But if i finish activity the i have to manage back functionality by putting some values to intent. If

[android-developers] Re: Dialog and Progress Dialog issues on Orientation Change

2011-06-19 Thread sahana uday
Hi, I understood what you were trying to say. Here's what I;'m doing now: class ConnectionsListAddScreen extends Activity{ public void onCreate(Bundle savedInstState){ super.onCreate(savedInstState); //here on particular button click new ConnReqSenderAsyn

[android-developers] AudioTrack cant not play sound on device with FM?

2011-06-19 Thread Baodong Chen
Hi all: i have a APP using AudioTrack to play pcm buffers,it works well on some devices. but when the device have FM, my APP can not make the sound, can someone give some advice? I used AudioTrack.MODE_STREAM and AudioManager.STREAM_MUSIC when new AudioTrack(); -- You received this messag

[android-developers] Re: debugging in eclipse and CONFIRM keyword???

2011-06-19 Thread Chris
>i could never get this to work. say that i have 4 buttons on a layout. >and i need to see the properties of button 4. logically, this is what >you would do: >click on the properties tab, and click on button 4. >this does NOT work. I have to do the following: This will be fixed

Re: [android-developers] new Fragments

2011-06-19 Thread New Developer
Thanks Yes it is displaying (the first time) then I hide it so I can use that portion of the screen for other things and then I try to go back an reshow it But it gives the error and then shows nothing. So it will show and then hide the first time around, but will not show the

Re: [android-developers] career in android

2011-06-19 Thread Rakshith S Kumar
I do understand your question. Android is not a kind of platform that you learn and you get a job for that in a company. If you are really serious of your career in android its better to do it with few friends rather than for some small companies which live on such kind of apps. On Thu, Jun 16, 20

[android-developers] Re: debugging in eclipse and CONFIRM keyword???

2011-06-19 Thread Doug
If you have an app that force closes but don't share what your code is or what your stack trace is, probably people can't help you. You are not obliged to use the visual creation tools for layouts. You can just edit the XML directly, which is probably where most people do their layout work. Doug

[android-developers] Re: again like all : The application ... (process ...) has stopped unexpectedly. Please try again

2011-06-19 Thread aMeeN
HELLO Dear Greg, YAH IT WORKS IT WORKS THANK YOU THANK YOU THANK YOU S MUCH I really appreciate your help ... you rescued me from giving up ... for(i = 1 ; i > 0; i++) { Thank you man .. you saved me time XD } aMeeN On Jun 20, 12:42 am, Gr

[android-developers] Re: again like all : The application ... (process ...) has stopped unexpectedly. Please try again

2011-06-19 Thread aMeeN
I learned a new way to debug on eclipse using DDMS and in LogCat tab I got these details: 06-20 02:16:27.474: DEBUG/AndroidRuntime(5289): >> AndroidRuntime START << 06-20 02:16:27.485: DEBUG/AndroidRuntime(5289): CheckJNI is ON 06-20 02:16:27.735: DEBUG/AndroidRuntime(5289

[android-developers] Strange device?

2011-06-19 Thread Zsolt Vasvari
As part of my app, if I notice a screen size/DPI combo I haven't tested on, I pop-up a dialog and ask the user to send me an e-mail about that. Here's what I got yesterday: Display width: 800 Display height: 960 Display DPI: 240 Anybody has a clue as to what kind of device has a 800x960 squaris

[android-developers] Re: Android Market Developer Console not updating

2011-06-19 Thread Zsolt Vasvari
No, it's working for me -- surprisingly. On Jun 20, 5:38 am, Didier Girard wrote: > For several weeks, I see no updates on the number of downloads. Someone > observes the same? > Sincerely, > Didier -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] new Fragments

2011-06-19 Thread Dianne Hackborn
That log is just a warning, and unrelated fragments, and not causing such an issue. Let's still step back -- are you actually having a fragment displayed at all? Make sure you are actually getting it displayed before then trying to hide and show it. (And after adding a fragment starts out shown

Re: [android-developers] Re: again like all : The application ... (process ...) has stopped unexpectedly. Please try again

2011-06-19 Thread Greg Krimer
Hi aMeeN The LogCat view is your friend. The cause of the error will always be displayed there. To display the LogCat view in the current perspective in Eclipse go to Window->Show View->Other->Android->LogCat. When I ran your code, I saw this in the LogCat view: 06-19 21:34:29.586: ERROR/Android

[android-developers] Re: LVL and WIFI-only tablets

2011-06-19 Thread jtoolsdev
Tailor your LVL code to deal with it. You can let the app run but check the next time it is run with wifi available and then maybe stop checking altogether after a while. On Jun 18, 4:31 pm, Zsolt Vasvari wrote: > This has become an issue recently for me -- no doubt because of the > rise in the

[android-developers] Android Market Developer Console not updating

2011-06-19 Thread Didier Girard
For several weeks, I see no updates on the number of downloads. Someone observes the same? Sincerely, Didier -- 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 unsubs

Re: [android-developers] new Fragments

2011-06-19 Thread New Developer
To Dianne Thank you for all your support I have managed to get the fragment concept working I call show() FragmentTransaction fMgr = getFragmentManager().beginTransaction(); fMgr.show(visitScreen); fMgr.commit(); And then when done I call hide() FragmentTransac

[android-developers] TabHost and TabWidget ?

2011-06-19 Thread Simon Platten
I am trying to create a layout using the TabHost and TabWidge views as described here: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html My XML so far looks like this: http://schemas.android.com/apk/res/android"; android:id="@android:id/tabhost" android:layout_

[android-developers] admob into CandidateView

2011-06-19 Thread ivano borsato
hi all,i need to integrate the *ad-banner* (use the ad-mob sdk 4.1.0) into the CandidateView of a custom soft-keyboard,i just write the code but this not work because i have not a Activity context be passed to the constructor of ad-banner. This is code that I wrote: ---

[android-developers] Re: again like all : The application ... (process ...) has stopped unexpectedly. Please try again

2011-06-19 Thread aMeeN
Hello All, I downloaded Eclipse Java (this time) and did all the integration and linking with Android SDK after I finished ... I tried to run the application again .. but unfortunately getting the same error. I am seriously started thinking to give up with android development .. this is one bu

Re: [android-developers] Setting text colour programmatically

2011-06-19 Thread Simon Platten
Thanks for the reply, actually after reading your response I realised what the problem was, I was passing the resource ID, not the colour. I fixed it by: tvImagesTitle.setTextColor( getResources().getColor(R.color.blue) ); On Sun, Jun 19, 2011 at 4:18 PM, Fred Niggle wrote: > Hello Simon, > > F

Re: [android-developers] Re: list view with alpha transparency effect

2011-06-19 Thread Fred Niggle
Hello, Try: setBackgroundColor(Color.argb(125, 0, 0, 255)); the 1st set of digits (125) is the translucency. Hope this helps, Fred On 18/06/2011, Greg Donald wrote: > On Sat, Jun 18, 2011 at 12:27 PM, Greg Donald wrote: >> I have a list view using a layout that has a background color of >> #80

Re: [android-developers] Re: Text view over image gallery

2011-06-19 Thread Fred Niggle
MERGE! I had a bit of a battle doing this unil I went and praticed the layout tutorials over at http://developer.android.com/guide/topics/ui/layout-objects.html in short you have to merge your two layouts, the image view being first in your xml, and then the textview so it goes on top. Hope this

Re: [android-developers] Setting text colour programmatically

2011-06-19 Thread Fred Niggle
Hello Simon, For a button in a recent project I used: How to set a button as transparent and blue: button1.setBackgroundColor(Color.argb(125, 0, 0, 255)); the 1st set of digits (125) is the translucency. Did you try dropping the '#' off your code in xml before asking? Fred. On 19/06/2011, Sim

Re: [android-developers] http live stream

2011-06-19 Thread Fred Niggle
Hello, Take look here for starters : http://androidforums.com/developer-101/181868-how-stream-music-internet-radio-station.html there are lots of info via google search. Hope this helps Fred On 19/06/2011, Károly Holczhauser wrote: > Hi girls and boys! > > I had read some blog in this topic,

[android-developers] where are the applications in 2.2 simulator

2011-06-19 Thread Jags
I last worked on 1.6 in 2.2 when the big simulator opens, i could only scroll horizentally diferent screens, where to look 4 application ? my aplication builds but dont know how to run, pressing ctrl f5 it springs up simulator but never runs the app ! -- You received this message because you are

Re: [android-developers] Re: career in android

2011-06-19 Thread Kristopher Micinski
This was discussed quite a bit a few wees ago, you can find it on the group. Kris On Sun, Jun 19, 2011 at 1:37 AM, Indicator Veritatis wrote: > I see people are having a lot of fun with your post. But seriously > now: the abbreviations you are using are acceptable for SMS text > messages and som

[android-developers] Setting text colour programmatically

2011-06-19 Thread Simon Platten
I am adding some views to a linear layout in code, I have set the colour of the text view as follows: TextView tvImagesTitle = new TextView(this); tvImagesTitle.setTextColor(R.color.blue); tvImagesTitle.setText("Some text"); m_llImages.addView( tvIma

[android-developers] Re: Google Plugin Beta 2.4 - C2DM Always tries to register at local ip and times out.

2011-06-19 Thread Andy Bryant
When you run your app against your local app engine, Eclipse generates a file assets/debugging_prefs.properties. The app checks if this file exists (see Util.getDebugUrl) and if so uses that to determine where to connect to. It not it uses the value defined in Setup.PROD_URL. So you can either un

[android-developers] SyncManager can't find my sync adapter

2011-06-19 Thread Steve Grosbois
Why Android don't find my sync adapter when i call : ContentResolver.setSyncAutomatically(account, "com.stevegrosbois.budget.provider", true); I have searched for hours ! In the Logcat : DEBUG/SyncManager(59): can't find a sync adapter for SyncAdapterType Key {name=com.stevegrosbois.budget.prov

[android-developers] Re: How to grey out and disable the settings screen on a live wallpaper?

2011-06-19 Thread Zsolt Vasvari
The same way as you manage any other difference between the free and paid version of your app. The settings screen for a wallpaper is just a normal activity. On Jun 19, 7:33 pm, MobileVisuals wrote: > I have free and full versions of my live wallpapers. I have seen that > the settings screen for

[android-developers] How to grey out and disable the settings screen on a live wallpaper?

2011-06-19 Thread MobileVisuals
I have free and full versions of my live wallpapers. I have seen that the settings screen for many of the full versions of other live wallpapers look the same as the settings screen for the free versions, but the options are greyed out and disabled. How can I implement this? -- You received this

Re: [android-developers] how to call existing activity from onclick of status bar notification?

2011-06-19 Thread Mark Murphy
Use Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_SINGLE_TOP. On Sat, Jun 18, 2011 at 11:31 PM, Hitendrasinh Gohil wrote: > Hi, > > I am binding service to playerview activity and setting the values > from server to player activity.I am not finishing my playerview > activity.when i click on

Re: [android-developers] Re: http live stream

2011-06-19 Thread Mark Murphy
2011/6/19 Károly Holczhauser : >  3.0 is avalible only for tablest, right ? Correct. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/trainin

[android-developers] Re: Text view over image gallery

2011-06-19 Thread Randy
Textview and Imageview are static. But in this case, i want to put the text on the top of every my gallery image. And for the gallery, i use gallery widget. So they are dynamic. How can i do it? Thank's so much for the reply. On Jun 17, 7:30 pm, gaurav gupta wrote: > Hi > u can use frame layout.

[android-developers] Re: Text view over image gallery

2011-06-19 Thread Randy
Textview and imageview are static. But in this case, i want to put the text on the top of every image in gallery. And for the gallery, i'm using gallery widget. So i can make them dynamically. How can i do it? Thank's so much with you reply... On Jun 17, 8:31 pm, hwrdprkns wrote: > If you use a

[android-developers] Re: About Location Service

2011-06-19 Thread Indicator Veritatis
It sounds to me like you may have run up against the same problem I noticed when building and running the WindAndWaves app from "Android in Action": LocationManager.requestLocationUpdates does a logical AND operation on the two conditions, minimum distance and minimum time. This sounds pretty usel

[android-developers] Re: revoke permissions to access google auth tokens

2011-06-19 Thread RS
To summarize, I still don't have the answer to the original question except that it is probably not possible yet. Original question (User perspective): Once a user (not a developer) clicks† around and grants an android app, access to google auth tokens, how could he/she revoke it? † Clicks: User

Re: [android-developers] is it possible to make call when song is playing

2011-06-19 Thread Bharathi raja
Thanks for your reply i wanted to automate both the scenario on sample phone. First play song then initiate call and check song is playing or not, after call whether song resume. If you/anyone know this please reply me back On Sat, Jun 18, 2011 at 1:48 PM, kaushik p wrote: > Hi > > When the

Re: [android-developers] External Usb Card WiFi in Android

2011-06-19 Thread Marcin Orlowski
On Jun 19, 2011 12:41 AM, "Migazan" wrote: > > Hello, > The Wifi network from my phone does not work. I can install an > external usb on my phone? if you got working drivers but 'no' in general -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: http live stream

2011-06-19 Thread Károly Holczhauser
Hi! 3.0 avalible only for tablets, right ? On jún. 19, 08:08, Romain Guy wrote: > It is supported as of Android 3.0. > > On Sat, Jun 18, 2011 at 11:07 PM, Károly Holczhauser > > > > > > > > > > wrote: > > Hi girls and boys! > > >  I had read some blog in this topic, but I don't got an unique > >

[android-developers] Re: http live stream

2011-06-19 Thread Károly Holczhauser
Hi! 3.0 is avalible only for tablest, right ? On jún. 19, 08:08, Romain Guy wrote: > It is supported as of Android 3.0. > > On Sat, Jun 18, 2011 at 11:07 PM, Károly Holczhauser > > > > > > > > > > wrote: > > Hi girls and boys! > > >  I had read some blog in this topic, but I don't got an unique