achuthan mukundarajan

Ranch Hand
+ Follow
since May 30, 2012
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 achuthan mukundarajan

I am trying getting a location object using an example i found on this page:

http://developer.android.com/training/location/retrieve-current.html

The code i have done is shown below:



I get the following error in LOGCAT:



The manifest file:



How do i fix it?please help
9 years ago
I am working on an android project which has a sign up page with about 21 fields.Putting all the fields in one form wont work.So i was planning to divide it into 3 activities of 7 fields each.So i wanted to know as how to go about doing this.
Can i create three fragments for the form.?
Also how would i validate the fields?
Should i validate each page separately or all at the same time at the end?
9 years ago
I am working on a project which has google maps in the first activity.When i switch off the phone and restart it the map doesnt load.I also get the following error in the LOGCAT:



Why does the error appear when i restart the phone?Please help!!
9 years ago

Ulf Dittmer wrote:Do those other devices have Google Maps installed? I'm guessing that com.google.android.gms.maps.SupportMapFragment would not be available if they don't.



They do have google maps installed.
9 years ago

Ulf Dittmer wrote:Sounds like the findFragmentById call returns null. Does "R.id.map" exist in the current view?



yes the map exsists as a fragment.Also the app runs fine on my device(Android 2.6.3).But on certain other devices it doesn't run.The xml is shown below.




9 years ago
I changed the single line of code


as the following:





The last line is the one which is causing the issue.
9 years ago
I am working on a project with google maps.I use the following code for getting the google map object:



This code works fine on most devices, but on certain devices the googleMap object returns as null and it shows a NPE further down in the code.What am i doing wrong?
9 years ago
I am doing a project with google maps in it.I am trying to retrieve bitmap images from a URL and it works fine ,but not all the time

The code i am using to retrieve the url is inside a async class.

The async class:


I am calling the async class as:



The problem is that the variable pinbit gets NPE randomly.Many times the desired result is seen.But sometimes out of random i get NPE.So i think there is something wrong with the doInBackground method where the web operation takes place.How do i ensure that the code with the web operation doesnt break?

The LOGCAT:

9 years ago


I modified the code as


9 years ago
I am trying to merge two json objects in android using the following piece of code:





The resulting merged JSON should contain 5 pieces of data.But one of the piece of data is missing.What am i doing wrong in the above piece of code?
9 years ago
I tried running an android app from eclipse on the device and it runs fine.But when i remove the usb cable and run the installed app on the phone it crashes.I recovered the follwoing LOGCAT:



The manifest:



There is a class not found exception at the splash screen.Please help

EDIT:The problem seems to be that the package is supposed to be com.igloo.collegefinder but some where it finds com.example.collegefinder.How do i find where it says com.example.collegefinder.
9 years ago
I posted an app on the playstore but i get the error "This app is incompatible with your device.". The app works fine on my device.But i am not able to load it from the store to the device .The manifest is:



Please help. Also the app is not shown on typing the name in the store's search bar. It also shows that the app in incompatible with your device.
10 years ago
I fixed it


sub=result.substring(result.length()-1);
value=sub.charAt(0);

10 years ago