Re: [android-developers] Twitter client Application in Android

2010-12-29 Thread praveena ankitha
Use that code in onStart() of the Activity

On Mon, Dec 27, 2010 at 2:36 AM, jayavenkat  wrote:

> Hi All,
>I've developed twitter Oauth Application. I use shared
> prefrrence to store the values of access token . Everything works fine
> But the access token are saved only while changing the orientation of
> emulator using key
> ctrl +  F12 at run time then only i can able to access my account But
> I want to do the same without changing orientation can anyone help
> please sorry if i did mistake ..
>
> 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




-- 
Praveena Ankitha

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

Re: [android-developers] Send email via ACTION SEND intent

2010-12-27 Thread praveena ankitha
use emailIntent.setType("text/plain"); in your code

On Tue, Dec 28, 2010 at 11:17 AM, umakantpatil wrote:

> Hi,
> I have an article and I have given share button. On click of it. I have
> below code.
>
> Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
> emailIntent.setType("text/html");
> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject for
> email");
> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "This is text
> line...");
> startActivity(Intent.createChooser(emailIntent, "Email to Friend"));
>
> Problem with this code is, I tested on my HTC Desire and Wildfire. It shows
> all email like gmail and mail but it also shows bluetooth in the list.
> I dont want bluetooth to be there. It should only show email apps
>
> 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




-- 
Praveena Ankitha

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

2010-12-26 Thread praveena ankitha
write the code in check box .setOnCheckedChangeListener(...) method then
automatically that textbox is chaged according to check box
On Mon, Dec 27, 2010 at 11:13 AM, Andrew  wrote:

> if (isChecked) {
>editText.setFocusable(false);
>editText.setEnabled(false);
>} else {
>editText.setEnabled(true);
>editText.setFocusable(true);
>  }
>
> So this is called after a checkbox is clicked on. When it's checked
> the textbox goes gray and it cannot gain focus. When it's unchecked
> the textbox goes white again, but it still cannot gain focus. So the
> problem here is that an edit text view cannot regain focus after being
> re-focusable. isFocusable returns true. Is this a bug I've been
> looking for an answer for quite a while.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Praveena Ankitha

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

2010-12-22 Thread praveena ankitha
For uninstall adb command is
adb uninstall  of that apk file name

On Thu, Dec 23, 2010 at 11:21 AM, Narendra Bagade
wrote:

> Hi All,
> I have to uinstall apk form my android tablet.
> I am using command adb uninstall apkname.apk.
> but getting error like,
> Can't dispatch DDM chunk 4d505251: no handler defined Failure.
>
> Please help me to uinstall apk for my device .
>
> --
> Regards,
> Narendra
> .
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Praveena Ankitha

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Portrait and Landscape in Emulator

2010-12-22 Thread praveena ankitha
Hi try this oneSwitch to previous layout orientation (for example, portrait,
landscape)KEYPAD_7
On Thu, Dec 23, 2010 at 10:25 AM, Kumar Bibek  wrote:

> A simple google search could have given you enough info. Ctrl+F11 wont work
> on a MAC :)
>
>
> Kumar Bibek
> http://techdroid.kbeanie.com
> http://www.kbeanie.com
>
>
>
> On Thu, Dec 23, 2010 at 10:20 AM, Nidhi Sunil wrote:
>
>>
>> Hi,
>>
>> Press Ctrl+F11.
>>
>> On Dec 23, 9:46 am, cuil yahoo  wrote:
>> > Hello,
>> >
>> > I am trying to test my application in my emulator, but i am unable to
>> switch
>> > over from portrait view to landscape view.
>> >
>> > Could anyone please help me out ?
>> >
>> > Thanks
>> > Cuil
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, 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




-- 
Praveena Ankitha

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

2010-09-01 Thread praveena ankitha
startActivity(new Intent(.this,.class)
);

On Thu, Sep 2, 2010 at 9:56 AM, Gold  wrote:

> Hi.All,
>
> I am Beginner for the Android (Previously I was in
> Windows mobile application developer ) and I want to Go
>
>from One Screen to Another Screen But i dont know How is
> possible, please give me a code for 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




-- 
Praveena Ankitha

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

[android-developers] about change the image view alternatively

2010-08-05 Thread praveena ankitha
Hi,in my application i am using the 2 image views.now my question is i want
to display the image views one bye one in run time that means second image
is displayed after some time of first image displayed and first image is
replaced with new image and after some time second image is displayed .in
this way the pprocess is running continously upto my application visible,For
this i want to use

runOnUiThread(*new* Runnable() {} method. Is it suitable for my question
.Give me some sample code .Thanks in advance

**




-- 
Praveena Ankitha

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

2010-06-24 Thread praveena ankitha
hi all,

I have One AutocompleTextView and I want to make the virtual keyboard
disappear when he hits "DONE" at the AutocompleTextView. So far, the buttons
"NEXT"/"DONE" do nothing at all Unfortunately I found no resources
addressing this problem.

Any suggestions? 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] Dynamically add items to preferences

2010-05-12 Thread praveena ankitha
Hi,
Using below code we add 6the elements to the spinner dynamically



userDisplaySpinner = (Spinner) findViewById(R.id.*SpinnerInAddUsers*);

ArrayAdapter adapter2 = *new* ArrayAdapter(*this*
,android.R.layout.*simple_spinner_item*, array);

adapter2.setDropDownViewResource(android.R.layout.*
simple_spinner_dropdown_item*);

userDisplaySpinner.setAdapter(adapter2);



in the Abov ecode   "array" takes the elements dynamically which are
dispalyed in spinner  like



array[]="A,B,C,D"









On 5/12/10, Lars Nielsen Lind  wrote:
>
> Hi,
>
> we have an XML file placed in the res/xml folder containing our
> preferences.
>
> Is it possible at runtime to add new items to the preferences.
>
> Example:
>
> The user starts the app and the preferences consists of:
>
> America
>
> - New York
> - Los Angeles
> - Chicago
>
> Where all the cities are CheckBoxPreferences.
>
> Then the user performs some actions in the application and this triggers
> that two new cities are added to the preferences:
>
> America
>
> - New York
> - Los Angeles
> - Chicago
> - Seatlle
> - Washington
>
>
> Anyone that know if it possible at all and how to do it?
>
> thanks,
>
> Lars
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Praveena Ankitha

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] About maintaining the state of the activity on orientation change

2010-05-05 Thread praveena ankitha
  Hi,
Using the folowing statements we can get the orientaion of a screen



  Display display = ((WindowManager) getSystemService(*
WINDOW_SERVICE*)).getDefaultDisplay();

* int* orientation = display.getOrientation();
  in this if orientation is equal to 0 then the screen is in portrait ,
   if orientation is equal to 1 then the screen is in  landscape .

  If These mail is used for you reply me.





On 5/6/10, ameya dandekar  wrote:
>
> Hi
>   I am new to androidi m currently working on landscape mode for
> android app in which i want to know
>   how to maintain the state of the activity and views displayed on
> orientation change i.e from portrait mode to landscape mode ?
>
> Regards,
> Ameya
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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
--

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

2010-04-23 Thread praveena ankitha
Hi
   I want to chnage the scoll bar width in my application.
   For this is there any function available?
Giv eme some suggestions on this toipc.
   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