[android-developers] Displaying Facebook Albums

2012-02-22 Thread chowdary nani
Hi All,

I am working on facebook integration .
Here i need some code to read the status messages of face book
Using graph api in android sdk

Please help me

Thanks
Naveen.

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

[android-developers] Re: Image Button Onclik view

2012-02-22 Thread moktarul anam
Hi kholif,

u can use ImageView.setOnclickListener(new setOnclick(){

Onclick(view){
/// user hide/display code here
}

}

Moktarul



On Feb 21, 5:33 pm, kholif adig adig...@gmail.com wrote:
 hi

 I have some problems in image button

 I have some image button that when clicked on the button will display
 the same image.

 the problem is if the image double click the botton on the button will
 display the same image on the first and second positions.

 please give me a solution

 thank you

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


[android-developers] How to use Http connection , SaxParser and SharedPreferences in Android

2012-02-22 Thread arun kumar
http://arunkumarpd.blogspot.in/

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

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

[android-developers] Re: Image Button Onclik view

2012-02-22 Thread Seshu
Hi kholif,

in xml file for imageview add this one
android:onclick=imageBtnClicked

and in corresponding java file add this method:

public void imageBtnClicked(View v) {
// add your code here
}

On Feb 22, 1:58 pm, moktarul anam mokta...@gmail.com wrote:
 Hi kholif,

 u can use ImageView.setOnclickListener(new setOnclick(){

 Onclick(view){
 /// user hide/display code here

 }
 }

 Moktarul

 On Feb 21, 5:33 pm, kholif adig adig...@gmail.com wrote:







  hi

  I have some problems in image button

  I have some image button that when clicked on the button will display
  the same image.

  the problem is if the image double click the botton on the button will
  display the same image on the first and second positions.

  please give me a solution

  thank you

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


[android-developers] Cannot publish application today (02/22/2012)

2012-02-22 Thread LSDsl
I cannot publish application today (02/22/2012). Is it only my problem? Or 
it is some updates on server?

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

[android-developers] Re: displaying face book albums and photos

2012-02-22 Thread Ali Chousein
Your question is related to usage of Facebook Graph API and not to
usage of Android SDK. But anyway, take a look at the links below, they
should guide you on how to access your albums and photos in Facebook
programmatically.

https://developers.facebook.com/docs/reference/api/album/

https://developers.facebook.com/docs/reference/api/photo/

-
Ali Chousein
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://geo-filtered-assistant.blogspot.com
https://marketplace.cisco.com/apphq/products/994

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: displaying face book albums and photos

2012-02-22 Thread chowdary nani
Ali Chousein,
Thanks for replay.
Thanks for considering
Thanks for help.

I have already worked on those links
I need some code as i am new to android
I have tried a lot of ways but i am unable to get response

please help me by posting some code.


Thanks
Naveen


On Wed, Feb 22, 2012 at 2:54 PM, Ali Chousein ali.chous...@gmail.comwrote:

 Your question is related to usage of Facebook Graph API and not to
 usage of Android SDK. But anyway, take a look at the links below, they
 should guide you on how to access your albums and photos in Facebook
 programmatically.

 https://developers.facebook.com/docs/reference/api/album/

 https://developers.facebook.com/docs/reference/api/photo/

 -
 Ali Chousein
 http://www.codeproject.com/KB/android/PayGol-Android.aspx
 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
 http://geo-filtered-assistant.blogspot.com
 https://marketplace.cisco.com/apphq/products/994

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

2012-02-22 Thread Kostya Vasilyev

Layout XML tag names are case sensitive.

22.02.2012 10:35, Jags пишет:

com.codrezheaven.tabbar}: android.view.InflateException: Binary XML
file line #2: Error inflating class TABHOST


--
Kostya Vasilyev

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


[android-developers] Re: displaying face book albums and photos

2012-02-22 Thread moktarul anam
Hi,

Please go through this link
http://stackoverflow.com/questions/7454284/get-my-facebook-album-photos-in-android-java

Hope this will solve ur  problem

Moktarul

On Feb 22, 2:31 pm, chowdary nani naveenneeli...@gmail.com wrote:
 Ali Chousein,
 Thanks for replay.
 Thanks for considering
 Thanks for help.

 I have already worked on those links
 I need some code as i am new to android
 I have tried a lot of ways but i am unable to get response

 please help me by posting some code.

 Thanks
 Naveen

 On Wed, Feb 22, 2012 at 2:54 PM, Ali Chousein ali.chous...@gmail.comwrote:







  Your question is related to usage of Facebook Graph API and not to
  usage of Android SDK. But anyway, take a look at the links below, they
  should guide you on how to access your albums and photos in Facebook
  programmatically.

 https://developers.facebook.com/docs/reference/api/album/

 https://developers.facebook.com/docs/reference/api/photo/

  -
  Ali Chousein
 http://www.codeproject.com/KB/android/PayGol-Android.aspx
 http://weatherbuddy.blogspot.com|http://twitter.com/weather_buddy
 http://geo-filtered-assistant.blogspot.com
 https://marketplace.cisco.com/apphq/products/994

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

2012-02-22 Thread ANKUR GOEL
hi all ,

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

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

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

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Seshu,
   i checked the link u referred and its working fine, but
in that sample no xml part is defined what i need is (for eg : in the
same example after login i want to save the username and password as
XML files in my sdcard )

- Vivek

On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:
 Hi Vivek,
 Used Shared Preferences so that the output data will be saved in xml
 format only.

 https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

 http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

 Thanks and  Regards,
 S.Seshu

 On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:







  Hi members,
                       I want to develope an application  where after
  entering the required input fields i want to save the output data as
  XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: SMS Table

2012-02-22 Thread Nitin Sethi
Deepa,

A good place to start would be:

http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html

On Feb 22, 12:56 pm, Deepa M deepam8...@gmail.com wrote:
 Dear All

 can any one help me to create a sms database table as sms table in
 android to store all iin that created database incoming messages ...

 --
 Thanks Regards
 Deepa M

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread Seshu
Hi Vivek,
U no need 2 mention any xml format while saving the file.
by default shared preference ll save the data in xml format. u can see
this file in fileexplorer
i.e., open ddms and then file explorer. now u ll get 3 options i.e.,
data, mnt and system.
Go to data and then select data again and then select package name of
ur application. now u ll see the Shared Preferences. Click on it. u ll
find ur filename.xml.


Thanks and Regards,
S.Seshu

On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:
 Hi Seshu,
                i checked the link u referred and its working fine, but
 in that sample no xml part is defined what i need is (for eg : in the
 same example after login i want to save the username and password as
 XML files in my sdcard )

 - Vivek

 On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:







  Hi Vivek,
  Used Shared Preferences so that the output data will be saved in xml
  format only.

 https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

 http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

  Thanks and  Regards,
  S.Seshu

  On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

   Hi members,
                        I want to develope an application  where after
   entering the required input fields i want to save the output data as
   XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: SMS Table

2012-02-22 Thread moktarul anam
Hi Deepa,
What do want to do ?  already sms db table is there in android.


Moktarul

On Feb 22, 12:56 pm, Deepa M deepam8...@gmail.com wrote:
 Dear All

 can any one help me to create a sms database table as sms table in
 android to store all iin that created database incoming messages ...

 --
 Thanks Regards
 Deepa M

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

2012-02-22 Thread Deepa M
i want to create a own database to store all inbox messages... its my
interest project..pls refer

On 2/22/12, moktarul anam mokta...@gmail.com wrote:
 Hi Deepa,
 What do want to do ?  already sms db table is there in android.


 Moktarul

 On Feb 22, 12:56 pm, Deepa M deepam8...@gmail.com wrote:
 Dear All

 can any one help me to create a sms database table as sms table in
 android to store all iin that created database incoming messages ...

 --
 Thanks Regards
 Deepa M

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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: displaying face book albums and photos

2012-02-22 Thread chowdary nani
Hi Moktarul,
Thanks for response,
Thanks for considering.

I nee help on how to get responses in android.
how to open those urls in amy app to get responses.
when i try to open those urls iam getting error as token expires.
please help me with some code

please help me


Thanks
Naveen.
On Wed, Feb 22, 2012 at 3:17 PM, moktarul anam mokta...@gmail.com wrote:

 Hi,

 Please go through this link

 http://stackoverflow.com/questions/7454284/get-my-facebook-album-photos-in-android-java

 Hope this will solve ur  problem

 Moktarul

 On Feb 22, 2:31 pm, chowdary nani naveenneeli...@gmail.com wrote:
  Ali Chousein,
  Thanks for replay.
  Thanks for considering
  Thanks for help.
 
  I have already worked on those links
  I need some code as i am new to android
  I have tried a lot of ways but i am unable to get response
 
  please help me by posting some code.
 
  Thanks
  Naveen
 
  On Wed, Feb 22, 2012 at 2:54 PM, Ali Chousein ali.chous...@gmail.com
 wrote:
 
 
 
 
 
 
 
   Your question is related to usage of Facebook Graph API and not to
   usage of Android SDK. But anyway, take a look at the links below, they
   should guide you on how to access your albums and photos in Facebook
   programmatically.
 
  https://developers.facebook.com/docs/reference/api/album/
 
  https://developers.facebook.com/docs/reference/api/photo/
 
   -
   Ali Chousein
  http://www.codeproject.com/KB/android/PayGol-Android.aspx
  http://weatherbuddy.blogspot.com|http://twitter.com/weather_buddy
  http://geo-filtered-assistant.blogspot.com
  https://marketplace.cisco.com/apphq/products/994
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, 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] Re: Re : Save output data as XML

2012-02-22 Thread moktarul anam
Hi Viek,

saving username and password in  sdcard is not a good idea.
yes u can same ur xml file to sdcard. use file write
use http://developer.android.com/guide/topics/data/data-storage.html

( i think u have to use java serialize )

Moktarul Anam

On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:
 Hi Seshu,
                i checked the link u referred and its working fine, but
 in that sample no xml part is defined what i need is (for eg : in the
 same example after login i want to save the username and password as
 XML files in my sdcard )

 - Vivek

 On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:







  Hi Vivek,
  Used Shared Preferences so that the output data will be saved in xml
  format only.

 https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

 http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

  Thanks and  Regards,
  S.Seshu

  On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

   Hi members,
                        I want to develope an application  where after
   entering the required input fields i want to save the output data as
   XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Seshu,
Thanks for the suggestion,i got the file from DDMS but
is there any possible that i can save that xml file in sdcard

- vivek

On Feb 22, 3:03 pm, Seshu s.seshu...@gmail.com wrote:
 Hi Vivek,
         U no need 2 mention any xml format while saving the file.
 by default shared preference ll save the data in xml format. u can see
 this file in fileexplorer
 i.e., open ddms and then file explorer. now u ll get 3 options i.e.,
 data, mnt and system.
 Go to data and then select data again and then select package name of
 ur application. now u ll see the Shared Preferences. Click on it. u ll
 find ur filename.xml.

 Thanks and Regards,
 S.Seshu

 On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:







  Hi Seshu,
                 i checked the link u referred and its working fine, but
  in that sample no xml part is defined what i need is (for eg : in the
  same example after login i want to save the username and password as
  XML files in my sdcard )

  - Vivek

  On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

   Hi Vivek,
   Used Shared Preferences so that the output data will be saved in xml
   format only.

  https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

  http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

   Thanks and  Regards,
   S.Seshu

   On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

Hi members,
                     I want to develope an application  where after
entering the required input fields i want to save the output data as
XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Moktarul Anam ,
   I m not going to save uname and pssword in my
xml for sample only i gave that.My scenario is if i m entering some
data i have to save  it as xml in my sdcard and i also have to
retrieve that data.

- Vivek

On Feb 22, 3:09 pm, moktarul anam mokta...@gmail.com wrote:
 Hi Viek,

 saving username and password in  sdcard is not a good idea.
 yes u can same ur xml file to sdcard. use file write
 usehttp://developer.android.com/guide/topics/data/data-storage.html

 ( i think u have to use java serialize )

 Moktarul Anam

 On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:







  Hi Seshu,
                 i checked the link u referred and its working fine, but
  in that sample no xml part is defined what i need is (for eg : in the
  same example after login i want to save the username and password as
  XML files in my sdcard )

  - Vivek

  On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

   Hi Vivek,
   Used Shared Preferences so that the output data will be saved in xml
   format only.

  https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

  http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

   Thanks and  Regards,
   S.Seshu

   On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

Hi members,
                     I want to develope an application  where after
entering the required input fields i want to save the output data as
XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread Seshu
Hi vivek,
U can save the file in sdcard also but u need to integrate sdcard
storage code and shared preferences and then u can save the file in
sdcard.



On Feb 22, 3:16 pm, vivek elangovan elangovan.vi...@gmail.com wrote:
 Hi Seshu,
                 Thanks for the suggestion,i got the file from DDMS but
 is there any possible that i can save that xml file in sdcard

 - vivek

 On Feb 22, 3:03 pm, Seshu s.seshu...@gmail.com wrote:







  Hi Vivek,
          U no need 2 mention any xml format while saving the file.
  by default shared preference ll save the data in xml format. u can see
  this file in fileexplorer
  i.e., open ddms and then file explorer. now u ll get 3 options i.e.,
  data, mnt and system.
  Go to data and then select data again and then select package name of
  ur application. now u ll see the Shared Preferences. Click on it. u ll
  find ur filename.xml.

  Thanks and Regards,
  S.Seshu

  On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:

   Hi Seshu,
                  i checked the link u referred and its working fine, but
   in that sample no xml part is defined what i need is (for eg : in the
   same example after login i want to save the username and password as
   XML files in my sdcard )

   - Vivek

   On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

Hi Vivek,
Used Shared Preferences so that the output data will be saved in xml
format only.

   https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

   http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

Thanks and  Regards,
S.Seshu

On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

 Hi members,
                      I want to develope an application  where after
 entering the required input fields i want to save the output data as
 XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: Is it possible to revert back to Honeycomb without rooting the Mototrola Xoom which got upgraded to ICS?

2012-02-22 Thread Pritam
Thanks Mark for suggesting appropriate place.
Just in case some one comes up to this question later,
I had posted it on Motorola forum here where Motorola technical
support clarified there's no way without unlocking the device here:

http://community.developer.motorola.com/t5/Android-App-Development-for/Revert-back-Xoom-to-Honeycomb-without-rooting-which-got-upgraded/m-p/22966#M4870

Also if someone's more interested here is a link for guidelines from
official Motorola site but that voids warrenty:
http://developer.motorola.com/products/software/

- Pritam

On Feb 13, 6:20 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Mon, Feb 13, 2012 at 12:27 AM, Pritam pritamsha...@gmail.com wrote:
  I upgraded Motorola Xoom to official update of Icecream Sandwich 4.0.3
  Now, for some reason I need Honeycomb back on Xoom. How should this be
  achieved ?

 Start by finding a more relevant list. This list is for developing
 applications with the Android SDK, not for firmware loads.

 Since this is a Motorola device, try the MOTODEV discussion boards.

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

 Android 4.0 Programming Books:http://commonsware.com/books

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


[android-developers] Re: Service not available

2012-02-22 Thread Benjamin DJAHANDIDEH


On Feb 21, 4:05 pm, ajay talreja ajayt...@gmail.com wrote:
 Did u checked the code...i think there can be problem in
 the code also for reverse geocoding...please check...


Geocoder gcd = new Geocoder(this, Locale.getDefault());
ListAddress addresses =
gcd.getFromLocation(loc.getLatitude(),
   loc.getLongitude(),100);

You get a service unavailable error when using the getFromLocation
method ?

If yes, I recently got this error, your code is correct but there is
an known issue with the android terminal emulator concerning the
geocoder.
To resolve this, you could use your mobile phone as a debug device.

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

2012-02-22 Thread soheb somani
when new SMS arrives, my app will detect that and if that SMS contains
password (match it with D.B.) then delete that particular SMS without
reading it and run a particular activity..

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

2012-02-22 Thread vani reddy
Hi friends,

In the LazyAdapter class i am sending an object which consists of an
arraylist , while scrolling the listview it gets stuck and shows the
infamous ANR dialog.

-- 
Regards,
Vani Reddy

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

[android-developers] Re: displaying face book albums and photos

2012-02-22 Thread moktarul anam
Hi Naveen,

Just want to know, have u installed facebook sdk and using that api?
  please go through this link and hope this will solve ur problem
http://developers.facebook.com/docs/mobile/android/build/

Moktarul

On Feb 22, 3:09 pm, chowdary nani naveenneeli...@gmail.com wrote:
 Hi Moktarul,
 Thanks for response,
 Thanks for considering.

 I nee help on how to get responses in android.
 how to open those urls in amy app to get responses.
 when i try to open those urls iam getting error as token expires.
 please help me with some code

 please help me

 Thanks
 Naveen.







 On Wed, Feb 22, 2012 at 3:17 PM, moktarul anam mokta...@gmail.com wrote:
  Hi,

  Please go through this link

 http://stackoverflow.com/questions/7454284/get-my-facebook-album-phot...

  Hope this will solve ur  problem

  Moktarul

  On Feb 22, 2:31 pm, chowdary nani naveenneeli...@gmail.com wrote:
   Ali Chousein,
   Thanks for replay.
   Thanks for considering
   Thanks for help.

   I have already worked on those links
   I need some code as i am new to android
   I have tried a lot of ways but i am unable to get response

   please help me by posting some code.

   Thanks
   Naveen

   On Wed, Feb 22, 2012 at 2:54 PM, Ali Chousein ali.chous...@gmail.com
  wrote:

Your question is related to usage of Facebook Graph API and not to
usage of Android SDK. But anyway, take a look at the links below, they
should guide you on how to access your albums and photos in Facebook
programmatically.

   https://developers.facebook.com/docs/reference/api/album/

   https://developers.facebook.com/docs/reference/api/photo/

-
Ali Chousein
   http://www.codeproject.com/KB/android/PayGol-Android.aspx
   http://weatherbuddy.blogspot.com|http://twitter.com/weather_buddy
   http://geo-filtered-assistant.blogspot.com
   https://marketplace.cisco.com/apphq/products/994

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

2012-02-22 Thread moktarul anam
please go through this link
http://developers.facebook.com/docs/mobile/android/build/

Moktarul anam

On Feb 22, 1:13 pm, chowdary nani naveenneeli...@gmail.com wrote:
 Hi All,

 I am working on facebook integration .
 Here i need some code to read the status messages of face book
 Using graph api in android sdk

 Please help me

 Thanks
 Naveen.

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

2012-02-22 Thread Haddi
Hi Guys,

I have a toggle button in my activity. I want to retain the state of
this button when the activity is launched by clicking on the
notification icon of the app.

I tried using PendingIntent Flags, but it doesnt seem to work. The
toggle button always seems to be set to default (off).

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


[android-developers] Re: Fwd: listview getting stuck while scrolling,

2012-02-22 Thread moktarul anam
Hi Vani,

I  Have gone through your code and problem is in image fetching
portion. Fetching images from server and display part you do it in
android asynctask task.

Fetching part you do in  doInBackground method and  in onPostExecute
add that image into view. Always you will remember .. for all server
interaction you have to use  asynctask task or thread or handler
otherwise ANR( android not responding) error will come

(http://developer.android.com/reference/android/os/AsyncTask.html)

Enjoy
Moktarul Anam



On Feb 22, 3:36 pm, vani reddy vani.reddy.bl...@gmail.com wrote:
 -

 Hi friends,

 In the LazyAdapter class i am sending an object which consists of an
 arraylist , while scrolling the listview it gets stuck and shows the
 infamous ANR dialog.
 This is the listview in xml

   ListView
             android:id=@+id/android:list
             android:layout_width=fill_parent
             android:layout_height=wrap_content
             android:layout_margin=5dip
              android:background=@android:color/transparent
             android:cacheColorHint=#
             android:divider=@android:color/darker_gray

             android:scrollbars=none
             android:fastScrollEnabled=true
             
 Below is thegetView method
 @Override
     public View getView(final int position, View convertView, ViewGroup
 parent) {

         String name = ;

         ViewHolder holder;

         if (convertView == null) {
             convertView = mInflater.inflate(R.layout.commentitem, null);

             holder = new ViewHolder();
             holder.reviewText = (TextView) convertView
                     .findViewById(R.id.reviewText);

             holder.fbImage = (ImageView)
 convertView.findViewById(R.id.fbImage);

             convertView.setTag(holder);
         } else {

             holder = (ViewHolder) convertView.getTag();
         }

         String profilePictureURL = http://graph.facebook.com/;
                 + cList.getData().get(position).getFbid() + /picture;

         if (cList.getData().get(position).getName() == null) {
             name = ;
         } else {
             name = cList.getData().get(position).getName() +  says ;
         }

         holder.reviewText.setText( + name
                 + cList.getData().get(position).getComment());

         try {
             Bitmap bitmap = BitmapFactory.decodeStream((InputStream) new
 URL(
                     profilePictureURL).getContent());
             holder.fbImage.setImageBitmap(Utility.getRoundedCornerBitmap(
                     bitmap, 10));
         } catch (MalformedURLException e) {
             e.printStackTrace();
         } catch (IOException e) {
             e.printStackTrace();
         }

         return convertView;
     }

 How to resolve this??

 --
 Regards,
 Vani Reddy

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

2012-02-22 Thread ashiq sayyad
Hi all,

Hope doing well..I have following doubt..

I have created one sqlite database in one application.I want to access
that sqlite database in some other application..
Is it possible to access?

Thanks  Regards,
Ashiq

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Fwd: listview getting stuck while scrolling,

2012-02-22 Thread vani reddy
Yeah correct ,it really worked ..Thanks..

On Wed, Feb 22, 2012 at 4:19 PM, moktarul anam mokta...@gmail.com wrote:

 Hi Vani,

 I  Have gone through your code and problem is in image fetching
 portion. Fetching images from server and display part you do it in
 android asynctask task.

 Fetching part you do in  doInBackground method and  in onPostExecute
 add that image into view. Always you will remember .. for all server
 interaction you have to use  asynctask task or thread or handler
 otherwise ANR( android not responding) error will come

 (http://developer.android.com/reference/android/os/AsyncTask.html)

 Enjoy
 Moktarul Anam



 On Feb 22, 3:36 pm, vani reddy vani.reddy.bl...@gmail.com wrote:
  -
 
  Hi friends,
 
  In the LazyAdapter class i am sending an object which consists of an
  arraylist , while scrolling the listview it gets stuck and shows the
  infamous ANR dialog.
  This is the listview in xml
 
ListView
  android:id=@+id/android:list
  android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:layout_margin=5dip
   android:background=@android:color/transparent
  android:cacheColorHint=#
  android:divider=@android:color/darker_gray
 
  android:scrollbars=none
  android:fastScrollEnabled=true
  
  Below is thegetView method
  @Override
  public View getView(final int position, View convertView, ViewGroup
  parent) {
 
  String name = ;
 
  ViewHolder holder;
 
  if (convertView == null) {
  convertView = mInflater.inflate(R.layout.commentitem, null);
 
  holder = new ViewHolder();
  holder.reviewText = (TextView) convertView
  .findViewById(R.id.reviewText);
 
  holder.fbImage = (ImageView)
  convertView.findViewById(R.id.fbImage);
 
  convertView.setTag(holder);
  } else {
 
  holder = (ViewHolder) convertView.getTag();
  }
 
  String profilePictureURL = http://graph.facebook.com/;
  + cList.getData().get(position).getFbid() + /picture;
 
  if (cList.getData().get(position).getName() == null) {
  name = ;
  } else {
  name = cList.getData().get(position).getName() +  says ;
  }
 
  holder.reviewText.setText( + name
  + cList.getData().get(position).getComment());
 
  try {
  Bitmap bitmap = BitmapFactory.decodeStream((InputStream) new
  URL(
  profilePictureURL).getContent());
  holder.fbImage.setImageBitmap(Utility.getRoundedCornerBitmap(
  bitmap, 10));
  } catch (MalformedURLException e) {
  e.printStackTrace();
  } catch (IOException e) {
  e.printStackTrace();
  }
 
  return convertView;
  }
 
  How to resolve this??
 
  --
  Regards,
  Vani Reddy

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




-- 
Regards,
Vani Reddy

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

[android-developers] Re: SQLite sharing between apps

2012-02-22 Thread Chrystian Vieyra
You could share the database via content providers or by sharing the user 
id both applications will be able to access each other resources.


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

[android-developers] Re: SQLite sharing between apps

2012-02-22 Thread moktarul anam
Hi Ashiq,

Sqllite database is private to that application. if you want to use
that database in other application you hav to contentProvider.

ContentProvider is one type of IPC (inter process communication)

just go through  android contentProvider tutorial and example

Moktarul anam


On Feb 22, 3:57 pm, ashiq sayyad ashiqsay...@gmail.com wrote:
 Hi all,

 Hope doing well..I have following doubt..

 I have created one sqlite database in one application.I want to access
 that sqlite database in some other application..
 Is it possible to access?

 Thanks  Regards,
 Ashiq

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

2012-02-22 Thread ashiq sayyad
Ya it can be shared via content providers but is there any way to share it
directly without using content providers..

Chrystian Vieyra-- Can u plz elaborate what is user id..its id of sqlite
database???


On 22 February 2012 16:36, Chrystian Vieyra chrys.vie...@gmail.com wrote:

 You could share the database via content providers or by sharing the user
 id both applications will be able to access each other resources.


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

 To unsubscribe from this group, 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] Re: how can i post jsonarray at the end of requeseted url?

2012-02-22 Thread moktarul anam
Hi Mulsaniya,

if your response data is not proper formatted u can not parse that
string

Moktarul


On Feb 22, 11:50 am, Mulsaniya Bhadresh bhadresh.ha...@gmail.com
wrote:
 http://192.168.1.4:55106/Waiter_json.aspx?MethodName=InsertOrderForTa...[{
 commej:,id:1,Quantity:5}]

 In the above url i got the error like that:: java.net.URISyntaxException:
 Illegal character in query at index 
 129:http://192.168.1.4:55106/Waiter_json.aspx?MethodName=InsertOrderForTa...[{
 commej:,id:1,Quantity:5}]

 means error at starting square bracket.

 How can i solve this problem ?
 can anyone 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


Re: [android-developers] Re: SQLite sharing between apps

2012-02-22 Thread Chrystian Vieyra
android:sharedUserIdThe name of a Linux user ID that will be shared with 
other applications. By default, Android assigns each application its own 
unique user ID. However, if this attribute is set to the same value for two 
or more applications, they will all share the same ID — provided that they 
are also signed by the same certificate. Application with the same user ID 
can access each other's data and, if desired, run in the same process.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 can i post jsonarray at the end of requeseted url?

2012-02-22 Thread Mulsaniya Bhadresh
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] Re: SQLite sharing between apps

2012-02-22 Thread moktarul anam
hmmm very interesting. can you please send me some example link or
tutorial

Moktarul

On Feb 22, 4:22 pm, Chrystian Vieyra chrys.vie...@gmail.com wrote:
 android:sharedUserIdThe name of a Linux user ID that will be shared with
 other applications. By default, Android assigns each application its own
 unique user ID. However, if this attribute is set to the same value for two
 or more applications, they will all share the same ID — provided that they
 are also signed by the same certificate. Application with the same user ID
 can access each other's data and, if desired, run in the same process.

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


[android-developers] Re: delete an incoming SMS

2012-02-22 Thread Oli Wright
That's nice.  Look forward to seeing it released.

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

[android-developers] Re: giving Advertisement in android application

2012-02-22 Thread Oli Wright
Step 1. Go to www.google.com
Step 2. Type in Android advertising in the search field
Step 3. Profit.

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

[android-developers] Re: Mismatch in runtime layout selection based upon size/density

2012-02-22 Thread moktarul anam
Hi William,
I will suggest you to use layout weight/ weight sum ( basically
instead if giving dip value, give in percentage)

Moktarul Anam



On Feb 22, 7:08 am, William Ferguson william.ferguson...@gmail.com
wrote:
 I am trying to work out why a device (in this case an AVD) that is
 800*400 and mdpi is selecting a layout that is large-hdpi.

 There are only 2 layout options for the app, the default and large-
 hdpi.
 I can conceivably see how the device could be considered large
 - large screens are at least 640dp x 480dp 
 (fromhttp://developer.android.com/guide/practices/screens_support.html#range)
 even though it's not quite there is one dimension.

 But it's only 160dpi, so certainly not hdpi (ie approx 240dpi).

 I had always thought that in order to match a resource qualifier
 (including layout) you need to at least match all items. So I expected
 this to fail to match based on density. Is my understanding incorrect?
 Is it actually trying to do a nearest match or best fit and is
 determining that large-hdpi is the closest fit for large-mdpi?

 It's almost like it has ignored density altogether when choosing the
 layout.

 Is there a way to programatically determine which resource selectors
 have been used to choose layout?

 William

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

2012-02-22 Thread ashiq sayyad
Thanks.I will try 

On 22 February 2012 16:52, Chrystian Vieyra chrys.vie...@gmail.com wrote:

 android:sharedUserIdThe name of a Linux user ID that will be shared with
 other applications. By default, Android assigns each application its own
 unique user ID. However, if this attribute is set to the same value for two
 or more applications, they will all share the same ID — provided that they
 are also signed by the same certificate. Application with the same user ID
 can access each other's data and, if desired, run in the same process.


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

2012-02-22 Thread Pranav
March seems likely for certain carriers. Good enough ballpark for me :)
Thanks Anyways.

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

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread moktarul anam
Hi Vivek,
I think simple and good solution is android Shared Preferences

Moktarul


On Feb 22, 3:19 pm, vivek elangovan elangovan.vi...@gmail.com wrote:
 Hi Moktarul Anam ,
                        I m not going to save uname and pssword in my
 xml for sample only i gave that.My scenario is if i m entering some
 data i have to save  it as xml in my sdcard and i also have to
 retrieve that data.

 - Vivek

 On Feb 22, 3:09 pm, moktarul anam mokta...@gmail.com wrote:







  Hi Viek,

  saving username and password in  sdcard is not a good idea.
  yes u can same ur xml file to sdcard. use file write
  usehttp://developer.android.com/guide/topics/data/data-storage.html

  ( i think u have to use java serialize )

  Moktarul Anam

  On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:

   Hi Seshu,
                  i checked the link u referred and its working fine, but
   in that sample no xml part is defined what i need is (for eg : in the
   same example after login i want to save the username and password as
   XML files in my sdcard )

   - Vivek

   On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

Hi Vivek,
Used Shared Preferences so that the output data will be saved in xml
format only.

   https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

   http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

Thanks and  Regards,
S.Seshu

On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

 Hi members,
                      I want to develope an application  where after
 entering the required input fields i want to save the output data as
 XML in my local (eg : memory card) . Is there any sample 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


Re: [android-developers] Re: Android Game Developement

2012-02-22 Thread Jim Graham
On Tue, Feb 21, 2012 at 06:23:33AM -0800, Oli Wright wrote:
 @ jim If you get the tablet book I'd be interested to hear how it
 differs to beginning android games.

I have to get the money to buy it before I can...but I plan to, sooner
or later.  For now, though, I'm keeping recommendations like that in the
mbox file (~/incoming/android-developers) for incoming messages on this
list, flagged in red, for future reference. (using Mutt 1.5.21)

 BTW, when you're done with your camera app and want to move onto a
 game I'd really take a look at libgdx.

No question about that...I'd planned that from day one.  :-)
Thanks for the recommendation, though...

Later,
   --jim
-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997   Running FreeBSD 7.0 
spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W

   Now what *you* need is a proper pint of porter poured in a proper
   pewter porter pot.. --Peter Dalgaard in alt.sysadmin.recovery

Android Apps Listing at http://www.jstrack.org/barcodes.html

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


[android-developers] Re: Set state list drawable as a background is getting resized

2012-02-22 Thread moktarul anam
Hi Acidcromaticle ,

Can  u send me ur layout code?

Moktarul

On Feb 19, 4:05 am, acidcromaticle prata.cata...@gmail.com wrote:
 Hello, I am having a TextView and in xml I am setting its background
 to a state list drawable. After I inflate the view everything is
 working well but if I want to change it's background drawable to other
 state list drawable after the invalidate, the TextView shrinks and the
 background drawable is getting smaller too.

 I tried to set the background color instead just for testing and it
 works.. but I really need to change the drawable not just the color of
 the background.
 The two state list drawables are 4(2 for each one) nine patch images
 and are of the same size, just the color is changed.

 Does anybody know what could be the problem?

 Thank you!

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


[android-developers] AutoInstall apk without prompting package installer to the user

2012-02-22 Thread ashiq sayyad
Hi,

I want to download  install apk without informing to the user.Is it
possible ??

I tried with following code but its showing package installer..

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(apkUri, application/vnd.android.package-
archive);
startActivity(intent);

Regards,
Ashiq

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

2012-02-22 Thread Sanchiski
I recently transferred my developer account into a new one.
I took ahead of the change and already had prepared new app builds
using the new account Public Key for LVL.
I assumed that once the users who already purchased the app would
install the update everything would be fine. But already got reports
of Invalid License received.

Does any one know if purchased applications will still keep on
checking against the old key? I thought  that once they get the new
build update which holds the new developer public key, then the
license would still be valid for whoever bought the app with the old
account developer key.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Barcode Scanning application can't create .apk instead it creating .jar

2012-02-22 Thread Aadi Rockzz
Hello..,,

I create an application by integrating Zxing Package but i don't
get .apk file i am getting myApplication.jar instead of
myapplication.apk

How can i resolve this issue
Please Help me.

Thanks
Aadi R

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


[android-developers] Re: Set state list drawable as a background is getting resized

2012-02-22 Thread skink


acidcromaticle wrote:
 Hello, I am having a TextView and in xml I am setting its background
 to a state list drawable. After I inflate the view everything is
 working well but if I want to change it's background drawable to other
 state list drawable after the invalidate, the TextView shrinks and the
 background drawable is getting smaller too.

 I tried to set the background color instead just for testing and it
 works.. but I really need to change the drawable not just the color of
 the background.
 The two state list drawables are 4(2 for each one) nine patch images
 and are of the same size, just the color is changed.

 Does anybody know what could be the problem?

 Thank you!

check padding of both StateListDrawables

pskink

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


Re: [android-developers] Image upload is Crashing in htc

2012-02-22 Thread T.M.S.VIJAYKUMARR
Hi,
When its crashing app, (upload more than 2  image to server or setImage for
ImageView) ,.

On Wed, Feb 22, 2012 at 1:06 PM, Ratheesh Valamchuzhy
android...@gmail.comwrote:


 Hi
 I am developing an app to upload image to a php server from the android
 phone , it is working fine on all device except the htc and galaxy s2 , in
 both of these phone we are trying to upload more than 2 photos the app will
 forcely close , please give any solution for this .


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


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




-- 




-
Thanks  Regards,
T.M.S.VIJAYKUMARR
Android blog: http://iamvijayakumar.blogspot.com/

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

2012-02-22 Thread Ratheesh Valamchuzhy
i solve that issue , it is because of the image size

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

2012-02-22 Thread Kostya Vasilyev

This might help:

http://stackoverflow.com/questions/7802062/any-problems-regarding-lvl-when-moving-apps-from-one-google-account-to-another

-- Kostya

22.02.2012 16:27, Sanchiski пишет:

I recently transferred my developer account into a new one.
I took ahead of the change and already had prepared new app builds
using the new account Public Key for LVL.
I assumed that once the users who already purchased the app would
install the update everything would be fine. But already got reports
of Invalid License received.

Does any one know if purchased applications will still keep on
checking against the old key? I thought  that once they get the new
build update which holds the new developer public key, then the
license would still be valid for whoever bought the app with the old
account developer key.



--
Kostya Vasilyev

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

2012-02-22 Thread Narendra Singh Rathore
On Wed, Feb 22, 2012 at 4:58 PM, Oli Wright oli.wri...@gmail.com wrote:

 Step 1. Go to www.google.com
 Step 2. Type in Android advertising in the search field
 Step 3. Profit.


Hey Oli, its an excellent suggestion, I tried the same.
But it seems, I need to download android sdk level 14
n hence, even the adt plugin for eclipse.

I downloaded the android sdk 14, but adt plugin is refusing to be installed
in eclipse.

So, any suggestion 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

Re: [android-developers] Re: giving Advertisement in android application

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 7:03 AM, Narendra Singh Rathore 
nsr.curi...@gmail.com wrote:

 I downloaded the android sdk 14, but adt plugin is refusing to be
 installed in eclipse.

 So, any suggestion for that?


Suggestion: explain what refusing to be installed in eclipse means.

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

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

[android-developers] Safe/smart way to retrieve list of trusted CA?

2012-02-22 Thread Ab
I am using the below code to retrieve this list. It seems to work,
however it doesn't seem particularly safe/smart because I can't find
any documentation that indicates the .bks file will always be
available at the hard coded location.

Is this method reasonable, or is there a safer/smarter way to go about
this?

String filename = /system/etc/security/cacerts.bks;

FileInputStream is = new FileInputStream(filename);
KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
String password = changeit;
keystore.load(is, password.toCharArray());

PKIXParameters params = new PKIXParameters(keystore);

Iterator it = params.getTrustAnchors().iterator();
//iterate and such

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


[android-developers] Re: SQLite sharing between apps

2012-02-22 Thread zyrikby
Hi.

Content provider allows you to share databases between applications. If you 
do not have any additional requirements this is the best choice for you.

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

[android-developers] Getting a spinner's position in a ListView?

2012-02-22 Thread Mark Winchester
I've got a problem.  I've got data tied to my user interface.  On my
layout, I've got a ListView that contains either EditText objects, or
Spinner objects, that are tied to data.  I've got onTextChanged and
onItemSelected listeners set up, for the EditTexts and Spinners that
are supposed to update the data in my array.  Basically, the object's
position in the ListView corresponds to the index in the data array.
As of yet, I haven't figured out a way to get the Spinners' position
in the ListView from the onItemSelected event.  Anybody got any
advice?  I could use a little 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


Re: [android-developers] Re: giving Advertisement in android application

2012-02-22 Thread Narendra Singh Rathore
Suggestion: explain what refusing to be installed in eclipse means.


Well, no problem.

I found my solution.

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

2012-02-22 Thread Dhaval Varia
Dear all
I want to fetch data from sql server.
Please provide any tutorial  or something .
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

Re: [android-developers] AutoInstall apk without prompting package installer to the user

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 6:24 AM, ashiq sayyad ashiqsay...@gmail.com wrote:

 I want to download  install apk without informing to the user.Is
 it possible ??


No. Not without modifying the firmware, or possibly rooting, I'd guess.

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

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

[android-developers] how to scrolling two textviews

2012-02-22 Thread Richard Sámela
I implemented textview which is automaticly scrolling by theese lines
of code:

android:ellipsize=marquee
android:focusable=true
android:focusableInTouchMode=true
android:marqueeRepeatLimit=marquee_forever
android:scrollHorizontally=true

this work perfectly. but there is focusable attribute important
because if I remove both of focusable attributes so textview doesn't
scroll.
But my problem is that textview is scrolling only if it has a focus.
And I would like to implement two textviews at one screen. There is a
problem when I set focusable attribute to both of texviews. focus get
only the first textview and that's the reason why is scrolling only
first textview.

Please help me how to achieve that both of the textviews will be
scrolling at same time.
Thank you very much for your 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


[android-developers] Re: Getting a spinner's position in a ListView?

2012-02-22 Thread Mark Winchester
Nevermind.  I figured it out.  I had a paramater named position, in my
getView for my extended ArrayAdapter class.  I didn't realize that I
was overriding that variable name in my setOnItemSelectedListener for
the spinner.  Everything seems to be functioning as expected, now.

-Mark

On Feb 22, 7:47 am, Mark Winchester mwinches...@gmail.com wrote:
 I've got a problem.  I've got data tied to my user interface.  On my
 layout, I've got a ListView that contains either EditText objects, or
 Spinner objects, that are tied to data.  I've got onTextChanged and
 onItemSelected listeners set up, for the EditTexts and Spinners that
 are supposed to update the data in my array.  Basically, the object's
 position in the ListView corresponds to the index in the data array.
 As of yet, I haven't figured out a way to get the Spinners' position
 in the ListView from the onItemSelected event.  Anybody got any
 advice?  I could use a little 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


Re: [android-developers] Safe/smart way to retrieve list of trusted CA?

2012-02-22 Thread Nikolay Elenkov
On Wed, Feb 22, 2012 at 10:21 PM, Ab abe.oppenh...@gmail.com wrote:
 I am using the below code to retrieve this list. It seems to work,
 however it doesn't seem particularly safe/smart because I can't find
 any documentation that indicates the .bks file will always be
 available at the hard coded location.

 Is this method reasonable, or is there a safer/smarter way to go about
 this?


Should work on 2.x versions, unless it's heavily customized. That said,
some Motorola phones offer a system menu to add/remove trust anchors
on 2.x, so they may have moved the store to a mutable location.

You can get the same result by getting the default TrustManager and listing
the trust anchors. That way you don't have to hardcode the trust store path,
and it should work on all versions (including ICS). Something like this:

TrustManagerFactory tmf = TrustManagerFactory
.getInstance(TrustManagerFactory.getDefaultAlgorithm());
tmf.init((KeyStore) null);
X509TrustManager xtm = (X509TrustManager) tmf.getTrustManagers()[0];
for (X509Certificate cert : xtm.getAcceptedIssuers()) {
String certStr = S: + cert.getSubjectDN().getName() + \nI:
+ cert.getIssuerDN().getName();
Log.d(TAG, certStr);
}

Some discussion here:

http://nelenkov.blogspot.com/2011/12/using-custom-certificate-trust-store-on.html

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

2012-02-22 Thread s.rawat
There are specific ROMS on xda developer .You can try that.
Rgds,
Saurabh
..pain is temporary.quitting lasts forever..



On Wed, Feb 22, 2012 at 5:07 PM, Pranav pranavraul...@gmail.com wrote:

 March seems likely for certain carriers. Good enough ballpark for me :)
 Thanks Anyways.

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

2012-02-22 Thread ashiq sayyad
Thanks for the reply..

On 22 February 2012 19:25, TreKing treking...@gmail.com wrote:

 On Wed, Feb 22, 2012 at 6:24 AM, ashiq sayyad ashiqsay...@gmail.comwrote:

 I want to download  install apk without informing to the user.Is
 it possible ??


 No. Not without modifying the firmware, or possibly rooting, I'd guess.


 -
 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] send string to javascript from android java file

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

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

 hi all ,

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

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

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




-- 
Thank  Regards
Peeyush Varshney

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

[android-developers] Re: SQLite sharing between apps

2012-02-22 Thread ashiq sayyad
I tried sharing sqlite between apps using android:sharedUserId concept.Its
working fine..
Thanks all for ur replies

Regards,
Ashiq

On 22 February 2012 19:15, zyrikby y.zhalnerov...@gmail.com wrote:

 Hi.

 Content provider allows you to share databases between applications. If
 you do not have any additional requirements this is the best choice for you.

 --
 You received this message because you are subscribed to the Google Groups
 android-platform group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/android-platform/-/H0-pXOjmX88J.

 To post to this group, send email to android-platf...@googlegroups.com.
 To unsubscribe from this group, send email to
 android-platform+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/android-platform?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] Notification and PendingIntents

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 4:46 AM, Haddi pranavraul...@gmail.com wrote:

 I want to retain the state of this button when the activity is launched


http://developer.android.com/reference/android/content/SharedPreferences.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

[android-developers] MOTODEV Studio?

2012-02-22 Thread bob
Just wondering - is it easier to use MOTODEV Studio or install the
pieces separately?  While I like the all-in-one idea, I'm having some
issues here and there with MOTODEV.

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


[android-developers] Re: Notification and PendingIntents

2012-02-22 Thread Kookamonga
I won't argue that a setting in SharedPreferences won't work...

But at the same time, shouldn't it be possible to do this just with
the Intent itself? If you use the putExtra method on your intent and
add just a simple boolean that indicates that the button should be set
to on, I would think this would work. Did I miss something?

On Feb 22, 9:51 am, TreKing treking...@gmail.com wrote:
 On Wed, Feb 22, 2012 at 4:46 AM, Haddi pranavraul...@gmail.com wrote:
  I want to retain the state of this button when the activity is launched

 http://developer.android.com/reference/android/content/SharedPreferen...

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

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


[android-developers] Re: Safe/smart way to retrieve list of trusted CA?

2012-02-22 Thread Ab
Perfect! Thank you.

On Feb 22, 9:02 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
 On Wed, Feb 22, 2012 at 10:21 PM, Ab abe.oppenh...@gmail.com wrote:
  I am using the below code to retrieve this list. It seems to work,
  however it doesn't seem particularly safe/smart because I can't find
  any documentation that indicates the .bks file will always be
  available at the hard coded location.

  Is this method reasonable, or is there a safer/smarter way to go about
  this?

 Should work on 2.x versions, unless it's heavily customized. That said,
 some Motorola phones offer a system menu to add/remove trust anchors
 on 2.x, so they may have moved the store to a mutable location.

 You can get the same result by getting the default TrustManager and listing
 the trust anchors. That way you don't have to hardcode the trust store path,
 and it should work on all versions (including ICS). Something like this:

 TrustManagerFactory tmf = TrustManagerFactory
                     .getInstance(TrustManagerFactory.getDefaultAlgorithm());
 tmf.init((KeyStore) null);
 X509TrustManager xtm = (X509TrustManager) tmf.getTrustManagers()[0];
 for (X509Certificate cert : xtm.getAcceptedIssuers()) {
     String certStr = S: + cert.getSubjectDN().getName() + \nI:
                         + cert.getIssuerDN().getName();
     Log.d(TAG, certStr);

 }

 Some discussion here:

 http://nelenkov.blogspot.com/2011/12/using-custom-certificate-trust-s...

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


[android-developers] Re: Windows 7 tablet

2012-02-22 Thread bob



On Feb 21, 6:24 am, Kostya Vasilyev kmans...@gmail.com wrote:
 Don't almost all of them work? Some may require hacking the driver's inf
 file, some have official drivers.

 Out of the ones I have, Sony tablet S requires hacking, while Asus Tf101
 has official drivers. I recommend the Sony over the Asus because of
 separate power and usb connectors.
  21.02.2012 17:11 пользователь bob b...@coolfone.comze.com написал:







  Can someone recommend an Android tablet for me that definitely works
  for development on Windows 7?

  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



I'm having trouble with the VIZIO tablet.  Can you be specific about
what hacking the inf file involves?




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


Re: [android-developers] MOTODEV Studio?

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 9:11 AM, bob b...@coolfone.comze.com wrote:

 Just wondering - is it easier to use MOTODEV Studio or install the pieces
 separately?  While I like the all-in-one idea, I'm having some issues here
 and there with MOTODEV.


That is a good question for whatever groups or forums are dedicated to
MOTODEV Studio.

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

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

[android-developers] CursorLoader vs AsyncQueryHandler?

2012-02-22 Thread Hank
I have seen sample code on how to implement both a CursorLoader and a
AsyncQueryHandler. If I wanted to use this for an Android 2.2
application for a SimpleCursorTreeAdapter, which one should I use?

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

2012-02-22 Thread Kostya Vasilyev
The idea is to manually add UPnP IDs to the standard Google Windows adb 
driver (pretty similar to editing udev config files on Linux).


https://groups.google.com/forum/?fromgroups#!topic/android-developers/tn92HaLeEsg 
https://groups.google.com/forum/?fromgroups#%21topic/android-developers/tn92HaLeEsg


https://groups.google.com/forum/?fromgroups#!topic/android-developers/N8aydm119EI 
https://groups.google.com/forum/?fromgroups#%21topic/android-developers/N8aydm119EI


-- Kostya

22.02.2012 19:14, bob пишет:

I'm having trouble with the VIZIO tablet.  Can you be specific about
what hacking the inf file involves?




Thanks.


--
Kostya Vasilyev

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

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 9:12 AM, Kookamonga site...@yahoo.ca wrote:

 But at the same time, shouldn't it be possible to do this just with the
 Intent itself? If you use the putExtra method on your intent and add just a
 simple boolean that indicates that the button should be set to on, I would
 think this would work. Did I miss something?


Yes, that should work fine. I took the OP's statement of retain the state
to indicate that this was something he hoped to persist, beyond his
Notification. In which case, IMO, the SharedPreference would be the most
logical solution.

Of course, these are all assumptions until the OP clarifies his intentions.

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

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

[android-developers] Error while pulbishing a new APK or even when uplaoding a new image in Android Marker

2012-02-22 Thread Thierry Brethes
I get an error : The server could not process your image. Please try
again later. when trying to update a screenshot image in the Android
Market
I also get the error: The server could not process your apk. Try
again. when trying to publish a new version of my application APK.

Is the Android market publishing down currently?
Does anyone has the same errors, or is it just me and my APK?
Thanks
Thierry

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Error while pulbishing a new APK or even when uplaoding a new image in Android Marker

2012-02-22 Thread Dallas Gutauckis
Please see these threads:
http://groups.google.com/a/googleproductforums.com/forum/#!topic/android-market/NghLZh2w6_g
https://groups.google.com/a/googleproductforums.com/forum/#!topic/android-market/dKjnYH9pe-s

On Wed, Feb 22, 2012 at 10:58, Thierry Brethes tbret...@gmail.com wrote:

 I get an error : The server could not process your image. Please try
 again later. when trying to update a screenshot image in the Android
 Market
 I also get the error: The server could not process your apk. Try
 again. when trying to publish a new version of my application APK.

 Is the Android market publishing down currently?
 Does anyone has the same errors, or is it just me and my APK?
 Thanks
 Thierry

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

2012-02-22 Thread Dancing Fingers
I have a business style layout that sits on a custom/game layout.
Ideally I waneet each view/layout to have their respective listeners.
Has any one written a tutorial on nested listeners?
Thanks.
Chris

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Re : Save output data as XML

2012-02-22 Thread Kristopher Micinski
I guess to summarize this:

why do you want to save stuff in XML on your SD card?  If it's for
your app's persistence, there's no reason it has to be in XML, it
could just as easily be in sharedpreferences (which has an easier API
anyway).  If you must save data in XML, you can just work the standard
xml utilities available in Android.  If you google write xml in
android you get a nice smattering of tutorials on how to do this, and
you can come back and ask more targeted api centric questions.  For
writing to the SD card you'd be best to read this:
http://developer.android.com/guide/topics/data/data-storage.html
Remember that not all devices (for example, the ever popular Nexus S)
have SD cards...

kris

On Wed, Feb 22, 2012 at 6:55 AM, moktarul anam mokta...@gmail.com wrote:
 Hi Vivek,
 I think simple and good solution is android Shared Preferences

 Moktarul


 On Feb 22, 3:19 pm, vivek elangovan elangovan.vi...@gmail.com wrote:
 Hi Moktarul Anam ,
                        I m not going to save uname and pssword in my
 xml for sample only i gave that.My scenario is if i m entering some
 data i have to save  it as xml in my sdcard and i also have to
 retrieve that data.

 - Vivek

 On Feb 22, 3:09 pm, moktarul anam mokta...@gmail.com wrote:







  Hi Viek,

  saving username and password in  sdcard is not a good idea.
  yes u can same ur xml file to sdcard. use file write
  usehttp://developer.android.com/guide/topics/data/data-storage.html

  ( i think u have to use java serialize )

  Moktarul Anam

  On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:

   Hi Seshu,
                  i checked the link u referred and its working fine, but
   in that sample no xml part is defined what i need is (for eg : in the
   same example after login i want to save the username and password as
   XML files in my sdcard )

   - Vivek

   On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

Hi Vivek,
Used Shared Preferences so that the output data will be saved in xml
format only.

   https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

   http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

Thanks and  Regards,
S.Seshu

On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

 Hi members,
                      I want to develope an application  where after
 entering the required input fields i want to save the output data as
 XML in my local (eg : memory card) . Is there any sample available ?

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

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


Re: [android-developers] OpenGL: Big values of verticies coordinates on Android emulator

2012-02-22 Thread harism
My somewhat uneducated guess would be that emulator + some devices do
calculations using GLfixed instead of full GLfloat capacity. AFAIK GLfixed
should be able to handle values up to ~65535 though - but it's possible
that during during applying transformations etc OpenGL requires some of
this precision for internal purposes. Personally I would've expect this
wasn't the case though but can't think of any other reason for limit of
~7000 you're facing.

--
H
On Feb 20, 2012 12:16 PM, Zveroid zver...@gmail.com wrote:

 Hello!

 Sometimes I'm need to draw my objects with pretty hight coordinates
 (more than 20). But when I trying to render even objects with
 coordinates about 1, there's nothing on my emulator. But on my
 Samsung Galaxy S2 there's all ok!
 I tried to change coordinates and found highest coodinates - there's
 about 7000. If we use bigger values, we willn't see any objects.
 There's parts of my code:
 Initialization:
ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4);
vbb.order(ByteOrder.nativeOrder());
mFVertexBuffer = vbb.asFloatBuffer();

float[] coords = {
6985.5f, 6985.5f, 0,
6984.5f, 6985.5f, 0,
6985.0f, 6984.5f, 0,
6985.5f, 6985.5f,0,
6984.5f, 6985.5f, 0,
6985.0f, 6984.5f, 0
}; //there's all ok with such coords. With 7000 triangle doesn't
 rendered.

for (int i = 0; i  VERTS; i++) {
for (int j = 0; j  3; j++) {
mFVertexBuffer.put(coords[i * 3 + j]);
}
}

mFVertexBuffer.rewind();

 Render loop:
gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
gl.glMatrixMode(GL10.GL_MODELVIEW);
gl.glLoadIdentity();

GLU.gluLookAt(gl, 6985, 6985, 4, 6985, 6985, 0, 0f, 1f, 0f);

gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
gl.glColor4f(1.0f, 0.0f, 0.0f, 0.0f);

gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mFVertexBuffer);//
 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, 0);
gl.glDrawArrays(GL10.GL_TRIANGLES, 0,
 mFVertexBuffer.capacity() / 3);

gl.glDisableClientState(GL10.GL_VERTEX_ARRAY);


 Is there emulator bug or there's my mistake somewhere?
 How I can solve this problem? I really need it - lots of chinense
 devices has pretty same bugs as emulator :(

 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

[android-developers] Re: Alternate chat bubble widths

2012-02-22 Thread Jons Jean
AsalmoAlikum :
   Dear Shahid have you received the solution the your
problem related to chat bubble ?
I am facing same problem as your.if you can share it with me ?
my id as tonasirinbox(at)gmail . . . . com
Thanks . . .I will wait for your text . . .if you can . . .

On Feb 15, 11:06 am, shahid shahid2...@gmail.com wrote:
 Hi All,

 I am developing a chat type application. I am using two different nine
 patches for chat bubble main message and responses. The problem I am
 facing is to automatically wrapping the widths of the bubbles
 according to the message length. I have already posted my problem at
 stackoverflow 
 -http://stackoverflow.com/questions/9101835/alternate-chat-bubble-widths

 If any of you have any clue regarding this, please feel free to
 respond.

 Shahid

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

2012-02-22 Thread raju
please dnt send msgs to me any more .. i want to unsubscribe from f

On Wed, Feb 22, 2012 at 11:11 PM, Jons Jean tonasirin...@gmail.com wrote:

 AsalmoAlikum :rom it



   Dear Shahid have you received the solution the your
 problem related to chat bubble ?
 I am facing same problem as your.if you can share it with me ?
 my id as tonasirinbox(at)gmail . . . . com
 Thanks . . .I will wait for your text . . .if you can . . .

 On Feb 15, 11:06 am, shahid shahid2...@gmail.com wrote:
  Hi All,
 
  I am developing a chat type application. I am using two different nine
  patches for chat bubble main message and responses. The problem I am
  facing is to automatically wrapping the widths of the bubbles
  according to the message length. I have already posted my problem at
  stackoverflow -
 http://stackoverflow.com/questions/9101835/alternate-chat-bubble-widths
 
  If any of you have any clue regarding this, please feel free to
  respond.
 
  Shahid

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

2012-02-22 Thread bob
Anyone know if there's a way to hook a tablet PC up to an Ethernet
jack?

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


Re: [android-developers] Ethernet jack?

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 12:04 PM, bob b...@coolfone.comze.com wrote:

 Anyone know if there's a way to hook a tablet PC up to an Ethernet jack?


https://groups.google.com/forum/?fromgroups#!forum/android-developers
 *Android Developers — **Discuss developing Android applications using the
Android SDK.* 

-
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

Re: [android-developers] Re: Hello Everyone, i just have a quick question:

2012-02-22 Thread Mohamed Gougam
Hello moktarul, the thing about manifest.xml, is tht i have only one
activity so nothing to get confused with. the manifest file is bellow:

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=android.mgo.helloandroid
android:versionCode=1
android:versionName=1.0 

uses-sdk android:minSdkVersion=7 /

application
android:icon=@drawable/ic_launcher
android:label=@string/app_name 
activity
android:label=@string/app_name
android:name=.BTDdetecetwithV7Activity
intent-filter
action android:name=android.intent.action.MAIN/

category android:name=android.intent.category.LAUNCHER/
/intent-filter
/activity
/application
uses-permission android:name=android.permission.BLUETOOTH/
uses-permission
android:name=android.permission.BLUETOOTH_ADMIN/
/manifest

On Wed, Feb 22, 2012 at 1:04 AM, Mohamed Gougam mblack...@gmail.com wrote:

 Hello  moktarul,

 Thanks alot, i will do that, and let you know :)


 On Tue, Feb 21, 2012 at 12:10 PM, moktarul anam mokta...@gmail.comwrote:

 sorry, its Activity Intent filter not internt filter
 Moktarul

 On Feb 21, 12:42 pm, moktarul anam mokta...@gmail.com wrote:
  Hi Soyer,
  All your activity class has to be there in your Manifest.xml file
 
  if you call your activity class from other activity then that class
  has to be main( internt filter main) Please check these two point and
  i think this will solve ur problem.
  I am sure some problem in ur Manifest.xml file
 
  Moktarul
 
  On Feb 20, 11:24 pm, Mohamed Gougam mblack...@gmail.com wrote:
 
 
 
 
 
 
 
   Hi Moktarul, What is in the the manifest file, you mean i have to
 remove
   the . ? i don't think that's it, the . has to be there.
 
   Thanks guys for the help, Kris is it wrong if somebody try to learn
   something different, out of his field !! Thanks for the help though i
   really appreciate it.
 
   On Mon, Feb 20, 2012 at 3:44 PM, moktarul anam mokta...@gmail.com
 wrote:
Hi
BTDdetecetwithV7Activity in ur android  Manifest file
activity name=BTDdetecetwithV7Activity/\
 
Enjoy
moktarul
 
On Feb 20, 12:26 am, Soyer mblack...@gmail.com wrote:
 Hello everyone, Can anyone explain to me what this following error
 means? have anyone faced the same?
 
 ERROR:
 
 02-19 18:10:41.321: E/AndroidRuntime(319):
 java.lang.RuntimeException:
 Unable to start activity ComponentInfo{android.mgo.helloandroid/
 android.mgo.helloandroid.BTDdetecetwithV7Activity}:
 java.lang.NullPointerException
 
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
 android-developers@googlegroups.com
To unsubscribe from this group, 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 improve MonkeyRecorder's low refresh rate?

2012-02-22 Thread Bill Napier
The limit here is the speed at which ADB can take screenshots and send the
data over USB, nothing else.

Might want to take a look at how some of the android vnc ports work, as
that may be a more workable solution.

On Sun, Feb 19, 2012 at 8:20 AM, antiAgainst antiagai...@gmail.com wrote:

 Hi, all! Recently I'm working on a course project in which I need to show
 Android device's screen on PC dynamically. Besides, I also need to record
 user's operations and replay it on different devices. I looked into Android
 SDK, and found that MonkeyRecorder provided by the monkeyrunner tool
 can fulfill these two requirements. However, there are problems about it.
 Because the MonkeyRecorderFrame is implemented by Java AWT and Swing,
 it seems snapshots from device cannot be refreshed very quickly in
 MonkeyRecorderFrame (extends JFrame). So the PC cannot completely
 synchronizes with the device. How can this situation be improved?
 Need I to rewrite the MonkeyRecorder using some other efficient languages?
 I'd really appriciate if you could give me any advice.

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

2012-02-22 Thread Michael Ennovium
Did you have any difficulty getting a MAPS API key?  I keep getting that I
have an invalid certificate number.  I doing a copy-paste so I know I'm not
mistyping it.

M

On Wed, Feb 15, 2012 at 5:57 PM, lbendlin l...@bendlin.us wrote:

 http://code.google.com/android/add-ons/google-apis/maps-overview.html

 http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations/2023685#2023685

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

2012-02-22 Thread bob
Does an Android device typically need to be powered off to insert/
remove a microSD card?

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


RE: [android-developers] Re: Windows 7 tablet

2012-02-22 Thread Tommy Hartz
I just got the Acer Icona A200. It works GREAT with windows 7 and at 330$ is
a great tablet.

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of bob
Sent: Wednesday, February 22, 2012 10:14 AM
To: Android Developers
Subject: [android-developers] Re: Windows 7 tablet




On Feb 21, 6:24 am, Kostya Vasilyev kmans...@gmail.com wrote:
 Don't almost all of them work? Some may require hacking the driver's 
 inf file, some have official drivers.

 Out of the ones I have, Sony tablet S requires hacking, while Asus 
 Tf101 has official drivers. I recommend the Sony over the Asus because 
 of separate power and usb connectors.
  21.02.2012 17:11 пользователь bob b...@coolfone.comze.com написал:







  Can someone recommend an Android tablet for me that definitely works 
  for development on Windows 7?

  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



I'm having trouble with the VIZIO tablet.  Can you be specific about what
hacking the inf file involves?




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


[android-developers] Button for dynamic text

2012-02-22 Thread Pram
I am writing a program that when the user enter a number text appears
according to that number. My problem is that the button line has
public void ... after this I am trying to use if statements and return
methods, but because of the public void, the return method can not
return anything. I tried to close the public void, but I am getting
errors. Please help. The code is as follows. I have included the
different codes that I have tried like toast, etc..

ente@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
  Button button = (Button)findViewById(R.id.go);
  button.setOnClickListener(mAddListener);

//  tv = (TextView) findViewById(R.id.textView1);
}

private OnClickListener mAddListener = new OnClickListener()
{
public void onClick(View v) {
}}
;
//Toast.makeText(Num.this, This Display,
Toast.LENGTH_SHORT).show();
//toast.show();
//finish ();
//  long id = 0;

// try { PleaseEnter=(EditText)findViewById(R.id.PleaseEnter);

  {
  }

  if (PleaseEnter.equals(1))
 // tv.setText(This is the display 1.);
  return This display;

   //   Context context = getApplicationContext();
 // CharSequence text =this display;
 // int duration =Toast.LENGTH_LONG;
 // Toast toast =Toast.makeText(context, text, duration);
//toast.show();
else if  (PleaseEnter.equals(2))
return;
//tv.setText(Dispaly 2);

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

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 1:45 PM, Pram goodp...@gmail.com wrote:

 My problem is that the button line has public void ... after this I am
 trying to use if statements and return methods, but because of the public
 void, the return method can not return anything. I tried to close the
 public void, but I am getting errors.


How well do you know Java? It sounds like you're getting hung up over
language syntax and semantics. If that's the case, you need to brush up on
Java, which is off-topic for this list.

-
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

Re: [android-developers] Re: Regarding an android phone acting as server and client

2012-02-22 Thread sowmya kukkadapu
Hi,

To uniquely identify another android device, can I use Android_ID as a key
or is there any other efficient way to send file to the clients from the
server?

On Wed, Feb 22, 2012 at 1:27 AM, moktarul anam mokta...@gmail.com wrote:

 Yes u can run server on android phone

 Moktarul

 On Feb 21, 10:24 pm, sahiti sowmya...@gmail.com wrote:
  Hi,
 
  Can any one suggest me whether an android phone could act both as a
  server and a client in a program?

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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Regarding an android phone acting as server and client

2012-02-22 Thread sowmya kukkadapu
Hi Moktarul,

To uniquely identify another android device, can I use Android_ID as a key
or is there any other efficient way to send file to the clients from the
server?


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] Re: Button for dynamic text

2012-02-22 Thread Pram
Well I know some java, but this seems to be the problem
public void onClick(View v) {
when I try to use return in my if statement that does not work
the tv statements do not show anything on the screen when it is
executed.
A suggestion I got was to use the code below, but I am not sure where
to put the first private void, or what to take out of my code.
You can define your own method at Activity level, such as:

private void onTextEdited(String content) {
// deal with the String
}

In the onClick method of your OnClickListener, you can call it such
as:

public void onClick(View v) {
EditText myEditText = (EditText) findViewById(R.id.PleaseEnter);
onTextEdited(myEditText.getText().toString());
}



On Feb 22, 2:54 pm, TreKing treking...@gmail.com wrote:
 On Wed, Feb 22, 2012 at 1:45 PM, Pram goodp...@gmail.com wrote:
  My problem is that the button line has public void ... after this I am
  trying to use if statements and return methods, but because of the public
  void, the return method can not return anything. I tried to close the
  public void, but I am getting errors.

 How well do you know Java? It sounds like you're getting hung up over
 language syntax and semantics. If that's the case, you need to brush up on
 Java, which is off-topic for this list.

 -
 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


Re: [android-developers] Re: Button for dynamic text

2012-02-22 Thread TreKing
On Wed, Feb 22, 2012 at 2:13 PM, Pram goodp...@gmail.com wrote:

 when I try to use return in my if statement that does not work the tv
 statements do not show anything on the screen when it is executed.


The code in your original post is extremely hard to read. Try a smaller
snippet that illustrates what you're talking about.

Have you put in logging and used your debugger to step through and see what
the code is doing?

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

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

[android-developers] Re: Sql server report fetching

2012-02-22 Thread Terrell McQueen
You got to have more then that... what have you done... what errors
have you ran into


On Feb 22, 8:55 am, Dhaval Varia dhavalkva...@gmail.com wrote:
 Dear all
 I want to fetch data from sql server.
 Please provide any tutorial  or something .
 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


RE: [android-developers] Re: Button for dynamic text

2012-02-22 Thread Tommy Hartz
Why not connect the button click event to a function EX

 

public void onClick(View v) {

Toast.makeText(Num.this, stringFunction(),Toast.LENGTH_SHORT).show();

}

 

Public string stringFunction(){

If(whatever){

Return = Hello;

}

 

 

}

 

 

From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of TreKing
Sent: Wednesday, February 22, 2012 3:22 PM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Re: Button for dynamic text

 

On Wed, Feb 22, 2012 at 2:13 PM, Pram goodp...@gmail.com wrote:

when I try to use return in my if statement that does not work the tv
statements do not show anything on the screen when it is executed.


The code in your original post is extremely hard to read. Try a smaller
snippet that illustrates what you're talking about.

 

Have you put in logging and used your debugger to step through and see what
the code is doing?


-
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

[android-developers] JQuery UI dragdrop

2012-02-22 Thread Christian Palomares (ShinjiDev)
Hi everyone

I need some help about JQuery. Do you know if there's a jQuery plugin
to make jQuery UI dragdrop features to work on Android devices
without the need to modify the JS code?

Thxs

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

2012-02-22 Thread satahippy
how can i draw only shadow on canvas?
Paint paint = new Paint();
paint.setAntiAlias(true);
paint.setShadowLayer(10, 0, 0, Color.BLACK);
paint.setStyle(Paint.Style.STROKE);
canvas.drawCircle(100, 100, 50, paint);
it's not work!

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

  1   2   >