aspose file tools*
The moose likes Android and the fly likes One project gives error other not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "One project gives error other not" Watch "One project gives error other not" New topic
Author

One project gives error other not

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1131
whe i use import com.google.android.maps.MapView in one project it gives errror.But if i use it in another projectno error.
where is the error?
I have attached a screenshot


[Thumbnail for error.png]

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Maybe one project includes the corresponding library, whereas the other does not?
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1131
I have added maps.jar file.Then some of the errors gone.But still there are errors.
what is the jar file for IntentReceiver?

I am refereing this example.

http://www.anddev.org/viewtopic.php?t=87
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
what is the jar file for IntentReceiver?

There is no class of that name in any package of the Android API; a check of the API docs would have told you that quickly and easily. That article is from before Android 1.0 got released; that class must have been removed or renamed.
Vishal Trivedi
Ranch Hand

Joined: Sep 05, 2011
Posts: 57
I see one of the project uses GoogleAPI 2.2 and other uses Android 2.2....
I dont know but can this be.....
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Vishal Trivedi wrote:I see one of the project uses GoogleAPI 2.2 and other uses Android 2.2....
I dont know but can this be.....

Easily - by setting the projects up that way. But that has nothing to do with the IntentReceiver class.
Vishal Trivedi
Ranch Hand

Joined: Sep 05, 2011
Posts: 57
OK
I just asked Mr. Google about it and he said the IntentReciever has been removed but you can use BroadcastReciever though
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One project gives error other not