venki0552 / andar Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/andar
Automatically exported from code.google.com/p/andar
hello,
I'm new to ANDAR and I am facing some error to configure andar in Eclipse
enviroment. Although this question has been asked earlier in this forum but
still I couldn't find any answer for it. So please help me.
I followed all the step mentioned but when I import the andar project in
Eclipse its showing 2 error:
1.The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.Object. Fix the build path then try
building this project
2.The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
please help me...
Thank you
Andy
Original issue reported on code.google.com by [email protected]
on 13 Oct 2010 at 5:37
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Apr 2010 at 10:27
I'm integrating min3d with AndAR for loading models (OBJ, 3DS...). In order
to do it I've had to extend AndARRenderer and instantiating my own
renderer. There're two changes needed at the code:
1.- AndARRenderer.onDrawFrame shouldn't be final.
2.- AndARActivity (which I also extend) shouldn't override its renderer
attribute (which should have accessors) if it's not null.
Do you think it might be interesting? I'm able to load OBJs and 3DSs now,
which is quite c00l :)
Original issue reported on code.google.com by [email protected]
on 4 Jun 2010 at 10:44
Dear all,
I have downloaded the source file as .java(txt) for AndAR project from
following site:
http://andar.googlecode.com/svn/trunk/AndAR/src/edu/dhbw/andar/
Now how i can attach this source file (.java) to existing AndARSample
project.when i tried to open any classes/function it shows "source not found"
I already tried to attach source(what i have downloaded).Suppose for
simplebox() I have attached SimpleBox.java but it shoes the sourc attachment
does not contain source of the simplebox classes..
So how I can add/attach source file to exitsting andAR.jar file?
Thanks
Jubair
Original issue reported on code.google.com by [email protected]
on 10 Jun 2010 at 7:58
I want to display the number of Frames drawn per min, while AndARSample program
works on real device. Any one have an idea?
Original issue reported on code.google.com by [email protected]
on 22 Sep 2010 at 3:06
Hi Tobias,
Thanks for porting this code over.
I'm testing AndOpenGLCam on my new Nexus One.
It looks like the code is hardcoded to 240x160 in several places. Is this
because of performance? Or just how the original codebase was coded? I
tried to change it to use a much larger preview size, because Nexus One can
do 800x480.
Also, is it supposed to use the autofocus in the camera? It does not seem to.
Lastly, I did a test where I counted the number of frames where a marker is
detected vs. number of frames where it is not (by checking cur_marker_id in
the draw() routine). It seems to detect a marker approximately every 10-20
frames. So I occasionally see the grey box show up for a few frames, but
most of the time I don't see it.
I test by opening the PDF file on my computer screen, and fill the frame of
the camera with it.
Should I be getting better results?
Original issue reported on code.google.com by [email protected]
on 13 Apr 2010 at 8:02
Dear All,
I am facing some error to configure andar in Eclipse enviroment.
I unzip AndAR to my documents.also download Eclipse Galileo and ADT-
0.9.7.I installed Android 1.6,2.1 version SDK.
When I import the andar project in Eclipse its show 3 error:
1.The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.Object. Fix the build path then try
building this project
2.The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
3.Unable to resolve target 'android-4' until the SDK is loaded
plz help me to solve this errors..I am very much waiting for AR in
Android..
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 4 Jun 2010 at 9:26
I'd like being able to register multiple marker visibility listeners at
ARToolkit. Patch attached.
Original issue reported on code.google.com by [email protected]
on 1 Jun 2010 at 9:52
Attachments:
Anyone could help me to use a fixed image instead a camera?
If we made this reprogramming it could be easier when we're using an emulator.
Thanks
Original issue reported on code.google.com by [email protected]
on 22 Sep 2010 at 2:54
1. Application is run
Blank screen followed by a force close
HTC Magic with Android 1.5
Attached with this issue is the logcat.
Thanks
Gertrude
Original issue reported on code.google.com by [email protected]
on 26 Apr 2010 at 7:46
Attachments:
What steps will reproduce the problem?
1. Run the application as usual
2. Press home button
3. Rerun application
What is the expected output? What do you see instead?
Application crashes usually when it is reopened. Sometimes it just gives a
white screen
What version of the product are you using? On what operating system?
I am using it with HTC Legend (Android 2.1)
Please provide any additional information below.
When you get out of application (ex by pressing home button), onPause and
onStop functions of the activity are called as normal and camera seems to
be released as it should be. However, when I try to run Camera application
it does not work in that stage (goes back to home) Then if I try to rerun
AndOpenglCam, it crashes immediately.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 5:59
Hi!
Great project!
I have to create an app for android mobile devices, that recognizes different
(trained) markers and display a textbox over the marker on the screen (in the
end, device would connect to a server, collect some data and display that data
in text box...for each marker different data would be collected from the
server). It is a project for my faculty...
As I am a newbie in a world of Android app programing and have little
experience in java also (I know how to create simple apps, not much more...YET!
:) ), I wold apriciate some suggestions, where to start to stear me in the
right direction. Would it be possible to take source code from model viewer and
modify it, so instead of model it would show a textbox? Or should I create new
app from scratch using AndAR library?
Any help and info is highly appriciated. Thanks in advance!
Have a nice day!
Matic
Original issue reported on code.google.com by [email protected]
on 15 Jan 2011 at 12:54
What steps will reproduce the problem?
1. After you run application "Android" Item selection
2. Camera turns on and "Android.pdf" show the code.
3. Forced to return to the Item Select screen.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Android 2.1 version.. Device is Motorola XT720.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Oct 2010 at 4:18
Attachments:
What steps will reproduce the problem?
1. uninstall previous AndAR
2. run newest checkout AndAR
3. white screen, so i reboot the phone and try it again, same result
What is the expected output? What do you see instead?
beautiful white screen
What version of the product are you using? On what operating system?
sdk r5 on windows vista -> htc hero android 1.5
Please provide any additional information below.
the previous version of AndAR do works on my hero, give me a green cude
after i checkout the new version of AndAR and run, it simply give me a
white screen~
Original issue reported on code.google.com by [email protected]
on 27 Apr 2010 at 4:05
Attachments:
What steps will reproduce the problem?
1.After the loading process the camera function just loads a white screen
2.
3.
What is the expected output? What do you see instead?
The expected output is awesome augmented reality. What I see instead is white.
What version of the product are you using? On what operating system?
AndAR Model Viewer Version 0.2. the operating system is Android 2.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Apr 2010 at 2:14
Dear Everybody,
I am trying to play a sound file in AndAR program. but it looks some conflict.I
am trying to follwoing two way to solve conflict.
option :1
package edu.dhbw.andar.sample;
public class CustomObject extends ARObject {
private Context context;
@Override
public final void draw(GL10 gl) {
super.draw(gl);
MediaPlayer mp = MediaPlayer.create (this,context.raw.coconut);
mp.start();
......................
........................
//draw the box
box.draw(gl);
}
here the problem is, when marker detct the program is auto exit. I think the
problem is context.
option 2:
package edu.dhbw.andar.pub;
public class CustomActivity extends AndARActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
CustomRenderer renderer = new CustomRenderer super.setNonARRenderer(renderer);
try {
....................................
MediaPlayer mp = MediaPlayer.create(this,R.raw.coconut);
....}
here I used parameter "this" instead of "context" in create function. now
program not crash/auto exit. But in draw function, how i can execute folowing
line to play sound?
public final void draw(GL10 gl) {
super.draw(gl);
box.draw(gl);
mp.start();
because in draw function, mp is unresloved as the declaration problem.
So plese help me to solve this conflict/declaration problem to play sound..
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 18 Aug 2010 at 7:58
What steps will reproduce the problem?
1. view 1 model
2. go back and change model
3. try to view it
What is the expected output? What do you see instead?
expect to see new model....it will show camera but it does not detect L thing.
can only be resolved by forcing the app to close in settings, and restarting it.
What version of the product are you using? On what operating system?
andAR model viewer....latest version as of 9 jun 2010
android 2.1 on htc desire
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2010 at 8:00
I attached a log of AndAR failing on the milestone. log not from me...just
for convenience.
Original issue reported on code.google.com by tdomhan
on 27 Apr 2010 at 4:06
Attachments:
The last version of the svn repository doesn't work in android 1.6 due to
are employed function that are not available in android 1.6.
List<Size> sizes = params.getPreviewSize();
List<Integer> supportedFormats = params.getSupportedPreviewFormats();
Best Regards.
Original issue reported on code.google.com by [email protected]
on 5 May 2010 at 3:14
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system? HTC
Magic (Android 1.6)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Apr 2010 at 10:05
Hey folks,
I am creating an Augmented Reality game on the HTC Desire for my university
honours project, and I am seriously considering using AndAR.
However when trying to get the AndARPong working as part of my research, I have
failed!
The first error I came across was that I had to include lib/AndAR.jar
So I simply copied the file from another project,
Is this correct?
Because I then get an error saying that
The method arUtilMatInv(double[], double[]) is undefined for the type ARToolkit
Could someone please reply to this and help me out?
Thanks Euan Hislop
Original issue reported on code.google.com by [email protected]
on 1 Dec 2010 at 9:11
Hi Dear,
It is great to see AR in Android. I want know some information about AndAR.
1. Is AndAR open source project? Because I did not find any source code for
modyfy the library.suppose I want to modify class,add functions,change
parameter.so how i can do that?.Other open source project like
artoolkit/artoolkitplus can modfy the library because .src,.h is avalaible.if
AndAR.jar is the library for AndAR, so how we can recompile/modify this
library? or it is not open source project?
2. What is the function of .so file under libs folder?
3.how we can add other marker?
thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 9 Jun 2010 at 6:01
Hi All
i created a application that read different markers and once the marker
detected by the application it will display different images. This part is
woking fine.
My problem is when i'm generating the markers using mk_patt, the marker
generating application is not reading any color other than BLACK....Is there
any way to create one marker with multiple colors.
Thanks
Jaivi
Original issue reported on code.google.com by [email protected]
on 16 Jan 2011 at 11:44
What steps will reproduce the problem?
1. Keep 2 markers in close proximity. Register 2 different models to these 2
markers.
2. Now point to one of the marker. The correct model shows up.
3. Now position the mobile camera in such a way that both the markers are
visible. Now both the models show up, but in my app I want to show only one
model at a time.
What is the expected output? What do you see instead?
I want to show only one model at a time. I see both the model. I tried add
visibility listener to unregister the other models but it does not get called
in latest AndAR code.
What version of the product are you using? On what operating system?
Latest AndAR library.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Nov 2010 at 8:33
hi,
andar runs slower on my new galaxy then on my old G1, why is that shouldn't it
be way faster, because of faster processor etc.
What is the USE_ONE_SHOT_PREVIEW constant for, should it be false or true, what
does it do ?
Original issue reported on code.google.com by [email protected]
on 21 Jul 2010 at 1:43
Hello,
How i can use same source code for 2 application. That menas we install
AndARSample in the phone. So I want to use same source code(project) of
AndARSample to install in the phone but different name like AndARSample2.
Basically every application has own UID. So how i can change the UID/ID number
of AndARSample application to use same source code/project but different name
and different UID.
My phone can install two application (AndARSample & AndARSample1) with same
source code/project.How I can do this?
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 7:46
What steps will reproduce the problem?
1. Opening app
2. Play game
3.
What is the expected output? What do you see instead?
It works but is very laggy,the paddle also does not work at all
What version of the product are you using? On what operating system?
Using the latest version from the market as off 21 October,running on android
1.6
Please provide any additional information below.
Running on firmware 24 for X10.
Original issue reported on code.google.com by [email protected]
on 21 Oct 2010 at 11:09
What steps will reproduce the problem?
1. Turn phone vertical (upright) when selecting.
2.
3.
What is the expected output? What do you see instead?
Model / Nothing
What version of the product are you using? On what operating system?
Current (downloaded minutes ago) / Froyo, whatever, should be most current
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Oct 2010 at 2:26
What steps will reproduce the problem?
1. (i dont know but heres what i do) i open the model viewer
2. tqp on 'Select a model file'
3. browse to my folder with all my obj and the matching mtl files
4. wait for it to load
5. point my phone at the marker
6. look sad cause my rubber ducky didnt appear (ive tryed models from that
resource site that was posted somewhere)
What is the expected output? What do you see instead?
i expected the models to appear, but i see nothing, i am doing this in portrait
oriantation as well as horizontal doesnt work
What version of the product are you using? On what operating system?
im using the latest download from the android market on, 2.2 i think thts froyo
Please provide any additional information below.
i hope this can be fixed
Original issue reported on code.google.com by [email protected]
on 5 Jan 2011 at 10:42
What steps will reproduce the problem?
1. using
if (Integer.parseInt(Build.VERSION.SDK) <= 4) {
//for android 1.5 compatibility reasons:
try {
camera.setPreviewDisplay(glSurfaceView.getHolder());
} catch (IOException e1) {
e1.printStackTrace();
}
}
from OpenGLCamActivity.java, cause i have an android 1.5 device with me
2. run
What is the expected output? What do you see instead?
- the camera is working
- grey box shows up if the marker is captured
- the screen freeze(with or without the grey box, the screen freeze after
about 1sec) and not refreshing (i'm not sure if i use the right term)
What version of the product are you using? On what operating system?
SDK r5, NDK r3, windows vista, device is hTC hero
is AndOpenGLCam support android 1.5? i jus cant figure out whats going wrong
p/s:im a newbie in android, sorry if i'm asking stupid question.
thanks
Original issue reported on code.google.com by [email protected]
on 15 Apr 2010 at 8:27
What steps will reproduce the problem?
1. i'm try to integrate with min3D open source.
2. i made a CustomObject4 that impelments ARObject
3. the CustomObject4 impements Min3d RederActivity Code.
What is the expected output? What do you see instead?
i expected that Min3d Object augmented very well .
Min3d Object augemnted. but background is red..
What version of the product are you using? On what operating system?
android2.0 Gallsy S
Please provide any additional information below.
i attach Source File and result screen image.
please.. help me
Original issue reported on code.google.com by [email protected]
on 27 Oct 2010 at 5:51
Attachments:
When the camera starts, I want to find the number of frames displayed in second
Thanks
Original issue reported on code.google.com by [email protected]
on 17 Sep 2010 at 1:35
Hi All,
I want to replace the camera opening function in ANDAR using NDK code. Does any
body can help me by guiding me
Thank You
Original issue reported on code.google.com by [email protected]
on 27 Oct 2010 at 3:56
hi
I am a Korean student.So I am not so good at English. So please be good to
understand my awkward English.
The first to tell you I using the phone is MOTOROLA-XT720, ndk version is
r3
I finished all step this work :
1. Install the android NDK
2. Make a symlink from your eclipse project folder (should be called
AndOpenGLCam) to
the ndk apps folder
4. change line 2 of Application.mk to APP_PROJECT_PATH := $(call my-dir)
3. in the root of the NDK folder run make APP=AndOpenGLCam
4. refesh your project in eclipse
5. If everything went smoothly your libs folder will have the .so files
that jni needs
also put camera_para.dat and patt.hero files on my sd card.
But on my device is displayed white screen.
How to solve this problem?
please help me
thank you
Original issue reported on code.google.com by [email protected]
on 23 Mar 2010 at 3:46
Hi Everyone,
I am interesting of enhance the performances of AndAR. As I read, current AndAR
version address conversion of the color space of the camera image in order to
load it as a opengl textture and marker detection.
Is anyone know any other performance bottleneck we can enhance using NDK?
Regards
Amila
Original issue reported on code.google.com by [email protected]
on 1 Nov 2010 at 3:40
Hi,
The applications AndAR and AndAR model viewer are not visible on the market.
After reading a little on the android documentation I read the market filters
for QVGA devices all
applications that explicitely do not declare that are compatible with small and
low resolutions.
They say that should be necesray to modify the AndroidManifest.xml to declare
explicitely the
compatibility with QVGA devices:
<supports-screens android:smallScreens=["true" | "false"]
android:normalScreens=["true" | "false"]
android:largeScreens=["true" | "false"]
android:anyDensity=["true" | "false"] />
I cannot test it on my eclipse because I have problems to mount the project,
to make work the
source code
Original issue reported on code.google.com by [email protected]
on 26 Apr 2010 at 10:09
What steps will reproduce the problem?
1. checkout and run
2.
3.
What is the expected output? What do you see instead?
expected cute Android Mascot, but it faild to run
What version of the product are you using? On what operating system?
sdk 5 -> android 2.1
Please provide any additional information below.
is the AndObjViewer still alive?
Original issue reported on code.google.com by [email protected]
on 13 May 2010 at 3:44
Dear all,
Last copule of days, I am trying to load a texture image(.bmp) inside andar
sample project(downlod from trunk) application's coding.but every time white
texture come to screen on marker.here is my coding for texture:
package edu.dhbw.andar.pub;
public class CustomObject extends ARObject {
public CustomObject(String name, String patternName,
double markerWidth, double[] markerCenter) {
super(name, patternName, markerWidth, markerCenter);
}
......
.....
int[] textureIDs = new int[5];
private Resources res;
public final void draw(GL10 gl) {
super.draw(gl);
.....
.....
gl.glEnable(GL10.GL_TEXTURE_2D);
//Enable vertex buffer
gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
gl.glVertexPointer(3, GL10.GL_FLOAT, 0, vertexBuffer);
//Bind our only previously generated texture in this case
gl.glBindTexture(GL10.GL_TEXTURE_2D, textureIDs[0]);
gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, vertices1.length / 3);
}
@Override
public void init(GL10 gl) {
gl.glEnable(GL10.GL_TEXTURE_2D);
gl.glGenTextures(1, textureIDs, 0);
//load the textures into the graphics memory
Bitmap bm = BitmapFactory.decodeResource(res, R.drawable.image);
gl.glBindTexture(GL10.GL_TEXTURE_2D, textureIDs[0]);
GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bm,0);
gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, GL10.GL_LINEAR);
gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_LINEAR);
bm.recycle();
}
}
here the object is four square and image will be bind in the four sqaure
object. the coding can compile and install in phone. the four square draw but
with white texture.I also add image.bmp in drawble folder. but still same
result.
please help me to sort out this problem...
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 21 Jul 2010 at 9:35
What steps will reproduce the problem?
1. After the loading process the camera function just loads a white screen
2.
3.
What is the expected output? What do you see instead?
The expected output is awesome augmented reality. What I see instead is
white screen.
What version of the product are you using? On what operating system?
AndAR Model Viewer Version 0.2. the operating system is Android 1.6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 May 2010 at 3:45
Hey!
OpenGLCamActivity crashes. I tracked down the Exception to this line in
MarkerInfo.java:
System.loadLibrary( "ar" );
I guess this is where jni comes in handy. Could you provide some
instructions how to use the generated header files?
Thanks in advance,
Daniel
Original issue reported on code.google.com by [email protected]
on 14 Mar 2010 at 3:31
I want test the 3D model AR with AndAR through http://www.sndrv.nl/ARflashmob/instructions/. But I can not find the AndAR ( flashmod version) from market. anyone test the AndAR ( flashmod version) successfully?
Original issue reported on code.google.com by [email protected]
on 10 Jun 2010 at 8:01
What steps will reproduce the problem?
1. check out svn revision 122
2. build
3. run
What is the expected output? What do you see instead?
I was hoping this would be the same level of code from the fix on Friday
for the white/black screen problems. With this level of code launching it
from Eclipse doesn't work. When i launch it from the device itself, i get a
black screen.
I do see one exception:
05-03 11:50:44.400 E/AndAR EXCEPTION( 438): the camera uses an unkown
pixel format.
What version of the product are you using? On what operating system?
svn from rev 122 compiled on SDK 2.1 on N1
Please provide any additional information below.
attaching logcat.
Original issue reported on code.google.com by [email protected]
on 3 May 2010 at 4:56
Attachments:
What steps will reproduce the problem?
1. Start and close Andar App about 4-6 times
2. The screen will get black and all is frozen
3
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Samsung Galaxy S Android 2.1
Please provide any additional information below.
It could be a memory related problem with the ndk, something doesn't seem to be
cleanup right after activity finishes...
any ideas?
Original issue reported on code.google.com by [email protected]
on 6 Oct 2010 at 2:41
Hi,
The applications AndAR and AndAR model viewer are not visible on the market.
After reading a little on the android documentation I read the market filters
for QVGA devices all
applications that explicitely do not declare that are compatible with small and
low resolutions.
They say that should be necesray to modify the AndroidManifest.xml to declare
explicitely the
compatibility with QVGA devices:
<supports-screens android:smallScreens=["true" | "false"]
android:normalScreens=["true" | "false"]
android:largeScreens=["true" | "false"]
android:anyDensity=["true" | "false"] />
I cannot test it on my eclipse because I have problems to mount the project,
to make work the
source code
Original issue reported on code.google.com by [email protected]
on 26 Apr 2010 at 10:10
Hello Everybody,
Is there anybody try AndAR with Android 2.2 (Froyo)? suppose is it(AndAR)
working in HTC Desire's Android 2.2(Froyo)?
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 30 Aug 2010 at 8:41
Dear All,
I am trying to compile the AndARPong project
(http://andar.googlecode.com/svn/trunk/AndARPong/). After download the
AndARPong project from trunk, I have add the library (andar.jar)from
eclipse.Now I can compile without any error. Anyway after compile .apk file
created which is only 120KB(but in trunk AndARPong apk size is 225KB).I already
tried to install my apk(120kb) in my Desire phone.it can install but program
not open.
I don't understand what is the problem here. I download the whole project from
trunk.
So please help me here to sort out this problem.
thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 21 Jul 2010 at 8:06
Dear All,
I want to know one information about AR in Android. Untill now there is not any
Android phone released which has 3D hardware/dedicated graphics hardware.As far
we know Dedicated hardware is very useful & important for rendering object in
AR specially 3D object.Some Nokia/Iphone/Samsung/SE phone based on
Symbian/Iphone OS already have dedicated graphics hardware.In these phone AR
rendering performence is excellence.
So my questions is that how much the good performence(specially rendering 3D
object) will be AR in Android without dedicated graphics Hardware in phone.I
want to start AR in HTC Desire(Android).Is HTC desire the right choice for
AndAR and rendering 3D object smoothlly?
Plz Suggest...
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 18 Jun 2010 at 2:49
Hi Everybody,
I am trying to create menu for drawing different object in same marker. that
menas if i switch cube menu it will be drawn cube and if i change menu to
triangle it will be drawn triangle but in same marker. But I don't understand
how i can do this. Basically I tried following way to implement menuitem in
customobject class:
package edu.dhbw.andar.pub;
public class CustomObject extends ARObject {
public CustomObject(String name, String patternName,
double markerWidth, double[] markerCenter) {
..............
..............}
public final void draw(GL10 gl) {
super.draw(gl);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(0, MENU_SCREENSHOT, 0, getResources().getText(R.string.takescreenshot))
.setIcon(R.drawable.screenshoticon);
menu.add(0, MENU_SCREENSHOT1, 0, getResources().getText(R.string.takescreenshot1))
.setIcon(R.drawable.screenshoticon);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
...........
........
switch(item.getItemId()) {
case MENU_SCREENSHOT:
new TakeAsyncScreenshot().execute();
break;
}
switch(item.getItemId()) {
case MENU_SCREENSHOT1:
new TakeAsyncScreenshot().execute();
break;
}
class TakeAsyncScreenshot extends AsyncTask<Void, Void, Void> {
{
box.draw(gl);///should be call box function
}
but its seems no effect when press menu item after program open.
Anybody can help me that how i can implement differet menu item for drawing
different object in same marker.
Thanks
Rassall
Original issue reported on code.google.com by [email protected]
on 6 Oct 2010 at 5:00
What steps will reproduce the problem?
1. Start the application
2. Sometimes nothing happens and I need to actually start it again.
3. Screen freezes at the end either way.
What is the expected output? What do you see instead?
I see just blank screen after starting the application. The camera stops
working properly for other applications also ("Unable to access camera
hardware"). Worst thing is that this remains even after AndAR uninstall :-/
What version of the product are you using? On what operating system?
Latest from market. On Galaxy S with Android 2.2.1 (multiple versions of
Darky's ROM)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Jan 2011 at 11:39
I tried to make it work on my HTC Tattoo (Android 1.5 version) but the
application showes always a
blank screen.
Original issue reported on code.google.com by [email protected]
on 24 Apr 2010 at 6:12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.