Abhishek Roychoudhury

Greenhorn
+ Follow
since Oct 01, 2020
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 Abhishek Roychoudhury

Norm Radder wrote:Have you tried printing out the contents of the Intent and the Extras it may contain?
Is there a Bundle there that has the desired value?



Yes, I can only fetch the action attached with the intent, but the string value that I attached is null.
2 years ago
I am passing a value from activity to broadcast receiver:

My activity code:

 



My broadcast receiver code:

   

As you can see the key is same in both the cases, still the value is returned null in my broadcast receiver, when passed from the activity. Why?

Is there any other way of passing the value from activity to broadcast receiver?

**EDIT :** I've tried declaring the

stringBuilder

variable as , in the activity, but still it shows null when accessed from broadcast receiver class.
2 years ago
I am developing a web-app in , which takes input from an user into a form and registers the values into a database. The code is as follows:


HTML code (basically fetching the values from a form and sending them to the php script):



php script (Storing the values into a MYSQL database):



Error:

Failed to load resource: the server responded with a status of 405 (Method not allowed)  



How do I fix this? Please help me.

3 years ago
Hi, I wanted to enter input from the user from a JSP page and send those inputs to a java class which will store them in a MongoDB database. Here is my code for the java class:



I have added the MongoDB java driver 3-12.7.jar in my project build path, as you can see in the pictures given.

Now when I run the application, I get this error:




Why am I getting this error? I have imported all the mongoDB projects. Where am I going wrong? Please help me.
3 years ago