Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-06 Thread Streets Of Boston
Yep, you're correct. However, if your 'getMySingleton()' method is called only occasionally (i.e. it is not part of some performance sensitive code-path), making it thread-safe like that is good enough. No need to squeeze out every optimization. Using DCL or the 'on-demand' holder work all

Re: [android-developers] How can I get app ratings to display on my website?

2011-06-06 Thread Spiderfly Studios
I have looked at it and it just isn't well done. Others say the same thing about it. kinda hacky. it also doesn't do much good for the average person. As for scraping, again, it just doesn't work that way without writing some very custom and possibly privacy leaking code. In order to

[android-developers] Transparent items

2011-06-06 Thread New Developer
I have on the main layout and FrameLayout which by default is blank or empty I then select between two radio buttons radio Button 1 Loads client_single.xml and radio Button 2 Loads client_multiple.xml into the above parent layout using the following FrameLayoutparent =

Re: [android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-06 Thread Chris
All I'm sayin is that you shouldn't use the claw-end of a hammer as a screwdriver. :) -- 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,

Re: [android-developers] How can I get app ratings to display on my website?

2011-06-06 Thread Nikolay Elenkov
On Tue, Jun 7, 2011 at 12:20 PM, Spiderfly Studios spiderflystud...@gmail.com wrote: I have looked at it and it just isn't well done.  Others say the same thing about it.  kinda hacky.  it also doesn't do much good for the average person. It's the same protocol the Android Market client on

[android-developers] Re: Invisible Activity

2011-06-06 Thread harsh chandel
if you dont want to display your activty on the screen dont make it as an activity make it a different class write the code in this and call it wherever you want this class if you dont want the object of this class creaated every time make it static On Jun 6, 11:22 pm, Marcin Orlowski

[android-developers] View's scrollbars disappear

2011-06-06 Thread Frank
Dear All, I am having trouble make both the vertical and horizontal scrollbars of a View (top window) show up properly. I have definitely called setHorizontalScrollBarEnabled(true) and setVerticalScrollBarEnabled(true) and the View's vertical scrollbar does show up initially (behaves normally as

[android-developers] Re: PreLoading Toggle Button States

2011-06-06 Thread harsh chandel
create the buttons dynamically i.e. at run time and use shared prefrence to store there state in the on create /on resume method get the variables stored in the shared preference to get the current state while loading you can also do is check the state in any mehtod and then call that method

[android-developers] Re: ISSUE about get phone number and background process is killed.

2011-06-06 Thread harsh chandel
put this line of code to open deafult phone nos Intent intent = new Intent(android.content.Intent.ACTION_SEND); to open phone book On Jun 4, 9:26 pm, amnart asayavachira smartboy...@gmail.com wrote: To Android Developer Hello. I am new android developer and a litte english . I has one

[android-developers] Re: Emulator Error

2011-06-06 Thread harsh chandel
try dowblaoding the adt again -- 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] Re: Issue: Image is zoomed on the android canvas.

2011-06-06 Thread harsh chandel
try testing it on the actual phone the canvas pixel size is less than actual screen -- 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

Re: [android-developers] Re: Integrating Facebook in Android application

2011-06-06 Thread Robin Talwar
Ya the breif summary about the facebook connection and SSO is Following points to keep in mind :- - Create an application on developers.facebook.com - In settings make it accessible for Mobile - You will get app id save it - download the facebook for android sdk - create a new

[android-developers] How to get internal storage path for music

2011-06-06 Thread Goutham P N
Hi All, The application that am working has to access the audio files stored on a tablet in the internal storage musci folder. Can any one tell me how to get access to it? Thanks Regards, Goutham -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Installing platforms without internet access

2011-06-06 Thread harsh chandel
yes what you can do is first run eclipse go to help --install new software -- click on add at the top right corner a pop will come click on the archieve and browse to the location where your zipped adt is located --wait for the process to finish and then click on the next --next until you

[android-developers] Re: Integrating Facebook in Android application

2011-06-06 Thread Sourav Howlader
Hi Goutom, Check this link. http://developers.facebook.com/docs/guides/mobile/#android Regards, Sourav -- 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

[android-developers] Re: dynamic font size

2011-06-06 Thread harsh chandel
use gettext size to get the size of the textview this will return size in float if you know the current size you can settextsize -- 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] Configuration change problem

2011-06-06 Thread janoti
I have an Activity. I am running a new thread from onCreate which is creating a socket. When the device goes from portrait to landscape mode or vice-versa the Activity is getting restarted. I have different UI (xml) file for portrait and landscape mode. Creating a new socket every time and

Re: [android-developers] Integrating Facebook in Android application

2011-06-06 Thread Abhishek Soni
Check out this link too: https://github.com/facebook/facebook-android-sdk This one have example file, which have the code to upload photos, and publish status. Regards Aby On Mon, Jun 6, 2011 at 12:21 AM, Goutom goutom.sust@gmail.com wrote: Hello All Now I am trying to integrate

Re: [android-developers] Re: Java source code for SDK API 11 12

2011-06-06 Thread Chi Kit Leung
I think there is only a delay on releasing the source of Android 3.0 and 3.1. I guess they will release the code later. On Tue, Jun 7, 2011 at 5:56 AM, Tomas Prochazka tomas.procha...@gmail.comwrote: OK. Btw. This is reason why I programming only in Java and now Android because framework

Re: [android-developers] I need help

2011-06-06 Thread Chi Kit Leung
Is your project created correctly? On Mon, Jun 6, 2011 at 7:24 PM, abhijit chakra kanh...@gmail.com wrote: Write the detail what problem you are facing.Give the details. On Mon, Jun 6, 2011 at 2:33 PM, Mohammed Hossain Doula hossaindo...@gmail.com wrote: You are not mentioning what the

Re: [android-developers] Re: Send SMS

2011-06-06 Thread Chi Kit Leung
you can create async intent to send sms . On Sat, Jun 4, 2011 at 5:28 PM, SULIMAN khan sulimankhan.mobilink...@gmail.com wrote: i m busy On Fri, Jun 3, 2011 at 7:13 PM, Muhammad Umair umai...@gmail.com wrote: No response so far. On 2 Jun 2011 22:44, Muhammad Umair umai...@gmail.com

Re: [android-developers] Re: Java source code for SDK API 11 12

2011-06-06 Thread Chris
On a side note, I've been wondering if there's source jars available for (opened versions of) the framework SDK for debugging? From what I gather I have to sync up a complete git repository of code completely unrelated to the developer's framework for a given version of Android so I can debug

Re: [android-developers] How can I get app ratings to display on my website?

2011-06-06 Thread Spiderfly Studios
What's with all the rude replies? I was vey clear what I was looking for from the beginning. I'm not looking to steal someone else's hacky code. As I stated I was looking for an official, legit way of getting the info. And it isn't as easy as just taking out a couple lines of HTML an pasting

[android-developers] Re: setBouncing() throws exception for ExpandableListview

2011-06-06 Thread shipi
Thanks for all replies. @TreKing - sorry i got comp err not exception. so couldnt send u the trace. @Romain Guy - yes. BouncingListView is HTC api. Thats just a try i did casting ExpandableListView to BouncingListView. @Kostya - im not using any sample code. Actually im developing a home screen

[android-developers] Re: ontap and tabhost

2011-06-06 Thread ArcDroid
Here is the error i get E/AndroidRuntime( 7903): FATAL EXCEPTION: main E/AndroidRuntime( 7903): java.lang.ClassCastException: com.arcdroid.chat.OosapVars E/AndroidRuntime( 7903):at com.arcdroid.chat.MapItemizedOverlay $1.onClick(MapItemizedOverlay.java:44) E/AndroidRuntime( 7903):

[android-developers] Re: ISSUE about get phone number and background process is killed.

2011-06-06 Thread amnart asayavachira
hello harsh chandel Thank for answer me. Has phone book have SIM card phone number ? i would like to pull sim card phone number but i wouldn't like to pull contact phone number of user. Please recommended me. Thank you so much AUM -- You received

<    1   2   3