Re: [android-developers] How to get Android default application package names, also in custom android operating system to open ( like call logs, sms, contacts). please suggest me ?

2015-12-23 Thread Peeyush Varshney
Adb shell pm list package

On Tuesday, December 22, 2015, Lalit Goswami <lalitgoswam...@gmail.com>
wrote:

> How to get Android default application package names, also in custom
> android operating system to open ( like call logs, sms, contacts). please
> suggest me ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','android-developers%2bunsubscr...@googlegroups.com');>
> .
> To post to this group, send email to android-developers@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','android-developers@googlegroups.com');>.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/2cf9b598-994d-457f-a652-22a52de70d9e%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/2cf9b598-994d-457f-a652-22a52de70d9e%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank & Regards
Peeyush Varshney

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CALnnYwULZK0w5SwJezv4opDZky11QgSEdAKD6SX2sxKp9ZAv0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers]

2013-10-14 Thread Peeyush Varshney
Dear All,

I am updating RemoteView from Services, but if I pass PendingIntent very
fast.
RemoteView is not updating..

I got the fix, but i doest feel .. it is good from App prospective.
My doubt is, why remoteViews.setImageViewResource call does not work
properly.


Code snippet:
RemoteViews remoteViews = null;
private void showNotification(int n) {
if(remoteViews == null)
{
remoteViews = new RemoteViews(getPackageName(),//call always to fix the
problem
R.layout.activity_lesson_one);
setupRemoteButtons(remoteViews);
}

mNotification.icon = R.drawable.ic_launcher;
mNotification.contentView = remoteViews;
remoteViews.setTextViewText(R.id.text1, Integer.toString(n) );
remoteViews.setImageViewResource(R.id.image1, num % 2 == 0 ? R.drawable.a :
R.drawable.b);

mNotiManager.notify(getPackageName(), 0x07010004, mNotification);
}

if i initialize RemoteViews once and use it. problem occurs... To fix this,
I need to make object of RemoteViews  every showNotification() call.

If Issue occurs once , notification never update again.

So plz tell me the exact working of Remote View.. it is not documented
anywhere.

-- 
Thank  Regards
Peeyush Varshney

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Remote View Issue

2013-10-14 Thread Peeyush Varshney
Dear All,

I am updating RemoteView from Services, but if I pass PendingIntent very
fast.
RemoteView is not updating..

I got the fix, but i doest feel .. it is good from App prospective.
My doubt is, why remoteViews.setImageViewResource call does not work
properly.


Code snippet:
RemoteViews remoteViews = null;
private void showNotification(int n) {
 if(remoteViews == null)
 {
 remoteViews = new RemoteViews(getPackageName(),//call always to fix
the problem
R.layout.activity_lesson_one);
setupRemoteButtons(remoteViews);
 }

mNotification.icon = R.drawable.ic_launcher;
mNotification.contentView = remoteViews;
remoteViews.setTextViewText(R.id.text1, Integer.toString(n) );
remoteViews.setImageViewResource(R.id.image1, num % 2 == 0 ? R.drawable.a :
R.drawable.b);

mNotiManager.notify(getPackageName(), 0x07010004, mNotification);
}

if i initialize RemoteViews once and use it. problem occurs... To fix this,
I need to make object of RemoteViews  every showNotification() call.

If Issue occurs once , notification never update again.

So plz tell me the exact working of Remote View.. it is not documented
anywhere.

-- 
Thank  Regards
Peeyush Varshney

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] ActivityNotFound issue

2012-05-15 Thread Peeyush Varshney
As your activity is not present, attach the logs also if it is possible.

On Mon, May 14, 2012 at 10:13 AM, DMac danielmac...@gmail.com wrote:

 I am trying to test the progress of my program so far with a statement.
 The statement is within an activity that is called by another activity
 before, and that one is called by another activity before that (so an
 activity within an activity within an activity). The problem is when I run
 the program, I come into an error that says ActvityNotFoundException and
 the emulator has to force close, however, all my classes extend the
 Activity class. I am not sure how to solve the problem since I do not think
 I should have one. I uploaded my files to allow for checking.

 --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] send string to javascript from android java file

2012-02-22 Thread Peeyush Varshney
Check WebView source code.. there is communication from JavaScript..

On Wed, Feb 22, 2012 at 3:25 PM, ANKUR GOEL ankur1...@gmail.com wrote:

 hi all ,

 i just need to send one string value to javascrpit file .

 i am able to send call javacript function from java file but not able to
 send values from java to javascript

 --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Adding extraneous files to APK?

2012-02-15 Thread Peeyush Varshney
Is it Apps specific? if it is common then you can keep into prebuilt folder
and do the changes in .mk file..

On Wed, Feb 15, 2012 at 9:52 PM, Mark Winchester mwinches...@gmail.comwrote:

 I've got some so files that I'm building from pre-existing code.  I'm
 trying to use it, as is, but I've run into a problem.  The source
 relies on two extraneous files that are expected to exist in the same
 directory as the so.  If I push the files to the correct location,
 with the adb, everything works as expected.  I thought that putting
 the files in the assets folder of the project would work, but that
 was not the case.  Is there a way to add these files to the project,
 so that they are installed with the libraries?

 --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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] APK info

2012-01-18 Thread Peeyush Varshney
Dear all,

How can we know the total number of library(static, dynamic etc ) included
in am particular .apk file.

-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Re: Proguard fails on second run with Conversion to Dalvik format failed with error 1

2012-01-10 Thread Peeyush Varshney
hi daz,
what do you mean..
can you please elaborate more..

On Wed, Jan 11, 2012 at 12:51 PM, Daz kuffs2...@gmail.com wrote:

 When you update ADT they will be reset back to the old versions so you
 will need to update again. (catches me every time)

 --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Proguard fails on second run with Conversion to Dalvik format failed with error 1

2012-01-09 Thread Peeyush Varshney
just call given below line and comment previous one in given location
\tools\proguard\bin

#call %java_exe% -jar %PROGUARD_HOME%\lib\proguard.jar %*
call %java_exe% -jar %PROGUARD_HOME%\lib\proguard.jar %1 %2 %3 %4 %5 %6
%7 %8 %9


On Mon, Jan 9, 2012 at 4:29 PM, Stephan Wiesner
testexpe...@googlemail.comwrote:

 Hi I am trying to get proguard running but keep running into problems.
 I use Eclipse and have a fresh system (Java, Eclipse, everything freshly
 installed and updated, keystore created new in eclipse)

 Export of signed APK works exactly once!
 On second run (no changes in the code or the configuration) I get an error
 (see below)
 This happens on different apps, even  newly created with no custom code of
 mine at all, and on different machines.

 My project.properties just contain:

 target=android-7
 proguard.config=proguard.cfg

 my proguard was not touched at all (eclipse default)




 com.android.ide.eclipse.adt.internal.build.DexException: Conversion to
 Dalvik format failed with error 1
 at
 com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:756)
 at
 com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:207)
 at
 com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(ExportWizard.java:290)
 at
 com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.access$0(ExportWizard.java:229)
 at
 com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard$1.run(ExportWizard.java:214)
 at
 org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


 Any help apreciated!
 Thanks,
 Stephan

 --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] focus the last element of scroll view

2012-01-06 Thread Peeyush Varshney
Use android:fillViewport=true in your xml file.

On Fri, Jan 6, 2012 at 12:57 PM, Ratheesh Valamchuzhy
android...@gmail.comwrote:

 i  created a scroll view in xml.. i set the height of the scroll view as
 wrap content  ...and i add one linear layout to this scroll
 view programmaticaly
 what is my issue is when we add more content to the linear layout  i want
 to focus the last element in the scroll view ?
 how it is possible...


 here is my code


   sv1=   (ScrollView) findViewById(R.id.scrollView1);

LinearLayout linearLayout =
 (LinearLayout)findViewById(R.id.LinearLayout01);
LinearLayout linearLayout1=new  LinearLayout(this);

// linearLayout.setGravity(gravity)
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
chat_content =new TextView(this);chat_content.setText(msg);
chat_content.setTextColor(getResources().getColor(R.color.black));
chat_content.setGravity(Gravity.LEFT);
linearLayout1.setGravity(Gravity.LEFT);
params.setMargins(1, 5, 1, 5);
linearLayout1.setLayoutParams(params);
chat_content.setBackgroundDrawable(chatleft); chat_content.setPadding(10,1,
 10, 1);
chat_content.setGravity(android.view.Gravity.CENTER_VERTICAL);
 TextView tv1 =new TextView(this);
chat_content.setLayoutParams(new LinearLayout.LayoutParams(180,
 LayoutParams.WRAP_CONTENT));

linearLayout1.addView(chat_content);linearLayout1.addView(tv1);
linearLayout.addView(linearLayout1) ;
sv1 .fullScroll(View.FOCUS_DOWN);


 after running this code

 i cant see the last element in the scroll view...i want to fucus the last
 elemnt in the scrolviwhelp me


 --
 --
 ωιтн яєgαя∂ѕ
 Ratheesh * *...


  --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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] Android 2.0.1 Platform source code

2011-02-15 Thread peeyush varshney
Hi,

How would i get the Android 2.0.1 Platform /sdk/android-2.0.1.html SDK.

-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Question on dalvik dx

2011-02-11 Thread peeyush varshney
Hi,

what error you are getting. make one build.xml to remove compilation error.

On Fri, Feb 11, 2011 at 11:51 PM, LG lgma...@gmail.com wrote:

 Hi All,

 i want to hide certain classes and include them as a jar file
 So this is what i have done

 My files are Foo.java and Bar.java
 I want to hide Bar.java

 dx --dex --output=Bar.jar Bar.class

 now i have Bar.jar ready and it solves my initial requirement
 But now my question is, Foo.java references Bar class
 So now my compilation fails for Foo.java

 I tried including Bar.jar into my project but still it doesnt work
 Could someone throw some light on this and help me out of this situation.

 Thanks in Advance
 LG

 --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Question on dalvik dx

2011-02-11 Thread peeyush varshney
It is nothing with android project dear. it is just xml file mention below
attribute

!-- project env --
 !-- Dependencies --
   !-- jar --
!-- compilation options --

On Sat, Feb 12, 2011 at 12:19 AM, LG lgma...@gmail.com wrote:

 Oh! how do i do that.. i have never used a build.xml in a android project.
 Could you please tell me how do i create one

 Thanks
 LG



 On Sat, Feb 12, 2011 at 12:11 AM, peeyush varshney 
 varshney.peey...@gmail.com wrote:

 Hi,

 what error you are getting. make one build.xml to remove compilation
 error.

 On Fri, Feb 11, 2011 at 11:51 PM, LG lgma...@gmail.com wrote:

 Hi All,

 i want to hide certain classes and include them as a jar file
 So this is what i have done

 My files are Foo.java and Bar.java
 I want to hide Bar.java

 dx --dex --output=Bar.jar Bar.class

 now i have Bar.jar ready and it solves my initial requirement
 But now my question is, Foo.java references Bar class
 So now my compilation fails for Foo.java

 I tried including Bar.jar into my project but still it doesnt work
 Could someone throw some light on this and help me out of this situation.


 Thanks in Advance
 LG

 --
 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




 --
 Thank  Regards
 Peeyush Varshney

 --
 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


  --
 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




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Create a view like the notification area

2011-01-19 Thread peeyush varshney
Use popupwindow
On 20-Jan-2011 8:41 AM, Mark Murphy mmur...@commonsware.com wrote:
 Use a SlidingDrawer. Or, use the source of a SlidingDrawer as a
 starting point for rolling your own custom View.

 On Wed, Jan 19, 2011 at 10:02 PM, Jason jason.poli...@gmail.com wrote:
 Hi all,

 I'm wanting to create a view that behaves the same as the notification
 area.

 Let me explain:

 I want one view being displayed on screen, with a toolbar at the top
 of this view which behaves like the notification bar on the device.
 So when you just touch this toolbar, a dragable grab bar appears
 below the toolbar which you can then drag down.  This dragable section
 would contain another view.

 Basically exactly how the notification area works on the device.  If
 you just touch it a drag bar appears which you can then drag down
 over whatever is in view to show the current notifications.  I want to
 do basically the same thing within an app.

 Anyone got any clever ways of achieving this?

 Thanks.

 --
 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.comandroid-developers%2bunsubscr...@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/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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] build error

2011-01-17 Thread peeyush varshney
dear All,

i am getting below error while building gingerbread code.
please help me.

build/core/base_rules.mk:74: *** Module name: native-audio-jni
build/core/base_rules.mk:75: *** Makefile location:
Downloads/android-ndk-r5/samples/native-audio/jni
build/core/base_rules.mk:76: *
build/core/base_rules.mk:77: * Each module must use a LOCAL_MODULE_TAGS in
its
build/core/base_rules.mk:78: * Android.mk. Possible tags declared by a
module:
build/core/base_rules.mk:79: *
build/core/base_rules.mk:80: * optional, debug, eng, tests, samples
build/core/base_rules.mk:81: *
build/core/base_rules.mk:82: * If the module is expected to be in all builds
build/core/base_rules.mk:83: * of a product, then it should use the
build/core/base_rules.mk:84: * optional tag:
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: *Add LOCAL_MODULE_TAGS := optional in the
build/core/base_rules.mk:87: *Android.mk for the affected module, and
add
build/core/base_rules.mk:88: *the LOCAL_MODULE value for that component
build/core/base_rules.mk:89: *into the PRODUCT_PACKAGES section of
product
build/core/base_rules.mk:90: *makefile(s) where it's necessary, if
build/core/base_rules.mk:91: *appropriate.
build/core/base_rules.mk:92: *
build/core/base_rules.mk:93: * If the component should be in EVERY build of
ALL
build/core/base_rules.mk:94: * products, then add its LOCAL_MODULE value to
the
build/core/base_rules.mk:95: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:96: * build/target/product/core.mk
build/core/base_rules.mk:97: *
build/core/base_rules.mk:98: *** user tag detected on new module - user tags
are only supported on legacy modules.  Stop.


-- 
Thank  Regards
Peeyush Varshney

-- 
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] JDK 5 problem

2011-01-10 Thread peeyush varshney
Dear All,

sun-java5-jdk is not getting installed in ubuntu 10.04. how to make it
possible.

-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] JDK 5 problem

2011-01-10 Thread peeyush varshney
package is not there...

On Mon, Jan 10, 2011 at 11:05 PM, Kumar Bibek coomar@gmail.com wrote:

 Whats the error?

 Kumar Bibek
 http://techdroid.kbeanie.com
 http://www.kbeanie.com



 On Mon, Jan 10, 2011 at 11:04 PM, peeyush varshney 
 varshney.peey...@gmail.com wrote:

 Dear All,

 sun-java5-jdk is not getting installed in ubuntu 10.04. how to make it
 possible.

 --
 Thank  Regards
 Peeyush Varshney

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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] repo intialization

2011-01-10 Thread peeyush varshney
Dear All,

i wanted to initialize the repo in specific folder. whenever  i initialized
the  repo . it initialize in home folder only even i make the directory and
run the command.
my concerned is to keep the froyo and gingerbeard code in separate folder,
but it will replace previous one.


-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] JDK 5 problem

2011-01-10 Thread peeyush varshney
i am using ubunu 10.04. It does not have jdk 5 related package. If i
download the binary from oracle link n try to install. It shows some .so
dependency.

Thanks
On 11-Jan-2011 12:03 AM, TreKing treking...@gmail.com wrote:
 On Mon, Jan 10, 2011 at 12:02 PM, peeyush varshney 
 varshney.peey...@gmail.com wrote:

 package is not there...


 You're really going to have to provide more information if you expect to
get
 help.

 Try googling the EXACT error you're getting, for starters.


-
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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

Re: [android-developers] invoke my application at given Date/Time

2010-12-29 Thread peeyush varshney
Same like Alarm application..

On Mon, Dec 27, 2010 at 7:08 PM, asinha asinha.vocoll...@gmail.com wrote:

 How can I invoke my android application at given Date/Time, say daily
 at 9am?

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Is a Vertical Seekbar possible?

2010-12-26 Thread peeyush varshney
You can have it..
you have to create cusom view ..there is no xml property..

On Sat, Dec 25, 2010 at 11:50 PM, John Lussmyer johnlussm...@gmail.comwrote:

 I'd like to have a Seekbar oriented vertically, but I can't figure out how
 to do it.
 Is it possible?

  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Re: WiFi Problem

2010-12-14 Thread peeyush varshney
I have tried the same but i is not working. building Android is fine with
me.
but WiFi is not working..

On Mon, Dec 13, 2010 at 11:01 AM, nysofmind nysofm...@gmail.com wrote:

 Left click on the wave icon in the top right  create New wireless
 network  enter your network name, select security, and type in key.
 That should work. Then download eclipse and android sdk. I only
 mention this because this forum is for android, hope you are fortunate
 in building your apps.

 On Dec 12, 11:54 am, peeyush varshney varshney.peey...@gmail.com
 wrote:
  Dear All,
 
  I have installed ubuntu 10.4.  I am trying hard to access internet using
  WiFI connection.
  Can somebody tell me how to do enable WiFi access on ubuntu.
 
  --
  Thank  Regards
  Peeyush Varshney

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] hiiiiiiii

2010-12-14 Thread peeyush varshney
You are already with this group.

On Sat, Dec 11, 2010 at 5:38 PM, divya divfriends1...@gmail.com wrote:

 add me to this group

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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] WiFi Problem

2010-12-12 Thread peeyush varshney
Dear All,

I have installed ubuntu 10.4.  I am trying hard to access internet using
WiFI connection.
Can somebody tell me how to do enable WiFi access on ubuntu.

-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] WISH YOU HAPPY DIWALI

2010-11-02 Thread peeyush varshney
Dear All,

I am trying to install ubuntu inside window but i am facing some
difficulties.

1) if i install ubuntu by just clicking on webu. it is showing some error at
last.
2) if i install using boot devices.. i am not able to proceed after
selecting the partition info.(I select exist partition).

Regards,
Peeyush


On Tue, Nov 2, 2010 at 9:08 PM, subrat kumar panda 
evergreen.sub...@gmail.com wrote:

 Thank You , Wish u Diwali 2 u also.

 On Tue, Nov 2, 2010 at 2:55 PM, narasimha rao knarasimha@gmail.com
 wrote:
  hi,
 
  WISH YOU HAPPY DIWALI  ALL  MOBILE DEVELOPERS
 
  --
  Thanks  Regards,
 
  KVL Narasimha Rao.
  Contact No: +91 9912656178
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] custom seek bar

2010-06-09 Thread peeyush varshney
Hi,
you just need to set the thumb and progress bar as @drawable/seeker in xml
file.
and if you want more customization then you have to extend ur class from
View class.

On Wed, Jun 9, 2010 at 2:21 PM, Renuka Deshpande 
renukanil.deshpa...@gmail.com wrote:

 Hello All,

 I am new to android. I want to customize a seek bar like attached
 image.white and brown portions are the images.
 Can anybdy tell me how to do that?

 --
 Thanks  Regards,
 Renuka

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] Re: Handling Orientation Changes that occur in another Activity

2010-06-03 Thread peeyush varshney
Hi Jeff,

Whenever you change the configuration of device. you ll get
onConfigurationChanged() call madatory. there you need to change the layout
if you define different layout for landscape and portrait mode else system
will take care.
No need for onConfigurationChanged().



On Thu, Jun 3, 2010 at 7:26 PM, Jeff Thorn jeff.th...@gmail.com wrote:

 I have not defined these settings. I just want the WebView to fill the
 entire screen. Until the camera is launched, the default layout and scaling
 settings work just fine.

 It looks like somewhere the Scale setting gets changed from 1.5 to 1.0
 after I call WebView.restoreState(). I don't want to hard code anything so I
 am not sure of the best way to change it back.


 On Thu, Jun 3, 2010 at 9:51 AM, greg sep...@eduneer.com wrote:

 You didn't mention if you've defined separate layout-land and layout-
 port for your activity.

 On Jun 3, 9:11 am, Jeff jeff.th...@gmail.com wrote:
  I am having an interesting problem and would appreciate any advice. My
  app uses WebView as its primary view. Using a javascript hook, it can
  launch the camera so the user can take a picture. The camera is
  launched using
 
  Intent i = new
  Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
 
  When the camera starts, it makes sense to use landscape mode, so the
  user naturally turns the phone on its side. After the user takes a
  picture, control returns to my launching Activity (actually, my
  Acitivity gets restarted because it usually gets destroyed to free up
  memory for the camera on my Moto Droid). When my WebView gets
  recreated, I restore its state from the Bundle I saved in
  onSaveInstanceState().
 
  Now everything looks ok, except the phone is still in landscape mode.
  However, when the user turns the phone upright bringing back into
  portrait mode, my WebView takes up only half of the screen. Somewhere
  along the way, the scale of my WebView got lost. This seems like such
  a minor issue, but it is driving me crazy.
 
  Does anyone have an idea why this might be happening? What is the
  correct way to preserve the scale of my WebView? I am hesitant to hard
  code any scale factors because what looks good on my device may not be
  the same for another.
 
  Thanks,
  Jeff

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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

Re: [android-developers] HttpsURLConnection returns -1 code on second request

2010-05-18 Thread peeyush varshney
Hi,

Please chech this:

private boolean CheckInternetConnection
 {
Log.d(TAG, CheckInternetConnection() );
try
{
URL url = new URL(http://www.google.com/;);// ...
HttpURLConnection urlc = (HttpURLConnection)
url.openConnection();
urlc.setRequestProperty(User-Agent, My Android IMservice);
urlc.setRequestProperty(Connection, close);
urlc.setConnectTimeout(1000 * 10); // mTimeout is in seconds
urlc.connect();
if (urlc.getResponseCode() == 200)
{
return true;
}
}
catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}
return false;

}

On Sat, May 15, 2010 at 11:51 PM, Arkaitz Jimenez arkai...@gmail.comwrote:

 Hi all,
 I think I'm experiencing the same as
 http://groups.google.com/group/android-developers/msg/9d37d64aad0ee357
 This is Android 1.5 SDK.
 I happen to call several times below code(which is in a method) with
 the same url and it fails intermitently.
 When it fails, there is no exception, the stream is empty so the
 readConnection fails, and getResponseCode returns -1.
 Global caching is disabled, setDefaultUseCaches(false);

 Any idea on how can I workaround this?

HttpURLConnection connection = null;
try {
URL url = new URL(this.url);
connection = (HttpURLConnection) url.openConnection();
connection.setRequestProperty(Authorization, basic  +
 Base64Coder.encodeString(user + : + password));
connection.setRequestProperty(User-Agent, userAgent);
connection.connect();

readConnection(connection.getInputStream());

connection.disconnect();
} catch (IOException ex) {
   reportException(ex, connection.getResponseCode())
} catch (ParserException ex) {
   reportException(ex, connection.getResponseCode())
}

 Thanks

 Arkaitz

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thank  Regards
Peeyush Varshney

-- 
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 redirect the Logs into an file.

2009-10-16 Thread peeyush varshney
Hi,
  I want to redirect the Logs into an file. How should i proceed
?

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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 place an ImageView to a specific location on the screen ?

2009-08-20 Thread peeyush varshney
Use Absolute Layout or WebView

On Fri, Aug 21, 2009 at 3:15 AM, Emre A. Yavuz eayl...@hotmail.com wrote:


 Hi,

 Does anybody know how to place an ImageView object to a specific location
 on the screen or a tutorial/website etc. that may help me to figure it out
 myself ?

 Let's say I have an image to be placed exactly at a certain location (when
 x and y coordinates are provided) on the screen.

 Thanks in advance for your help.

 Cheers,

 Emre



 --
 Stay in the loop and chat with friends, right from your inbox! Learn 
 how!http://go.microsoft.com/?linkid=9671349
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: EditText size and virtual keyboard

2009-08-18 Thread peeyush varshney
Hi,
I am also facing same problem but i never used hard code in my
program.

On Tue, Aug 18, 2009 at 9:21 PM, Balwinder Kaur (T-Mobile USA) 
balwinder.k...@t-mobile.com wrote:


 The problem is that you have specified android:layout_height=260dip
 for the TextView. If you change it to wrap_content, you will be able
 to work with your EditText.

 Balwinder Kaur
 Open Source Development Center
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.


 On Aug 18, 8:13 am, oleberre olebe...@gmail.com wrote:
  Hi all.
 
  I am creating a application based on a RelativeLayout.
  I am using some EditText to enter some data.
  In particular, one of those EditText occupied the place left
  by the other components using layout_below and layout_above
  attributes.
  The problem is that when I enter this specific EditText instance, the
  virtual keyboard
  shows up, but my EditText becomes invisible.
  I tried a few things like adding the minLines and/or minHeight
  attributes  on the EditText instance
  to try to make sure that a minimum should be visible but it still
  becomes invisible.
  Funny thing is that other EditText placed just using layout_below are
  displaying ok.
 
  You can find below a simple layout allowing to reproduce the problem
  easily.
 
  Any help would be appreciated.
 
  Regards.
  Olivier.
 
  RelativeLayout
  android:id=@+id/RelativeLayout01
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  xmlns:android=http://schemas.android.com/apk/res/android;
  android:padding=10dip android:isScrollContainer=true
 
  TextView
  android:id=@+id/subjecttv
  android:layout_width=fill_parent
  android:layout_height=260dip
  android:layout_alignParentTop=true
  android:text=@string/email_subject/
 
  Button
  android:id=@+id/send
  android:layout_width=wrap_content
  android:layout_height=wrap_content
  android:layout_alignParentBottom=true
  android:layout_alignParentRight=true
  android:layout_marginLeft=10dip
  android:text=@string/email_send
  android:drawableLeft=@drawable/mail_send32_32/
 
  EditText
  android:id=@+id/content
  android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:minHeight=50dip
  android:layout_below=@id/subjecttv
  android:layout_above=@id/send
  android:background=@android:drawable/editbox_background
  android:scrollbars=vertical
  android:gravity=top android:isScrollContainer=true
  android:minLines=4
  /EditText
 
  /RelativeLayout
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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] ImageView

2009-07-27 Thread peeyush varshney
Hi,
   I want to show set of images like Toast when i click on Button. it
should be like ..first Image then second n next and last and disappeared
.

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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 Speed up Animation

2009-07-21 Thread peeyush varshney
Hi,
  How to free the memory created by Animation.

On Tue, Jul 21, 2009 at 10:25 PM, doubleslash doublesl...@gmail.com wrote:


 I have a static background image, and a foreground that needs to be
 animated. I tried a couple different approaches but the animation
 seemed choppy.

 One thing I did was having 2 different views, constantly calling
 invalidate() on the foreground view. Another was to have only 1
 surfaceview, redrawing the background image and the foreground on each
 step of the animation. While a surfaceview offers an optimal way to do
 heavy-duty animation, having to redraw the background every time kills
 the performance. Neither produced a smooth animation.

 What is the best way to perform this kind of animation--static
 background and animated foreground?

 Many thanks.
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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 can i place a button in image view?

2009-07-20 Thread peeyush varshney
Hi,
   You can not keep built-in widget over anthor ..u hav to create Custom
control which extend from Image View.

Or tell me clear what u want to do..
On Mon, Jul 20, 2009 at 12:35 PM, android.vinny vinny.s...@gmail.comwrote:


 HI
 How can i place a Image Buttons on the Image View

 If i click the grid view i vl get a image in full screen i want tplace
 the imagebuttons on the images how can i place that give me some
 suggestions 


 thanks a lot in advance
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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 can i place a button in image view?

2009-07-20 Thread peeyush varshney
Hi,You can not keep built-in widget over anthor built-in ..you need to
create Custom Image which is having two button..thats aLL..

On Mon, Jul 20, 2009 at 3:37 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote:

 HI

 my activity will show the image in full screen

 in that full screen image botom i want to place two buttons when i click
 the photo the buttions shouls visible for 10 sec and should g to invisible
 mode after ..



  On Mon, Jul 20, 2009 at 3:34 PM, peeyush varshney 
 varshney.peey...@gmail.com wrote:


 Hi,
You can not keep built-in widget over anthor ..u hav to create Custom
 control which extend from Image View.

 Or tell me clear what u want to do..
  On Mon, Jul 20, 2009 at 12:35 PM, android.vinny vinny.s...@gmail.comwrote:


 HI
 How can i place a Image Buttons on the Image View

 If i click the grid view i vl get a image in full screen i want tplace
 the imagebuttons on the images how can i place that give me some
 suggestions 


 thanks a lot in advance

 --
 Thank  Regards
 Peeyush Varshney





 --
 Regards
 ---
 Desu Vinod Kumar
 vinny.s...@gmail.com
 09176147148


 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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] EditText

2009-07-17 Thread peeyush varshney
Hi,
 How to make a TextView Editable.

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: EditText

2009-07-17 Thread peeyush varshney
it depends on Context like when Qwerty is closed it should be TexView
otherwise editText..

On Fri, Jul 17, 2009 at 5:12 PM, Peli peli0...@googlemail.com wrote:


 Why don't you simply use EditText?

 Peli
 www.openintents.org

 On Jul 17, 11:15 am, peeyush varshney varshney.peey...@gmail.com
 wrote:
   Hi,
   How to make a TextView Editable.
 
  --
  Thank  Regards
  Peeyush Varshney
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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] TextView

2009-07-15 Thread peeyush varshney
Hi,
 How can i make TextView editable when i needed.

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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] View Problem

2009-07-11 Thread peeyush varshney
Hi,
 I want when I open my Activity it shows Built-in Control that is
id/metronome_image in given xml. but when i click over it
should replace with my Custom control that is CustomMetronome in given xml.
when i click again outside it should replace back to Built-In.


FrameLayout android:id=@+id/metro android:layout_width=wrap_content
   android:layout_height=fill_parent
   ImageView android:id=@+id/metronome_image
android:layout_width=260dip android:layout_height=wrap_content
android:gravity=center android:paddingLeft=10dip
android:focusable=false/
   !--
   ImageView android:layout_width=260dip
android:layout_height=wrap_content android:src=@drawable/metronome
android:layout_gravity=center android:paddingLeft=10dip /
   com.sharp.android.customcontrols.CustomMetronome
android:id=@+id/metronome_image android:layout_width=wrap_content
android:layout_height=wrap_content android:paddingTop=135dip
android:paddingLeft=15dip /
   --
  /FrameLayout

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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] Image

2009-07-07 Thread peeyush varshney
Hi All,
Has anyone customized the Image. Actually I want to have one Image
and over that one more samll Seeker Type image,
Is it possible. Do anyone have some Idea please help me out..

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: Image

2009-07-07 Thread peeyush varshney
I want that user can move smaller one and drop any where he want over Big
Image.
It is almost same as SeekBar. I tried same with vertical SeekBar with also.
but SeekBar Thumb  is not getting adjust according to progress.

On Wed, Jul 8, 2009 at 11:00 AM, Balwinder Kaur (T-Mobile) 
balwinder.k...@t-mobile.com wrote:


 You can try something like this :

 Create a mutable bitmap from your original image.
 //You can use the BitmapFactory class for that.
 http://developer.android.com/reference/android/graphics/BitmapFactory.html
 Lets call it Bitmap b;
 Create a Canvas c as show below.
 Canvas c = new Canvas(b);
 Create another bitmap from the small Seeker Type image. Lets call it
 Bitmap bsmall.
 c.drawBitmap(bsmall, ...); //Choose one of the drawBitmap methods
 http://developer.android.com/reference/android/graphics/Bitmap.html

 Balwinder Kaur
 Open Source Development Center
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Jul 7, 10:02 pm, peeyush varshney varshney.peey...@gmail.com
 wrote:
   Hi All,
  Has anyone customized the Image. Actually I want to have one
 Image
  and over that one more samll Seeker Type image,
  Is it possible. Do anyone have some Idea please help me out..
 
  --
  Thank  Regards
  Peeyush Varshney
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: SeekBar

2009-07-06 Thread peeyush varshney
Hi Jack,

 I have implemented the Vertical SeekBar. But when i am setring the
progress using setProgress() . Progress is ok(means yellow shadow is working
right) but Thumb also should move along with Yellow shadow.. But it is not
moving properly.
I am not getting what should i do..

Thanks,
Peeyush
On Mon, Jul 6, 2009 at 11:26 AM, Jack Ha jack...@t-mobile.com wrote:


 Hi Peeyush,

 Not sure exactly what you would like to do but you might want to take
 a look at the SeekBar.setProgress(position) function.

 --
 Jack Ha
 Open Source Development Center
 ・T・ ・ ・Mobile・ stick together

 The views, opinions and statements in this email are those of
 the author solely in their individual capacity, and do not
 necessarily represent those of T-Mobile USA, Inc.



 On Jul 5, 10:22 pm, peeyush varshney varshney.peey...@gmail.com
 wrote:
   Hi,
  How to set the thumb position when progress has changed.
 
  --
  Thank  Regards
  Peeyush Varshney
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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] SeekBar

2009-07-05 Thread peeyush varshney
Hi,
How to set the thumb position when progress has changed.

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: ListView

2009-06-30 Thread peeyush varshney
Can you send me the code for CustomList..

On Tue, Jun 30, 2009 at 11:58 AM, Rahul nakate.ra...@gmail.com wrote:


 hi all

 i have one problem in ListView ; i am created Custom List and in my
 list the diveder is not Coming even every where. some time it gives
 some extra thickness to diveder. i dont undestand the problem plz help
 me


 thank you
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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 Dismissal

2009-06-24 Thread peeyush varshney
Hi,
   I am creating Spinner over PopupWindow .But when I press back key in
opened Spinner. it dismiss the Spinner as well as PopupWindow.
It should close the Spinner only and come back to PopupWindow.but it is no
happening.
How should  I handle this scenrio.

-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: Is it possible to theme the activity animation?

2009-06-17 Thread peeyush varshney
hi,
you need to set this theme in your manifest file with corresponding
Activity..



On Thu, Jun 18, 2009 at 9:41 AM, z zl25dre...@gmail.com wrote:


 Anyone? I tried the following but it didnt seem to have any effects at
 all?

style name=Theme parent=android:Theme
item name=android:windowBackground@null/item
item name=android:windowNoTitletrue/item
item name=android:windowAnimationStyle@style/
 My.Animation.Activity/item

/style


style name=My.Animation.Activity
 parent=android:Animation.Activity

item name=android:activityOpenEnterAnimation@anim/
 slide_out_top/item
item name=android:activityOpenExitAnimation@anim/
 slide_out_top/item
item name=android:activityCloseEnterAnimation@anim/
 slide_out_top/item
item name=android:activityCloseExitAnimation@anim/
 slide_out_top/item
item name=android:taskOpenEnterAnimation@anim/
 slide_out_top/item
item name=android:taskOpenExitAnimation@anim/
 slide_out_top/item
item name=android:taskCloseEnterAnimation@anim/
 slide_out_top/item
item name=android:taskCloseExitAnimation@anim/
 slide_out_top/item
item name=android:taskToFrontEnterAnimation@anim/
 slide_out_top/item
item name=android:taskToFrontExitAnimation@anim/
 slide_out_top/item
item name=android:taskToBackEnterAnimation@anim/
 slide_out_top/item
item name=android:taskToBackExitAnimation@anim/
 slide_out_top/item
/style

 On Jun 17, 3:40 pm, z zl25dre...@gmail.com wrote:
  Hi, can someone tell me if I can change the activity animation by
  applying a theme?
 
  style name=Animation.Activity
  item name=activityOpenEnterAnimation@anim/task_open_enter/
  item
  item name=activityOpenExitAnimation@anim/task_open_exit/
  item
  item name=activityCloseEnterAnimation@anim/
  task_close_enter/item
  item name=activityCloseExitAnimation@anim/task_close_exit/
  item
  item name=taskOpenEnterAnimation@anim/task_open_enter/
  item
  item name=taskOpenExitAnimation@anim/task_open_exit/item
  item name=taskCloseEnterAnimation@anim/task_close_enter/
  item
  item name=taskCloseExitAnimation@anim/task_close_exit/
  item
  item name=taskToFrontEnterAnimation@anim/task_open_enter/
  item
  item name=taskToFrontExitAnimation@anim/task_open_exit/
  item
  item name=taskToBackEnterAnimation@anim/task_close_enter/
  item
  item name=taskToBackExitAnimation@anim/task_close_exit/
  item
  /style
 
  I know the change will not be global, but is it even possible to make
  the change to be applied within my own app? For example, if i have an
  app that does not want to standard slide in/out animation on start/
  exit, is it possible to change them?
 
  Thanks,
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: Transparent background overlay of SurfaceView broken on 1.5

2009-06-17 Thread peeyush varshney
Hi,
Ya, It is true..Transparency is not working with r1 patch, You can
take Android new patch( r2 ).. it will give proper response..

On Thu, Jun 18, 2009 at 8:02 AM, Sarnoth jesse.st...@gmail.com wrote:


 I believe I have found a graphics bug introduced in the 1.5 platform.
 I'm looking for some confirmation (or a description of what I'm doing
 wrong) before reporting it as a real bug.

 I have a SurfaceView that fills the screen and on top of that I have a
 LinearLayout that wraps some other components that overlay the
 surface. These other components are not visible most of the time, and
 the LinearLayout has a transparent background so that the SurfaceView
 is unobstructed until the other components are made visible. Under 1.0
 and 1.1 this all worked with a background of # for the
 LinearLayout. Now under 1.5 there is a black rectangle obstructing my
 surface unless I give the LinearLayout background some color. I can
 still keep the transparency so it is still invisible as it should be
 but it is strange that it can't be black and invisible anymore. My
 layout is below. The background of #0001 works, but changing it to
 # results in a black rectangle.

 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
 android
android:layout_width=fill_parent
android:layout_height=fill_parent
android:keepScreenOn=true
android:background=#000
SurfaceView
android:id=@+id/surface
android:layout_width=fill_parent
android:layout_height=fill_parent/
LinearLayout
android:layout_width=fill_parent
android:layout_height=wrap_content
android:background=#0001
android:paddingRight=85dp
android:layout_centerInParent=true
android:orientation=vertical
android:gravity=center_horizontal
TextView
android:id=@+id/game_large
android:layout_width=wrap_content
android:layout_height=wrap_content
android:paddingBottom=8dp
android:background=#
android:textColor=#
android:shadowColor=#FF00
android:shadowRadius=6
android:textSize=36sp
android:textStyle=bold
android:visibility=invisible
android:text=@string/paused/
TextView
android:id=@+id/game_small
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_centerHorizontal=true
android:background=#
android:textColor=#
android:shadowColor=#FF00
android:shadowRadius=3
android:textSize=18sp
android:textStyle=bold
android:visibility=invisible
android:text=@string/paused_detail/
/LinearLayout
 /RelativeLayout

 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: Is it possible to theme the activity animation?

2009-06-17 Thread peeyush varshney
No need to write  android:stateNotNeeded=true Just use given code in
Manifest ..Name n Theme..

activity android:name=Menu android:theme=@style/MyTheme/activity
And use code in Style file like this

style name=MyTheme
and include your corresponding attribute no need to inherit parent theme...
Tell me what u want to do exactly..

On Thu, Jun 18, 2009 at 10:22 AM, z zl25dre...@gmail.com wrote:


 I did that, nothing was changed
activity
android:stateNotNeeded=true
android:theme=@style/Theme
.


 On Jun 18, 12:49 am, peeyush varshney varshney.peey...@gmail.com
 wrote:
  hi,
  you need to set this theme in your manifest file with corresponding
  Activity..
 
 
 
   On Thu, Jun 18, 2009 at 9:41 AM, z zl25dre...@gmail.com wrote:
 
   Anyone? I tried the following but it didnt seem to have any effects at
   all?
 
  style name=Theme parent=android:Theme
  item name=android:windowBackground@null/item
  item name=android:windowNoTitletrue/item
  item name=android:windowAnimationStyle@style/
   My.Animation.Activity/item
 
  /style
 
  style name=My.Animation.Activity
   parent=android:Animation.Activity
 
  item name=android:activityOpenEnterAnimation@anim/
   slide_out_top/item
  item name=android:activityOpenExitAnimation@anim/
   slide_out_top/item
  item name=android:activityCloseEnterAnimation@anim/
   slide_out_top/item
  item name=android:activityCloseExitAnimation@anim/
   slide_out_top/item
  item name=android:taskOpenEnterAnimation@anim/
   slide_out_top/item
  item name=android:taskOpenExitAnimation@anim/
   slide_out_top/item
  item name=android:taskCloseEnterAnimation@anim/
   slide_out_top/item
  item name=android:taskCloseExitAnimation@anim/
   slide_out_top/item
  item name=android:taskToFrontEnterAnimation@anim/
   slide_out_top/item
  item name=android:taskToFrontExitAnimation@anim/
   slide_out_top/item
  item name=android:taskToBackEnterAnimation@anim/
   slide_out_top/item
  item name=android:taskToBackExitAnimation@anim/
   slide_out_top/item
  /style
 
   On Jun 17, 3:40 pm, z zl25dre...@gmail.com wrote:
Hi, can someone tell me if I can change the activity animation by
applying a theme?
 
style name=Animation.Activity
item
 name=activityOpenEnterAnimation@anim/task_open_enter/
item
item name=activityOpenExitAnimation@anim/task_open_exit/
item
item name=activityCloseEnterAnimation@anim/
task_close_enter/item
item
 name=activityCloseExitAnimation@anim/task_close_exit/
item
item name=taskOpenEnterAnimation@anim/task_open_enter/
item
item
 name=taskOpenExitAnimation@anim/task_open_exit/item
item name=taskCloseEnterAnimation@anim/task_close_enter/
item
item name=taskCloseExitAnimation@anim/task_close_exit/
item
item
 name=taskToFrontEnterAnimation@anim/task_open_enter/
item
item name=taskToFrontExitAnimation@anim/task_open_exit/
item
item
 name=taskToBackEnterAnimation@anim/task_close_enter/
item
item name=taskToBackExitAnimation@anim/task_close_exit/
item
/style
 
I know the change will not be global, but is it even possible to make
the change to be applied within my own app? For example, if i have an
app that does not want to standard slide in/out animation on start/
exit, is it possible to change them?
 
Thanks,
 
  --
  Thank  Regards
  Peeyush Varshney
  



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: Google Data APIs Client Libraries

2009-06-13 Thread peeyush varshney
Hi,
   Activity A is running and i start Activity B from A then start one
more new Activity C from B..
Now I want to launch Activity A from C..

What should be right procedure.

On Sat, Jun 13, 2009 at 12:33 PM, Sujay Krishna Suresh 
sujay.coold...@gmail.com wrote:

 I also tried using it... But according to one of the developers its not
 usable in android (or any other mob platform)
 if u jus need a lil data from google then try this...

 This piece of code prints all methods in the class  invokes the static
 method getAccount...
 try {
   for (Method ele :
 Class.forName(com.google.android.googlelogin.GoogleLoginServiceHelper).getMethods())
 {
   System.out.println(ele.toString());
   try {
   if(ele.getName().equals(getAccount))
   ele.invoke(null, this, 123, true);
   } catch (IllegalArgumentException e) {
   e.printStackTrace();
   } catch (IllegalAccessException e) {
   e.printStackTrace();
   } catch (InvocationTargetException e) {
   e.printStackTrace();
   }
   }
   } catch (ClassNotFoundException e) {
   e.printStackTrace();
   }

   } catch (ClassNotFoundException e) {
   e.printStackTrace();
   }

  jus place the foll code in ur onactivityresult
 if (requestCode == 123) {
   System.out.println(resultCode);
   String key = accounts;
   System.out.println(key + : +
 Arrays.toString(data.getExtras().getStringArray(key)));
   String accounts[] = data.getExtras().getStringArray(key);
   if (accounts[0] != null)
   usernameText.setText(You are :  + accounts[0].replace(@gmail.com,
 ));
  }
 in the logcat/ddms o/p u'll be able to see that there are other useful
 methods...
 public static void com.google.android.
 googlelogin.GoogleLoginServiceHelper.getCredentials(android.app.Activity,int,android.os.Bundle,java.lang.String,java.lang.String,boolean)
 public static void
 com.google.android.googlelogin.GoogleLoginServiceHelper.getCredentials(android.app.Activity,int,android.os.Bundle,boolean,java.lang.String,boolean)
 public static void
 com.google.android.googlelogin.GoogleLoginServiceHelper.invalidateAuthToken(android.app.Activity,int,java.lang.String)

 N wats the service that u wanna use???


 On Sat, Jun 13, 2009 at 12:27 PM, Patrick patrick.ka...@gmail.com wrote:


 Has anyone had success using Google Data APIs Client Libraries. I
 can’t seem to successfully use the GData Java client libraries in an
 Android app. I notice that there used to be some GData access classes
 in the Wireless packages that have been removed. Should I be using
 some map data classes in the com.google.android.maps classes I’m not
 seeing? I started to go down the path of accessing data through raw
 http calls, but it’s a beating.

 Any advice would be much appreciated.

 Thanks,

 Patrick




 --
 Regards,
 Sujay
 Groucho Marxhttp://www.brainyquote.com/quotes/authors/g/groucho_marx.html - 
 I was married by a judge. I should have asked for a jury.
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread peeyush varshney
HI,
 I am also facing probs with transparent theme.. i tried my theme to
keep my activity background transparent..

?xml version=1.0 encoding=utf-8?

resources

style name=Mytheme

item name=android:windowBackground@android:color/transparent/item

item name=android:windowFrame@null/item

item name=android:backgroundDimAmount0.6/item

item name=android:backgroundDimEnabledtrue/item

/style

/resources

but it is not working can anybody tell the solution...

Thanks,
Peeyush
On Fri, Jun 12, 2009 at 5:41 PM, Shyam Dasgupta shyam.dasgu...@gmail.comwrote:


 right, the title bar can be hidden both by setting flags or using a
 custom theme with [item name=android:windowNoTitletrue/item] but
 the status bar is acting differently in 1.5, atleast in my case.

 On Jun 12, 5:05 pm, sylpheo pierre.lecoin...@gmail.com wrote:
  sorry, not for status bar :) just title
 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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: Has the android.app package been removed from 1.5_r2

2009-06-12 Thread peeyush varshney
Hi,
   How we can update the timer widget when seek bar position has
changed..

On Fri, Jun 12, 2009 at 3:51 PM, Mark Murphy mmur...@commonsware.comwrote:


 Daniel wrote:
  I get this error when compiling.  Can anyone else replicate it?  It
  happens when importing android.app.ProgressDialog on 1.5-r2
 
  [javac] /home/doubleagent/Programming/ANDROID/KYMesonetSiteMap/src/org/
  kymesonet/kymesonetsitemap/KYMesonetSiteMap.java:16: package
  andriod.app does not exist
  [javac] import andriod.app.ProgressDialog;

 Android has the 'o' before the 'i' -- your import statement has them
 reversed.

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

 _Android Programming Tutorials_ Version 0.95 Available!

 



-- 
Thank  Regards
Peeyush Varshney

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---