[android-developers] QA Automation Engineer-Selenium//Location: Glastonbury//6+ months//C2C

2019-11-25 Thread Vinay Kumar


Hi 

Greetings from Simba Staffing.

 We have an urgent requirement for one of our clients. Please check and 
send me the suitable profiles ASAP.

 Role: *QA* 

 
Automation Engineer-*Selenium* 


 Location: Glastonbury, CT Duration: 6+ months Contract: C2C

 JD/Skills: • Selenium • API/web service testing (SOAP UI)

 • SQL

 • In addition to SOAP UI, Postman or Swagger would be viable options 

• Functional testing experience,

 • BDD, Headless, Agile experience 

• Problem solving/Analytical skills 

Interested people please contact us @ +1512 879 9925

 Thanks& Regards, 

Anil  Simba Staffing Consulting

 Email : *a...@simbastaffing.com* 

 PH: +1512 879 9925

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/717a23dd-cb68-429f-be1b-a21990b75de7%40googlegroups.com.


[android-developers] QA Automation Engineer-Selenium//Glastonbury, CT//6+ months//C2C

2019-11-22 Thread Vinay Kumar


Hi 

Greetings from Simba Staffing.

 

We have an urgent requirement for one of our clients. Please check and send 
me the suitable profiles ASAP.

 

Role: QA Automation Engineer-Selenium

Location: Glastonbury, CT

Duration: 6+ months

Contract: C2C

 

JD/Skills: 

• Selenium

• API/web service testing (SOAP UI)

• SQL

• In addition to SOAP UI, Postman or Swagger would be viable options

• Functional testing experience,

• BDD, Headless, Agile experience

• Problem solving/Analytical skills

*Interested people please contact us @ +1512 879 9925*

 

*Thanks& Regards,*

*Anil *

*Simba Staffing Consulting*

*Email : a...@simbastaffing.com *

*PH: +1512 879 9925*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8d211287-85fc-43c6-aede-2f5a640330e1%40googlegroups.com.


[android-developers] Greetings from Svs Technologies…!!

2018-04-20 Thread vinay kumar


*Dear Partners,  *

  

*Greetings from Svs Technologies…!!*

 

 

*This is Vinay from Svs Technologies located at Memphis, TN.*

 

 

Let me present you with list of consultants currently available. 

*Please mail the requirement to** vi...@svsts.com* * or reach me at *
*931-994-6943 **for the resume.*

*Please add me to your Distribution list….**

 

*S.No*

*Consultant Name*

*Techology*

*Location*

 

 

*Availability*

1

Sandhya

ETL/Informatica

TN

Immediate

 

2

Prashanth

Java/J2EE

IA

Immediate

 

3

Bharath

Java Developer

MO

Immediate

 

4

Harsha

Full Stack Java Developer

NY

Immediate

 


 

Note: This is not an unsolicited mail. Under Bill 1618 Title III passed by 
the 105th US Congress this email cannot be considered as spam as long as we 
include our contact information and an option to be removed from our 
emailing list. If you have received this message in error or, are not 
interested in receiving our emails, please accept our apologies. To be 
removed from our mailing list, please reply with the subject line. All 
removal requests will be honored ASAP. We sincerely apologize for any 
inconvenience caused to you.

 

 

*Thanks and Regards*

*Vinay kumar*
Sales Recruiter
Email: vi...@svsts.com  Hangouts: vinay.sv...@gmail.com
SVS Technologies Limited |Direct:  931-994-6943
8700 Trail Lake Dr, Suite 228 | Memphis, TN 38125
Information Technology | Software Development | Training | Consulting

 

 

*Please Note: Due to high volume of calls, I may miss your call, email is 
the better way to reach 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.
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/e6837202-6f43-4f76-8a3d-5add373be573%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Wanted Sr. IT Recruiter @Hyderabad

2018-01-22 Thread vinay kumar
Job Title: Sr. US IT Recruiter
Location :Hyderabad  
Duration :Full time 
Experience:2+Years
Location: Near LB Nagar, Hyd
Salary: DOE + Incentives

Responsibilities:
Selected candidate must be able stay pleasant in the conversations with 
candidates with the intent to build, develop and maintain relationships for 
long term. 
Business development activities as well, like cold calling, reaching out to 
HR of strategic companies and end customer to generate business etc.
Candidate must be very familiar with various terms like Corp-to-Corp, 1099, 
etc. 
Candidate must be able to handle initiation and completion of contractual 
procedures with candidates including their background verification, RTR, 
etc.
Desired Skills & Experience:
Should have Minimum 2+ years of US recruitment experience including 
Resourcing, Bench sales, Business Development. 
Good understanding of US market.
Strong communication and interaction skills required.



Thanks
Shankar
HR Manager
Orabase Solutions LLC
PH:+91-9985285040 USA: +1-972-968-8627


-- 
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/d4613d18-1099-49c3-87ff-839789beaf25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] implement onscroll change for horizontal scrollview ?

2013-11-21 Thread vinay kumar
it can be achieved in you activity class.

1)  get the reference of CustomHorizontalView
2)  then it's child view.
3) in onWindowFoucs get width of CustomHorizotalView and child view.
4) and calculate the proportion of result value of above width and
horizontal length of scroll.
5) pass the resultant value to seek bar.

Regards
Vinay Kumar


On Wed, Nov 20, 2013 at 12:35 PM, Amit Mangal
forum.amit.man...@gmail.comwrote:

 i need to implement onscrollchanged method in my class so that when scroll
 is changing i will update seek bar position as per scroll value.

 i implemented a customhorizontalview class with extends
 HorizontalScrollView.

 also created customhorizontalview in xml . but my problem is that how to
 override onscrollchange method in my class so that as scroll is changing i
 could update seek bar corresponding to horizontal scroll.

 here is my customhorizontalview class

 import android.content.Context;

 import android.util.AttributeSet;

 import android.util.Log;

 import android.widget.HorizontalScrollView;




 public class CustomHorizontalScroll extends HorizontalScrollView  {




 public interface onScrollChangedListener{

 public abstract void onScrollChanged(int l, int t, int oldl, intoldt);

 }



 onScrollChangedListener mMyScrollViewListener;


  public void setMyScrollViewListener(onScrollChangedListener listener
 ){

 mMyScrollViewListener = listener;

 }



 @Override

 protected void onScrollChanged(int l, int t, int oldl, int oldt) {

 super.onScrollChanged(l, t, oldl, oldt);

 Log.v(Positions,l+,+t) ;

 }


  public CustomHorizontalScroll(Context context, AttributeSet attrs) {

 super(context, attrs);

 // TODO Auto-generated constructor stub



 }


 }


 i am using this in my java file

 hs_scroll_view = (CustomHorizontalScroll) findViewById(R.id.
 id_hs_scroll_view) ;


 i want to override onscrollchanged in my java file so that i could update
 seek bar as per scroll but i don't know how to do that .


 please suggest me any idea ?


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


-- 
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] implement onscroll change for horizontal scrollview ?

2013-11-21 Thread vinay kumar
it can be achieved in you activity class.

1)  get the reference of CustomHorizontalView
2)  then it's child view.
3) in onWindowFoucs get width of CustomHorizotalView and child view.
4) and calculate the proportion of result value of above width and
horizontal length of scroll.
5) pass the resultant value to seek bar.

Regards


On Fri, Nov 22, 2013 at 12:12 PM, vinay kumar vk872...@gmail.com wrote:

 it can be achieved in you activity class.

 1)  get the reference of CustomHorizontalView
 2)  then it's child view.
 3) in onWindowFoucs get width of CustomHorizotalView and child view.
 4) and calculate the proportion of result value of above width and
 horizontal length of scroll.
 5) pass the resultant value to seek bar.

 Regards
 Vinay Kumar


 On Wed, Nov 20, 2013 at 12:35 PM, Amit Mangal forum.amit.man...@gmail.com
  wrote:

 i need to implement onscrollchanged method in my class so that when
 scroll is changing i will update seek bar position as per scroll value.

 i implemented a customhorizontalview class with extends
 HorizontalScrollView.

 also created customhorizontalview in xml . but my problem is that how to
 override onscrollchange method in my class so that as scroll is changing i
 could update seek bar corresponding to horizontal scroll.

 here is my customhorizontalview class

 import android.content.Context;

 import android.util.AttributeSet;

 import android.util.Log;

 import android.widget.HorizontalScrollView;




 public class CustomHorizontalScroll extends HorizontalScrollView  {




 public interface onScrollChangedListener{

 public abstract void onScrollChanged(int l, int t, int oldl, 
 intoldt);

 }



 onScrollChangedListener mMyScrollViewListener;


  public void setMyScrollViewListener(onScrollChangedListener
 listener ){

 mMyScrollViewListener = listener;

 }



 @Override

 protected void onScrollChanged(int l, int t, int oldl, int oldt) {

 super.onScrollChanged(l, t, oldl, oldt);

 Log.v(Positions,l+,+t) ;

 }


  public CustomHorizontalScroll(Context context, AttributeSet attrs) {

 super(context, attrs);

 // TODO Auto-generated constructor stub



 }


 }


 i am using this in my java file

 hs_scroll_view = (CustomHorizontalScroll) findViewById(R.id.
 id_hs_scroll_view) ;


 i want to override onscrollchanged in my java file so that i could update
 seek bar as per scroll but i don't know how to do that .


 please suggest me any idea ?


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




-- 
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] how to fire intent when net is connected

2013-07-03 Thread vinay kumar
Hi Sadhna,

 To fire an Intent when net is connected

You might need to consider using a BroadcastReceiver for
android.net.conn.CONNECTIVITY_CHANGE instead.

 To send an email when ever the net is connected.

Probably you want to send the email without user interaction.
This can't be achieved with android Intent which need user interaction
before sending the email.


Regards
Vinay Kumar





On Thu, Jul 4, 2013 at 10:41 AM, Sadhna Upadhyay
sadhna.braah...@gmail.comwrote:

 Hi guys,
i am creating a app in which i have to email and the issue is this
 that mail should be send whenever net is connected,even application has
 been exit.
 may be some gramatical here please ignore that and please help me


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




-- 
-- 
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] How I can load doc/xlsx/pdf files into WebView?

2013-03-14 Thread vinay kumar
Append your pdf/xml/doc url to 
http://docs.google.com/gview?embedded=trueurl=+your file link and then
try to load in webview. Hope this helps you.

On Thu, Mar 14, 2013 at 3:34 PM, Archana archana.14n...@gmail.com wrote:


 How I can load doc/xlsx/pdf files into WebView?
 I am getting data as base64 format. Please  suggest me how to display
 this?


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




-- 
-- 
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] How I can load doc/xlsx/pdf files into WebView?

2013-03-14 Thread vinay kumar
I am not clear with this But I am getting file as base64 data could you
please elaborate it more, if possible can you provide me a link.

On Thu, Mar 14, 2013 at 4:47 PM, Archana archana.14n...@gmail.com wrote:

 Hello Vinay,

 Thanks for your reply, But I am getting file as base64 data. Its not
 pointing me to any url.
 So in that case how can I set URL here?

 On Thursday, March 14, 2013 2:43:07 PM UTC+4, Vinay Kumar wrote:

 Append your pdf/xml/doc url to http://docs.google.com/gview?**
 embedded=trueurl=+ http://docs.google.com/gview?embedded=trueurl=+your
 file link and then try to load in webview. Hope this helps you.

 On Thu, Mar 14, 2013 at 3:34 PM, Archana archana...@gmail.com wrote:


 How I can load doc/xlsx/pdf files into WebView?
 I am getting data as base64 format. Please  suggest me how to display
 this?


  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://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_outhttps://groups.google.com/groups/opt_out
 .




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




-- 
-- 
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] Re: horizontal rule

2013-03-01 Thread vinay kumar
Why do you require the similar widget, could you please specify your
requirement. If really you want to draw a horizontal line then Nobu's
solution would be perfect for that.



On Wed, Feb 27, 2013 at 9:29 PM, Nobu Games dev.nobu.ga...@gmail.comwrote:

 You could use a plain View, set a background image or color on that, set
 its height to a few DPs and width to MATCH_PARENT.


 On Wednesday, February 27, 2013 9:39:39 AM UTC-6, bob wrote:

 Is there any type of widget that is similar to the HR HTML tag?


 hr


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




-- 
-- 
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] Re: Image background (not 9-patch) for an AppWidget

2012-12-05 Thread vinay kumar
Hi,

They are number of solution available online but one of them is to recreate
a your bitmap with rounded corners.


public static Bitmap getRoundedCornerBitmap(Bitmap bitmap, int pixels) {
Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap
.getHeight(), Config.ARGB_);
Canvas canvas = new Canvas(output);

final int color = 0xff424242;
final Paint paint = new Paint();
final Rect rect = new Rect(0, 0, bitmap.getWidth(),
bitmap.getHeight());
final RectF rectF = new RectF(rect);
final float roundPx = pixels;

paint.setAntiAlias(true);
canvas.drawARGB(0, 0, 0, 0);
paint.setColor(color);
canvas.drawRoundRect(rectF, roundPx, roundPx, paint);

paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN));
canvas.drawBitmap(bitmap, rect, rect, paint);

return output;
}


Hope this helps!

On Wed, Dec 5, 2012 at 7:30 PM, Mário César Mancinelli de Araújo 
mandaproma...@gmail.com wrote:

 I created a file digital_clock_background.xml (inside res/drawable) and
 put this code:

 ?xml version=1.0 encoding=utf-8?
 shape xmlns:android=http://schemas.android.com/apk/res/android;
 android:padding=10dp
 android:shape=rectangle 

 solid android:color=#00 /

 stroke
 android:width=2dp
 android:color=#00 /

 padding
 android:bottom=1dp
 android:left=1dp
 android:right=1dp
 android:top=1dp /

 corners android:radius=10dp /

 /shape

 So my AppWidget layout is basically:

 ?xml version=1.0 encoding=utf-8?
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:id=@+id/rllWidgetBigger
 android:layout_width=match_parent
 android:layout_height=match_parent
 android:layout_margin=@dimen/widget_margin
 android:background=@drawable/digital_clock_background 

 ImageView
 android:id=@+id/imgBackGroundBigger
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:layout_alignParentBottom=true
 android:layout_alignParentLeft=true
 android:layout_alignParentRight=true
 android:layout_alignParentTop=true
 android:contentDescription=@string/app_name
 android:scaleType=centerCrop
 android:src=@drawable/digital_andromeda_galaxy_m31 /

 /RelativeLayout

 And, well, the RelativeLayout now have rounded corners, but the ImageView
 doesn't. And it's corners are coming out of the RelativeLayout...

 Is there anyway to correct it (without putting more padding)?

 Thanks!

 Em terça-feira, 4 de dezembro de 2012 00h19min37s UTC-2, Mário César
 Mancinelli de Araújo escreveu:

 Hi everyone.

 It's really not a code issue, but a layout one. So, if anyone could help
 me, it would be nice.

 The thing is that I'm gonna have to use an image, an picture, as
 background for an AppWidget. So, basically, I'm gonna use an ImageView to
 show the image, setting the scale type to CENTER_CROP. Everything else
 (TextViews and so on) go on top of that.

 The problem is that I will need to show a border in the AppWidget, with
 rounded corners. So, what's the best way of doing that? The only way I can
 think of is to use a black 9-patch as background of the RelativeLayout
 (were the ImageView is going to be inside of) and set a small padding to
 it... But I don't know if it's going to be good enough...

 So... Any ideas?

 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


-- 
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] GCM Push Notification on ICW and Jelly Bean

2012-10-09 Thread vinay kumar
Hi Everyone,

I facing the issue with GCM push notification, for integrating push in my
application I followed each and every step mentioned at
http://developer.android.com/guide/google/gcm/index.html. It is working
fine on 2.3 and 3.0 devices but on 4.0 and 4.1 I haven't received the push
notification some times and some time after long waiting hours.

Does any body has any idea why on 4.0 and 4.1 taking so long to receive the
push. Please share your suggestion on this.


Thank You.

Regards
Vinay Kumar

-- 
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] GCM Push Notification on ICW and Jelly Bean

2012-10-09 Thread vinay kumar
Thank you mark, I'll do the same

On Tue, Oct 9, 2012 at 3:35 PM, Mark Murphy mmur...@commonsware.com wrote:

 I suggest that you use the android-gcm Google Group for questions about
 GCM.

 On Tue, Oct 9, 2012 at 4:19 AM, vinay kumar vk872...@gmail.com wrote:
  Hi Everyone,
 
  I facing the issue with GCM push notification, for integrating push in my
  application I followed each and every step mentioned at
  http://developer.android.com/guide/google/gcm/index.html. It is working
 fine
  on 2.3 and 3.0 devices but on 4.0 and 4.1 I haven't received the push
  notification some times and some time after long waiting hours.
 
  Does any body has any idea why on 4.0 and 4.1 taking so long to receive
 the
  push. Please share your suggestion on this.
 
 
  Thank You.
 
  Regards
  Vinay Kumar
 
  --
  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/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 4.2 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


-- 
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: image passing ?

2012-09-30 Thread vinay kumar
Where does this jpeg images exists?

On Sun, Sep 30, 2012 at 4:51 PM, mohammed Nuhail nuhail...@gmail.comwrote:

 can i send jpeg image ?


 On Sun, Sep 30, 2012 at 4:32 PM, skink psk...@gmail.com wrote:



 mohammed Nuhail wrote:
  How to send a image from one activity to another activity ?

 in extras as a Parcelable?

 pskink

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


-- 
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] Notifying the fragment when it is currently selected in a viewpager

2012-09-29 Thread vinay kumar
we can achieve that by creating interface.

e.g

*public* *class* SampleFragment *extends* ListFragment {

*private* OnItemSelectedListener listener;



*public* *interface* OnItemSelectedListener {

*public* void *onItemSelected*(int index);

}



*public* void *setOnItemSelectedListener*(OnItemSelectedListenerlistener
) {

*this*.listener = listener;

}



@Override

*public* void *onListItemClick*(ListView l, View v,

int position, long id) {

listener.*onItemSelected*(position);

}




Activity source code

*public* *class* MyActivity *extends* Activity

*implements* ItemFragment.OnItemSelectedListener {


@Override

*public* boolean *onCreate*(Bundle bundle) {

*// ...*

SampleFragment item = *new* *SampleFragment*();

item.*setOnItemSelectedListener*(*this*);

*// ...*

}



*public* void *onItemSelected*(int index) {

*// ...*

}

*// ...*

}

Hope this snippet helps you. Good Luck


Regards

Vinay Kumar


On Sat, Sep 29, 2012 at 3:18 PM, Raneez rane...@gmail.com wrote:

 I use ViewPager loaded with fragments in it .The *onResume()* method of
 each fragments does some logic and so i get problems when the adjacent
 fragments(left and right) to the currently selected page are also loaded to
 provide smooth scrolling between the pages.

 Does the fragment recieve any *callbacks* when it get actually selected?

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

[android-developers] Android resource qualifier

2012-09-28 Thread vinay kumar
Hi,

I am unable to get the values form values-sw480dp on my sony Xperia
device which is 480 x 854 neither on Samsung galaxy tab which is 600 x
1024. But able to get on Motorola Xoom which is 1280 x 752.

e.g  res/values-sw480dp/strings.xml/

 string name=hello_worldhello world/string

The values on respective devices

Sony Xperia  * @2131034113*
Samsung  *@2131034113*
on xoom   * hello world*

Can any one explain me this behavior, why Sony Xperia and Samsung has *
@2131034113* value.


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

Re: [android-developers] Android resource qualifier

2012-09-28 Thread vinay kumar
Hi there


According to
http://developer.android.com/guide/topics/resources/providing-resources.html,
sw480dp means «smallest side of screen must be at least 480 dp». Now dp is
a «pixel on a 160 dpi screen», so actual size of e.g. Xperia in dp would be
I guess 320 x 569 (provided it's a hdpi device).

To get device screen size in dp you need to know abstracted density class
(ldpi=120, mdpi=160, hdpi=240, xhdpi=320). For the above Xperia screen the
calculation is: (480*160/240) x (854*160/240), where 160 is the base
density (it's where 1 dp actually equal to one pixel) and 240 is device
abstracted density.


By using the above logic it should be sw320dp, But this logic also fails.


Thank you.



On Fri, Sep 28, 2012 at 5:09 PM, Marina Cuello marina.ear...@gmail.comwrote:

 Your first two devices have a low density, lower than 160dpi, so they
 measure on dp is smaller than what you expect.
 Check http://developer.android.com/guide/practices/screens_support.htmlto get 
 the theory behind it.
 Marina
  On Sep 28, 2012 7:37 AM, vinay kumar vk872...@gmail.com wrote:

 Hi,

 I am unable to get the values form values-sw480dp on my sony Xperia
 device which is 480 x 854 neither on Samsung galaxy tab which is 600 x
 1024. But able to get on Motorola Xoom which is 1280 x 752.

 e.g  res/values-sw480dp/strings.xml/

  string name=hello_worldhello world/string

 The values on respective devices

 Sony Xperia  * @2131034113*
 Samsung  *@2131034113*
 on xoom   * hello world*

 Can any one explain me this behavior, why Sony Xperia and Samsung has *
 @2131034113* value.


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

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

Re: [android-developers] Android resource qualifier

2012-09-28 Thread vinay kumar
I checked for xdpi and ydpi values on my device call following method in
oncreate method.

 DisplayMetrics metrics = new DisplayMetrics();
  getWindowManager().getDefaultDisplay().getMetrics(metrics);

 metrics.xdpi;  239.05882
 metrics.ydpi;  243.72585
 metrics.density; --  1.5
 metrics.densityDpi; --- 240

after getting those values I simple rename my resource value directory name
to sw240dp, but result is same.. any other solution for this.

Thank you


On Fri, Sep 28, 2012 at 6:06 PM, Marina Cuello marina.ear...@gmail.comwrote:

 I'm sorry. I wrote lower when I was thinking higher, LOL.
 The dpi values for ldpi, mdpi and so on are only standard ones, and most
 devices have different values.
 Try getting the xDpi and yDpi from a DisplayMetrics. I have an Xperia Neo
 V and the width was around 250dp.

 Marina
 On Sep 28, 2012 8:51 AM, vinay kumar vk872...@gmail.com wrote:

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

Re: [android-developers] Update EditText Fields With Spinner Select

2012-09-26 Thread vinay kumar
Hi,

Could you please more specific to your question. It would be more easy to
understand and answer it.


Subject

 Update EditText Fields With Spinner Select


*Any tutorial where spinner have the (set) same value, and updated as
an edittext
 in a database, and*
 *by select from the items from the spinner; the edittext fields (7
 edittext) is updated (loaded).*


 Regards
Vinay kumar


On Thu, Sep 27, 2012 at 12:44 AM, jabjab j-bor...@online.no wrote:

 Any tutorial where spinner have the (set) same value, and updated as an
 edittext in a database, and
 by select from the items from the spinner; the edittext fields (7
 edittext) is updated (loaded).

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

Re: [android-developers] Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Hi,

Instead of getting time in 24 hours format you can retrieve them in 12
hours. using the below code.



private TimePickerDialog.OnTimeSetListener myTimeSetListener
= new TimePickerDialog.OnTimeSetListener(){

//@Override
public void onTimeSet(TimePicker view, int hourOfDay, int
minute) {
// TODO Auto-generated method stub
String converttime=null;
try{
String s = hourOfDay+:+minute+:00;
DateFormat f1 = new SimpleDateFormat(hh:mm:ss);
Date d = f1.parse(s);
DateFormat f2 = new SimpleDateFormat(h:mm a);
converttime=f2.format(d).toLowerCase(); // 12:18am
}catch(Exception e){

}


Toast.makeText(AndroidDatePicker.this, converttime,
Toast.LENGTH_LONG).show();
}
};


Hope this helps you.

Regrads
Vinay Kumar



On Tue, Sep 25, 2012 at 11:19 AM, Ibrahim Sada ibrahim.in...@gmail.comwrote:

  Mycallback=new OnTimeSetListener() {

 public void onTimeSet(TimePicker view, int hourOfDay, int minute) {

 ViewGroup vg=(ViewGroup) view.getChildAt(0);

 Toast.makeText(TimePickerDemoActivity.this, 
 hourOfDay+:+minute+:+((Button)vg.getChildAt(2)).getText().toString(), 
 5000).show();

 }
 };



 On 25 September 2012 09:13, sindhu sindhushree...@gmail.com wrote:

 Hi, how to get time picker am/pm values in android 3.0?

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


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

2012-09-25 Thread vinay kumar
Hi,

you can use the following code to send the email from your application


String myemail[]={email_id_1,email_id,2};

Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND);

emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
Feedback);
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,);
emailIntent.setType(plain/text);

startActivity(emailIntent);


Note: Make sure your are logged in device email client and add necessary
permissions.


Regards
Vinay Kumar

On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada ibrahim.in...@gmail.comwrote:

 Hi ..
Can any1 help me out how to send email from code..
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

-- 
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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Hi sindhu,

have you check with the above code sent by me. Is that also not working?


On Tue, Sep 25, 2012 at 2:54 PM, skink psk...@gmail.com wrote:



 sindhu wrote:
  In time picker control ther is one button choose AM or PM values how to
 get
  that value? when user clicks on it?
 

 what on earth do you need it for? why the existing listener is not
 sufficient?

 pskink

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

Re: [android-developers] send email

2012-09-25 Thread vinay kumar
Then check for java gmail client.

On Tue, Sep 25, 2012 at 2:59 PM, Ibrahim Sada ibrahim.in...@gmail.comwrote:

 Mr vinay thanks..
   But i need to send a mail through code..
   Thnks in advance...


 On 25 September 2012 13:18, vinay kumar vk872...@gmail.com wrote:

 Hi,

 you can use the following code to send the email from your application


 String myemail[]={email_id_1,email_id,2};

 Intent emailIntent = new
 Intent(android.content.Intent.ACTION_SEND);

 emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
 emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
 Feedback);
 emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,);
 emailIntent.setType(plain/text);

 startActivity(emailIntent);


 Note: Make sure your are logged in device email client and add necessary
 permissions.


 Regards
 Vinay Kumar

 On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada 
 ibrahim.in...@gmail.comwrote:

 Hi ..
Can any1 help me out how to send email from code..
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


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


-- 
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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Yes I Used.

On Tue, Sep 25, 2012 at 6:27 PM, sindhu sindhushree...@gmail.com wrote:

 Vinay have you ever used Picker control in honencomb?


 On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:

 Hi sindhu,

 have you check with the above code sent by me. Is that also not working?


 On Tue, Sep 25, 2012 at 2:54 PM, skink psk...@gmail.com wrote:



 sindhu wrote:
  In time picker control ther is one button choose AM or PM values how
 to get
  that value? when user clicks on it?
 

 what on earth do you need it for? why the existing listener is not
 sufficient?

 pskink

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://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


-- 
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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
are closing your app after Step 1.


On Tue, Sep 25, 2012 at 6:32 PM, vinay kumar vk872...@gmail.com wrote:

 Yes I Used.


 On Tue, Sep 25, 2012 at 6:27 PM, sindhu sindhushree...@gmail.com wrote:

 Vinay have you ever used Picker control in honencomb?


 On Tuesday, September 25, 2012 3:00:51 PM UTC+5:30, Vinay Kumar wrote:

 Hi sindhu,

 have you check with the above code sent by me. Is that also not working?


 On Tue, Sep 25, 2012 at 2:54 PM, skink psk...@gmail.com wrote:



 sindhu wrote:
  In time picker control ther is one button choose AM or PM values how
 to get
  that value? when user clicks on it?
 

 what on earth do you need it for? why the existing listener is not
 sufficient?

 pskink

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://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




-- 
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: Timepicker AM/PM value issue

2012-09-25 Thread vinay kumar
Hi sindhu,

My code convert the 24 hours to 12 hours format could you get a chance to
check it.

On Tue, Sep 25, 2012 at 8:58 PM, skink psk...@gmail.com wrote:



 sindhu wrote:
  want to download a file from net  so wat m doing is- asking user to set
 the
  start time and end time for downloadin. For this requirement i need time
  picker control. I got the hour and minute value on user input but m not
  getting weder it is am or pm value. am getting 24hr format and i want to
  display weder am/pm  by using that button value only not using any
  conversion and all.. How could i get?
 


 then read simpledateformat docs find Hour in am/pm

 pskink

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

Re: [android-developers] Re: Android App Published But Not Visible in Google Play Store even after published

2012-09-22 Thread vinay kumar
Hi, I will take max of 2 hours to update on Google play.

On Fri, Sep 21, 2012 at 7:16 PM, RichardC richard.crit...@googlemail.comwrote:


1. Check for email from Google.
2. Tell us the app name (and package name) so we can look
3. Or we can guess :)


 On Friday, September 21, 2012 12:21:49 PM UTC+1, Nikhil Shah wrote:

 Hi All,

 I had published the app on Google Play long back and it was visible on
 Google Play.
 Yesterday Night I just logged in to my developer account to check the
 errors.
 Today Morning I see that the app is no more visible on Google Play.

 Any idea... Help is appreciated

 Thank you
 Nikhil

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

Re: [android-developers] What candy is the latest version of Android named after?

2012-09-21 Thread vinay kumar
Answer : jellybean

Platform version : Android 4.1, 4.1.1
API level : 16
Meaning of jellybean = A small ovoid candy with a hardened sugar coating
over a chewy center.

On Sat, Sep 22, 2012 at 11:00 AM, Meena Rengarajan
meenasoft...@gmail.comwrote:

 Can anyone tell me this , Sorry it might be a simple Question but i wanted
 to know the answer with its features.

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

Re: [android-developers] Re: Android LVL

2012-09-16 Thread vinay kumar
yes, we need to upload the app without publishing it. For testing it we
need tester credentials too.

On Sat, Sep 15, 2012 at 10:06 PM, Ichsan ich...@gmail.com wrote:

 If you read the documentation, it is clear that you need to upload the app
 without publishing it.

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

Re: [android-developers] Re: Android LVL

2012-09-16 Thread vinay kumar
While uploading your app on market(google play). you have to enable the
Licensing option.there you probably you need to enter your(tester) gmail
id. That will be your tester credentials.

On Sun, Sep 16, 2012 at 9:35 PM, janvi jagruthi.bha...@gmail.com wrote:

 I need the following information

 What are actually testing credentials?
 Is it enough to add a test account(gmail account of tester) in the option
 provided in the edit profile page of google publisher account?

 Still iam i missing any thing ?or this is the only step needed for this?




 On Sunday, September 16, 2012 7:41:49 PM UTC+5:30, Vinay Kumar wrote:


 yes, we need to upload the app without publishing it. For testing it we
 need tester credentials too.

 On Sat, Sep 15, 2012 at 10:06 PM, Ichsan ich...@gmail.com wrote:

 If you read the documentation, it is clear that you need to upload the
 app without publishing it.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://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


-- 
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: Android LVL

2012-09-16 Thread vinay kumar
Yes.

On Mon, Sep 17, 2012 at 9:08 AM, janvi jagruthi.bha...@gmail.com wrote:

 Ok thank you for this

 Is this licensing option which I have to enable is provided as a field in
 the uploading form?

 Thanks in advance




 On Sunday, September 16, 2012 10:42:17 PM UTC+5:30, Vinay Kumar wrote:

 While uploading your app on market(google play). you have to enable the
 Licensing option.there you probably you need to enter your(tester) gmail
 id. That will be your tester credentials.

 On Sun, Sep 16, 2012 at 9:35 PM, janvi jagruth...@gmail.com wrote:

 I need the following information

 What are actually testing credentials?
 Is it enough to add a test account(gmail account of tester) in the
 option provided in the edit profile page of google publisher account?

 Still iam i missing any thing ?or this is the only step needed for this?




 On Sunday, September 16, 2012 7:41:49 PM UTC+5:30, Vinay Kumar wrote:


 yes, we need to upload the app without publishing it. For testing it we
 need tester credentials too.

 On Sat, Sep 15, 2012 at 10:06 PM, Ichsan ich...@gmail.com wrote:

 If you read the documentation, it is clear that you need to upload the
 app without publishing it.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**googlegroups.com

 To unsubscribe from this group, send email to
 android-developers+**unsubscribe**@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/android-developers?hl=enhttp://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-d...@**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=enhttp://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


-- 
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: Android LVL

2012-09-15 Thread vinay kumar
Have you tried which was provided with Android sdk?

On Sat, Sep 15, 2012 at 2:50 PM, janvi jagruthi.bha...@gmail.com wrote:

 Any body who has already tried this help me out plz
 Its very urgent



 On Friday, September 14, 2012 5:32:02 PM UTC+5:30, janvi wrote:

 Dear All

 I need a favour,though it is old topic i need small info on how to go a
 head with Android LVL
 Plz reply me as soon as possible
 The following is my sample code which I have written


 package com.example.helloworld;

 import java.io.FileInputStream;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.InputStream;
 import java.security.KeyFactory;
 import java.security.**NoSuchAlgorithmException;
 import java.security.PublicKey;
 import java.security.cert.**CertificateException;
 import java.security.cert.**CertificateFactory;
 import java.security.cert.**X509Certificate;
 import java.security.interfaces.**RSAPublicKey;
 import java.security.spec.**InvalidKeySpecException;
 import java.security.spec.**PKCS8EncodedKeySpec;

 import android.app.Activity;
 import android.app.AlertDialog;
 import android.app.Dialog;
 import android.content.**DialogInterface;
 import android.content.Intent;
 import android.net.Uri;
 import android.os.Bundle;
 import android.os.Handler;
 import android.provider.Settings.**Secure;
 import android.view.View;
 import android.view.Window;
 import android.widget.Button;
 import android.widget.TextView;
 import android.widget.Toast;

 import com.google.android.vending.**licensing.AESObfuscator;
 import com.google.android.vending.**licensing.LicenseChecker;
 import com.google.android.vending.**licensing.**LicenseCheckerCallback;
 import com.google.android.vending.**licensing.Policy;
 import com.google.android.vending.**licensing.ServerManagedPolicy;
 import com.google.android.vending.**licensing.util.Base64;
 import com.google.android.vending.**licensing.util.**
 Base64DecoderException;

 public class LicenseCheck extends Activity {
 private static final String BASE64_PUBLIC_KEY = Corresponding Public
 Key;

 // Generate your own 20 random bytes, and put them here.
 private static final byte[] SALT = new byte[] { -46, 65, 30, -128,
 -103,
 -57, 74, -64, 51, 88, -95, -45, 77, -117, -36, -113, -11, 32,
 -64,
 89 };

 private TextView mStatusText;
 private Button mCheckLicenseButton;

 private LicenseCheckerCallback mLicenseCheckerCallback;
 private LicenseChecker mChecker;
 // A handler on the UI thread.
 private Handler mHandler;

 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(**savedInstanceState);
 requestWindowFeature(Window.**FEATURE_INDETERMINATE_**PROGRESS);
 setContentView(R.layout.**activity_main);

 mStatusText = (TextView) findViewById(R.id.status_text)**;
 mCheckLicenseButton = (Button) findViewById(R.id.check_**
 license_button);
 mCheckLicenseButton.**setOnClickListener(new
 View.OnClickListener() {
 public void onClick(View view) {
 doCheck();
 }
 });

 mHandler = new Handler();

 // Try to use more data here. ANDROID_ID is a single point of
 attack.
 String deviceId = Secure.getString(**getContentResolver(),
 Secure.ANDROID_ID);

 // Library calls this when it's done.
 mLicenseCheckerCallback = new MyLicenseCheckerCallback();
 // Construct the LicenseChecker with a policy.
 mChecker = new LicenseChecker(this, new ServerManagedPolicy(this,
 new AESObfuscator(SALT, getPackageName(), deviceId)),
 BASE64_PUBLIC_KEY);
 doCheck();
 }

 protected Dialog onCreateDialog(int id) {
 final boolean bRetry = id == 1;
 return new AlertDialog.Builder(this)
 .setTitle(R.string.unlicensed_**dialog_title)
 .setMessage(
 bRetry ? R.string.unlicensed_dialog_**retry_body
 : R.string.unlicensed_dialog_**body)
 .setPositiveButton(
 bRetry ? R.string.retry_button :
 R.string.buy_button,
 new DialogInterface.**OnClickListener() {
 // bretry = 1 if retry button is active

 // bretry = 0 if buy button is active

 boolean mRetry = bRetry;

 public void onClick(DialogInterface dialog,
 int which) {
 if (mRetry) {
 doCheck();
 } else {
 Intent marketIntent = new Intent(
 Intent.ACTION_VIEW,
 Uri.parse(http://market.**
 android.com/details?id= 

Re: [android-developers] Re: Android LVL

2012-09-15 Thread vinay kumar
Have you tried Library which was provided with Android sdk?

On Sat, Sep 15, 2012 at 2:57 PM, vinay kumar vk872...@gmail.com wrote:

 Have you tried which was provided with Android sdk?


 On Sat, Sep 15, 2012 at 2:50 PM, janvi jagruthi.bha...@gmail.com wrote:

 Any body who has already tried this help me out plz
 Its very urgent



 On Friday, September 14, 2012 5:32:02 PM UTC+5:30, janvi wrote:

 Dear All

 I need a favour,though it is old topic i need small info on how to go a
 head with Android LVL
 Plz reply me as soon as possible
 The following is my sample code which I have written


 package com.example.helloworld;

 import java.io.FileInputStream;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.InputStream;
 import java.security.KeyFactory;
 import java.security.**NoSuchAlgorithmException;
 import java.security.PublicKey;
 import java.security.cert.**CertificateException;
 import java.security.cert.**CertificateFactory;
 import java.security.cert.**X509Certificate;
 import java.security.interfaces.**RSAPublicKey;
 import java.security.spec.**InvalidKeySpecException;
 import java.security.spec.**PKCS8EncodedKeySpec;

 import android.app.Activity;
 import android.app.AlertDialog;
 import android.app.Dialog;
 import android.content.**DialogInterface;
 import android.content.Intent;
 import android.net.Uri;
 import android.os.Bundle;
 import android.os.Handler;
 import android.provider.Settings.**Secure;
 import android.view.View;
 import android.view.Window;
 import android.widget.Button;
 import android.widget.TextView;
 import android.widget.Toast;

 import com.google.android.vending.**licensing.AESObfuscator;
 import com.google.android.vending.**licensing.LicenseChecker;
 import com.google.android.vending.**licensing.**LicenseCheckerCallback;
 import com.google.android.vending.**licensing.Policy;
 import com.google.android.vending.**licensing.ServerManagedPolicy;
 import com.google.android.vending.**licensing.util.Base64;
 import com.google.android.vending.**licensing.util.**
 Base64DecoderException;

 public class LicenseCheck extends Activity {
 private static final String BASE64_PUBLIC_KEY = Corresponding
 Public Key;

 // Generate your own 20 random bytes, and put them here.
 private static final byte[] SALT = new byte[] { -46, 65, 30, -128,
 -103,
 -57, 74, -64, 51, 88, -95, -45, 77, -117, -36, -113, -11,
 32, -64,
 89 };

 private TextView mStatusText;
 private Button mCheckLicenseButton;

 private LicenseCheckerCallback mLicenseCheckerCallback;
 private LicenseChecker mChecker;
 // A handler on the UI thread.
 private Handler mHandler;

 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(**savedInstanceState);
 requestWindowFeature(Window.**FEATURE_INDETERMINATE_**PROGRESS);
 setContentView(R.layout.**activity_main);

 mStatusText = (TextView) findViewById(R.id.status_text)**;
 mCheckLicenseButton = (Button) findViewById(R.id.check_**
 license_button);
 mCheckLicenseButton.**setOnClickListener(new
 View.OnClickListener() {
 public void onClick(View view) {
 doCheck();
 }
 });

 mHandler = new Handler();

 // Try to use more data here. ANDROID_ID is a single point of
 attack.
 String deviceId = Secure.getString(**getContentResolver(),
 Secure.ANDROID_ID);

 // Library calls this when it's done.
 mLicenseCheckerCallback = new MyLicenseCheckerCallback();
 // Construct the LicenseChecker with a policy.
 mChecker = new LicenseChecker(this, new ServerManagedPolicy(this,
 new AESObfuscator(SALT, getPackageName(), deviceId)),
 BASE64_PUBLIC_KEY);
 doCheck();
 }

 protected Dialog onCreateDialog(int id) {
 final boolean bRetry = id == 1;
 return new AlertDialog.Builder(this)
 .setTitle(R.string.unlicensed_**dialog_title)
 .setMessage(
 bRetry ? R.string.unlicensed_dialog_**retry_body
 : R.string.unlicensed_dialog_**body)
 .setPositiveButton(
 bRetry ? R.string.retry_button :
 R.string.buy_button,
 new DialogInterface.**OnClickListener() {
 // bretry = 1 if retry button is active

 // bretry = 0 if buy button is active

 boolean mRetry = bRetry;

 public void onClick(DialogInterface dialog,
 int which) {
 if (mRetry) {
 doCheck();
 } else {
 Intent marketIntent = new Intent

[android-developers] Updating progress bar in Application while downloading file using DownloadManager

2012-09-14 Thread vinay kumar
Hi All,

I was wondering if anybody knew how to update progress Bar in the
application while attempting to download file using download manager for
android?

Please share your ideas.

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

Re: [android-developers] Re: Updating progress bar in Application while downloading file using DownloadManager

2012-09-14 Thread vinay kumar
But AsyncTask doesn't had an option to resume the download from where it
previously stopped (in case of device restart or network failure)

On Sat, Sep 15, 2012 at 2:58 AM, bob b...@coolfone.comze.com wrote:

 Sounds like a job for an AsyncTask.

 On Friday, September 14, 2012 4:56:15 AM UTC-5, Vinay Kumar wrote:

 Hi All,

 I was wondering if anybody knew how to update progress Bar in the
 application while attempting to download file using download manager for
 android?

 Please share your ideas.

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


-- 
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] need help

2012-09-04 Thread vinay kumar
can you be more specific, what you really want to implement.

On Tue, Sep 4, 2012 at 11:08 PM, Madhuri Cherukuri
ch.madhuri...@gmail.comwrote:

 Hi

 Can any one  help me how to replace a two  xml's by using include and merg
 tag or  is there any other way to replace.
 Thanking you..

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

[android-developers] Issue while adding event on inbuit Calender application on Motorola droid razr

2012-08-31 Thread Vinay Kumar
 

Hi,

I'm trying to use Gallery and Calender (Inbuilt applications) in my android 
application. It seems to be working fine on all android devices except 
Motorola droidRazr 4.0.4 and Nexus.

Could anybody help me what is an issue with above devices 4.0.4

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

Re: [android-developers] Re: how to set two spinners with different strings and icons?

2012-08-29 Thread vinay kumar
What is the Issue?

On Tue, Aug 28, 2012 at 10:15 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 actually i got solution of intent in spinner not this so if it will b
 possible for u then please reply me...Thanks


 On Tue, Aug 28, 2012 at 9:26 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 shall i send u my coding again?



 On Tue, Aug 28, 2012 at 9:23 PM, Justin Anderson 
 magouyaw...@gmail.comwrote:

 You have asked this question multiple times... I tried helping you on
 the other post, and even explained many things that you were not doing
 right.

 But sure... go ahead and post your code again.

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Tue, Aug 28, 2012 at 9:04 AM, Sobia Awan juwerian.so...@gmail.comwrote:

 yes i hve chkd whole coding many time and also chkd each spinner
 has different  ID...shall i snd u code?


 On Sun, Aug 26, 2012 at 1:54 AM, KinnMirr 6004...@gmail.com wrote:

 First ... the program is only doing EXACTLY what you're telling it to
 do. Believe that.

 So, somewhere you're telling it to do the same thing twice.

 Check that each spinner has a different ID
 Check your population routines target two different spinner ID.

 Then, look close at every line of code ... like it was the first time
 you wrote it and go through the PROGRAMMING again in your head.

 If that doesn't work ... you better just post the Activity and Layout
 here for others to look at.
 Maybe we can see something you're overlooking!

 Fred

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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **





 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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

Re: [android-developers] how to apply validation in android

2012-08-29 Thread vinay kumar
You can do the same in either of the ways By using addTextChangeListiner or
by defining your own function and check the validation when ever user try
to access the Edittext input

check the following links for more details.

http://developer.android.com/reference/android/widget/TextView.html#addTextChangedListener%28android.text.TextWatcher%29

http://stackoverflow.com/questions/4283062/textwatcher-for-more-than-one-edittext

http://stackoverflow.com/questions/6119722/how-to-check-edittexts-text-is-email-address-or-not

Regards
Vinay Kumar





On Thu, Aug 30, 2012 at 10:21 AM, Sadhna Upadhyay sadhna.braah...@gmail.com
 wrote:

   Hi everybode,

 please tell me how to apply validation on edit text box,for
 email,numeric,phon num etc/

 i have this link but dont know how to implement how to compare wuth
 edittext

 this is link,but dont know how to implement.pls help me

 public boolean validateEmail(String email) {

 Pattern pattern;
 Matcher matcher;

 String EMAIL_PATTERN = 
 ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$;

 pattern = Pattern.compile(EMAIL_PATTERN);

 matcher = pattern.matcher(email);

 return matcher.matches();

 }



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

Re: [android-developers] Re: Use of shapes for background

2012-08-28 Thread vinay kumar
May I know what is the issue you are facing with?

On Tue, Aug 28, 2012 at 12:26 PM, Pau Rodríguez Coloma paro...@gmail.comwrote:

 Please, help...

 El viernes, 24 de agosto de 2012 12:08:54 UTC+2, Pau Rodríguez Coloma
 escribió:

 Hi,

  I'm want to set the background of a RelativeLayout like the attached
 png. For the moment I'm using a bitmap definition xml named
 background_dark.xml like:


 ?xml version=1.0 encoding=utf-8?

 bitmap 
 xmlns:android=http://schemas.**android.com/apk/res/androidhttp://schemas.android.com/apk/res/android
 

 android:src=@drawable/fondo_**oscuro

 android:tileMode=repeat

 /bitmap


 And using it as the background drawable in my RelativeLayout:


 RelativeLayout

 android:layout_width=fill_**parent

 android:layout_height=fill_**parent

 android:layout_below=@+id/**headerLayout

 android:background=@drawable/**background_dark

 /RelativeLayout


 But I want to make the same effect without using the png file, i.e. using
 only shapes and layer-list. The number of lines has to be different
 depending of the screen size, only the separation between lines are
 determinated.


 Does anyone know how can I do this?


 Thanks in advance.


 NOTE: Sorry about my english.

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

Re: [android-developers] Re: Use of shapes for background

2012-08-28 Thread vinay kumar
I mean to ask is there any problem with .png file.

On Tue, Aug 28, 2012 at 5:08 PM, vinay kumar vk872...@gmail.com wrote:

 May I know what is the issue you are facing with?


 On Tue, Aug 28, 2012 at 12:26 PM, Pau Rodríguez Coloma 
 paro...@gmail.comwrote:

 Please, help...

 El viernes, 24 de agosto de 2012 12:08:54 UTC+2, Pau Rodríguez Coloma
 escribió:

 Hi,

  I'm want to set the background of a RelativeLayout like the attached
 png. For the moment I'm using a bitmap definition xml named
 background_dark.xml like:


 ?xml version=1.0 encoding=utf-8?

 bitmap 
 xmlns:android=http://schemas.**android.com/apk/res/androidhttp://schemas.android.com/apk/res/android
 

 android:src=@drawable/fondo_**oscuro

 android:tileMode=repeat

 /bitmap


 And using it as the background drawable in my RelativeLayout:


 RelativeLayout

 android:layout_width=fill_**parent

 android:layout_height=fill_**parent

 android:layout_below=@+id/**headerLayout

 android:background=@drawable/**background_dark

 /RelativeLayout


 But I want to make the same effect without using the png file, i.e.
 using only shapes and layer-list. The number of lines has to be different
 depending of the screen size, only the separation between lines are
 determinated.


 Does anyone know how can I do this?


 Thanks in advance.


 NOTE: Sorry about my english.

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

Re: [android-developers] Re: get the text in edit text on button click

2012-08-27 Thread vinay kumar
Hi vikas,

I don't see any issue in your code, may I know what problem you are facing
with?

On Mon, Aug 27, 2012 at 11:55 AM, karuna vikas kvk2551...@gmail.com wrote:

  activity implements OnClickListener
 EditText text;
 String editText;
 public void OnCreate()
 {
text = (EditText) findViewById(R.id.EditText1);

 }
 inside the Button method{

   editText = text.getText().toString()
 }


 On Saturday, June 2, 2012 11:36:47 PM UTC+5:30, Raghu wrote:

 hi,

 how can i get the text entered by the user in the Edit Text on button
 click, kindly do help me on this

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

Re: [android-developers] How can I add description with respect to each image in image switcher..

2012-08-26 Thread vinay kumar
Hi Sobia, You can implement the same with baseAdapter.

Regards
Vinay Kumar

On Sun, Aug 26, 2012 at 2:28 AM, Sobia Awan juwerian.so...@gmail.comwrote:

 Hi,

 I have a Image Switcher with some pictures , and I would like to have a Text 
 View  that
 changes with the pictures. Can anyone tell how to add description within
 each image.I'm new in android. Any help or guide please,Many thanks...
 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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

Re: [android-developers]

2012-08-26 Thread vinay kumar
Hi sobia,

 Assuming you that your currently able to get the selected item from of
your spinner.

Under the same function call

startActivity(new Intent(current_class.this,calling_class.class))

instead of current_class.this you try calling the following methods.

getApplicationContext();


All the Best.

Regards
VinayKumar


On Sun, Aug 26, 2012 at 3:38 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 Hi,

  I want to apply intent on spinner ,I have a spinner and when the user
 selects I want to call another java class using new Intent..Any Help please
 ManyThanks.

 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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

Re: [android-developers]

2012-08-26 Thread vinay kumar
Yes please if you can.

On Sun, Aug 26, 2012 at 4:24 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 i have done this @viney kumar...shall i snd u code?



 On Sun, Aug 26, 2012 at 3:51 PM, vinay kumar vk872...@gmail.com wrote:

 Hi sobia,

  Assuming you that your currently able to get the selected item from of
 your spinner.

 Under the same function call

 startActivity(new Intent(current_class.this,calling_class.class))

 instead of current_class.this you try calling the following methods.

 getApplicationContext();


 All the Best.

 Regards
 VinayKumar


 On Sun, Aug 26, 2012 at 3:38 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 Hi,

  I want to apply intent on spinner ,I have a spinner and when the user
 selects I want to call another java class using new Intent..Any Help please
 ManyThanks.

 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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

Re: [android-developers] new membe

2012-08-24 Thread vinay kumar
Hi, it may take 24 to 36 hours, I am not sure about this, I face the same
with my first post it nearly took 36 hours.

On Fri, Aug 24, 2012 at 1:26 PM, Fabien R theedge...@free.fr wrote:

 On 22/08/2012 07:27, Mehdi Mustafayev wrote:
  Hi !
 
  Could you tell me, how long new members topic verified by moderator?
 
  Thanks,
  With best reagards.
 
 
 Maybe, you can try to post your question.
 -
 Fabien

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

Re: [android-developers] how to open android project from existing code? pls.help =/

2012-08-24 Thread vinay kumar
Try to use Import option, event then you are facing the problem please do
the following ( alternate method may be not correct).

 Create the new project in your workspace.
 Copy the file form the main directory of your project which your are
trying to import to the new project which you have created in recently in
your workspace.

Note: Make sure your copying the android project.

On Thu, Aug 23, 2012 at 3:11 PM, Leopaul Hibas mroel...@gmail.com wrote:

 i've tried this step

 filenewotherandroid project from existing codenextbrowse and
 selected the folder of the project from my workspace, but when i click
 finish it shows invalid project description


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

Re: [android-developers] Unique ID for Event In android Calender

2012-08-24 Thread vinay kumar
Hi,

You can use content resolver to get the event_ID and event_Details as well
please check the following code.


public class MyCalendar {

static Cursor cursor;
public static ArrayListLong eventID = new ArrayListLong();
public static ArrayListString nameOfEvent = new ArrayListString();
public static ArrayListString startDates = new ArrayListString();
public static ArrayListString endDates = new ArrayListString();
public static ArrayListString descriptions = new ArrayListString();
public static ArrayListString location = new ArrayListString();

public static void readCalendar(Context context) {
eventID.clear();
nameOfEvent.clear();
startDates.clear();
endDates.clear();
descriptions.clear();
location.clear();
ContentResolver contentResolver = context.getContentResolver();

// Fetch a list of all calendars synced with the device, their
display
// names and whether the
// user has them selected for display.

cursor = contentResolver
.query(Uri.parse(content://com.android.calendar/events),
new String[] { calendar_id, title,
description,
dtstart, dtend, eventLocation }, null,
null, null);

cursor.moveToFirst();
// fetching calendars name
String CNames[] = new String[cursor.getCount()];

// fetching calendars id
nameOfEvent.clear();
startDates.clear();
endDates.clear();
descriptions.clear();
location.clear();
for (int i = 0; i  CNames.length; i++) {

eventID.add(cursor.getLong(0));
nameOfEvent.add(cursor.getString(1));
if (cursor.getString(2) != null) {
descriptions.add(cursor.getString(2));
} else {
descriptions.add();
}
startDates.add(getDate(Long.parseLong(cursor.getString(3;
endDates.add(getDate(Long.parseLong(cursor.getString(4;

if (cursor.getString(5) != null) {
location.add(cursor.getString(5));
} else {
location.add();
}

CNames[i] = cursor.getString(1);
cursor.moveToNext();

}
// printData();
}

public static String getDate(long milliSeconds) {
SimpleDateFormat formatter = new SimpleDateFormat(
dd/MM/ hh:mm:ss a);
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(milliSeconds);
return formatter.format(calendar.getTime());
}



On Fri, Aug 24, 2012 at 2:33 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:

 HI,

 How to get Unique ID for EventID In android Calender Event after insertion
 of an event???

 Thanks
 RK

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

Re: [android-developers] Export Project with Signed Key (Release Mode)

2012-08-24 Thread vinay kumar
Hi Arun

Are you trying to extract the apk file or any other?

If you are trying to extract the signed apk file, then you need to use
AndroidTools  Export Signed application Package...

Regards
Vinay Kumar

On Fri, Aug 24, 2012 at 2:22 PM, B.Arunkumar
awsnetworkrecor...@gmail.comwrote:

 Hi,

I am trying to export Android project in release mode with signed
 key for upload to Google PlayStore through Export Wizard. However I am
 getting an error Conversion to Dalvik Format failed with Error 1.
 Could soebody let me know what is the problem?

 Thank you,
 B.Arunkumar

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

Re: [android-developers] Re: Location Object Null?

2012-08-24 Thread vinay kumar
You can even use Emulator controller in DDMS perspective.

On Fri, Aug 24, 2012 at 2:14 PM, Asheesh Arya asheesharya...@gmail.comwrote:

 send gps command using adb shell

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

Re: [android-developers] Unique ID for Event In android Calender

2012-08-24 Thread vinay kumar
According you what is unique id could you please bring some clarity on this.

On Fri, Aug 24, 2012 at 3:01 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:

 i think  eventID.add(cursor.getLong(0));  this code will fetch you
 calendar_id not the unique id for event

 Thanks
 RK

 On Fri, Aug 24, 2012 at 2:51 PM, vinay kumar vk872...@gmail.com wrote:

 Hi,

 You can use content resolver to get the event_ID and event_Details as
 well please check the following code.


 public class MyCalendar {

 static Cursor cursor;
 public static ArrayListLong eventID = new ArrayListLong();
 public static ArrayListString nameOfEvent = new ArrayListString();
 public static ArrayListString startDates = new ArrayListString();
 public static ArrayListString endDates = new ArrayListString();
 public static ArrayListString descriptions = new
 ArrayListString();
 public static ArrayListString location = new ArrayListString();

 public static void readCalendar(Context context) {
 eventID.clear();
 nameOfEvent.clear();
 startDates.clear();
 endDates.clear();
 descriptions.clear();
 location.clear();
 ContentResolver contentResolver = context.getContentResolver();

 // Fetch a list of all calendars synced with the device, their
 display
 // names and whether the
 // user has them selected for display.

 cursor = contentResolver
 .query(Uri.parse(content://com.android.calendar/events),
 new String[] { calendar_id, title,
 description,
 dtstart, dtend, eventLocation },
 null,
 null, null);

 cursor.moveToFirst();
 // fetching calendars name
 String CNames[] = new String[cursor.getCount()];

 // fetching calendars id
 nameOfEvent.clear();
 startDates.clear();
 endDates.clear();
 descriptions.clear();
 location.clear();
 for (int i = 0; i  CNames.length; i++) {

 eventID.add(cursor.getLong(0));
 nameOfEvent.add(cursor.getString(1));
 if (cursor.getString(2) != null) {
 descriptions.add(cursor.getString(2));
 } else {
 descriptions.add();
 }
 startDates.add(getDate(Long.parseLong(cursor.getString(3;
 endDates.add(getDate(Long.parseLong(cursor.getString(4;

 if (cursor.getString(5) != null) {
 location.add(cursor.getString(5));
 } else {
 location.add();
 }

 CNames[i] = cursor.getString(1);
 cursor.moveToNext();

 }
 // printData();
 }

 public static String getDate(long milliSeconds) {
 SimpleDateFormat formatter = new SimpleDateFormat(
 dd/MM/ hh:mm:ss a);
 Calendar calendar = Calendar.getInstance();
 calendar.setTimeInMillis(milliSeconds);
 return formatter.format(calendar.getTime());
 }



 On Fri, Aug 24, 2012 at 2:33 PM, Rahul Kaushik 
 rahulkaushi...@gmail.comwrote:

 HI,

 How to get Unique ID for EventID In android Calender Event after
 insertion of an event???

 Thanks
 RK

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


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

Re: [android-developers] Unique ID for Event In android Calender

2012-08-24 Thread vinay kumar
Right, event ID which we get from the above code is unique for every event
on Calender.

As you said unique id  through which we can update the particular(on the
basis of unique id) event in Android Calendar.
we can open the event using event_id with delete and edit option so that we
can update them.

Please put our question forward if any.

Regards
Vinay kumar

On Fri, Aug 24, 2012 at 3:30 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:


 unique id  through which we can update the particular(on the basis of
 unique id) event in Android Calendar

 Thanks
 RK


 On Fri, Aug 24, 2012 at 3:24 PM, vinay kumar vk872...@gmail.com wrote:

 According you what is unique id could you please bring some clarity on
 this.


 On Fri, Aug 24, 2012 at 3:01 PM, Rahul Kaushik 
 rahulkaushi...@gmail.comwrote:

 i think  eventID.add(cursor.getLong(0));  this code will fetch you
 calendar_id not the unique id for event

 Thanks
 RK

 On Fri, Aug 24, 2012 at 2:51 PM, vinay kumar vk872...@gmail.com wrote:

 Hi,

 You can use content resolver to get the event_ID and event_Details as
 well please check the following code.


 public class MyCalendar {

 static Cursor cursor;
 public static ArrayListLong eventID = new ArrayListLong();
 public static ArrayListString nameOfEvent = new
 ArrayListString();
 public static ArrayListString startDates = new
 ArrayListString();
 public static ArrayListString endDates = new ArrayListString();
 public static ArrayListString descriptions = new
 ArrayListString();
 public static ArrayListString location = new ArrayListString();

 public static void readCalendar(Context context) {
 eventID.clear();
 nameOfEvent.clear();
 startDates.clear();
 endDates.clear();
 descriptions.clear();
 location.clear();
 ContentResolver contentResolver = context.getContentResolver();

 // Fetch a list of all calendars synced with the device, their
 display
 // names and whether the
 // user has them selected for display.

 cursor = contentResolver

 .query(Uri.parse(content://com.android.calendar/events),
 new String[] { calendar_id, title,
 description,
 dtstart, dtend, eventLocation },
 null,
 null, null);

 cursor.moveToFirst();
 // fetching calendars name
 String CNames[] = new String[cursor.getCount()];

 // fetching calendars id
 nameOfEvent.clear();
 startDates.clear();
 endDates.clear();
 descriptions.clear();
 location.clear();
 for (int i = 0; i  CNames.length; i++) {

 eventID.add(cursor.getLong(0));
 nameOfEvent.add(cursor.getString(1));
 if (cursor.getString(2) != null) {
 descriptions.add(cursor.getString(2));
 } else {
 descriptions.add();
 }

 startDates.add(getDate(Long.parseLong(cursor.getString(3;
 endDates.add(getDate(Long.parseLong(cursor.getString(4;

 if (cursor.getString(5) != null) {
 location.add(cursor.getString(5));
 } else {
 location.add();
 }

 CNames[i] = cursor.getString(1);
 cursor.moveToNext();

 }
 // printData();
 }

 public static String getDate(long milliSeconds) {
 SimpleDateFormat formatter = new SimpleDateFormat(
 dd/MM/ hh:mm:ss a);
 Calendar calendar = Calendar.getInstance();
 calendar.setTimeInMillis(milliSeconds);
 return formatter.format(calendar.getTime());
 }



 On Fri, Aug 24, 2012 at 2:33 PM, Rahul Kaushik 
 rahulkaushi...@gmail.com wrote:

 HI,

 How to get Unique ID for EventID In android Calender Event after
 insertion of an event???

 Thanks
 RK

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


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

[android-developers] Posting large video file to Facebook from android device.

2012-08-24 Thread Vinay Kumar
Hi All,

I am using android-facebook-sdk in one of my project for posting status, 
photo, Video. I am able to post status messages and photos without any 
issues. But now while I am trying to post a video on facebook I am facing 
some trouble. 

I am able to post small video about (30 sec video file  .mp4) with out any 
issues, but unable to post videos which are about 51MB (1min 10 sec). while 
trying so my application crashes with out of memory exception.

Is there any other method to do the same?

Thank You.

Regards
Vinay Kumar

-- 
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] Posting large video file to Facebook from android device.

2012-08-24 Thread vinay kumar
No, I haven't tried yet.

On Fri, Aug 24, 2012 at 4:37 PM, Asheesh Arya asheesharya...@gmail.comwrote:

 have you tried to integrate the facebook chat functionality feature in
 your apps!!

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

[android-developers] PDF Viewer on Android device without thrid part Application.

2012-08-22 Thread Vinay Kumar
Hello,

I'm developing an application (Magazine Application only with PDF file) in 
which PDF viewer functionality need to be integrate.

PDF file has the following data.

   - Text (Description).
   - Images (high resolution)
   - Internal links (to navigate from one page to other)
   - External links (need to open on browser)

Following features need to be implement.

   - PDF page thumbnails (to jump from one page to other on selection of 
   page thumbnails) 
   - Zoom (pinch and on double tap).

On my search regarding the PDF reader on android I came to know that 
android does not provide inbuilt library to handle PDF. And I found many 
third party API, apks, and even code (muPDF) which is not fulfill my 
requirement.

Then how to achieve the same without third-party application and without 
GNU based licensed library. Please I need you kind suggestion on this.


Thank You.

-- 
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: Showing notification dialog over a incoming call

2011-11-02 Thread vinay kumar mj
Hi Sunil,

I think you should use BroadcastReceiver API for this.

2011/11/2 Sunil Mishra suniljmis...@gmail.com

 Thanks Francisco for the explanation. Is there any possibility of
 doing so? any work around?

 On Nov 2, 11:18 am, Francisco Dalla Rosa soares soa...@argo.bz
 wrote:
  when a call comes, your activity goes to background and the phone app's
  activity becomes active.
  You're trying to show a dialog that is tied to a activity that's not
  running at the moment, thus the error.
  Toasts don't have these strong ties to the activity showing them.
 that's
  why it works.
 
  2011/11/2 Sunil Mishra suniljmis...@gmail.com
 
 
 
 
 
 
 
 
 
   Hi,
 
   The log -
 
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main
   11-02 11:25:57.706: ERROR/AndroidRuntime(339):
   android.view.WindowManager$BadTokenException: Unable to add window --
   token android.os.BinderProxy@44e7d968 is not valid; is your activity
   running?
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.ViewRoot.setView(ViewRoot.java:505)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.Window$LocalWindowManager.addView(Window.java:424)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.app.Dialog.show(Dialog.java:241)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   com.motorola.EzeeTransferActivity
   $1.onCallStateChanged(EzeeTransferActivity.java:63)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.telephony.PhoneStateListener
   $2.handleMessage(PhoneStateListener.java:319)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.os.Handler.dispatchMessage(Handler.java:99)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.os.Looper.loop(Looper.java:123)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.app.ActivityThread.main(ActivityThread.java:4627)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   java.lang.reflect.Method.invokeNative(Native Method)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   java.lang.reflect.Method.invoke(Method.java:521)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   com.android.internal.os.ZygoteInit
   $MethodAndArgsCaller.run(ZygoteInit.java:868)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   dalvik.system.NativeStart.main(Native Method)
 
   On Oct 26, 7:36 am, gjs garyjamessi...@gmail.com wrote:
Hi,
 
Examine or post console log showing the error.
 
Regards
 
On Oct 25, 8:10 pm,SunilMishrasuniljmis...@gmail.com wrote:
 
 Hi,
 
 I have written a code to display a dialog box when a incoming call
 arrives, but it crashes.
 It is working fine when done by only displaying message using
 Toast.
 
 Please Help.
 
   --
   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
 
  --
  株式会社アルゴ ARGO Inc.
  〒130-0012
  東京都墨田区太平3-11-10
  NTKオオノビル8階
 
  ソアレス フランシスコ ( Soares Francisco )
  Mail : soa...@argo.bz HP :http://www.argo.bz/
  TEL:03-5619-4511 FAX:03-5619-4512

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

Re: [android-developers] Re: Showing notification dialog over a incoming call

2011-11-02 Thread vinay kumar mj
Hi Sunil,

I think you should use BroadcastReceiver API for this.Below link may
helpfull.

http://thinkandroid.wordpress.com/2010/02/02/custom-intents-and-broadcasting-with-receivers/


Hi Sunil,

 I think you should use BroadcastReceiver API for this.


 2011/11/2 Sunil Mishra suniljmis...@gmail.com

 Thanks Francisco for the explanation. Is there any possibility of
 doing so? any work around?

 On Nov 2, 11:18 am, Francisco Dalla Rosa soares soa...@argo.bz
 wrote:
  when a call comes, your activity goes to background and the phone app's
  activity becomes active.
  You're trying to show a dialog that is tied to a activity that's not
  running at the moment, thus the error.
  Toasts don't have these strong ties to the activity showing them.
 that's
  why it works.
 
  2011/11/2 Sunil Mishra suniljmis...@gmail.com
 
 
 
 
 
 
 
 
 
   Hi,
 
   The log -
 
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main
   11-02 11:25:57.706: ERROR/AndroidRuntime(339):
   android.view.WindowManager$BadTokenException: Unable to add window --
   token android.os.BinderProxy@44e7d968 is not valid; is your activity
   running?
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.ViewRoot.setView(ViewRoot.java:505)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.view.Window$LocalWindowManager.addView(Window.java:424)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.app.Dialog.show(Dialog.java:241)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   com.motorola.EzeeTransferActivity
   $1.onCallStateChanged(EzeeTransferActivity.java:63)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.telephony.PhoneStateListener
   $2.handleMessage(PhoneStateListener.java:319)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.os.Handler.dispatchMessage(Handler.java:99)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.os.Looper.loop(Looper.java:123)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   android.app.ActivityThread.main(ActivityThread.java:4627)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   java.lang.reflect.Method.invokeNative(Native Method)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   java.lang.reflect.Method.invoke(Method.java:521)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   com.android.internal.os.ZygoteInit
   $MethodAndArgsCaller.run(ZygoteInit.java:868)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   11-02 11:25:57.706: ERROR/AndroidRuntime(339): at
   dalvik.system.NativeStart.main(Native Method)
 
   On Oct 26, 7:36 am, gjs garyjamessi...@gmail.com wrote:
Hi,
 
Examine or post console log showing the error.
 
Regards
 
On Oct 25, 8:10 pm,SunilMishrasuniljmis...@gmail.com wrote:
 
 Hi,
 
 I have written a code to display a dialog box when a incoming call
 arrives, but it crashes.
 It is working fine when done by only displaying message using
 Toast.
 
 Please Help.
 
   --
   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
 
  --
  株式会社アルゴ ARGO Inc.
  〒130-0012
  東京都墨田区太平3-11-10
  NTKオオノビル8階
 
  ソアレス フランシスコ ( Soares Francisco )
  Mail : soa...@argo.bz HP :http://www.argo.bz/
  TEL:03-5619-4511 FAX:03-5619-4512

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

[android-developers] Grouping same call logs just like google nexus

2011-10-18 Thread vinay kumar mj
Hi,

I'm working on dialer app, and i'm struck with the grouping of call logs
which is from same number (just like in google nexus).
How to do that, can any one help me



Regards.
Vinay kumar MJ

-- 
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.database.sqlite.SQLiteException: near *: syntax error: , while compiling: SELECT calls._id as _id, number, name, date, duration, new, type FROM calls LEFT OUTER JOIN blu

2011-10-15 Thread vinay kumar mj
Hi

I want to query the call log details from phone, my query is like
below

Cursor groupCur =
mcontext.getContentResolver().query(Calls.CONTENT_URI,
CallLogAdapter.PROJECTION, Calls.NUMBER +  =  
+ number, null,
Calls.DEFAULT_SORT_ORDER);

CallLogAdapter.PROJECTION contain some fields(columns) of call log.

It works fine, but in below condition it will give force close.
Condition:-If dial number starting with * or # (ex: *1234567 or
#123457) and number end with *  (ex: 1234567*)

ERROR LOG:

10-14 14:54:50.425: INFO/Database(26307): sqlite returned: error code
= 1, msg = near *: syntax error
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): Writing exception to
parcel
10-14 14:54:50.429: ERROR/DatabaseUtils(26307):
android.database.sqlite.SQLiteException: near *: syntax error: ,
while compiling: SELECT _id, number, name, date, duration, new, type
FROM calls WHERE (number = *67408) ORDER BY date DESC
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteCompiledSql.native_compile(Native
Method)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:
92)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteCompiledSql.init(SQLiteCompiledSql.java:
65)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteProgram.init(SQLiteProgram.java:83)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteQuery.init(SQLiteQuery.java:49)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:
42)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:
1356)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:
330)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
com.android.providers.contacts.CallLogProvider.query(CallLogProvider.java:
129)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.content.ContentProvider
$Transport.bulkQuery(ContentProvider.java:174)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:
111)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
android.os.Binder.execTransact(Binder.java:320)
10-14 14:54:50.429: ERROR/DatabaseUtils(26307): at
dalvik.system.NativeStart.run(Native Method)
10-14 14:54:50.429: DEBUG/AndroidRuntime(27470): Shutting down VM
10-14 14:54:50.429: WARN/dalvikvm(27470): threadid=1: thread exiting
with uncaught exception (group=0x40015560)
10-14 14:54:50.433: ERROR/AndroidRuntime(27470): FATAL EXCEPTION: main
10-14 14:54:50.433: ERROR/AndroidRuntime(27470):
android.database.sqlite.SQLiteException: near *: syntax error: ,
while compiling: SELECT _id, number, name, date, duration, new, type
FROM calls WHERE (number = *67408) ORDER BY date DESC
10-14 14:54:50.433: ERROR/AndroidRuntime(27470): at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
158)
10-14 14:54:50.433: ERROR/AndroidRuntime(27470): at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
114)
10-14 14:54:50.433: ERROR/AndroidRuntime(27470): at
android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:
330)
10-14 14:54:50.433: ERROR/AndroidRuntime(27470): at
android.content.ContentProviderProxy.query(ContentProviderNative.java:
366)
10-14 14:54:50.433: ERROR/AndroidRuntime(27470): at
android.content.ContentResolver.query(ContentResolver.java:262)

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