[android-developers] URGENT REQUIREMENT: ANDROID TECHNICAL LEAD: CHICAGO, IL

2017-01-12 Thread Gaurav Gupta
Hi,

Hope you are doing great!!

We have urgent requirement for the below position.



Please reply *ga.gu...@pinakitech.com * for quick
response.



Here are the job description :



*Job title: * Android Technical Lead

*Location:* Chicago, IL

*Duration:* 6months +



*Requirements:*

· Experience: 8+ years

· 6+ years In depth coding experience using Java

· 2+ years of experience developing Native/Hybrid apps for Android

· 3+ years of experience mentoring and giving work direction to
Developers

· Excellent hands on skills with Android application development
tools, including Android Studio, Android SDK and ADT

· Deep understanding of the intricacies of the Android platform and
maintain expert level depth of knowledge and develop knowledge on other
platform

· Experience with distributing mobile applications via public app
stores and/or enterprise channels

· Knowledge of an Object Oriented Programming language such as Java
or related framework

· Strong foundation in the fundamentals of computer science, with
familiarity in data structures, algorithms and software design patterns

· Excellent knowledge of working with dynamic data using services
(e.g., JSON, XML, REST APIs etc)

· Experience leading apps across entire lifecycle from design to
app store release and support

· Hands on expertise with automated unit testing

· Experience performance profiling and tuning mobile applications

· Heroic get-it-done self-starter attitude

· Good communicator and team player with strong organizational
skills

· Proactively helps drive innovation within the company

· Experience integrating with Gradle and using other third party
frameworks tools and SDKs

· Experience with continuous delivery in mobile, code review,
static analysis, continuous integration and automation.

· Experience with authenticated sessions using OAuth and
authentication tokens

· Experience building hybrid apps using Cordova (Phonegap), IBM
work light etc.

· Experience with design/development/use of analytics and tracking
solutions (e.g., Adobe, Flurry, Google Analytics

· Experience developing interactive user interfaces utilizing
HTML5, JavaScript & CSS

· Experience with agile methodology





Thanks,

Regards

Gaurav | Execuitve - Talent Acquisition

Pinaki Inc.
5809 VALLEY VIEW DR ALEXANDRIA, VA 22310

Office :302-643-4013  Fax: 302-531-3150



*ga,gu...@pinakitech.com * II *www.pinakitech.com
*

*Disclaimer: *
"This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of this e-mail or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful

-- 
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/CAE1X5Jskv-u-_Ga%3DsL4jpgfoWLFAdBFZYgukNCuZtmheidpdFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Rendering Pron

2016-03-05 Thread Gaurav Gupta
I have created a new application. This is giving Rendering Problems

The following classes could not be instantiated: 
android.support.design.widget.FloatingActionButton.

Please help me in resolving the issue

-- 
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/6b862215-8564-43be-814a-cfdfcf00f882%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Tutorial Hello Testing source code

2011-11-03 Thread gaurav gupta
Hello ,

U can download code from androidpeople.

www.*androidpeople*.com/

u can easliy find basic codes from here.

On Thu, Nov 3, 2011 at 1:17 PM, wyo otto.w...@orpatec.ch wrote:

 I seem to have problem to understand the changes I have to do in the
 code for the tutorial Hello Testing, could the complete code somehow
 be downloaded so I may see my error? Or could some one post the code
 here (it shouldn't be large)?

 --
 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] Prb: gallery Widget

2011-10-18 Thread gaurav gupta
Hello Sweta,

M using  ImageAdapter class to customize gallery . In My ImageAdapter class
m using these lines.


imageView = new ImageView(mContext);
imageView.setLayoutParams(new Gallery.LayoutParams(240, 240));
imageView.setScaleType(ImageView.ScaleType.FIT_XY);
imageView.setPadding(10, 8, 10, 8);

i hope these lines maybe sort out ur problem.

On Tue, Oct 18, 2011 at 11:45 AM, shweta sonalaggrawal2...@gmail.comwrote:

 Hello,

 i am using android:spacing(-40) to decrease space in betweem gallery
 item.  the only left side image decrease the space and goes to behind
 the images
 but the right side image are overlapped.


 --
 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] Apsalar integration in android application

2011-10-18 Thread gaurav gupta
Hello Guys,

I have to integrate Apsalar in my android Application. i am successfully
integrate it. but problem is that  , i want to check my all activity where
user is coming . i have to keep a track that which activity user is using
more. How i will manage all the records using Apsalar. In Apsalar
 Dashboard, its showing count of activity  uses by user but its not showing
device name and device platform. I am unable to find attributes too.

*My code in Apsalar is :*
In oncreate M using this code: Apsalar.startSession(this, Apsalar id ,
secretKey);

*In on click listener of button m using this code*

Log.d(##,
Apsalar video song name is calling);
try {
 JSONArray contents = new JSONArray();
JSONObject item1 = new JSONObject();

item1.put(songname, name);
item1.put(albumname, videos.get(x)
.getAlbum());
item1.put(content_id, videos.get(x)
.getContentId());
contents.put(item1);
Apsalar.event(Videoe, contents,
contents);
JSONObject args = new JSONObject();
args.put(contents, contents);
Apsalar.eventJSON(videocart, args);

} catch (JSONException e) {
android.util.Log.e(Now,
JSON Exception in cart);
}




Kindly suggest me where i am lacking.
Thanks in Advance
Gaurav Gupta
Android Developer

-- 
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: In Textview, how to change the 'selected' color?

2011-10-18 Thread gaurav gupta
Hello ,

U can try Html.fromhtml tag.

Like this line


hotelCity = hotel_Name_Str + ,+ bfont color=#6AA3FA+ 
+tracks.get(position).getHotelCity()+ /font/b;
then set this string in a Textview.

hotelname.setText(Html.fromHtml(hotelCity));


Note : *Here hotelCity and hotel_Name_Str is String and hotelname is
TextView.*

I hope this will work for you.
Kindly let me know ur comment over this.

Thanks n Regards,
Gaurav Gupta
Android Developer
On Tue, Oct 18, 2011 at 12:13 PM, Build account newandroi...@gmail.comwrote:

 Hello, good to see you again.

 I had looked into,
 (but there is limitation which I can create only few selector xml
 physically...since my app need to set various colors properly depends
 on situation. Not only dozone of colors. lol)

 Is there any way to programmtically implement?
 I need programmatic way

 Any advice?


 On Oct 18, 3:07 pm, Justin Anderson magouyaw...@gmail.com wrote:
  Have you tried looking at a selector?
 
  Thanks,
  Justin Anderson
  MagouyaWare Developerhttp://sites.google.com/site/magouyaware
 
  On Mon, Oct 17, 2011 at 10:42 PM, Build account newandroi...@gmail.com
 wrote:
 
 
 
   Hello.
 
   Is there any way to change the color of 'selected' state?
   Since I'm trying to use textview as below.
 
   - one simple textview with a standard TextAppearance attribute.
   - with marquee attribute as well.
   - I have set tv.setSelected(true); for marquee effect.
   - in this case I want to change the text color which the moving text's
   color.
 
   setHighlightColor seem that not working..
 
   Any workaround please?
 
   Please advice 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- Hide quoted
 text -
 
  - Show quoted text -

 --
 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] Facebook integration

2011-09-28 Thread gaurav gupta
Hello Sapna,

U cant make custom layout for facebook login or authentication. FB dont
provide this facility.

M using this code for FB post.

This will add in OnComplete Method.

Bundle parameters = *new* Bundle();

parameters.putString(message, is Listening to  );// the


  parameters.putString(attachment,

 {\name\:\My Test Image\, + \href\:\ +

  http://www.google.com; + \, +

  \media\:[{\type\:\image\,\src\:\ +

  http://www.google.com/logos/mucha10-hp.jpg; +

  \,\href\:\ + http://www.google.com; + \}] + });



facebookClient.dialog(*this*, stream.publish, parameters, *this*);

But FB SDK have some proble now ..it will show snap, snap name but it will
not show any message written on its post textarea.Go and check Github issues
section and check this . This is still a open issue. This problem is related
to FB upgration.

Kindly check which Facebook version is installed in your testing device.

i found that problem in FB 1.5 or later versions.

Kindly check it and let me know.I also waiting for this issue to sort by
FB.




On Thu, Sep 29, 2011 at 10:44 AM, NAVI NEW navi44...@gmail.com wrote:

 Sure that is working , i have also tried that works fine.


 On Tue, Sep 27, 2011 at 3:59 PM, shital suryawanshi 
 shital.andr...@gmail.com wrote:

 hi sapna
 i am also think to develop facebook application
 thanks
 shital

  --

 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] how to show pop up dialog

2011-08-27 Thread gaurav gupta
@Treking .. U r too good

On Fri, Aug 26, 2011 at 8:26 PM, TreKing treking...@gmail.com wrote:

 On Fri, Aug 26, 2011 at 9:25 AM, aparna rani indela@gmail.com wrote:

 is it possible do in android.


 Of course.


 if it is possible give me some sample code


 Try doing your own work, then ask a question when you get stuck. There is
 documentation on PopupWindow and Dialog classes. Start by reading that.


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


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


-- 
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] Getting data from EditText failed why.

2011-08-27 Thread gaurav gupta
H

On Sat, Aug 27, 2011 at 2:27 PM, aparna rani indela@gmail.com wrote:

 hi i am implementing change password option in my app. i displayed dialog
 alert box.
 when i trying to get data from edittext failed. why i don't know please
 help me?

 LayoutInflater factory = LayoutInflater.from(this);
 final View textEntryView = factory.inflate(R.layout.password,
 null);

 AlertDialog.Builder alert = new AlertDialog.Builder(this);

 alert.setTitle(Change Passwoed);
 alert.setView(textEntryView);
 AlertDialog changePassword = alert.create();

 final EditText oldPassword = (EditText)
 changePassword.findViewById(R.id.old_password);
 final EditText newPassword = (EditText)
 changePassword.findViewById(R.id.new_password);
 final EditText retypePassword = (EditText)
 changePassword.findViewById(R.id.retype_password);
 alert.setPositiveButton(Submit, new
 DialogInterface.OnClickListener() {
 public void onClick(DialogInterface dialog, int whichButton)
 {
  String oldPass=oldPassword.getText().toString();
  String newPass=newPassword.getText().toString();
  String retypePass=retypePassword.getText().toString();

 if(oldPass.trim().length()==0||newPass.trim().length()==0||retypePass.trim().length()==0)
  {
  displayAlert(Enter three fields);
  }

 }
 });

 alert.setNegativeButton(Cancel, new
 DialogInterface.OnClickListener() {
   public void onClick(DialogInterface dialog, int whichButton) {
 // Canceled.
   }
 });
 alert.show();

 //password.xml


 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
  android:orientation=vertical
 android:layout_width=fill_parent
  android:layout_height=fill_parent
   TableLayout android:id=@+id/LinearLayout_item
   android:layout_width=fill_parent
   android:layout_height=fill_parent
  TableRow
 EditText android:id=@+id/old_password
   android:layout_width=fill_parent
  android:password=true
   android:singleLine=true
android:hint=Old Password/
   /TableRow
 TableRow
 EditText android:id=@+id/new_password
android:hint=New Password
android:layout_width=fill_parent
android:password=true
android:singleLine=true/
  /TableRow
 TableRow
 EditText android:id=@+id/retype_password
  android:layout_width=fill_parent
android:hint=Retype New Password
android:password=true
android:singleLine=true/
  /TableRow
 /TableLayout
   /LinearLayout

 --
 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] Getting data from EditText failed why.

2011-08-27 Thread gaurav gupta
Hi Aparna,

* final EditText oldPassword = (EditText)
changePassword.findViewById(R.id.old_password);*
*Use this line*
**
*final EditText oldPassword = (EditText)
textEntryView.findViewById(R.id.old_password);*

On Sat, Aug 27, 2011 at 2:36 PM, gaurav gupta gaurav.gupta...@gmail.comwrote:

 H


 On Sat, Aug 27, 2011 at 2:27 PM, aparna rani indela@gmail.com wrote:

 hi i am implementing change password option in my app. i displayed dialog
 alert box.
 when i trying to get data from edittext failed. why i don't know please
 help me?

 LayoutInflater factory = LayoutInflater.from(this);
 final View textEntryView = factory.inflate(R.layout.password,
 null);

 AlertDialog.Builder alert = new AlertDialog.Builder(this);

 alert.setTitle(Change Passwoed);
 alert.setView(textEntryView);
 AlertDialog changePassword = alert.create();

 final EditText oldPassword = (EditText)
 changePassword.findViewById(R.id.old_password);
 final EditText newPassword = (EditText)
 changePassword.findViewById(R.id.new_password);
 final EditText retypePassword = (EditText)
 changePassword.findViewById(R.id.retype_password);
 alert.setPositiveButton(Submit, new
 DialogInterface.OnClickListener() {
 public void onClick(DialogInterface dialog, int whichButton)
 {
  String oldPass=oldPassword.getText().toString();
  String newPass=newPassword.getText().toString();
  String retypePass=retypePassword.getText().toString();

 if(oldPass.trim().length()==0||newPass.trim().length()==0||retypePass.trim().length()==0)
  {
  displayAlert(Enter three fields);
  }

 }
 });

 alert.setNegativeButton(Cancel, new
 DialogInterface.OnClickListener() {
   public void onClick(DialogInterface dialog, int whichButton) {
 // Canceled.
   }
 });
 alert.show();

 //password.xml


 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
  android:orientation=vertical
 android:layout_width=fill_parent
  android:layout_height=fill_parent
   TableLayout android:id=@+id/LinearLayout_item
   android:layout_width=fill_parent
   android:layout_height=fill_parent
  TableRow
 EditText android:id=@+id/old_password
   android:layout_width=fill_parent
  android:password=true
   android:singleLine=true
android:hint=Old Password/
   /TableRow
 TableRow
 EditText android:id=@+id/new_password
android:hint=New Password
android:layout_width=fill_parent
android:password=true
android:singleLine=true/
  /TableRow
 TableRow
 EditText android:id=@+id/retype_password
  android:layout_width=fill_parent
android:hint=Retype New Password
android:password=true
android:singleLine=true/
  /TableRow
 /TableLayout
   /LinearLayout

 --
 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] Can we have a RelativeLayout with rounded rectangle shape and an image in the background?

2011-08-25 Thread gaurav gupta
Hi
Use framelayout.

On 25 Aug 2011 23:12, Raj bande.rajki...@gmail.com wrote:

Hello,
I am stuck. Can we have a RelativeLayout with rounded rectangle shape and an
image in the background? I was successful in giving roundrect shape/image in
the background, but not both. So can anybody tell me how can we acheive
both?

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

2011-08-24 Thread gaurav gupta
Kindly send from Android phone


On Fri, Aug 19, 2011 at 10:40 AM, Ashita loril...@gmail.com wrote:







 Sent from my iPhone
 --
 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] CrypTEXT: Crypt image

2011-08-24 Thread gaurav gupta
Thax for giving android groups email id .

I am trying since 25 years to find it.

On Fri, Aug 19, 2011 at 10:42 AM, Ashita loril...@gmail.com wrote:

 This is the image with encrypted text!






 Sent from my iPhone
 --
 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] Test

2011-08-09 Thread gaurav gupta
Failed

On Wed, Aug 10, 2011 at 10:54 AM, dileep discover.dile...@gmail.com wrote:

 Test

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

2011-08-05 Thread gaurav gupta
Hi Guys,

M calling a webview to show a website, but in mobile or tab.
but url is redirecting .
i want to open a particular website , not its redirected url.
m using this code ,
Kindly check my code and let me know where is problem.
its urgent.
Thanks in Advance.


 WebView mWebView;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

mWebView = (WebView) findViewById(R.id.webview);
//mWebView.getSettings().setJavaScriptEnabled(true);

mWebView.loadUrl(example url);
mWebView.requestFocus();


mWebView.setWebViewClient(new WebViewClient()
{

@Override
public boolean shouldOverrideUrlLoading(WebView view, String url){
// do your handling codes here, which url is the requested url
// probably you need to open that url rather than redirect:
view.loadUrl(url);
return true; // then it is not handled by default action
}});


}

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

2011-07-29 Thread gaurav gupta
hi ,
U can set padding of dialog box.



On Fri, Jul 29, 2011 at 10:28 AM, arun kumar arun.kata...@gmail.com wrote:

 how to show dialog box as at the bottom of the layout(can we make
 dialog box as a floating list)

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

2011-07-29 Thread gaurav gupta
floating list means...??
u want to use marquee in dialog box?
if its ur requriment then sure its possible.
please specify ur requriment and anyone can help u.



On Fri, Jul 29, 2011 at 3:02 PM, arun kumar arun.kata...@gmail.com wrote:

 can we make dialog box as floating list


  --
 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] Alert Dialog Custom View Shows Border

2011-07-26 Thread gaurav gupta
HI Everyone,
m using Alert Dialog to display a login form.
this login form contains one golden border.
M setting a custom view in this alert dialog.
but in Alert dialog one another cornor is also coming.
when i use this line

alert.setInverseBackgroundForced(*true*);



Cornor of alert Dialog becomes white and i set  it false, one transparent
border is coming.

i dont want to show any other border around my alert dialog.

Here is my code , please check.



LayoutInflater factory = LayoutInflater.*from*(*this*);

*final* View textEntryView = factory.inflate(R.layout.*speak_local*, *null*
);

Speak_convert_from=(Spinner)textEntryView.findViewById(R.id.*country_spinner
*);

Word_convert_from=(Spinner)textEntryView.findViewById(R.id.*
select_word_spinner*);

result_box=(EditText)textEntryView.findViewById(R.id.*result_edittext*);

conver_button=(Button)textEntryView.findViewById(R.id.*convert_button*);

Speak_convert_to=(Spinner)textEntryView.findViewById(R.id.*
convert_language_spinner*);

AlertDialog.Builder alert = *new* AlertDialog.Builder(*this*);

alert.setView(textEntryView);

alert.setInverseBackgroundForced(*true*);

AlertDialog *loginPrompt* = alert.create();

alert.show();



Kindly suggest me on this particular issue.

Thanks in Advance.

with Regards

Gaurav Gupta

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

2011-07-26 Thread gaurav gupta
emulator.exe solution

On Tue, Jul 26, 2011 at 5:10 PM, Lwe luaisul...@gmail.com wrote:

 emulator.exe problem

 --
 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: Facebook Integration issue

2011-07-24 Thread gaurav gupta
Hi Shanmugam,
Thanks For ur reply.
Facebook Updation creates problem in previous code.
i solved this problem, but still i failed to implement SSO.
Without SSO it will work.
Check this discussion.

https://github.com/facebook/facebook-android-sdk/issues/191

Let me know if u get any solution regarding SSO.
Thanks

On Sun, Jul 24, 2011 at 8:53 AM, shanmugam nathan 
shanmugam.andr...@gmail.com wrote:

 Hi Gaurav,
 Sorry i'm not sure about that platform change.
 But let me try and let you know soon.

 If you get any update on that please let me know

 Regards,
 Shanmugam



 On Fri, Jul 22, 2011 at 7:36 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 Hi Shanmugam,
 thanks 4 reply. i work for that too.
 its working fine when in my phone Facebook For Android 1.3 is used.
 but when i upgrade my Facebook For Android to 1.5 or 1.6 , its not
 working.
 this issue is related to Facebook updation.
 Please look at this issue.
 if u find any link or anything regarding this, let me know
 Thanks



  On Sat, Jul 16, 2011 at 4:56 PM, shanmugam nathan 
 shanmugam.andr...@gmail.com wrote:

 Hey gaurav,

 Why don't u try with EasyFacebookConnectSDK  its quite simpler for
 beginners.
 But u can find some errors in LogCat but just ignore those coz ur
 final target ll be achieved.


 Thanks,
 Shanmugam

 --
 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: Facebook Integration issue

2011-07-22 Thread gaurav gupta
HI,
i also use EasyFacebookConnectSDK.i am not clear about this problem.
i have to simple post my status using android.
Previously i have FaceBook's 1.3 version, i update it , now i have FaceBook
1.6.
In FB 1.3 this code is working fine, but in FB 1.6 its not working and its
open native Facebook application.
i have to just post Status as i do in FB 1.3.
Suggest me..
its my code .
Please help me its urgent
Thanks in advance.

package com.greatapp;

import java.io.IOException;
import java.net.MalformedURLException;

import com.facebook.android.DialogError;
import com.facebook.android.Facebook;
import com.facebook.android.Facebook.DialogListener;
import com.facebook.android.FacebookError;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;

public class MyGreatActivity extends Activity implements DialogListener{
/** Called when the activity is first created. */
Facebook facebook;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
System.out.println(facebook started);
  fblogin();
   }
public void fblogin()
{
facebook = new Facebook(12205826798);
try {
facebook.logout(getApplicationContext());
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
facebook.authorize(MyGreatActivity.this, new String[] {
publish_stream,
read_stream, offline_access }, this);
}

public void onComplete(Bundle values) {
if (values.isEmpty()) {
return;
}

if (!values.containsKey(post_id)) {
try {
Bundle parameters = new Bundle();
parameters
.putString(message, is Listening to   + facebook
ragga);// the

facebook.dialog(this, stream.publish, parameters, this);
} catch (Exception e) {
System.out.println(e.getMessage());
}
}
}
public void onFacebookError(FacebookError e) {
// TODO Auto-generated method stub
showToast(Authentication with Facebook failed!);
finish();

}
public void onError(DialogError e) {
// TODO Auto-generated method stub
showToast(Authentication with Facebook failed!);
finish();

}
public void onCancel() {
// TODO Auto-generated method stub
showToast(Authentication with Facebook failed!);
finish();

}
private void showToast(String message){
Toast.makeText(getApplicationContext(), message,
Toast.LENGTH_SHORT).show();
}
}





On Sat, Jul 16, 2011 at 4:56 PM, shanmugam nathan 
shanmugam.andr...@gmail.com wrote:

 Hey gaurav,

 Why don't u try with EasyFacebookConnectSDK  its quite simpler for
 beginners.
 But u can find some errors in LogCat but just ignore those coz ur
 final target ll be achieved.


 Thanks,
 Shanmugam

 --
 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: Facebook Integration issue

2011-07-22 Thread gaurav gupta
Hi Shanmugam,
thanks 4 reply. i work for that too.
its working fine when in my phone Facebook For Android 1.3 is used.
but when i upgrade my Facebook For Android to 1.5 or 1.6 , its not working.
this issue is related to Facebook updation.
Please look at this issue.
if u find any link or anything regarding this, let me know
Thanks



On Sat, Jul 16, 2011 at 4:56 PM, shanmugam nathan 
shanmugam.andr...@gmail.com wrote:

 Hey gaurav,

 Why don't u try with EasyFacebookConnectSDK  its quite simpler for
 beginners.
 But u can find some errors in LogCat but just ignore those coz ur
 final target ll be achieved.


 Thanks,
 Shanmugam

 --
 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] Fwd: image view listener

2011-07-17 Thread gaurav gupta
Hi Arun,
it should to work.
i dont know the full flow of your code.
if u will send ur code, then i can help you.its not a big issue,its simplest
program.




On Mon, Jul 18, 2011 at 11:06 AM, arun kumar arun.kata...@gmail.com wrote:

 thank you for reply
 while changing that code am getting application force close.


 On Sat, Jul 16, 2011 at 2:49 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 Hi Arun,
 Add this line in ur program

  if (((ImageView) v).isClickable()) {
 img4.setVisibility(View.VISIBLE);
 *img3.setVisibility(View.GONE);*
}
else {
 img4.setVisibility(View.INVISIBLE);
   }
 }
 });

 On Sat, Jul 16, 2011 at 12:25 PM, arun kumar arun.kata...@gmail.comwrote:



 -- Forwarded message --
 From: arun kumar arun.kata...@gmail.com
 Date: Fri, Jul 15, 2011 at 2:52 AM
 Subject: image view listener
 To: android-developers@googlegroups.com


 Hi

 am having two image one is placed rightside and other is placed leftside
 to the layout when i click on image 1 image 3 has to display
 inbetween image 1 and image 2similarly when i click on image 2... image
 4 has to display inbetween image1 and image2


 for me here when i click on image1 ...image 3 has appearing and
 when i click on image 2.. image 4 along with image 3 has
 appearing//here image 3 has to disappear

  i set images 3and 4  as invisible in xml file ...in java
 file i wrote onclick listener for image1 and image 2 .

 ImageView android:layout_height=wrap_content
 android:scaleType=center android:id=@+id/iv8
 android:visibility=invisible android:layout_width=20dip
 android:src=@drawable/logo8/ImageView
  ImageView android:layout_height=wrap_content
 android:scaleType=center android:visibility=invisible
 android:onClick=@drawable/logo  android:id=@+id/iv5
 android:layout_width=30dip android:src=@drawable/logo5/ImageView




 final ImageView img1=( ImageView)findViewById(R.id.iv1);
  img1.setOnClickListener(new OnClickListener() {
 public void onClick(View v) {
 // TODO Auto-generated method stub
   ImageView img3 = (ImageView)findViewById(R.id.iv3);

  if (((ImageView) v).isClickable()) {

 img3.setVisibility(View.VISIBLE);

 } else {
 img3.setVisibility(View.INVISIBLE);
}

});



 final ImageView img2=( ImageView)findViewById(R.id.iv2);
  img2.setOnClickListener(new OnClickListener() {
 public void onClick(View v) {


  ImageView img8=(ImageView)findViewById(R.id.iv4);

  if (((ImageView) v).isClickable()) {

 img4.setVisibility(View.VISIBLE);

}
else {

 img4.setVisibility(View.INVISIBLE);

   }
 }
 });

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

[android-developers] Facebook Integration issue

2011-07-16 Thread gaurav gupta
HI Guys,
M trying to integrate facebook in my application. I have to simple publish
my status using facebook application.
but its not working and giving me this in logcat. (in a particular device),
but in my nexus same code working fine.
Please suggest me .
My facebook doesnot work and gives following warning in Logcat.

07-16 12:40:42.594: VERBOSE/PlayerDriver(83): status=5
07-16 12:40:42.614: INFO/ActivityManager(142): Start proc
com.facebook.katana for activity com.facebook.katana/.ProxyAuth: pid=1844
uid=10012 gids={3003, 1015}
07-16 12:40:42.724: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.LoggingProvider:
com.facebook.katana.provider.LoggingProvider
07-16 12:40:42.854: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.NotificationsProvider:
com.facebook.katana.provider.NotificationsProvider
07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.KeyValueProvider:
com.facebook.katana.provider.KeyValueProvider
07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.ChatHistoryProvider:
com.facebook.katana.provider.ChatHistoryProvider
07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.UserValuesProvider:
com.facebook.katana.provider.UserValuesProvider
07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.FriendsProvider:
com.facebook.katana.provider.FriendsProvider
07-16 12:40:42.884: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.PagesProvider:
com.facebook.katana.provider.PagesProvider
07-16 12:40:42.884: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.MailboxProvider:
com.facebook.katana.provider.MailboxProvider
07-16 12:40:42.894: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.UserStatusesProvider:
com.facebook.katana.provider.UserStatusesProvider
07-16 12:40:42.894: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.PhotosProvider:
com.facebook.katana.provider.PhotosProvider
07-16 12:40:42.904: INFO/ActivityThread(1844): Publishing provider
com.facebook.katana.provider.EventsProvider:
com.facebook.katana.provider.EventsProvider
07-16 12:40:43.014: ERROR/Facebook-ProxyAuth(1844): Failed to read calling
package's signature.
07-16 12:40:43.084: INFO/ActivityManager(142): Starting activity: Intent {
act=android.intent.action.VIEW flg=0x400
cmp=com.facebook.katana/.LoginActivity (has extras) }

Please suggest me on this topic.


Thanks  Regards
Gaurav Gupta

-- 
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] Facebook Integration issue

2011-07-16 Thread gaurav gupta
Hi Nasif,
M using fbconnect.jar.


package abc.face.activity;
import java.io.IOException;
import java.net.MalformedURLException;
import com.facebook.android.AsyncFacebookRunner;
import com.facebook.android.DialogError;
import com.facebook.android.Facebook;
import com.facebook.android.Facebook.DialogListener;
import com.facebook.android.FacebookError;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;

public class FacebookDemoActivity extends Activity implements DialogListener
{
 AsyncFacebookRunner mAsyncRunner;
 Facebook mFacebook;
 private static final String[] PERMISSIONS =  new String[]
{publish_stream, read_stream, offline_access};
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
FbLogin();
}



 public void FbLogin(){
  mFacebook=new Facebook(APPID);
  try {
   Log.d(logout for previous logoing,logout form previous);
   mFacebook.logout(getApplicationContext());
  } catch (MalformedURLException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
  } catch (IOException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
  }
  Log.d(Authorization,logout form previous);
  mFacebook.authorize(this, new String[] { publish_stream,
read_stream, offline_access }, this);

 }

@Override
 public void onComplete(Bundle values) {
  // TODO Auto-generated method stub
  if (values.isEmpty()) {
   return;
  }
  if (!values.containsKey(post_id)) {
   try {
Toast.makeText(FacebookDemoActivity.this, facebook oncomplete  is
calling, Toast.LENGTH_LONG).show();
Bundle parameters = new Bundle();
parameters
  .putString(message, Shouting Loud   + Main 21 vi sadi ka ladka
hoon,maine uski...);// the

  parameters.putString(attachment,
  {\name\:\My Test Image\, + \href\:\ +
  http://www.google.com; + \, +
  \media\:[{\type\:\image\,\src\:\ +
  http://www.google.com/logos/mucha10-hp.jpg; +
  \,\href\:\ + http://www.google.com; + \}] + });

 mFacebook.dialog(this, stream.publish, parameters, this);
   } catch (Exception e) {
System.out.println(e.getMessage());
   }
  }


 }
 @Override
 public void onFacebookError(FacebookError e) {
  // TODO Auto-generated method stub

 }
 @Override
 public void onError(DialogError e) {
  // TODO Auto-generated method stub

 }
 @Override
 public void onCancel() {
  // TODO Auto-generated method stub

 }

 /*public class AuthorizeListener extends BaseDialogListener {
  public void onComplete(Bundle values) {
   Bundle params = new Bundle();
   params.putString(message, Message);
   params.putString(description, Wall Posting Description);
 mAsyncRunner.request(me/feed, params, POST,new
UploadListener()); }
 }

public class UploadListener extends BaseRequestListener {
 public void onComplete(final String response) {

 mAsyncRunner.request(mFacebook.logout(getApplicationContext()), new
LogoutListener());
 }

 public class LogoutListener extends BaseRequestListener {
  public void onComplete(final String response) {

  }}


*/
 //}
}

and this is my full code.
APPID is not insert here only. its works fine on nexus one but not working
in a non launched mobile.

On Sat, Jul 16, 2011 at 12:55 PM, Nasif Noorudeen nas...@gmail.com wrote:


 are using fbconnect
 On Sat, Jul 16, 2011 at 12:53 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 HI Guys,
 M trying to integrate facebook in my application. I have to simple publish
 my status using facebook application.
 but its not working and giving me this in logcat. (in a particular
 device), but in my nexus same code working fine.
 Please suggest me .
 My facebook doesnot work and gives following warning in Logcat.

 07-16 12:40:42.594: VERBOSE/PlayerDriver(83): status=5
 07-16 12:40:42.614: INFO/ActivityManager(142): Start proc
 com.facebook.katana for activity com.facebook.katana/.ProxyAuth: pid=1844
 uid=10012 gids={3003, 1015}
 07-16 12:40:42.724: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.LoggingProvider:
 com.facebook.katana.provider.LoggingProvider
 07-16 12:40:42.854: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.NotificationsProvider:
 com.facebook.katana.provider.NotificationsProvider
 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.KeyValueProvider:
 com.facebook.katana.provider.KeyValueProvider
 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.ChatHistoryProvider:
 com.facebook.katana.provider.ChatHistoryProvider
 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.UserValuesProvider:
 com.facebook.katana.provider.UserValuesProvider
 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider

Re: [android-developers] Fwd: image view listener

2011-07-16 Thread gaurav gupta
Hi Arun,
Add this line in ur program

 if (((ImageView) v).isClickable()) {
img4.setVisibility(View.VISIBLE);
*img3.setVisibility(View.GONE);*
   }
   else {
img4.setVisibility(View.INVISIBLE);
  }
}
});

On Sat, Jul 16, 2011 at 12:25 PM, arun kumar arun.kata...@gmail.com wrote:



 -- Forwarded message --
 From: arun kumar arun.kata...@gmail.com
 Date: Fri, Jul 15, 2011 at 2:52 AM
 Subject: image view listener
 To: android-developers@googlegroups.com


 Hi

 am having two image one is placed rightside and other is placed leftside to
 the layout when i click on image 1 image 3 has to display inbetween
 image 1 and image 2similarly when i click on image 2... image 4 has to
 display inbetween image1 and image2


 for me here when i click on image1 ...image 3 has appearing and when
 i click on image 2.. image 4 along with image 3 has appearing//here
 image 3 has to disappear

  i set images 3and 4  as invisible in xml file ...in java file
 i wrote onclick listener for image1 and image 2 .

 ImageView android:layout_height=wrap_content
 android:scaleType=center android:id=@+id/iv8
 android:visibility=invisible android:layout_width=20dip
 android:src=@drawable/logo8/ImageView
  ImageView android:layout_height=wrap_content
 android:scaleType=center android:visibility=invisible
 android:onClick=@drawable/logo  android:id=@+id/iv5
 android:layout_width=30dip android:src=@drawable/logo5/ImageView




 final ImageView img1=( ImageView)findViewById(R.id.iv1);
  img1.setOnClickListener(new OnClickListener() {
 public void onClick(View v) {
 // TODO Auto-generated method stub
   ImageView img3 = (ImageView)findViewById(R.id.iv3);

  if (((ImageView) v).isClickable()) {

 img3.setVisibility(View.VISIBLE);

 } else {
 img3.setVisibility(View.INVISIBLE);
}

});



 final ImageView img2=( ImageView)findViewById(R.id.iv2);
  img2.setOnClickListener(new OnClickListener() {
 public void onClick(View v) {


  ImageView img8=(ImageView)findViewById(R.id.iv4);

  if (((ImageView) v).isClickable()) {

 img4.setVisibility(View.VISIBLE);

}
else {

 img4.setVisibility(View.INVISIBLE);

   }
 }
 });

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

2011-07-15 Thread gaurav gupta
Hi Arun,
U have to set ur background image for all three screen resolution.
Insert your image in drawable-hdpi for 420*800, drawable-mdpi for 320*400,
and drawable-ldpi for 240*320.
u have to insert three background according to ur screen resolution.
i hope it will work for u.

On Fri, Jul 15, 2011 at 12:45 PM, arun kumar arun.kata...@gmail.com wrote:

 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:orientation=vertical
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:id=@+id/ll
 android:background=@drawable/circle6
 
TextView android:text=Country android:id=@+id/t1
 android:layout_height=wrap_content
 android:layout_width=115dip/TextView
  TextView android:text=State android:id=@+id/t2
 android:layout_height=wrap_content
 android:layout_width=105dip/TextView
  TextView android:text=District android:id=@+id/t3
 android:layout_height=wrap_content
 android:layout_width=wrap_content/TextView


 /LinearLayout


 am having a circle shaped background image in which text is placed ...but
 when am checking on different screen resolution then my text is displaying
 in an improper way.

 ---how to make background image look similar in all devices


 Thakyou
 arun

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

2011-07-15 Thread gaurav gupta
Hi Arun,
You need to insert images with same name is each drawable , but each image
size will change according to their screen resolution.
You have to make three images with different sizes but same name.

On Fri, Jul 15, 2011 at 2:07 PM, arun kumar arun.kata...@gmail.com wrote:

 thanks for ur reply.

 i placed the image in hdpi,ldpi and mdpi..but its getting the same
 issueor i have to make that image as nine patchhow to make mage as
 ninepatch

 Thankyou

  arun

 --
 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] Mediaplayer 's setOnCompletionListener is not working

2011-07-05 Thread gaurav gupta
Hi Guys,
m using service to play a audio file in background.
This is my PreviewServices class .

package com.hungama.myplay.activity;
import java.io.IOException;
import com.hungama.myplay.db.DBManager;
import com.hungama.myplay.model.DataManager;
import android.app.Service;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnBufferingUpdateListener;
import android.media.MediaPlayer.OnCompletionListener;
import android.net.Uri;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.util.Log;
import android.widget.MediaController;
import android.widget.Toast;
public class PreviewServices extends Service {
 private static final String TAG = PreviewServices;
 public static MediaPlayer player;
 protected DataManager dataManager = DataManager.getInstance();
 String song_uri, url;
 private IBinder myBinder;
 private boolean isplaying;
 @Override
 public IBinder onBind(Intent intent) {
  return null;
 }
 public class MyBinder extends Binder {
  PreviewServices getService() {
   return PreviewServices.this;
  }
 }
 @Override
 public void onCreate() {
  Log.d(TAG, onCreate  + song_uri);
 }
 @Override
 public void onDestroy() {
 player.stop();
 }
 public void onPause() {
  player.pause();
 }
 public double duration() {
  return player.getDuration();
 }
 public void onStart(Intent intent, int startid) {
   Bundle b = intent.getExtras();
  song_uri = b.getString(song_uri);
   Uri path = Uri.parse(song_uri);
  player = MediaPlayer.create(this, path);
  player.setLooping(false); // Set looping
   player.start();
/ *player.setOnCompletionListener(new OnCompletionListener() {

 public void onCompletion(MediaPlayer mp) {
  // TODO Auto-generated method stub
 Log.d(song is completed,song is not playing now);
 dataManager.setPreview_play(true);

 }
});
*/

 }
}

My PreviewServices is working fine,
in My Activity i want to show a message when my song will complete.
m using this code for this purpose.
PreviewServices preview=new PreviewServices();


MusicScreen.*this*.preview.*player***.setOnCompletionListener(*new*OnCompletionListener()
{

 *public* *void* onCompletion(MediaPlayer mp) {

// *TODO* Auto-generated method stub

  Log.d(song is complete,song complete);

}

});

I dont know Y its throws Null Pointer Exception in this line

*MusicScreen.this.preview.player.setOnCompletionListener(newOnCompletionListener()
*

**

*please suggest  me where is problem.*

*thanks in advance.*

  *Gaurav Gupta*
**

-- 
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 sqlite database file

2011-06-17 Thread gaurav gupta
HI,
its simple to check ur all data. use sqlite database browser. download it
from its website.

Steps to find the sqlite data from sdcard.

   - Go to DDMS-file explorer
   - click on mnt- Sdcard
   - choose ur desired project's data
   - and pull from sdcard(this option is in the corner of file explorer)
   - store ur database file in hard drive
   - Browse it using sqlite database browser.
   - :)
   -


On Fri, Jun 17, 2011 at 2:29 PM, nageswara rao rajana nagu.raj...@gmail.com
 wrote:

 Hi,


   I implemented an database application on device. But i am unable to
 find where the database file is stored on sdcard.
   Please any one help me.

 Thanking you,
 Nagu.

 --
 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 sqlite database file

2011-06-17 Thread gaurav gupta
u easily get exact db file .
use these steps

On Fri, Jun 17, 2011 at 3:04 PM, Ankit Kasliwal kasliwalankit2...@gmail.com
 wrote:

 Hi,
Ok.


 On Fri, Jun 17, 2011 at 3:00 PM, nageswara rao rajana 
 nagu.raj...@gmail.com wrote:

 Hi Ankit,

  Thanks for  the links. I will work on it and i will get back
 to you, if i get any issues.

   Thanking you,
   Nagu.

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




 --

 Thanks and Regards,

 Ankit Kasliwal
 kasliwalankit2...@gmail.com
 +91-9300-940-136

 --
 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: Text view over image gallery

2011-06-17 Thread gaurav gupta
Hi
u can use frame layout.

On Fri, Jun 17, 2011 at 12:42 PM, Randy rendy.hadin...@gmail.com wrote:

 Anyone help me please...

 On May 24, 9:16 am, Randy rendy.hadin...@gmail.com wrote:
  How can i makeTextviewoverimagegallery like pulse news reader's
  UI?
 
  Anyone can 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 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: Application doesn't install but Icon comes in launcher

2011-06-16 Thread gaurav gupta
Hi Dude.
chk ur manifest file
u r using internet permission wrong.
use this line above the application tag. it will work ..
working in my Nexus. i only chage this.(Remove ur internet permission line
from application tag)
:)



uses-permission android:name=*android.permission.INTERNET*/
uses-permission


On Thu, Jun 16, 2011 at 5:35 PM, String sterling.ud...@googlemail.comwrote:

 Did your naughts  crosses app access the internet?

 --
 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] MultiAutoTextView with Two Textview

2011-06-10 Thread gaurav gupta
Hi Guys,

i want to make my custom  layout for android MultiAutoTextView.i want to
write multi lines in Multiautotextview.

package com.autodemo.activity;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.MultiAutoCompleteTextView;
public class AutoDemo extends Activity {
/** Called when the activity is first created. */

 String item[]={   January, February, March,
April,May,May,May,May,May,May,May,May,May,May,
   May, June, July, August,   September, October, November,
December };
 String
item2[]={11-06-2011,12-06-2011,13-06-2011,14-06-2011,15-06-2011,16-06-2011,17-06-2011,18-06-2011,};
 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
  MultiAutoCompleteTextView mymulti=
(MultiAutoCompleteTextView)findViewById(R.id.multiautocompletetextview);
  mymulti.setAdapter(new ArrayAdapter(this,R.layout.multiauto, item));
  mymulti.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
  }
 }

This is my code my mulitautotextview.
my custom layout for MultiAutoTextView is


TextView

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

android:layout_width=*fill_parent* android:layout_height=*wrap_content*
* *

android:id=*@+id/text1* android:textColor=*#00* android:textSize=*
16sp*
* *

android:textStyle=*bold*
* *

/TextView


I want to one more textview in this layout and show the element of array
item2 below ,

please suggest me

Thanks in advance
Gaurav Gupta

-- 
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] Problem in calling web service

2011-06-09 Thread Gaurav Gupta
Hello everyone!

I am trying to call the .net webservices through android application.
I have already download ksoap2-android-assembly-2.4-jar-with-
dependencies.jar file and put this .jar file in  my project under lib
folder.
I have included this .jar file through the option of Add external
jar in Eclipse.

But when i run my android application then it gives a error like
this:-

void org.ksoap2.transport.HttpTransportSE.call(String arg0,
SoapEnvelope arg1) throws IOException, XmlPullParserException


Note: The Javadoc for this element could neither be found in the
attached source nor the attached Javadoc.

So please guide me what should i do for remove this error.

Thanx.

-- 
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] Problem in calling web service

2011-06-09 Thread Gaurav Gupta
Hello everyone!

I am trying to call the .net webservices through android application.
I have already download ksoap2-android-assembly-2.4-jar-with-
dependencies.jar file and put this .jar file in  my project under lib
folder.
I have included this .jar file through the option of Add external
jar in Eclipse.

But when i run my android application then it gives a error like
this:-

void org.ksoap2.transport.HttpTransportSE.call(String arg0,
SoapEnvelope arg1) throws IOException, XmlPullParserException


Note: The Javadoc for this element could neither be found in the
attached source nor the attached Javadoc.

So please guide me what should i do for remove this error.

Thanx.

-- 
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 do I get the MD5 fingerprint of my application certificate through code?

2011-06-08 Thread gaurav gupta
Hi Dude,
follow this link ..
it will work
http://blogspot.fluidnewmedia.com/2009/04/displaying-google-maps-in-the-android-emulator/

On Wed, Jun 8, 2011 at 6:37 PM, Dom dominicmarm...@gmail.com wrote:

 Hi mendhak, did you solve this problem? Were you able to get the MD5
 Certificate Fingerprint of your app programmatically? Any directions on how
 to achieve this please?


  --
 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] RunOnUiThread loads images randomly !!

2011-05-30 Thread gaurav gupta
Hi Guys,
M using runonUiThread to set images in a Gridview. its working fine but its
load images randomly, i want that images load in sequence order , not
randomly.
please Suggest how  can i do that.

-- 
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] Chatting application

2011-05-30 Thread gaurav gupta
Hi Guys ,
i want to make a chat application, where we can chat using any email id. i
dont want to make a server for this.
On my first step i want to make this for gmail only. but i will make it for
any email id later
Suggest me regarding this.


Thanks in Advance
Gaurav Gupta
Android Developer

-- 
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] 3d game engine for android game development on ubuntu

2011-05-26 Thread gaurav gupta
:)
Tell me too. if u got any solution.

On Thu, May 26, 2011 at 2:11 PM, Abhishek Talwar 
r.o.b.i.n.abhis...@gmail.com wrote:

 hey guys
 Now after making a few android applications i want to step into 3d
 game development.
 I run ubuntu please let me know which game engines do i have as
 options since most of them are only for windows and mac like unity 3d

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

2011-05-24 Thread gaurav gupta
but how??
can u suggest me?

On Tue, May 24, 2011 at 5:05 PM, neha jain neha.05...@gmail.com wrote:

 thank you..
 my problem has solved.


 On Tue, May 24, 2011 at 12:20 PM, Mark Murphy mmur...@commonsware.comwrote:

 Use AlertDialog.Builder. Call setView() on the Builder with a
 RatingBar, or some layout you inflated that contains a RatingBar.

 On Tue, May 24, 2011 at 7:17 AM, neha neha.05...@gmail.com wrote:
  Can anyone provide me code to add RatingBar in alert box.

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


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

2011-05-24 Thread gaurav gupta
i need ur suggestion that how u manage to create custom rating bar with
images choosed by u.
i need help in that .
Thank u in advance

hi
I want to create custom rating bar with image choosed by me instead of
stars.
Can anyone provide me code

On Tue, May 24, 2011 at 5:09 PM, gaurav gupta gaurav.gupta...@gmail.comwrote:

 but how??
 can u suggest me?

 On Tue, May 24, 2011 at 5:05 PM, neha jain neha.05...@gmail.com wrote:

 thank you..
 my problem has solved.


 On Tue, May 24, 2011 at 12:20 PM, Mark Murphy mmur...@commonsware.comwrote:

 Use AlertDialog.Builder. Call setView() on the Builder with a
 RatingBar, or some layout you inflated that contains a RatingBar.

 On Tue, May 24, 2011 at 7:17 AM, neha neha.05...@gmail.com wrote:
  Can anyone provide me code to add RatingBar in alert box.

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




-- 
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 to create Android toggle button in Iphone style

2011-05-21 Thread gaurav gupta
u can use two images like Iphone Ul.
interchane them on its onclick.



On Fri, May 20, 2011 at 12:28 AM, Balraj Singh balrajbalraj...@gmail.comwrote:

 Hi,

 I have a requirement to create a toggle button in Android but in
 Iphone style something as shown in link below:-


 http://fc03.deviantart.net/fs71/f/2010/215/2/0/iPhone_Toggle_Button_by_mitchjinfo.png

 Can anyone tell me how to implement this or if provide the code for
 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

[android-developers] How to Hide Alert Builder using Custom Layout

2011-05-20 Thread gaurav gupta
Hi guys.
i need to hide a alert dialog builder on its onclick listener.
m using a custom view for alert dialog, when i click on submit button of its
custom view, this will do some work and hide.
i cant set negative button here.Custom layout must have only one button.
suggest me .how to do this.
Thanks in advance.a

-- 
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] Null Pointer Exception on accessing value of EditText

2011-05-20 Thread gaurav gupta
First set any value in edittext then u can get value .

   1.  EditText IPInput = (EditText)
findViewById(R.id.ip);
iPinput.setText(Value inserted successfully);
   2.  IPInput.getText().toString();
System.out.println(ip);
   3.  System.out.println(IPInput.getText().toString());

On Sat, May 21, 2011 at 12:40 AM, TreKing treking...@gmail.com wrote:

 On Thu, May 19, 2011 at 4:16 PM, Ankur Kumar specialan...@gmail.comwrote:

  I am getting java.lang.NullPointerException at step 3 in my code. Have
 not been able to figure this out.


 1 - Use your debugger.
 2 - Figure out what is null.
 3 - Make it not null.


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

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


-- 
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] R.color Not showing.

2011-05-19 Thread gaurav gupta
Hi kiran
u hav to simply add a file in values Folder of ur project.
there u can set ur colors as u want like

?

xml version=*1.0* encoding=*UTF-8*?



resources



color name=*Red*#FF/color



color name=*White*#FF/color



color name=*Black*#00/color



color name=*Darkblue*#66/color
/resource

u can add any color u want here. Use these colors like



tv.setBackgroundColor(R.color.*Black*); it will change the color in runtime




android:textColor=*@color/Black use this line in ur xml file to change the
color of text*





On Thu, May 19, 2011 at 1:28 PM, Kiran Kumar Kendole 
k.kirankumar1...@gmail.com wrote:

 Thanks


 KIRANKUMARKENDOLE



 On Wed, May 18, 2011 at 4:50 PM, TreKing treking...@gmail.com wrote:

 On Wed, May 18, 2011 at 5:20 AM, Kiran Kumar Kendole 
 k.kirankumar1...@gmail.com wrote:

 I am using Eclipse... and when I type R.(dot) i didnt see color option
 in suggestion box.. Do I need to import any class for this.



 http://developer.android.com/guide/topics/resources/color-list-resource.html


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

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


  --
 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] R.color Not showing.

2011-05-19 Thread gaurav gupta
HI ,
u can use ColorPic software to fetch the code of any color u want to use. :)




On Thu, May 19, 2011 at 3:12 PM, Kiran Kumar Kendole 
k.kirankumar1...@gmail.com wrote:

 thanks Gaurav.
 I did same what you told.. worked fine.

 Thanks
 KIRANKUMARKENDOLE



 On Thu, May 19, 2011 at 5:25 AM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 Hi kiran
 u hav to simply add a file in values Folder of ur project.
 there u can set ur colors as u want like

 ?

 xml version=*1.0* encoding=*UTF-8*?

 

 resources

 

 color name=*Red*#FF/color

 

 color name=*White*#FF/color

 

 color name=*Black*#00/color

 

 color name=*Darkblue*#66/color
 /resource

 u can add any color u want here. Use these colors like



 tv.setBackgroundColor(R.color.*Black*); it will change the color in
 runtime




 android:textColor=*@color/Black use this line in ur xml file to change
 the color of text*





 On Thu, May 19, 2011 at 1:28 PM, Kiran Kumar Kendole 
 k.kirankumar1...@gmail.com wrote:

 Thanks


 KIRANKUMARKENDOLE



 On Wed, May 18, 2011 at 4:50 PM, TreKing treking...@gmail.com wrote:

 On Wed, May 18, 2011 at 5:20 AM, Kiran Kumar Kendole 
 k.kirankumar1...@gmail.com wrote:

 I am using Eclipse... and when I type R.(dot) i didnt see color
 option in suggestion box.. Do I need to import any class for this.



 http://developer.android.com/guide/topics/resources/color-list-resource.html


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

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


  --
 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: htc inspire

2011-05-19 Thread gaurav gupta
Hi Nicholas.
wat a answer  :) grt

On Thu, May 19, 2011 at 3:52 AM, Nicholas Johnson
metthejohn...@gmail.comwrote:

 Totally possible. Of course, if you travel in a spaceship with either
 phones approaching the speed of light, then the speed of the computations
 becomes all relative. So, in the time it takes to multiply two floating
 point numbers on the Android phone, the iPhone will have aged 50 years --
 wait, I mean, you'll come back older than your father's brother, or
 something like that. It's a Stephen Hawking or Einstein thing, and I won't
 claim to know all the nuances.

 --
 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] Country code from Location API

2011-05-19 Thread gaurav gupta
Hi , i can provide u api for finding country name and city name using
longitute and latitute.
in this api u can get country code too.
its api is mainly for weather report but u can use it, here a tag
countryIN/country gives country code.
i hope it will work for u


http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=28.6484223,77.1265769



countryIN/country

/country_iso3166
chk these tags of this api.it will work 4 u.
u just change longitute and latitute in this url u will get the anycountry's
code;
:)

On Thu, May 19, 2011 at 3:00 PM, mboehmer mboeh...@fh-muenster.de wrote:

 Is it possible to get a country code for the user's current location from
 the location API? Or from somewhere else?

 --
 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] Country code from Location API

2011-05-19 Thread gaurav gupta
HI,
cant understand ur requirement. please explain,
if u want to use without any interaction of internet. then u have to make it
static and add all the list in ur String.xml
http://code.google.com/apis/adwords/docs/appendix/countrycodes.html
please explain ur requirement.den anyone can help u.

2011/5/19 Matthias Böhmer matboeh...@googlemail.com

 Hi, thanks! There are a lot of web services that provide country codes. But
 I would rather like to do it offline, directly on the device. Is there any
 possibility to get the country code from any API directly on the device?

 Am 19.05.2011 um 12:41 schrieb gaurav gupta:

  Hi , i can provide u api for finding country name and city name using
 longitute and latitute.
  in this api u can get country code too.
  its api is mainly for weather report but u can use it, here a tag
 countryIN/country gives country code.
  i hope it will work for u
 
 
 http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=28.6484223,77.1265769
 
 
  countryIN/country
 
  /country_iso3166
 
  chk these tags of this api.it will work 4 u.
  u just change longitute and latitute in this url u will get the
 anycountry's code;
  :)
 
  On Thu, May 19, 2011 at 3:00 PM, mboehmer mboeh...@fh-muenster.de
 wrote:
  Is it possible to get a country code for the user's current location from
 the location API? Or from somewhere else?
 
  --
  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

[android-developers] Problem in Fetching Value from xml (xml parser problem)

2011-05-18 Thread gaurav gupta
Hi Guys ,
i need Weather Updates in my applications.
for this purpose, m using this api

http://api.wxbug.net/getLiveWeatherRSS.aspx?ACode=A4345374462lat=28.6484223long=77.1265769unittype=1



Everything is fine with this api, its gives correct xml tags,

i need only

aws:weather xmlns:aws=http://www.aws.com/aws;

aws:api version=2.0 /

aws:WebURLhttp://weather.weatherbug.com/India/DelhiCantonment-weather.html?ZCode=Z5546amp;Units=1amp;stat=VIDP/aws:WebURL

 /aws:weather



My main problem is that i cant fetch the value of aws:WebURL using this
code.
*

public
*

*void* startElement(String uri, String localName, String qName,

 Attributes attributes) *throws* SAXException {

 // reset

 tempVal = ;

 *if*(localName.equalsIgnoreCase(aws:weather))

 {

 track=*new* Track();

 Log.*d*(**,coming in current conditions tag; :);

   }   }

 *public* *void* characters(*char*[] ch, *int* start, *int* length)

 *throws* SAXException {

 tempVal = *new* String(ch, start, length);

 }

 *public* *void* endElement(String uri, String localName, String qName)

 *throws* SAXException {

 *if*(localName.equals(aws:weather))

 {

 phonebooklist.addElement((track));



Log.*d*(***,ending of  aws wheather tag; :);

  }

   *else* *if*

* *

(localName.equalsIgnoreCase(aws:WebURL))

{

  {

 track.setwebUrl(tempVal);

 Log.*d*(+++, WebUrl:+tempVal);

 }

 }







Now suggest me how to fetch this webUrl's value.

if i will fetch this value , i will fetch all values.

Please suggest,

-- 
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] GREF has increased to 201

2011-05-18 Thread gaurav gupta
hi Eveyone,
what is the GREF has increased to 201 means in android:

m parsing a Xml ,its content is large. in my logcat this message in coming.i
cant parse my data properly.
it can be cause of problem? suggest me.

*05-18 12:01:25.327: DEBUG/dalvikvm(355): GREF has increased to 201
*
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

Re: [android-developers] Problem with audio recording

2011-05-18 Thread gaurav gupta
Hi,
it looks sumthing strange. if ur speak is working then sure ur mic will
record its sound.
its the basic work on mic.it will listen all sounds around u..
or m not getting requirement correctly??
please specify den anyone can help u.

On Wed, May 18, 2011 at 4:26 PM, neha neha.05...@gmail.com wrote:

 hiii
 I am recording some audio and at the same time playing another.
 but the problem is that ,recorder taking input from both mic and
 speeker.
 I want that recorder only record audio coming from mic not from
 speeker.

 --
 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] How to write TextView's text with multi color

2011-05-18 Thread gaurav gupta
Hi Guys
i want to write sumthing like that in textview

condition :Scatterd Clouds

it will be a textview.
m using html.fromhtml, but its not working 4 me.

suggest me , how to do it??

Thanks in Advance
Gaurav Gupta

-- 
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] Problem with audio recording

2011-05-18 Thread gaurav gupta
Hi,
its sumthing like FM recording


MediaRecorder recorder = *new* MediaRecorder();

recorder.setAudioSource(MediaRecorder.AudioSource.*DEFAULT*);

recorder.setOutputFormat(MediaRecorder.OutputFormat.*THREE_GPP*);

recorder.setAudioEncoder(MediaRecorder.AudioEncoder.*AMR_NB*);

recorder.setOutputFile(*PATH_NAME*);

recorder.prepare();

recorder.start();

in this code,chk this line
recorder.setAudioSource(MediaRecorder.AudioSource.*DEFAULT*);
AudioSource have different methods like mic, voicecall,etc
once try these method. i hav not device now .
try once , i hope it will work 4 u :)


On Wed, May 18, 2011 at 5:11 PM, neha jain neha.05...@gmail.com wrote:

 thanx 4 rply.
 My requirement is that when i start recording it should playback
 simultaneously.And its working correctly.
 but the problem is that the playbacked voice is also goes to mic and it's
 also recording.
 So i want that playbacked voice should not go to mic.

 On Wed, May 18, 2011 at 12:28 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 Hi,
 it looks sumthing strange. if ur speak is working then sure ur mic will
 record its sound.
 its the basic work on mic.it will listen all sounds around u..
 or m not getting requirement correctly??
 please specify den anyone can help u.

 On Wed, May 18, 2011 at 4:26 PM, neha neha.05...@gmail.com wrote:

 hiii
 I am recording some audio and at the same time playing another.
 but the problem is that ,recorder taking input from both mic and
 speeker.
 I want that recorder only record audio coming from mic not from
 speeker.

 --
 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] video recording

2011-05-17 Thread gaurav gupta
ys..i can provide :)
but it will sure not in free

On Tue, May 17, 2011 at 5:19 PM, neha neha.05...@gmail.com wrote:

 Can anyone provide me code to record video in android???

 --
 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] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Hti guys
m making a gallery that contain 10 images , each images have a different
name . i want that if i scroll the gallery , selected or focused image's
name should be appear.
Name  should change on onFoucs or OnItemSelected.
Suggest me.
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

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Thanks Justin
Its works ,
:)

On Sat, May 14, 2011 at 12:32 AM, Justin Anderson magouyaw...@gmail.comwrote:

 The way I did it in AppSwipe! was with a RelativeLayout that contains a
 Gallery and a TextView.  I used an OnItemSelectedListener to change the text
 displayed in the text view.


 http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html

 It is pretty straightforward once you get the design figured out...

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


 On Fri, May 13, 2011 at 12:56 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 Hti guys
 m making a gallery that contain 10 images , each images have a different
 name . i want that if i scroll the gallery , selected or focused image's
 name should be appear.
 Name  should change on onFoucs or OnItemSelected.
 Suggest me.
 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

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
HI ,
i have a new issue , my using small dots to show the current image position
of a gallery.
these images are creating in runtime using this code


for (*int* i=0;itracks.size();i++)

{

LinearLayout imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*);

ImageView imageview=*new* ImageView(HotelViewScreen.*this*);

imageview.setImageResource(R.drawable.*gray_dot*);

imageview.setPadding(5, 2, 5, 2);

imgview_layout.addView(imageview);

 }

Now i need that i have to change this imageview's Src everytime when
gallery's Selected item will change.

should i set id for every imageview??

Suggest me.

Thnks



On Sat, May 14, 2011 at 12:42 AM, gaurav gupta gaurav.gupta...@gmail.comwrote:

 Thanks Justin
 Its works ,
 :)

 On Sat, May 14, 2011 at 12:32 AM, Justin Anderson 
 magouyaw...@gmail.comwrote:

 The way I did it in AppSwipe! was with a RelativeLayout that contains a
 Gallery and a TextView.  I used an OnItemSelectedListener to change the text
 displayed in the text view.


 http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html

 It is pretty straightforward once you get the design figured out...

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


 On Fri, May 13, 2011 at 12:56 PM, gaurav gupta gaurav.gupta...@gmail.com
  wrote:

 Hti guys
 m making a gallery that contain 10 images , each images have a different
 name . i want that if i scroll the gallery , selected or focused image's
 name should be appear.
 Name  should change on onFoucs or OnItemSelected.
 Suggest me.
 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

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
hi justin
 i want to just change my textview and imageview with gallery.
my imageview showing the current position of gallery . like if gallery's
currenit position is 2 , the 2nd imageview will be  yellow,now it is gray
its just like a indicator in footer that will show the postion of gallery's
selected image.



On Sat, May 14, 2011 at 12:58 AM, Justin Anderson magouyaw...@gmail.comwrote:

 I'm not entirely sure what you are trying to accomplish...

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


 On Fri, May 13, 2011 at 1:23 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 HI ,
 i have a new issue , my using small dots to show the current image
 position of a gallery.
 these images are creating in runtime using this code


 for (*int* i=0;itracks.size();i++)

 {

 LinearLayout imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*
 );

 ImageView imageview=*new* ImageView(HotelViewScreen.*this*);

 imageview.setImageResource(R.drawable.*gray_dot*);

 imageview.setPadding(5, 2, 5, 2);

 imgview_layout.addView(imageview);

  }

 Now i need that i have to change this imageview's Src everytime when
 gallery's Selected item will change.

 should i set id for every imageview??

 Suggest me.

 Thnks



 On Sat, May 14, 2011 at 12:42 AM, gaurav gupta gaurav.gupta...@gmail.com
  wrote:

 Thanks Justin
 Its works ,
 :)

 On Sat, May 14, 2011 at 12:32 AM, Justin Anderson magouyaw...@gmail.com
  wrote:

 The way I did it in AppSwipe! was with a RelativeLayout that contains a
 Gallery and a TextView.  I used an OnItemSelectedListener to change the 
 text
 displayed in the text view.


 http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html

 It is pretty straightforward once you get the design figured out...

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


 On Fri, May 13, 2011 at 12:56 PM, gaurav gupta 
 gaurav.gupta...@gmail.com wrote:

 Hti guys
 m making a gallery that contain 10 images , each images have a
 different name . i want that if i scroll the gallery , selected or focused
 image's name should be appear.
 Name  should change on onFoucs or OnItemSelected.
 Suggest me.
 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


-- 
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: Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Hi ,
thanks 4 reply
 Now m setting ID for every imageview that m creating dynamically like
*

int
*

imageview_id=1;

*for*(*int* i=0;itracks.size();i++)

{

imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*);

imageview=*new* ImageView(HotelViewScreen.*this*);

imageview.setImageResource(R.drawable.*gray_dot*);

imageview.setId(imageview_id+i);

imageview.setPadding(5, 2, 5, 2);

imgview_layout.addView(imageview);

}

its give me id for every imageview . Now in My OnItemSelectedListener m
using this Id like that:



hotels_gallery

.setOnItemSelectedListener(*new* OnItemSelectedListener() {

 @Override

*public* *void* onItemSelected(AdapterView? arg0, View arg1,

*int* position, *long* arg3) {

// *TODO* Auto-generated method stub

//Toast.makeText(HotelViewScreen.this, +arg2, Toast.LENGTH_LONG).show();

hotelName=tracks.get(position).getHotelName();

hotelCity=tracks.get(position).getHotelCity();

hotelname.setText(hotelName+,+Html.*fromHtml*(font color ='blue'+
hotelCity+/font));

*int* image_id=imgview_layout.getChildAt(position).getId();

ImageView abc=(ImageView)findViewById(image_id);

abc.setImageResource(R.drawable.*yellow_dot*);

 }

 @Override

*public* *void* onNothingSelected(AdapterView? arg0) {

// *TODO* Auto-generated method stub

 }

});

Now i can change the Image src everytime on OnSelectedListener.
Now every selected gallery item's indicator image is becoming yellow .
my requirement is that i need only selected gallery item's image should to
change.
rest of all indicator will gray ,selected gallery item will be yellow.



On Sat, May 14, 2011 at 1:23 AM, ashutoshmimani ashutoshmim...@gmail.comwrote:

 Can you not save references to your image views when you are creating
 them?

 On May 13, 3:34 pm, gaurav gupta gaurav.gupta...@gmail.com wrote:
  hi justin
   i want to just change my textview and imageview with gallery.
  my imageview showing the current position of gallery . like if gallery's
  currenit position is 2 , the 2nd imageview will be  yellow,now it is gray
  its just like a indicator in footer that will show the postion of
 gallery's
  selected image.
 
  On Sat, May 14, 2011 at 12:58 AM, Justin Anderson magouyaw...@gmail.com
 wrote:
 
 
 
 
 
 
 
   I'm not entirely sure what you are trying to accomplish...
 
   Thanks,
   Justin Anderson
   MagouyaWare Developer
  http://sites.google.com/site/magouyareware
 
   On Fri, May 13, 2011 at 1:23 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:
 
   HI ,
   i have a new issue , my using small dots to show the current image
   position of a gallery.
   these images are creating in runtime using this code
 
   for (*int* i=0;itracks.size();i++)
 
   {
 
   LinearLayout
 imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*
   );
 
   ImageView imageview=*new* ImageView(HotelViewScreen.*this*);
 
   imageview.setImageResource(R.drawable.*gray_dot*);
 
   imageview.setPadding(5, 2, 5, 2);
 
   imgview_layout.addView(imageview);
 
}
 
   Now i need that i have to change this imageview's Src everytime when
   gallery's Selected item will change.
 
   should i set id for every imageview??
 
   Suggest me.
 
   Thnks
 
   On Sat, May 14, 2011 at 12:42 AM, gaurav gupta 
 gaurav.gupta...@gmail.com
wrote:
 
   Thanks Justin
   Its works ,
   :)
 
   On Sat, May 14, 2011 at 12:32 AM, Justin Anderson 
 magouyaw...@gmail.com
wrote:
 
   The way I did it in AppSwipe! was with a RelativeLayout that
 contains a
   Gallery and a TextView.  I used an OnItemSelectedListener to change
 the text
   displayed in the text view.
 
  
 http://developer.android.com/reference/android/widget/AdapterView.OnI...
 
   It is pretty straightforward once you get the design figured out...
 
   Thanks,
   Justin Anderson
   MagouyaWare Developer
  http://sites.google.com/site/magouyaware
 
   On Fri, May 13, 2011 at 12:56 PM, gaurav gupta 
   gaurav.gupta...@gmail.com wrote:
 
   Hti guys
   m making a gallery that contain 10 images , each images have a
   different name . i want that if i scroll the gallery , selected or
 focused
   image's name should be appear.
   Name  should change on onFoucs or OnItemSelected.
   Suggest me.
   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: Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
hi ,
thank u all guys
i did it :)
thanks 4 ur support
On Sat, May 14, 2011 at 1:51 AM, Justin Anderson magouyaw...@gmail.comwrote:

 The best way to do that is to use a StateListDrawable:

 http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html

 That's what I did with AppSwipe! on the Android Market.  The selected
 item has a blue background with a gradient.  Everything else in the list has
 a transparent background.

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


 On Fri, May 13, 2011 at 2:07 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:

 Hi ,
 thanks 4 reply
  Now m setting ID for every imageview that m creating dynamically like
 *

 int
 *

  imageview_id=1;

 *for*(*int* i=0;itracks.size();i++)

 {

 imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*);

 imageview=*new* ImageView(HotelViewScreen.*this*);

 imageview.setImageResource(R.drawable.*gray_dot*);

 imageview.setId(imageview_id+i);

 imageview.setPadding(5, 2, 5, 2);

 imgview_layout.addView(imageview);

 }

 its give me id for every imageview . Now in My OnItemSelectedListener m
 using this Id like that:



 hotels_gallery

 .setOnItemSelectedListener(*new* OnItemSelectedListener() {

  @Override

 *public* *void* onItemSelected(AdapterView? arg0, View arg1,

 *int* position, *long* arg3) {

 // *TODO* Auto-generated method stub

 //Toast.makeText(HotelViewScreen.this, +arg2, Toast.LENGTH_LONG).show();

 hotelName=tracks.get(position).getHotelName();

 hotelCity=tracks.get(position).getHotelCity();

 hotelname.setText(hotelName+,+Html.*fromHtml*(font color ='blue'+
 hotelCity+/font));

 *int* image_id=imgview_layout.getChildAt(position).getId();

 ImageView abc=(ImageView)findViewById(image_id);

 abc.setImageResource(R.drawable.*yellow_dot*);

  }

  @Override

 *public* *void* onNothingSelected(AdapterView? arg0) {

 // *TODO* Auto-generated method stub

  }

 });

 Now i can change the Image src everytime on OnSelectedListener.
 Now every selected gallery item's indicator image is becoming yellow .
 my requirement is that i need only selected gallery item's image should to
 change.
 rest of all indicator will gray ,selected gallery item will be yellow.



 On Sat, May 14, 2011 at 1:23 AM, ashutoshmimani ashutoshmim...@gmail.com
  wrote:

 Can you not save references to your image views when you are creating
 them?

 On May 13, 3:34 pm, gaurav gupta gaurav.gupta...@gmail.com wrote:
  hi justin
   i want to just change my textview and imageview with gallery.
  my imageview showing the current position of gallery . like if
 gallery's
  currenit position is 2 , the 2nd imageview will be  yellow,now it is
 gray
  its just like a indicator in footer that will show the postion of
 gallery's
  selected image.
 
  On Sat, May 14, 2011 at 12:58 AM, Justin Anderson 
 magouyaw...@gmail.comwrote:
 
 
 
 
 
 
 
   I'm not entirely sure what you are trying to accomplish...
 
   Thanks,
   Justin Anderson
   MagouyaWare Developer
  http://sites.google.com/site/magouyareware
 
   On Fri, May 13, 2011 at 1:23 PM, gaurav gupta 
 gaurav.gupta...@gmail.comwrote:
 
   HI ,
   i have a new issue , my using small dots to show the current image
   position of a gallery.
   these images are creating in runtime using this code
 
   for (*int* i=0;itracks.size();i++)
 
   {
 
   LinearLayout
 imgview_layout=(LinearLayout)findViewById(R.id.*sub_layout*
   );
 
   ImageView imageview=*new* ImageView(HotelViewScreen.*this*);
 
   imageview.setImageResource(R.drawable.*gray_dot*);
 
   imageview.setPadding(5, 2, 5, 2);
 
   imgview_layout.addView(imageview);
 
}
 
   Now i need that i have to change this imageview's Src everytime when
   gallery's Selected item will change.
 
   should i set id for every imageview??
 
   Suggest me.
 
   Thnks
 
   On Sat, May 14, 2011 at 12:42 AM, gaurav gupta 
 gaurav.gupta...@gmail.com
wrote:
 
   Thanks Justin
   Its works ,
   :)
 
   On Sat, May 14, 2011 at 12:32 AM, Justin Anderson 
 magouyaw...@gmail.com
wrote:
 
   The way I did it in AppSwipe! was with a RelativeLayout that
 contains a
   Gallery and a TextView.  I used an OnItemSelectedListener to
 change the text
   displayed in the text view.
 
  
 http://developer.android.com/reference/android/widget/AdapterView.OnI...
 
   It is pretty straightforward once you get the design figured
 out...
 
   Thanks,
   Justin Anderson
   MagouyaWare Developer
  http://sites.google.com/site/magouyaware
 
   On Fri, May 13, 2011 at 12:56 PM, gaurav gupta 
   gaurav.gupta...@gmail.com wrote:
 
   Hti guys
   m making a gallery that contain 10 images , each images have a
   different name . i want that if i scroll the gallery , selected
 or focused
   image's name should be appear.
   Name  should change on onFoucs or OnItemSelected.
   Suggest me.
   Thanks in advance.
 
   --
   You received this message because you are subscribed to the
 Google
   Groups Android Developers

Re: [android-developers] Making an app backward compatible.

2011-05-09 Thread gaurav gupta
Hi ,
please do some modification in ur manifest file.
for 1.5


uses-sdk android:minSdkVersion=*3* /

android minSdkVersion must be 3.

Right click on ur project :  go to properties ,

select Android on opened dialog box and check on ur desired version (here
1.5).

ur application automatically changed to 1.5.

i hope it will help u.

:)


On Sat, May 7, 2011 at 8:00 PM, Krish gopikri...@gmail.com wrote:

 Hi guys. Im a newbie to android development. I managed to get source
 code for a piano application. The application is built for version
 1.6. But i want to make it work in 1.5(cupcake). It shows some error
 and im foreced to close the app when i try to run in 1.5. Is there
 anything i can do so as to make it work in 1.5 ?? 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

-- 
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] I require Code for profile changing

2011-05-09 Thread gaurav gupta
Profile changing in android
please be speific .


On Mon, May 9, 2011 at 10:24 AM, aashva services
aashvaservi...@gmail.comwrote:

 I require source code for profile changing in android can any one
 please assist me provide me code

 --
 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] Changing brightness after every n seconds

2011-05-09 Thread gaurav gupta
hi
u can use thread or AsyncTask for performing this task.
i hope it will work 4 u. :)

On Sun, May 8, 2011 at 3:37 PM, Nipun Batra nipunredde...@gmail.com wrote:

 I found out on
 http://android-er.blogspot.com/2011/02/change-android-screen-brightness.html
 how to change the brightness.However i wish to know how to modify this
 code to automatically change my brighntess to say 90% of it's current
 value after every n seconds.
 eg at t=0 i have brightness as 100,at t=n it becomes 90,at t =2*n
 it becomes 81 and so on

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



 bscribe 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] Shoutcast streaming app

2011-05-09 Thread gaurav gupta
hi Michanel,

m using streaming in my application too , i dont think SDK version will
affected . u must using something that is not available in previous version
of android. so its creates problem.
i dont know the exact proble so cant give u exact answer.
m using this code for Streaming audio from web , and its working superb:


String url = enter your Url that starts Streaming ;

Intent intent = *new* Intent(Intent.*ACTION_VIEW*);

intent.setData(Uri.*parse*(url));

ClassName.*this*.startActivity(intent);

ClassName.*this*.finish();// it will return intent after streming
.remove this line if u dont need.

i hope it will work for u :)




On Mon, May 9, 2011 at 4:12 AM, Michael Foster michael.fost...@gmail.comwrote:

 Hello all
 I am building an app that can play my shoutcast radio station.  For
 starters, I'm just using the standard MediaPlayer and everything
 seemingly works fine.   I just point it to my shoutcast url and it
 does the rest.  However, this does not work for Android 2.1 or lower.
 Also, I have found that on various devices, people have complained
 that there is no sound.

 I'm wondering if anyone has had any success building a shoutcast media
 player that can work on all (or most) devices.  I'm willing to
 purchase a 3rd party library if reasonably priced.  Is there a better
 way to do this than using MediaPlayer?

 thanks in advance for any tips you all can offer.
 Michael

 --
 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] Calendar Day of Year issue

2011-05-09 Thread gaurav gupta
Hi ,
Try this :


Calendar rightNow = Calendar.*getInstance*();

*int* daycount = rightNow.get(Calendar.*DAY_OF_YEAR*);


i hope it will work :)


On Sat, May 7, 2011 at 8:06 AM, Tony Rudzki tony.rud...@gmail.com wrote:

 Does the Day of Year work?  All I'm trying to do is get the current
 day count.  For example, if it was Jan 3rd, the day count would be 3.
 If it were Feb 2nd the day count would be 33.

  Calendar rightNow = Calendar.getInstance();
  int daycount = rightNow.get(DAY_OF_YEAR);

 This doesn't seem to work.   Any help would really be appreciated.


 TonyR

 --
 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: how to make custom layout for context menu?

2011-05-09 Thread gaurav gupta
hi ,
u can use this .
in this method m displaying a Alert Bulier with a custom view. you have to
do the same with ur context menu. use LayoutInflater as i do.
thanks:
i hope it will help u :)

*

public

*

*void* AlertDisplay()

{

LayoutInflater factory = LayoutInflater.*from*(*this*);

*final* View textEntryView = factory.inflate(R.layout.*homescreen*, *null*);


AlertDialog.Builder alert = *new* AlertDialog.Builder(*this*);

alert.setInverseBackgroundForced(*true*);

alert.setView(textEntryView);

AlertDialog *loginPrompt* = alert.create();

username = (EditText) textEntryView.findViewById(R.id.*username_edittext*);

password = (EditText) textEntryView.findViewById(R.id.*password_editText*);

email = (EditText) textEntryView.findViewById(R.id.*email_editText*);

alert.setPositiveButton(Submit, *new* DialogInterface.OnClickListener()

{

*public* *void* onClick(DialogInterface dialog, *int* whichButton) {

 /*

* code for sending response to the server

*

* */

 }

});

 alert.show();

}

   }


On Mon, May 9, 2011 at 2:11 PM, srihari babu hisriharib...@gmail.comwrote:

 develop your own layout and set that layout as view for context menu
 by using layout inflater.


 On May 9, 12:04 pm, Hitendrasinh Gohil hitendra.virtuei...@gmail.com
 wrote:
  hi,
 
  I want to make a custom layout for context menu?
  how i can set this layout to context menu?
  can anybody give me reference link or tell me how to do it?
 
  regards,
  hitendrasinh gohil

 --
 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] Music Playing

2011-05-09 Thread gaurav gupta
hi , u sud to fetch ur all music from ur sdcard,which will be stored with
all detail information like album,artist.
then fetch it , display all the songs in a listview and its onclick listener
will start mediaplayer and that particular song_uri
in default media player of android , u will find forward ,backward , play
,pause button inbuilt.
for more functionality u need to creat ur own  custom media player.

i hope it will work 4 u

On Mon, May 9, 2011 at 2:22 PM, Felix Garcia Lainez fgarcialai...@gmail.com
 wrote:

 Hi,

 I would like to add some music functionality on my application. The
 idea is to show a list of device songs/albums/artists, and after user
 choose some of them, then start playing on my application. Also i
 would like to have some basic controls in one of my activities (next,
 prev, pause/play)...

 What would be the best way to implement something like this?

 Thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.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] setTypeface

2011-05-09 Thread gaurav gupta
hi , '
use these lines in ur application

On Mon, May 9, 2011 at 3:27 PM, subhashini alaguchokku 
subhashini.andr...@gmail.com wrote:

 Hi!

 how to implement the following concept


 Typeface tf=Typeface.createFromAsset(getAssets(), maduram.ttf);
 holder.text1=(TextView)vi.findViewById(R.id.text1);
   holder.text1.setTypeface(tf);

 i hope this will work 4 u..



 Here.



   public View getView(int position, View convertView, ViewGroup parent) {
 View vi=convertView;
 ViewHolder holder;
 if(convertView==null){
 System.out.println(inside
 null);
 vi = inflater.inflate(R.layout.item, null);
 holder=new ViewHolder();
 holder.text=(TextView)vi.findViewById(R.id.text);
 holder.text1=(TextView)vi.findViewById(R.id.text1);
 //Typeface typeface =
 Typeface.createFromAsset(myContext.getAssets(), FONT.TTF);

 holder.image=(ImageView)vi.findViewById(R.id.image);
 vi.setTag(holder);

 }
 else
 holder=(ViewHolder)vi.getTag();

 holder.text.setText(Listdisplay.name[position]);
 holder.text1.setText(Listdisplay.count[position]);

 holder.image.setTag(data[position]);
 System.out.println(inside not
 null...);
 imageLoader.DisplayImage(data[position], activity, holder.image);
 return vi;
 }
 }

 --
 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: Music Playing

2011-05-09 Thread gaurav gupta
yeah.

u can search fciles by its extension like mp3 etc. Use default media
controller for ur application . it wil work

On Mon, May 9, 2011 at 3:06 PM, Felix Garcia Lainez fgarcialai...@gmail.com
 wrote:

 Ok... So the unique way is to do a raw search for music files (using
 file extension for instance)? Isn't there any built control to select
 music and return data to application?

 On 9 mayo, 11:10, gaurav gupta gaurav.gupta...@gmail.com wrote:
  hi , u sud to fetch ur all music from ur sdcard,which will be stored with
  all detail information like album,artist.
  then fetch it , display all the songs in a listview and its onclick
 listener
  will start mediaplayer and that particular song_uri
  in default media player of android , u will find forward ,backward , play
  ,pause button inbuilt.
  for more functionality u need to creat ur own  custom media player.
 
  i hope it will work 4 u
 
  On Mon, May 9, 2011 at 2:22 PM, Felix Garcia Lainez 
 fgarcialai...@gmail.com
 
 
 
   wrote:
   Hi,
 
   I would like to add some music functionality on my application. The
   idea is to show a list of device songs/albums/artists, and after user
   choose some of them, then start playing on my application. Also i
   would like to have some basic controls in one of my activities (next,
   prev, pause/play)...
 
   What would be the best way to implement something like this?
 
   Thanks!
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.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] setTypeface

2011-05-09 Thread gaurav gupta
hi,
use this code in ur activity where u r calling ListAdapter


ListItemView listitem = *new* ListItemView(PhoneBookScreen.*this*, R.layout.
*list_item_view_phbook*,

tracks.get(i).getContactName());

  TextView tv=(TextView)listitem.findViewById(R.id.*address_textview*);

Typeface tf=Typeface.*createFromAsset*(getAssets(), maduram.ttf);

tv.setTypeface(tf);

i just use these lines as demo. try to use it . here listItem is a custom
listAdapter.
try once , :)



On Mon, May 9, 2011 at 3:51 PM, subha subhashini.andr...@gmail.com wrote:

 Hi Mr.gaurav gupta !


 Thanks for your response , but i can't use this line

  Typeface tf=Typeface.createFromAsset(getAssets(), maduram.ttf);

 particularly i got err in getAssets();


 On Mon, May 9, 2011 at 3:33 PM, gaurav gupta gaurav.gupta...@gmail.comwrote:

 hi , '
 use these lines in ur application

 On Mon, May 9, 2011 at 3:27 PM, subhashini alaguchokku 
 subhashini.andr...@gmail.com wrote:

 Hi!

 how to implement the following concept


 Typeface tf=Typeface.createFromAsset(getAssets(), maduram.ttf);
 holder.text1=(TextView)vi.findViewById(R.id.text1);
   holder.text1.setTypeface(tf);

 i hope this will work 4 u..



 Here.



   public View getView(int position, View convertView, ViewGroup parent) {
 View vi=convertView;
 ViewHolder holder;
 if(convertView==null){
 System.out.println(inside
 null);
 vi = inflater.inflate(R.layout.item, null);
 holder=new ViewHolder();
 holder.text=(TextView)vi.findViewById(R.id.text);
 holder.text1=(TextView)vi.findViewById(R.id.text1);
 //Typeface typeface =
 Typeface.createFromAsset(myContext.getAssets(), FONT.TTF);

 holder.image=(ImageView)vi.findViewById(R.id.image);
 vi.setTag(holder);

 }
 else
 holder=(ViewHolder)vi.getTag();

 holder.text.setText(Listdisplay.name[position]);
 holder.text1.setText(Listdisplay.count[position]);

 holder.image.setTag(data[position]);
 System.out.println(inside not
 null...);
 imageLoader.DisplayImage(data[position], activity, holder.image);
 return vi;
 }
 }

 --
 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] help in android call logs

2011-05-06 Thread gaurav gupta
hi Ashutosh.
try this , it will help u :)

http://www.mobisoftinfotech.com/blog/android/androidcalllogdeletion/

On Fri, May 6, 2011 at 9:14 AM, mayank k varshney
mayank.be@gmail.comwrote:

 Import log and use Log.i(,); etc for debug and check on LogCat console.
 any other issue let me know


 2011/5/5 आशुतोष हिन्दुस्तानी ashutosh.h...@gmail.com

 hi all,
 please tell me how can i get call history in android app


 --
 Thanks
 Ashutosh Mohle
 Software Engineer
 CS-KNIT-2010



 Praying for the peace and love for all




  --
 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] removing status bar

2011-04-15 Thread gaurav gupta
ys, u can hide status bar and u can show your application in fullScreen
try this code
write it after SetContentView(Not compulsary , i use it in this manner)

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,

WindowManager.LayoutParams.FLAG_FULLSCREEN);


On Fri, Apr 15, 2011 at 8:32 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Fri, Apr 15, 2011 at 10:59 AM, bob b...@coolgroups.com wrote:
  Is there an easy way to remove the status bar at the top of the screen
  in an Android app?

 On Android 1.x or 2.x:

 http://www.androidsnippets.com/how-to-make-an-activity-fullscreen

 On Android 3.x, you cannot remove the system bar, and many apps will
 not want to hide the action bar, as that is where the options menu
 shows up.

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

 Warescription: Three Android Books, Plus Updates, One Low Price!

 --
 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] how to use OnFocusChangeListener for Gallery?

2011-04-14 Thread gaurav gupta
hi Guys,
m using a Gallery to show image list of a movie. i want that when the one
movie's image is onfoucs then its Movie name must come with it.
i dont know how to find the current focusable item's position?
please help ,
Thanks in advance

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

[android-developers] how to stop a progressbar which is runs using a thread?

2011-03-23 Thread gaurav gupta
hi guys,
in my application, m using a progrssbar that show the current progress of a
song.i need to stop the song as well as progressbar too. progressbar should
be reach at starting point and song should be stop.

*

class* myThread *extends* Thread *implements* Runnable{

*private* *volatile* *boolean* paused = *false*;

*private* *volatile* *boolean* finished = *false*;

@Override

*public* *void* run()

{

*while*(!finished){

*while* (myProgress100){

*try*{

Log.*d*(TAG, Thread Starts);

myProgress++;

Log.*d*(++,+myProgress);

seekbar.setProgress(myProgress);

Thread.*sleep*(Long.*parseLong*(bundleDuration)/100);

Log.*d*(TAG,Passed thread.sleep);

}

*catch*(Throwable t){

Log.*e*(+++, no duration);

}

*while*(paused  !finished){

*try*{

Thread.*sleep*(1000); //Busy wait - should really use wait/notify, but
that's another lesson

}

*catch*(InterruptedException e){

}

}

}

}

}

===

m using a button stopbutton to stop this song which runs through a service


*

case* R.id.*buttonStop*:

Log.*d*(TAG, onClick: stopping srvice);

stopService(*new* Intent(*this*, MyService.*class*));

*if*(mt.isAlive())

{

mt.stopThread();// mt is the object of myThread class

}

=

*StopThread function*

*public* *synchronized* *void* stopThread(){

*if*(mt != *null*){

Thread mthread = mt;

mt = *null*;

mth dread.interrupt(); } }

===

please suggest me what to do??

my progressbar's thread should be finished and its setduration must be zero.

now its giving this in logcat and thread is continue in background

03-23 11:35:16.070: ERROR/AndroidRuntime(276): FATAL EXCEPTION: main
03-23 11:35:16.070: ERROR/AndroidRuntime(276):
java.lang.NullPointerException
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
com.gaurav.music.activity.AudioPlayerScreen.onClick(AudioPlayerScreen.java:190)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
android.view.View.performClick(View.java:2408)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
android.view.View$PerformClick.run(View.java:8816)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
android.os.Handler.handleCallback(Handler.java:587)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
android.os.Handler.dispatchMessage(Handler.java:92)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
android.os.Looper.loop(Looper.java:123)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
android.app.ActivityThread.main(ActivityThread.java:4627)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
java.lang.reflect.Method.invokeNative(Native Method)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
java.lang.reflect.Method.invoke(Method.java:521)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
dalvik.system.NativeStart.main(Native Method)
03-23 11:35:16.180: WARN/ActivityManager(59):   Force finishing activity
com.hungama.myplay.activity/.AudioPlayerScreen
03-23 11:35:16.764: DEBUG/AudioPlayerScreen(276): Passed thread.sleep



please help

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

Re: [android-developers] how to stop a progressbar which is runs using a thread?

2011-03-23 Thread gaurav gupta
Hi Laxmi, m using progress bar.,
=
 ProgressBar progressbar;
progressbar=(ProgressBar)findViewById(R.id.progressbar);

in this progressBar.setsetCanceleable(true)  is not wroking
it works with progressDialog.
i also need to stop my thread. my thread is not stopping too.
suggest me
Thanks
On Wed, Mar 23, 2011 at 12:05 PM, Laxmi Verma
laxmiverma.andr...@gmail.comwrote:

 Hi Gaurav,

 Just set the property progressBar.setCanceleable(true) and call the method
 progressBar.cancel() while stopping the thread.  It will stop the progress
 bar.

 Hope it helps

 Thanks!!

  On Wed, Mar 23, 2011 at 11:39 AM, gaurav gupta gaurav.gupta...@gmail.com
  wrote:

   hi guys,
 in my application, m using a progrssbar that show the current progress of
 a song.i need to stop the song as well as progressbar too. progressbar
 should be reach at starting point and song should be stop.

 *

 class
 *myThread *extends* Thread *implements* Runnable{

 *private* *volatile* *boolean* paused = *false*;

 *private* *volatile* *boolean* finished = *false*;

 @Override

 *public* *void* run()

 {

 *while*(!finished){

 *while* (myProgress100){

 *try*{

 Log.*d*(
 TAG, Thread Starts);

 myProgress++;

 Log.*d*(
 ++,+myProgress);

 seekbar.setProgress(myProgress);

 Thread.*sleep*(Long.*parseLong*(
 bundleDuration)/100);

 Log.*d*(
 TAG,Passed thread.sleep);

 }

 *catch*(Throwable t){

 Log.*e*(
 +++, no duration);

 }

 *while*(paused  !finished){

 *try*{

 Thread.*sleep*(1000);
 //Busy wait - should really use wait/notify, but that's another lesson

 }

 *catch*(InterruptedException e){

 }

 }

 }

 }

 }


 ===

 m using a button stopbutton to stop this song which runs through a service


 *

 case
 *R.id.*buttonStop*:

 Log.*d*(
 TAG, onClick: stopping srvice);

 stopService(
 *new* Intent(*this*, MyService.*class*));

 *if*(mt.isAlive())

 {

 mt.stopThread();// mt is the object of myThread class

 }

 =

 *StopThread function*

 *public* *synchronized* *void* stopThread(){

 *if*(mt != *null*){

 Thread mthread =
 mt;

 mt = *null*;

 mth dread.interrupt(); } }

 ===

 please suggest me what to do??

 my progressbar's thread should be finished and its setduration must be
 zero.

 now its giving this in logcat and thread is continue in background

 03-23 11:35:16.070: ERROR/AndroidRuntime(276): FATAL EXCEPTION: main
 03-23 11:35:16.070: ERROR/AndroidRuntime(276):
 java.lang.NullPointerException
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 com.gaurav.music.activity.AudioPlayerScreen.onClick(AudioPlayerScreen.java:190)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 android.view.View.performClick(View.java:2408)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 android.view.View$PerformClick.run(View.java:8816)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 android.os.Handler.handleCallback(Handler.java:587)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 android.os.Handler.dispatchMessage(Handler.java:92)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 android.os.Looper.loop(Looper.java:123)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 android.app.ActivityThread.main(ActivityThread.java:4627)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 java.lang.reflect.Method.invokeNative(Native Method)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 java.lang.reflect.Method.invoke(Method.java:521)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
 03-23 11:35:16.070: ERROR/AndroidRuntime(276): at
 dalvik.system.NativeStart.main(Native Method)
 03-23 11:35:16.180: WARN/ActivityManager(59):   Force finishing activity
 com.hungama.myplay.activity/.AudioPlayerScreen
 03-23 11:35:16.764: DEBUG/AudioPlayerScreen(276): Passed thread.sleep

 

 please help

 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

[android-developers] how to change the version of android application

2011-03-01 Thread gaurav gupta
hi guys.
my application bulid on android 2.1 , but it dont run on android 2.1
emulator and gives error
03-01 16:47:10.675: WARN/ExpatReader(355): DTD handlers aren't supported.
my application runs sucessfully on android 2.2 .
please help me ,
its urgent,
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

Re: [android-developers]

2011-02-23 Thread gaurav gupta
android-developers+unsubscr...@googlegroups.com
click on this link to unsubscribe form android groups
goodbye

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

[android-developers] how to find name of all weekdays with their date

2011-02-15 Thread gaurav gupta
In my application,i want a list of weekday with their date
like
sunday 13-feb-2011
monday 14-feb-2011
tuesday 15-feb-2011
how to create this list.
m using Calender class ,but dont know how to find the proper result.

-- 
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] Switch between profile

2010-10-21 Thread Gaurav Gupta
Hello,

I'm new to android and looking into android SDK and framework code.
I'm writing an application where I need to switch between
profiles( like home/office/meeting/driving/silent/normal ) on a
particular event. Can you please help me how to do this using android
SDK. It would be great if someone can tell me a step by step procedure
to do that.


Thanks in Advance,
GG

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