[android-developers] Re: Add Widget to Homscreen from activity Android

2012-05-16 Thread bhavani sankari
Thanks for your Reply.I understand that Homescreen run in separate
process and my application runs in separate process, so it cannot
access it resources.Is it possible use sharedUserId and signing with
same certificate as Homescreen, allows my application to add widgets
to Homescreen?

Any other possibilities for adding widgets to existing Homescreens?

On May 16, 12:02 am, Mark Murphy mmur...@commonsware.com wrote:
 On Tue, May 15, 2012 at 2:59 PM, Jose_GD jose.gonzale...@gmail.com wrote:
  Hi Mark, then is it possible to send an intent to the homescreen app to do
  the widget adding for our application?

 You would have to ask the author of the home screen in question. There
 is no standard Intent for this AFAIK.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Training...At Your Office:http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Add Widget to Homscreen from activity Android

2012-05-15 Thread bhavani sankari
Hi All,

I have added app widget to Application using
AppWidgetManager.ACTION_APPWIDGET_PICK, which list Default Widget
Picker Activity , choosing particular Widget and creating hostView for
that widget and adding the hostview to my layout.

Same way, Is it possible add widgets to Android HomeScreen from my
Application?

Regards
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Set the Height and Width of GLSurfaceView

2011-11-16 Thread bhavani sankari
Hi All,

I know it is possible to get height and Width of GLSurfaceView.Can we
set the height and width of GLSurfaceView?

Thanks,
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Set the Height and Width of GLSurfaceView

2011-11-16 Thread bhavani sankari
Hi All,

I know it is possible to get height and Width of GLSurfaceView.Can we
set the height and width of GLSurfaceView?

Thanks,
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Problems with setting translucent theme for activity

2011-09-23 Thread bhavani sankari
Hi All,

I have set translucent theme for Activity 1 through
AndroidManifest.xml file

activity android:name=.help.PresetSecondMessage
android:theme=@android:style/
Theme.Translucent.NoTitleBar.Fullscreen
/activity

Activity 2 appears on top of Activity 1.But the buttons of
Activity 1 has still has click actions enabled.Is this default
behaviour?...

I don't want to have actions for views of Activity 1...

Any help?

Regards
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Setting Translucent Theme for activity

2011-09-22 Thread bhavani sankari
Hi all,

I need clarification here, if I set Translucent Theme foractivity 2
and it appears on top of
activity 1.Here views of activity 1 has actions...

How is it possible?..or it is the default behaviour

I supposed activity 1 views will be disabled but it didnt happen at
reality

Regards
Bhavani.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Zooming Layout

2011-09-07 Thread bhavani sankari
Thanks!!!

With ScaleAnimation, I was able to zoom entire layout with ImageViews.

But I have touch problems in ImageViews. It is impossible to call
touch event function by touching ImageViews  (but it can be called by
touching original position).

Any help?

Regards
Bhavani

On Aug 19, 3:48 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Aug 19, 2011 at 5:09 AM, bhavani sankari bhavani...@gmail.com wrote:
  I have a requirement to zoom entire Relative layout .I found zooming
  APIs only from Android 3.0

  View.setPivotX(pivot.x);
  View.setPivotY(pivot.y);
  View.setScaleX(scaleX);
  View.setScaleY(scaleY);

  We are currently working in Gingerbread.How to use these APIs in
  Gingerbread.

 You don't.

  Is it possible to get patches and apply in gingerbread so that we can
  make use of these APIs in Gingerbread.

 No, sorry.

 I have not tried those methods and do not know if they would be
 suitable for zooming in the first place. In theory, they should, but
 in theory, so would a ScaleAnimation.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 _Android Programming Tutorials_ Version 3.9 Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Zooming Layout

2011-08-19 Thread bhavani sankari
Hi All,

I have a requirement to zoom entire Relative layout .I found zooming
APIs only from Android 3.0

View.setPivotX(pivot.x);
View.setPivotY(pivot.y);
View.setScaleX(scaleX);
View.setScaleY(scaleY);

We are currently working in Gingerbread.How to use these APIs in
Gingerbread.
Is it possible to get patches and apply in gingerbread so that we can
make use of these APIs in Gingerbread.

Any pointers?

Regards
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] popupwindow on onCreate()

2011-07-15 Thread bhavani sankari
Hi All,

I am displaying a popwindow onCreate() of an Activity A.When launching
Activity A from Activity B am getting this popupwindow?...I dont
want this behaviour

Any ideas?

Regards
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: About All apps Launcher Button

2011-07-01 Thread bhavani sankari
Thanks!

I have stripped out all apps except my application since i'm
developing for non phones.I have registered for
RECEIVE_BOOT_COMPLETED.After bootup,I got the default Home screen (i.e
with all app button)then i got my application launched by itself.

I tried removing default home screen and wanted my application to
launch immediately after bootup.

I got succeeded to some extent.Now my app got displayed after boot
up(default home screen removed)
Through,

activity android:name=Splash
android:screenOrientation=portrait 
intent-filter
 action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.HOME /

 category
android:name=android.intent.category.DEFAULT /
/intent-filter
/activity

But I'm seeing new issue here.My splash screen is getting displayed in
landscape mode eventhough i have specified it as portrait.

Any suggestions

Thanks
Bhavani

On Jun 29, 7:14 pm, Mark Murphy mmur...@commonsware.com wrote:
 Step #1: Make your application be a home screen (see the Home sampleappin the 
 SDK).

 Step #2: Have your application installed in the firmware as the
 device's home screen (for firmware discussions, 
 visithttp://source.android.com, as that is out of scope for this list).



 On Wed, Jun 29, 2011 at 10:04 AM, bhavani sankari bhavani...@gmail.com 
 wrote:
  HiAll,

  I am developing a appilication for non phones.I have a requirement to
  skipAllappLauncher Screen and to launch my application after
  bootup.

  How to achieve this?

  Thanks
  Bhavani

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Training in Oslo:http://bit.ly/fjBo24

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: About All apps Launcher Button

2011-07-01 Thread bhavani sankari
To override default HomeScreen Is there any limitions on using
widgets.
In my splash activity i'm using Linearlayout,Textview, Image view
only.
But still not getting displayed properly.

Please help

On Jul 1, 2:47 pm, bhavani sankari bhavani...@gmail.com wrote:
 Thanks!

 I have stripped out all apps except my application since i'm
 developing for non phones.I have registered for
 RECEIVE_BOOT_COMPLETED.After bootup,I got the default Home screen (i.e
 with all app button)then i got my application launched by itself.

 I tried removing default home screen and wanted my application to
 launch immediately after bootup.

 I got succeeded to some extent.Now my app got displayed after boot
 up(default home screen removed)
 Through,

     activity android:name=Splash
 android:screenOrientation=portrait 
             intent-filter
                  action android:name=android.intent.action.MAIN /
                 category android:name=android.intent.category.HOME /

                  category
 android:name=android.intent.category.DEFAULT /
             /intent-filter
         /activity

 But I'm seeing new issue here.My splash screen is getting displayed in
 landscape mode eventhough i have specified it as portrait.

 Any suggestions

 Thanks
 Bhavani

 On Jun 29, 7:14 pm, Mark Murphy mmur...@commonsware.com wrote:

  Step #1: Make your application be a home screen (see the Home sampleappin 
  the SDK).

  Step #2: Have your application installed in the firmware as the
  device's home screen (for firmware discussions, 
  visithttp://source.android.com, as that is out of scope for this list).

  On Wed, Jun 29, 2011 at 10:04 AM, bhavani sankari bhavani...@gmail.com 
  wrote:
   HiAll,

   I am developing a appilication for non phones.I have a requirement to
   skipAllappLauncher Screen and to launch my application after
   bootup.

   How to achieve this?

   Thanks
   Bhavani

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  Mark Murphy (a Commons 
  Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

  Android Training in Oslo:http://bit.ly/fjBo24



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] About All apps Launcher Button

2011-06-29 Thread bhavani sankari
Hi All,

I am developing a appilication for non phones.I have a requirement to
skip All app Launcher Screen and to launch my application after
bootup.

How to achieve this?

Thanks
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to simulate 3D-rotation of irregular object using OpenGL in android?

2011-05-27 Thread bhavani sankari
Thank you!

could you please provide sample for importing 3D objects in Android
using this Blender tool?

Bhavani


On May 26, 5:58 pm, Nicholas Johnson metthejohn...@gmail.com wrote:
 This would not be relevant to Android, unless you're talking about how to
 import the object into memory.

 For 3D object creation there are a variety of tools to use. Check out some
 of the free ones, such as Blender http://www.blender.org/.

 Nick

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to simulate 3D-rotation of irregular object using OpenGL in android?

2011-05-26 Thread bhavani sankari

Thanks for the useful information!!
But i just wanted to know the method to create irregular object (e.g:
3D chair). How to obtain its co-ordinates and vertices? Is there any
tool to obtain the same?

On May 25, 9:50 pm, TreKing treking...@gmail.com wrote:
 On Wed, May 25, 2011 at 1:31 AM, bhavani sankari bhavani...@gmail.comwrote:

  Is it possible to achieve this kind of simulation through OpenGL for
  irregular objects?

 Of course - all you need is a point to rotate around, the shape of the
 object does not matter.

  Can you pls provide pointers or links?

 Take the cube example and replace the cube with any other object.

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to simulate 3D-rotation of irregular object using OpenGL in android?

2011-05-25 Thread bhavani sankari
Hi,
I'm new to Android as well the OpenGL Concepts. Referred to the
example code for 3D-Cube rotation in ApiDemos. I have a requirement,
where-in i need to simulate the 3D rotation of a irregular object
[like Chair or a Doll or a car] as in the example given in
ApiDemos for Cube 3D rotation. Is it possible to achieve this kind of
simulation through OpenGL for irregular objects? Can you pls provide
pointers or links?
Thanks in Advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] About removing all android apps

2011-05-12 Thread bhavani sankari
Hi All,

   I've developed a android app for a device.I have built my app along
with other apps of gingerbread in linux.Now what i want to do is, to
keep my app alone and remove all other
apps(calender,messaging.etc).how to achieve this?

Any suggestions?

Thanks
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] About removing all android apps

2011-05-12 Thread bhavani sankari
Hi All,

   I've developed a android app for a device.I have built my app along
with other apps of gingerbread in linux.Now what i want to do is, to
keep my app alone and remove all other
apps(calender,messaging.etc).how to achieve this?

Any suggestions?

Thanks
Bhavani

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en