« first day (708 days earlier)      last day (3409 days later) » 

06:28
private void setWifiTetheringEnabled(boolean enable) {
WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE);

Method[] methods = wifiManager.getClass().getDeclaredMethods();
for (Method method : methods) {
if (method.getName().equals("setWifiApEnabled")) {
try {
method.invoke(wifiManager, null, enable);
} catch (Exception ex) {
}
break;
}
}
}
Using this to active Hotspot.. How to Check that Other device is connected to it???
07:00
1 message moved from Android
07:21
Please help me.. if (method.getName().equals("setWifiApEnabled")) {
try {
method.invoke(wifiManager, null, enable);
} catch (Exception ex) {
}
break;
}
1 message moved from Android
08:21
lol @SomeGuy
> Sarcasm is like electricity; half of India doesn't get it.
that's racist
...and generalization
@JanDvorak it's not racist if it comes from an indian
(it's from his facebook)
oh. Well then...
yeah. Let's laugh :P
DS9
DS9
08:36
@Florida, I am reading about "JS Room Monthly Challenge January" and accidentelly come acreoss this chat room and read your few last comments.... i am from india.. so can u EXPLAIN this?
@FlorianMargaine hahaha
@FlorianMargaine cool
DS9
DS9
my comment is for @FlorianMargaine...
@DS9 well if an indian posts a joke about indians its not racist, its to be considered as humour..... and dude still half the country hasn't got electricity
DS9
DS9
yaa.. without electricity.. i am chattimg with u..
08:40
@DS9 Get outside a major city
powercuts exist for 18 hours in villages still
@DS9 well...I am also from India and I don't think its their words. Its some guy from India and as much as I'd like to punch that guy in face, because that guy don't have Idea what's the image of a country that he/she is conveying to others.
DS9
DS9
what do u know about india? hmm
@DS9 I am an indian ?
I own a village in India ?
@FlorianMargaine My grandfather does :P I will inherit it.
he "owns" most of the land in the village, and others pay him to farm on his land \o\ so he literally owns it. !
08:42
I see
DS9
DS9
come in gujrat and see.. by the way it's SO site... and no one get rights to post offensive comments.
how on earth was it Offensive ?
@darkyen00 I am from India and a village and I don't think that's the way things goes. It doesn't mean that he owns the village. It just means that he owns farming land surrounding or outside the village
@DroidDev well I think he "owns" it :P, if he forbids others --- who can have access then ?
PS Droid, india is bigger then you think
there are still villages without power. (For most of the time)
@darkyen00 well...I think other landlords will give them access to their land, for farming
08:44
@DroidDev did you not read it ? He owns most of the land in the village there is No other land lord...
meh f it.
xD
@DroidDev if you really wanna punch somebody : watch russel peters video
@darkyen00 haha and you think your village is sooo big that people can't really go outside to earn/farm
I doubt you get the point, nevermind.
@darkyen00 thanks for suggestion
@darkyen00 don't need the link, I have those in my PC
08:46
41 messages moved from JavaScript
So he can joke about india but some-guy cannot ?
@FlorianMargaine xD
well...I don't think if a canadian can joke about India, then Indians should also start doing same on their facebook profiles
Ignored.
it sucks that people can't take jokes...
DS9
DS9
08:49
can't take jokes related to country...
@FlorianMargaine I think Indian government is doing right by blocking half the internet xD
@DS9 yeah, it's what I said
alright, discussion over
11 messages moved from JavaScript
09:12
programming gadhae bhi kr sakte h . Development ni ;) :D

Hope you know hindi
1 message moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
@DenRimus@DroneDev@Dev2rights@DaveS@DavidAirapetyan@Dehli@Dharmendra
@TheLittleNaruto
@jlindenbaum
09:28
hi
happy new year
:)
where I modify this what´s the archive?
Can we use intents in public void onBackPressed() method ???
Isn't 1st Jan is over yet in all over the world ?
I mean you guys can stop showing gesture and gratitude and stop these crazy people to chat in this room.
If there are more new year comments may be we can flag them for mod attention
hello
my icon ic_launcher don´t appear in my application
09:53
@Outofme you can use Intent in back press
I have 3 screens

Screen A -> Screen B -> Screen C

If I press back from Screen C I should come from Screen B and then if i press back from Screen B I should come back to Screen A and if i press back from there I should come out ???

Is this possible ?

My Efforts
I used the public void onBackPressed() and fired an intent that would load screen B from Screen C and So On.. but that is not working

Am I doing it the right way ?
10:12
15 messages moved from Android
 
6 hours later…
16:02
jsfiddle is blocked... thanks IT
1 message moved from C#

« first day (708 days earlier)      last day (3409 days later) »