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
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
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 =
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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):
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
201 - 226 of 226 matches
Mail list logo