Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9021

Android is an operating system for mobile devices developed and maintained by Google, Inc. This tag should contain specific programming questions about Android.

-2 votes
1 answer
2k views

Objective-C to Java conversion for porting iPhone apps to Android?

can anybody help me to convert this objective-c code to android java. - (void)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { if (_mouseJoint ! …
jubin's user avatar
  • 121
-6 votes
1 answer
540 views

Why do I get this null pointer exception? [closed]

When I execute this code it gives me the Exception Glthread 8 Java.lang.null.pointer MouseJointDef md = new MouseJointDef(); md.bodyA = _body; md.bodyB = _body; md.target.set(locationWorld); md.col …
jubin's user avatar
  • 121
5 votes
1 answer
1k views

How to create multiple balloon bodies in Box2D?

In Box2D, how would I go about making a body that's being lifted by multiple "balloons"? These balloons would have to be able to be destroyed (for example, by a bow and arrow).
jubin's user avatar
  • 121
-1 votes
1 answer
367 views

Touching on the particular sprite from the spritesheet

I want to click on the particular sprite from the sprite sheet. For instance i have fruits sprite sheet i want to click on the particular fruit. Thanks, Jubin Mehta
jubin's user avatar
  • 121
-4 votes
1 answer
491 views

"Null Pointer Exception" Animating sprite in cocos2d android [closed]

I am converting this monkey jump game tutorial in android. I have done til monkey sliding right to left and left to right but I am stuck in the part of monkey walking animation. …
jubin's user avatar
  • 121
1 vote
2 answers
3k views

How can I handle a touch event in cocos2d for Android?

How can I handle a touch event in cocos2d for Android? And how to move a sprite using ccTouchesMoved? …
jubin's user avatar
  • 121
-1 votes
1 answer
355 views

How to integrate ad mob ads in cocos2d android portal?

Could anybody tell me how to integrate ad mob ads in my cocos2d android app. …
jubin's user avatar
  • 121
0 votes
1 answer
495 views

Determining the X, Y co-ordinates in sprite sheets

I am new to Android COCOS2D and developing a simple game to start with. I am developing a game for kids in which the kids shall spell out the names of the fruits they select. …
jubin's user avatar
  • 121
1 vote
1 answer
1k views

How do I perform a slice effect like Fruit Ninja?

How can I use the CCBlade in Cocos2D on Android? …
jubin's user avatar
  • 121
0 votes
2 answers
2k views

How to use the box2d contact listener in android (java port)?

I don't have any idea about the box2d collision detection in android. I googled and got results that suggest to use the contact listener but I don't know how to use it in android java. …
jubin's user avatar
  • 121
1 vote
1 answer
4k views

How to create a splash (loading) screen in cocos2d for Android?

How to create a splash (loading) screen in cocos2d for Android? I need a loading screen that shows my app name and after that the next scene will show automatically. Thanks …
jubin's user avatar
  • 121