Bilal A.Siddiqui

Ranch Hand
+ Follow
since Feb 22, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bilal A.Siddiqui

i have done it !!! wow

i called get method of my servlet from my android app, its runninh well.

thanks to all
13 years ago
hey i have run it on other system in two modes

1. with tomcat server OFF--> nothing happens

2. with tomcat server running--> i get 404 status

what should i do now ???
13 years ago
hi monu

i tried with my system ip also but the result was same. now i am confused because whether my tomcat server is running or not its giving same error. am i making any mistake in project structure??
13 years ago
i have a doubt now whether this android activity knows about my servlet or not. I mean does it know to lookup for that in web.xml. i just felt so because whether tomcat server is ON or OFF the error is same.

localhost/127.0.0.1:8080- Connection refused
13 years ago
I am running this app in an emulator. my application is just sending "get" request to a servlet which is mapped in web.xml

but i am getting connection refused.
13 years ago
internet permission is already there in my manifest file.

<uses-permission android:name="android.permission.INTERNET"></uses-permission>

13 years ago
hi

i have tested the code with 10.0.2.2 in place of localhost and then with my machine ip which is (172.18.24.188)

but in both cases i am getting an error localhost/127.0.0.1:8080- Connection refused
13 years ago
Hi all

I am trying to access a servlet from my android application. my code looks like this


I am getting an error "connection refused"


13 years ago
Hi all

i am still waiting for reply.

Please help
13 years ago
hi all

I want my menu to look like sub menues and should come directly on click of menu button.

Please help.
13 years ago
hi monu

i have done like this

rb1.setTypeface(null,Typeface.BOLD);

this is making it bold but the colour is not perfect balck, its kind of greyish.
13 years ago
hi all

I am generating dynamic radiobutton. I want to make the text with radiobutton bold.

my code for generating for radiobutton looks like this


Bold i have defined in my strings.xml as



but the generated text with radio is not coming in bold

13 years ago
thanks monu

i have done it the way you said.
13 years ago
Hi Monu

i am starting my home activity like this

Intent i = new Intent(this, Home.class);
startActivity(i);
13 years ago
Hi all

I have 3 activities (MAIN, LOGIN and HOME)

now from home i want to close my application , in home my closing code looks like this


in login


The problem is my onActivityResult method in login is not called at all.
13 years ago