[android-developers] how to draw objects in openGl with delay

2010-05-02 Thread kirti kaul
Hi, I want to draw say some squares after delay,ie if i need to draw 3 squares,i should get the square1 first,then after some delay square 2 second and so on.I used thread.sleep(msec),but what I get is , i get all the three squares after the delay specified,i use something like this:

[android-developers] Can we bind one object on surface of another in openGL ES??

2010-04-14 Thread kirti kaul
Hi, Can somebody tell me if we could bind one object on to another in openGL ES.say draw multiple squares on the surface of a cylinder.I knw we can draw them independently,but how to make them look like one single object??Is this possible?? Thanks in advance!!! -- You received this message

[android-developers] Re: How to apply different textures on different faces of a cylinder

2010-04-14 Thread kirti kaul
Thanks,can you give me an example/Snippet on how to use Atlas Texture in openGL ES? On Apr 13, 4:08 pm, Lance Nanek lna...@gmail.com wrote: Put all the images needed for texturing all the faces into a single texture. Then refer to coordinates inside the texture to use different parts of it in

[android-developers] How to apply different textures on different faces of a cylinder

2010-04-11 Thread kirti kaul
Hello, Can anybody tell me how to apply apply different textures on different faces of a cylinder?I am able to apply one texture which covers the whole cylinder.But I want one texture for each face. Thanks in advance!!! -- You received this message because you are subscribed to the Google

[android-developers] Re: Playing Video in App Widget

2010-02-14 Thread kirti kaul
ok guys..thanks for your responses... On Feb 10, 6:29 pm, Sean Hodges seanhodge...@googlemail.com wrote: You can't playvideoinside an AppWidget. On Wed, Feb 10, 2010 at 12:42 PM, Narendra Bagade bagadenaren...@gmail.com wrote: I want to playvideo,how can i achieve? I tried this code

[android-developers] Playing Video in App Widget

2010-02-10 Thread kirti kaul
Hi, I wanted to know , can we have a home screen widget in which we can play a video? Is it possible?If yes then how can it be acheived? Thanks in Advance... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: How to programmatically install an APK file ?

2010-01-27 Thread kirti kaul
Hi, Use this: intent.setAction(android.content.Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(file:/// sdcard/.sampleapk), application/vnd.android.package-archive); startActivity(intent); Where Sample.apk is the apk you need to install. On Jan 27,

[android-developers] Re: create app that comes with a widget and the program

2010-01-08 Thread kirti kaul
Hi, This can be acheived by implementing the AppWidgetProvider Also you need to have a configuration activity,which launches the App widget... The implementation is simple,jus you need to add an activity and use shared preferences to communicate with the AppWidget There are many examples

[android-developers] Re: How to dynamically apply themes in Android

2009-12-06 Thread kirti kaul
:24 pm, kirti kaul kirti.k...@wipro.com wrote: Hi, My query is regarding on whether we canapplydynamicallythemesin android,like what we do with our phones in which we can select a theme and the same theme gets applied all across the phone.Is there a way to do this in android (I

[android-developers] Re: How to dynamically apply themes in Android

2009-12-06 Thread kirti kaul
/detail?id=4394http://code.google.com/p/android/issues/detail?id=3793 On Dec 7, 8:07 am, kirti kaul kirti.k...@wipro.com wrote: Thanks,Have u tried it?I mean are you able to change the theme on runtime?I mean dynamically in the emulator? On Dec 4, 6:06 pm, Nithin nithin.war...@gmail.com

[android-developers] How to dynamically apply themes in Android

2009-12-04 Thread kirti kaul
Hi, My query is regarding on whether we can apply dynamically themes in android,like what we do with our phones in which we can select a theme and the same theme gets applied all across the phone.Is there a way to do this in android (I am able to change the default theme by hardcoding in

[android-developers] Re: How to launch activity act2.class (contained in project2.apk) from activity1 in project1.apk ?

2009-10-29 Thread kirti kaul
hi, try this: Intent intent = new Intent(); intent.setComponent(new ComponentName(gal.com.app, gal.com.app.gallery)); startActivity(intent); Where gal.com.app is the name of the other package in which the other activity resides