How to do "android drawing pattern to unlock" using COCOS2D API - android

I want to do a task which is very similar to "Android Drawing Pattern to Unlock", where in there will be circular images in a GridView and straight lines connecting the images will be drawn dynamically based on user touch. Please suggest me preferably with code snippets.TIA.

Actully, you didn't write your code into the question .so I think you are developing Android Application with COCOS2D first time.
Here is some awesome example links that may Help you to learn this.
1)COCOS2D Basic Game
2)COCOS2D MUltiplatform
If you want help regarding code please post your code here.

Related

Beginning with OpenCV in Android

I want to create an application that detects walls from the image and paints it with color choosen by user . I looked it up and found out OpenCV is a way to go.
I downloaded the sdk and imported in AndroidStudio.
I am a complete beginner to OpenCV and i would appreciate if i could get just the hints where to start from .
I want to know what terms and methods to look forward(in the docs) in order to implement this particular task (detecting wall in image and fillcolor).
What would be the steps required to process and manipulate image for this operation ?
Thanks.
You can start with some tutorials. It is a best way to satrt with adn learn some basics and claasses and their usage.
Soem links are as follows-
first-
Second

Implement puzzle game on Android

I'm familiar with Android Development,
But not with the subject of manipulations on images, etc.
I need to implement a puzzle game:
Let the user mark and cut a (non symmetric) piece of an image.
Let the user move and rotate this piece.
Let the user drag this piece into original place. And so on...
I heard about the OPENCV library (also for android). Is it the best option to start with?
I have seen a lot of questions/answers of this issue,
But do android have an official/unoffical library for this issue?
One of OpenCV's for Android sample projects is actually one of those puzzle games.
It does not allow the user to cut the pieces and rotate them, but all the rest is there. You have the source code if you download the android package, so it is a great starting point.

Android Gallery View Semi Circle Theme

Hi friends i am planned to work on user interface part, i wanted to make my own user interface for my gallery application. for example gallery view should be in semi circular view. can any one suggest me on this
Thanks in advance
Do you want something like this!!
you can find it in this link
sorry but the link is in french language but you can find sources in the bottom of the page Mirror links
You should start by learning more about the Gallery in general. This link would make a good start.
Understand that code, go through the tutorials and begin experimenting on making incremental changes and seeing if they work.
Using this knowledge and prototype code start thinking about how you might go about creating your custom semi-circle gallery. Experiment and try some different things.
When/if you run into any issues or specific problems, post your question on a new thread and I'm sure you will find people willing to help you out.

Must be OpenGL?

I'm new to android and I need to do a project like this : I have 22 images that represent a person which is rotating. When the user touch the right side of an other image the image is changing (the person is rotating to right). The same thing is for left side.
My question is: I must use OpenGL? I made some example with openGL but I don't see if for my project it is necessary. I was thinking that maybe it is enough to change the background image at every touch.
What do you guide me to do?
Thanks in advance
I know this isn't exactly the same thing but this tutorial by the excellent guys at Sony Ericsson show how to make a nice looking 3D list without OpenGL - http://developer.sonyericsson.com/wp/2010/05/20/android-tutorial-making-your-own-3d-list-part-1/
Maybe you could use some of the techniques in this tutorial to achieve what you want?
The OpenGL may be useful to do your project
you can see the Example Code project here code.google.com
And The Blog url that has explained nicely to work with OpenGL has many part of the Tutorial
May be looking at this you can get idea how to go ahead.

where to start for Page flip effect in android?

I have search a lot for page flip effect in android. I found some links. An example for flip without using OpenGL.
But I want to implement a 3D real page flip effect for android. same as This Or the effect you have seen in IReader for android.
According to my search OpenGL must be use for this. I also search some framework that provide the alternative of OpenGL. But at the end I found nothing.
So I am just want to start OpenGL for this. But I have never ever use OpenGL.
Can any one help me for page flip? some useful link, tutorials, Starting up for OpenGL in android etc...
I am using this code. Its really really perfect for any one to understand and use. Thanks a lot to Harism
GitHub Link for Page Curl Animation in android With OpenGL
here is the one i tried today itself and works fine. code.google.com

Categories

Resources