Re: [android-developers] Re: How can i implement Feature Like “Precache Map Area” as like Google Map

2011-12-13 Thread Saurabh Patel
Ya Sprial

Thanks For Reply But Please Tell me Once Again i have to Report RD On this
Part to ahead. so please Be Need Full here.

On 13 December 2011 11:32, Spiral123 cumis...@gmail.com wrote:

 we have already answered this question in your other thread.

 On Dec 13, 12:22 am, Saurabh Patel saurbh...@gmail.com wrote:
  Can I Implement Feature Like `Cache Google Map Tile or Precache Map
  Area` which is in Google Maps?
 
  In Latest Google Maps Update, There is a option like `Precache Map
 Area`
  So i want to implement this Feature in My Own Application and on My Own
  Device. So can i Do this Using Google Android Open Source Code which is
  available on android Developer Website??
 
  Basically want to see google map in offline mode, means i want to get Map
  from Cache Map Tile when GPRS or Wifi is not there.
 
  So can i save this google map tile to cache and use this map in future.??
  Please Suggest me the way so if possible than i will proceed for next.
 
  Thanks
 
  Sameer Patel

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

2011-12-13 Thread Saurabh Patel
Hi ALL

I want to Download Google Maps Application Source code from Android 2.3.4
source code.?

Is there any link or website ? i already find this Map source code on Greap
Code and google code site but i cant find Particular googla maps
application Source code.

So please Suggest me the way From where i can download this thing?

Thanks

Saurabh Patel

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

2011-12-13 Thread Nikolay Elenkov
Just lost around 3000 total installs (a.k.a 'users') on two applications 
each, and 800 on another. 
(there is no message about this on the dev console)

Prepare to be adjusted.



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

2011-12-13 Thread Romain Guy
The warning is still valid, but it's only a warning. Two nested LL is fine.

On Mon, Dec 12, 2011 at 11:43 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

 This is a Lint warning I am getting in a bunch of files.  What does it
 mean?

 Here's an example:

 LinearLayout xmlns:android=http://schemas.android.com/apk/res/
 android
  android:layout_width=match_parent
  android:layout_height=match_parent
  android:orientation=vertical

ListView android:id=@android:id/list
  android:layout_width=match_parent
  android:layout_height=0px
 =android:layout_weight=1
  android:background=@color/list_background
  android:cacheColorHint=@null
  android:divider=@drawable/list_item_divider
  android:scrollbars=vertical
  android:fastScrollEnabled=true/

LinearLayout android:layout_width=match_parent
  android:layout_height=match_parent
  android:layout_marginTop=-3dp
  android:layout_marginBottom=-2dp
  android:orientation=horizontal

TextView android:id=@+id/select_all_label
  android:layout_width=0px
  android:layout_height=wrap_content
 ==   android:layout_weight=1
  android:gravity=center_vertical|right
  android:text=@string/select_all

  style=@android:style/Widget.CompoundButton/

CheckBox android:id=@+id/select_all
  android:layout_width=wrap_content
  android:layout_height=wrap_content
  android:layout_marginRight=7dp/
/LinearLayout
 /LinearLayout



 I have 2 layout weights, but one is for vertical and one if for
 horizontal.  How can I fix this warning, or is it completely bogus as
 it doesn't take the orientation into account?

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




-- 
Romain Guy
Android framework engineer
romain...@android.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

[android-developers] Saving, reading and writing a 2d int array somewhere

2011-12-13 Thread Raghav Sood
Hi all,

I recently (less than a week) released a new game. It's a simple game. Use
a paddle to keep the ball bouncing around and breaking bricks.

I was thinking about adding the option for the user to create his/her own
levels. Currently, my games levels are specified in a 2d int array, where 1
specifies a brick and 0 an empty space.

I created a simple activity with checkboxes to specify whether a brick is
present at that spot or not. I have two problems:

1) I need to figure out how to use the true false value of the checkbox
being checked to create an int array, with a checked check box resulting in
a 1, and an unchecked one resulting in a 0. An example of my level arrays:

this.level9 = new int[][] { { 0, 0, 0, 0, 0, 0, 0, 0 },
{ 1, 1, 1, 1, 1, 1, 1, 1 },
{ 0, 0, 1, 0, 0, 1, 0, 0 },
{ 0, 1, 0, 0, 0, 0, 1, 0 },
{ 1, 1, 1, 1, 1, 1, 1, 1 },
{ 0, 0, 1, 0, 0, 1, 0, 0 },
{ 0, 1, 0, 0, 0, 0, 1, 0 },
{ 1, 1, 1, 1, 1, 1, 1, 1 },
{ 0, 0, 0, 0, 0, 0, 0, 0 }, };

The first 8 values are always 0.

2) How do I store this array? I first though about using SharedPreferences,
but that doesn't allow arrays. I could use an SQLite DB, but I don't really
like databases, and would prefer not to. Finally, I could use a flat file
storage like saving a .txt file to the SD card, but I do not know how to
read the contents into an array.

Any idea on how to do something like this? The levels I ship with the game
are all defined in the class itself, so I don't need to store them
somewhere.

Thanks
-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

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

2011-12-13 Thread Duygu Kahraman
I am doing custom layout.But i want to seem like in the screen
button,image,text.

See 
http://stackoverflow.com/questions/3885077/relativelayout-programatically-in-android
.I want to add a button on the left side.Can anybody help me?

My code is:

RelativeLayout.LayoutParams lp1=new
RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT);
addView(pic,lp1);

RelativeLayout.LayoutParams lp2=new
RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT);
lp2.addRule(RelativeLayout.RIGHT_OF,pic.getId());
addView(name,lp2);


RelativeLayout.LayoutParams lp3=new
RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT);
lp3.addRule(RelativeLayout.LEFT_OF,pic.getId());
addView(deletebutton,lp3);

what is wrong?

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

2011-12-13 Thread Nagarjuna@android

Hi All,
I am Nagarjuna, I got *classes.dex* and *res *folder from some other app 
after decompile.


I want to rebuild the apk file using these two files ,

Can we do that ,,
If any one knows , pls reply

Please help me ,

*Thanks  Regards*
Nagarjuna

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

Re: [android-developers] Custom layout addView issue

2011-12-13 Thread Ratheesh Valamchuzhy
i guess width of relative layout  lp1 to fill parent..

give full code ...(pic,name ,deletebutton?)...??

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Saving, reading and writing a 2d int array somewhere

2011-12-13 Thread Nikolay Elenkov
On Tue, Dec 13, 2011 at 6:16 PM, Raghav Sood
raghavs...@androidactivist.org wrote:

 this.level9 = new int[][] { { 0, 0, 0, 0, 0, 0, 0, 0 },
                                     { 1, 1, 1, 1, 1, 1, 1, 1 },
                                     { 0, 0, 1, 0, 0, 1, 0, 0 },
                                     { 0, 1, 0, 0, 0, 0, 1, 0 },
                                     { 1, 1, 1, 1, 1, 1, 1, 1 },
                                     { 0, 0, 1, 0, 0, 1, 0, 0 },
                                     { 0, 1, 0, 0, 0, 0, 1, 0 },
                                     { 1, 1, 1, 1, 1, 1, 1, 1 },
                                     { 0, 0, 0, 0, 0, 0, 0, 0 }, };

 The first 8 values are always 0.

 2) How do I store this array?

It doesn't matter where you save it, you have
to serialize it (convert to a string/byte array) first. You
could use Java (binary) serialization, or a text-based
format such as JSON or XML (really?). But, since
it's just a bunch of one and zeros, you can just
compress it to 9 bytes (one row - one byte).
Then, for example, Base64 encode to save as string.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Saving, reading and writing a 2d int array somewhere

2011-12-13 Thread Raghav Sood
Thanks for the reply Nikolay. I should be able to get it done with your
suggestion. I've also managed to figure out the reading into a 2d array
part now, so I should be good to go.

I'll post my method after I am done.

Thanks

On Tue, Dec 13, 2011 at 3:05 PM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:

 On Tue, Dec 13, 2011 at 6:16 PM, Raghav Sood
 raghavs...@androidactivist.org wrote:
 
  this.level9 = new int[][] { { 0, 0, 0, 0, 0, 0, 0, 0 },
  { 1, 1, 1, 1, 1, 1, 1, 1 },
  { 0, 0, 1, 0, 0, 1, 0, 0 },
  { 0, 1, 0, 0, 0, 0, 1, 0 },
  { 1, 1, 1, 1, 1, 1, 1, 1 },
  { 0, 0, 1, 0, 0, 1, 0, 0 },
  { 0, 1, 0, 0, 0, 0, 1, 0 },
  { 1, 1, 1, 1, 1, 1, 1, 1 },
  { 0, 0, 0, 0, 0, 0, 0, 0 }, };
 
  The first 8 values are always 0.
 
  2) How do I store this array?

 It doesn't matter where you save it, you have
 to serialize it (convert to a string/byte array) first. You
 could use Java (binary) serialization, or a text-based
 format such as JSON or XML (really?). But, since
 it's just a bunch of one and zeros, you can just
 compress it to 9 bytes (one row - one byte).
 Then, for example, Base64 encode to save as string.

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




-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Why Dialer app showing '+1' and '+7' on typing '+01' and '+07'?

2011-12-13 Thread Ashok Jeevan
Hi,

When I type '+01' or '+07' in the Dialer app, it automatically formats the
number into '+1' and '+7' respectively.

But there are no issues with the other numbers, say '+02'.

Any idea why this happens? Is this something related to the country code
formatting?

AJ

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

2011-12-13 Thread Ali Chousein
Maybe my question sounds very basic and simple, but did you define the
size of your components in dip?

-
Ali Chousein
Weather-Buddy
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
Geo-Filtered Assistant
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


[android-developers] Re: Rows in TextView

2011-12-13 Thread Ali Chousein
What do you mean by rows in a TextView? TextView is not a table to
have rows. It just stores one string field.

-
Ali Chousein
Weather-Buddy
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
Geo-Filtered Assistant
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


[android-developers] Re: What is wrong with my OpenGL program

2011-12-13 Thread Ali Chousein
Come on bro, do you think anybody will read this long code? Localize
your problem and ask again. Once you localize it, probably you'll see
the problem yourself anyway.

-
Ali Chousein
Weather-Buddy
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
Geo-Filtered Assistant
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


[android-developers] Re: how to retrieve contact image from contacts in android phonegap application

2011-12-13 Thread Ali Chousein
Check if ContactsContract.DisplayPhoto is what you are looking for.
Check this link: 
http://developer.android.com/reference/android/provider/ContactsContract.html.
However, I don't know how to use ContactsContract in Javascript. If
you find this out and write a blog about it, probably you'll become
famous.

-
Ali Chousein
Weather-Buddy
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
Geo-Filtered Assistant
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


[android-developers] HTC Sync

2011-12-13 Thread subha
Hi Developers,


When installing the HTC Sync it has an Application Installer for the
device. Following the Wizard it makes me browse for a file to install.
What file should I choose?


Thanks in Advance

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


[android-developers] hover effect on a widget

2011-12-13 Thread Narendra Singh Rathore
hi all, I am a newbie to Android.
I am currently facing a problem, as I want to apply Hover effect on a
widget (for eg..*on a button*), so that while moving mouse over it, some
action should be performed, or while removing mouse from it, retains
original properties..

I also tried to use onTouchListener, but that didn't help me.(*probably I m
not getting how to use that*)

Please tell me whether it is possible or not.

If possible, how to achieve that.

thnx in advance..

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

Re: [android-developers] hover effect on a widget

2011-12-13 Thread Raghav Sood
You do not move a mouse over widgets. Android is by and large touchscreen,
in which you use your finger to touch the widgets on your display. You
cannot get a hover type input anyways. The only non-touchscreen Androids
that I know of are those running Google TV, a part of Android with which I
am not familiar.

Thanks

On Tue, Dec 13, 2011 at 4:24 PM, Narendra Singh Rathore 
nsr.curi...@gmail.com wrote:

 hi all, I am a newbie to Android.
 I am currently facing a problem, as I want to apply Hover effect on a
 widget (for eg..*on a button*), so that while moving mouse over it, some
 action should be performed, or while removing mouse from it, retains
 original properties..

 I also tried to use onTouchListener, but that didn't help me.(*probably I
 m not getting how to use that*)

 Please tell me whether it is possible or not.

 If possible, how to achieve that.

 thnx in advance..

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




-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

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

2011-12-13 Thread Latimerius
On Tue, Dec 13, 2011 at 11:49 AM, subha subhashini.andr...@gmail.com wrote:
 Hi Developers,


 When installing the HTC Sync it has an Application Installer for the
 device. Following the Wizard it makes me browse for a file to install.
 What file should I choose?

Hi, your question is off-topic here but sounds perfect for HTC support. :)

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

2011-12-13 Thread skink


Narendra Singh Rathore wrote:
 hi all, I am a newbie to Android.
 I am currently facing a problem, as I want to apply Hover effect on a
 widget (for eg..*on a button*), so that while moving mouse over it, some
 action should be performed, or while removing mouse from it, retains
 original properties..

 I also tried to use onTouchListener, but that didn't help me.(*probably I m
 not getting how to use that*)

 Please tell me whether it is possible or not.

 If possible, how to achieve that.

 thnx in advance..

whats your implementation of onTouchListener?

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] Re: hover effect on a widget

2011-12-13 Thread Narendra Singh Rathore
 whats your implementation of onTouchListener?

 I didn't get any suitable feature of that to be used, in my case.

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

2011-12-13 Thread Narendra Singh Rathore
:

 Hello! How do you get the maximum number of rows in a TextView? I try this:

 getWindowManager().getDefaultDisplay().getMetrics(metrics);
 float width = metrics.widthPixels;
 float height = metrics.heightPixels;
 int lines = (int) (height/textView.getLineHeight());

 But this variant gives the wrong information.


Do you want to count the number of lines in a textview?

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

2011-12-13 Thread Ash
Hi All,

Is it possible to have the button text scroll (left to right and vice 
versa) forever if the text is too long to fit in the width of the button?

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] Scrolling Button Text

2011-12-13 Thread Narendra Singh Rathore


 Is it possible to have the button text scroll (left to right and vice
 versa) forever if the text is too long to fit in the width of the button?


No, its not possible.

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

Re: [android-developers] hover effect on a widget

2011-12-13 Thread Narendra Singh Rathore
You do not move a mouse over widgets. Android is by and large touchscreen,
 in which you use your finger to touch the widgets on your display. You
 cannot get a hover type input anyways. The only non-touchscreen Androids
 that I know of are those running Google TV, a part of Android with which I
 am not familiar.

 Thanks


I guess, you are right.
Thanks for informing 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

[android-developers] Developer Console - Hard to understand ?

2011-12-13 Thread Terry
I am not sure that I fully understand the contents of the Developer
Console.

E.g.: What is the difference between
- total installs (users), and
- active installs (devices) ?

I know that the Market people have tried to explein it - men even that
was hard to grasp (for me).

And why can/does the number of total installs (for an app) become
LOWER from one day to the next (which I have seen lately)?

Does anybody know?

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


[android-developers] Android web development guide..(beginner question..)

2011-12-13 Thread sathyashrayan
Developers,
  I have been in web developments with php/mysql.. Now a days learning
the basics of android developments. My requirements is to develop
android web apps.. I got a book called pro android 3 and pro android
web apps.. I have run all those examples from the two books. I also
have samples from android sdk. My doubt is, where these two types
development gets integrated? I mean when are these  android sdk
functions and classes used in android web development?

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

2011-12-13 Thread Raghav Sood
Total installs is how many times your app has been downloaded and installed
on a device (according to the market).
Active installs is how many devices have NOT uninstalled your app
(according to the market).

The numbers keep changing because you are in the Market Console. The
console's stats are worse than useless currently. Use Google Analytics or
Flurry to get statistics for your app.

Thanks

On Tue, Dec 13, 2011 at 5:11 PM, Terry terb...@gmail.com wrote:

 I am not sure that I fully understand the contents of the Developer
 Console.

 E.g.: What is the difference between
 - total installs (users), and
 - active installs (devices) ?

 I know that the Market people have tried to explein it - men even that
 was hard to grasp (for me).

 And why can/does the number of total installs (for an app) become
 LOWER from one day to the next (which I have seen lately)?

 Does anybody know?

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




-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

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

2011-12-13 Thread Doug Gordon
Are you sure you're using the correct symbol, i.e.
Configuration.SCREENLAYOUT_SIZE_XLARGE?

  Doug Gordon
  GHCS Software

On Dec 12, 7:39 pm, martypantsROK martyg...@gmail.com wrote:
 seems to be an Eclipse problem. Build target is set to 11 but it
 doesn't recognize it.
 Got all the latest updates...any other wise info?

 On Dec 12, 8:59 pm, Mark Murphy mmur...@commonsware.com wrote:







  On Mon, Dec 12, 2011 at 6:07 AM, martypantsROK martyg...@gmail.com wrote:
   I'm getting an error on compile:

         error: No resource identifier found for attribute
   'xlargeScreens' in package 'android'

   I'm trying to use API 11, andxlargeScreenswas to have been setup in
   9+.

   So what have I done wrong to cause this not to be recognized?

  Double-check your project's build target. Having a build target below
  API Level 9 is the only thing that I have seen that causes this error.

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

  _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.2
  Available!

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


Re: [android-developers] Want to Download Google Maps Source code

2011-12-13 Thread Mark Murphy
On Tue, Dec 13, 2011 at 3:46 AM, Saurabh Patel saurbh...@gmail.com wrote:
 I want to Download Google Maps Application Source code from Android 2.3.4
 source code.?

 Is there any link or website ?

No, because it is not open source.

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

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

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


[android-developers] Help to set Background

2011-12-13 Thread Kiran Kumar Kendole
Hey All ,

I am back with another doubt. Could you please help me in the following..

I have data in SQlite.. and I am able to show it using a ListView ... For
this I used the below code.
*
*
*ArrayAdapterString adapter = new ArrayAdapterString(this,*
* android.R.layout.simple_list_item_multiple_choice, values);*
*
*
But If I use this , how to set background image for the activity . Because
the used XML is pre defined. and we cant use android;background .


Thanks,
KIRANKUMARKENDOLE

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

Re: [android-developers] Help to set Background

2011-12-13 Thread akash jain
for this you can use ArrayAdapter with 2 argument..first the context
and another is layoutnow to get the values from database...and add that
value to adapter...e.g
adapter.add(..);
its working..

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

2011-12-13 Thread sblantipodi
it does not work on my Galaxy Nexus using Windows 7 64bit.

On 13 Dic, 08:13, gjs garyjamessi...@gmail.com wrote:
 hi,

 from xda forum -

 1st December 2011, 12:57 AM
 On Windows 7 you go to device manager and select

 Updated driver  Browse my computer...  Let me select...  Show all 
 Have disk

 And then browse to the inf file in the android-sdk-windows\extras
 \google\usb_driver folder.

 It's a pain but it works perfectly.

 regards

 On Dec 13, 12:37 pm, sblantipodi perini.dav...@dpsoftware.org wrote:







  Sure but I havent finded anything.
  My android/extras/usb_drivers contains drivers but windows 7 64bit
  doesn't like it ;)

  what to do?

  On 13 Dic, 00:49, TreKing treking...@gmail.com wrote:

   On Mon, Dec 12, 2011 at 5:47 PM, sblantipodi
   perini.dav...@dpsoftware.orgwrote:

where can I download the ADB driver for my galaxy nexus?

   Did you try Googling that exactly?

   ---
--
   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] Help to set Background

2011-12-13 Thread skink


akash jain wrote:
 for this you can use ArrayAdapter with 2 argument..first the context
 and another is layoutnow to get the values from database...and add that
 value to adapter...e.g
 adapter.add(..);
 its working..

don't do that, use 
http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html
instead

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


[android-developers] Re: GUI problems! Very Crazy!

2011-12-13 Thread Mika
utilizamos dp e sp. varia de acordo com o componente

On 13 dez, 07:27, Ali Chousein ali.chous...@gmail.com wrote:
 Maybe my question sounds very basic and simple, but did you define the
 size of your components in dip?

 -
 Ali Chousein
 Weather-Buddyhttp://weatherbuddy.blogspot.com|http://twitter.com/weather_buddy
 Geo-Filtered 
 Assistanthttp://geo-filtered-assistant.blogspot.comhttps://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


[android-developers] Re: GUI problems! Very Crazy!

2011-12-13 Thread Mika
use sd and sp. varies according to the component

On 13 dez, 07:27, Ali Chousein ali.chous...@gmail.com wrote:
 Maybe my question sounds very basic and simple, but did you define the
 size of your components in dip?

 -
 Ali Chousein
 Weather-Buddyhttp://weatherbuddy.blogspot.com|http://twitter.com/weather_buddy
 Geo-Filtered 
 Assistanthttp://geo-filtered-assistant.blogspot.comhttps://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] Android web development guide..(beginner question..)

2011-12-13 Thread Yang Bo
If you are developing web app,it will run in browser installed in user
phone. Why do you care Android SDK api ?
在 2011-12-13 下午7:43,sathyashrayan sathyashra...@gmail.com写道:

 Developers,
  I have been in web developments with php/mysql.. Now a days learning
 the basics of android developments. My requirements is to develop
 android web apps.. I got a book called pro android 3 and pro android
 web apps.. I have run all those examples from the two books. I also
 have samples from android sdk. My doubt is, where these two types
 development gets integrated? I mean when are these  android sdk
 functions and classes used in android web development?

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

2011-12-13 Thread jaggu
Hi

i need to use service alerts how can we get using android can any one
briefly about this
help whats is the process to apply

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


Re: [android-developers] Android web development guide..(beginner question..)

2011-12-13 Thread Miguel Morales
http://developer.android.com/guide/webapps/index.html

On Tue, Dec 13, 2011 at 4:54 AM, Yang Bo yangbo@gmail.com wrote:

 If you are developing web app,it will run in browser installed in user
 phone. Why do you care Android SDK api ?
 在 2011-12-13 下午7:43,sathyashrayan sathyashra...@gmail.com写道:

 Developers,
  I have been in web developments with php/mysql.. Now a days learning
 the basics of android developments. My requirements is to develop
 android web apps.. I got a book called pro android 3 and pro android
 web apps.. I have run all those examples from the two books. I also
 have samples from android sdk. My doubt is, where these two types
 development gets integrated? I mean when are these  android sdk
 functions and classes used in android web development?

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




-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

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

Re: [android-developers] Help to set Background

2011-12-13 Thread Kiran Kumar Kendole
I gone through the two solutions. neither helped me . Can anybody please
help me.
My code is...
*ArrayAdapterString adapter = new ArrayAdapterString(this,*
* android.R.layout.simple_list_item_multiple_choice, values);*
* setListAdapter(adapter);*
* ListView list=getListView();*
*list.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);*

I want to add the background image to the same activity.


Thanks,
KIRANKUMARKENDOLE


On Tue, Dec 13, 2011 at 7:36 AM, skink psk...@gmail.com wrote:



 akash jain wrote:
  for this you can use ArrayAdapter with 2 argument..first the context
  and another is layoutnow to get the values from database...and add
 that
  value to adapter...e.g
  adapter.add(..);
  its working..

 don't do that, use
 http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html
 instead

 pskink

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


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

[android-developers] How to make the IME display in fullscreen mode when portrait?

2011-12-13 Thread llxwd008
Hi
In my application, I want to call out the IME in fullscreen, but the
app is portrait mode. There are ways to make IME NOT displayed in
fullscreen mode, such as IME_FLAG_NO_EXTRACT_UI, but I can't find a
way to set it to FULLSCREEN when portrait mode display. 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


[android-developers] Re: How can i implement Feature Like “Precache Map Area” as like Google Map

2011-12-13 Thread Spiral123
well report to RD that you cannot leach off the back of Google to
cache Maps for offline use in your app.  You can also tell them that
are other ways to achieve the same thing but that you don't understand
the answers that at least 2 different people have told you in this
forum.

On Dec 13, 3:23 am, Saurabh Patel saurbh...@gmail.com wrote:
 Ya Sprial

 Thanks For Reply But Please Tell me Once Again i have to Report RD On this
 Part to ahead. so please Be Need Full here.

 On 13 December 2011 11:32, Spiral123 cumis...@gmail.com wrote:







  we have already answered this question in your other thread.

  On Dec 13, 12:22 am, Saurabh Patel saurbh...@gmail.com wrote:
   Can I Implement Feature Like `Cache Google Map Tile or Precache Map
   Area` which is in Google Maps?

   In Latest Google Maps Update, There is a option like `Precache Map
  Area`
   So i want to implement this Feature in My Own Application and on My Own
   Device. So can i Do this Using Google Android Open Source Code which is
   available on android Developer Website??

   Basically want to see google map in offline mode, means i want to get Map
   from Cache Map Tile when GPRS or Wifi is not there.

   So can i save this google map tile to cache and use this map in future.??
   Please Suggest me the way so if possible than i will proceed for next.

   Thanks

   Sameer Patel

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

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


Re: [android-developers] Help to set Background

2011-12-13 Thread skink


Kiran Kumar Kendole wrote:
 I gone through the two solutions. neither helped me . Can anybody please
 help me.
 My code is...
 *ArrayAdapterString adapter = new ArrayAdapterString(this,*
 * android.R.layout.simple_list_item_multiple_choice, values);*
 * setListAdapter(adapter);*
 * ListView list=getListView();*
 *list.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);*

 I want to add the background image to the same activity.


 Thanks,
 KIRANKUMARKENDOLE


 On Tue, Dec 13, 2011 at 7:36 AM, skink psk...@gmail.com wrote:

 
 
  akash jain wrote:
   for this you can use ArrayAdapter with 2 argument..first the context
   and another is layoutnow to get the values from database...and add
  that
   value to adapter...e.g
   adapter.add(..);
   its working..
 
  don't do that, use
  http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html
  instead
 
  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
 


replace android.R.layoutsimple_list_item_multiple_choice with your
custom list item defined in res/layout

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] Re: Encoder Mp3

2011-12-13 Thread TreKing
On Tue, Dec 13, 2011 at 1:47 AM, Giuseppe porcelli.giuse...@gmail.comwrote:

 Hi TreKing, of course I tried Google


Alright - you should always indicated this along with everything else
you've tried to give people a understanding of what you've tried and what's
not working for you.


 I found lame4android, tried with their app on the market and with their
 source code, no one can convert WAV file created by the Android encoder. I
 tried also to find something about FFMPEG porting, but nothing!!

 Any help?


I can't help you, I don't know anything about this audio stuff, but if you
would elaborate on what you're doing, what you have done so far, what
specifically you're having trouble with, etc, you might get a better
response. Narrowing down your problem to something very specific will help
you get help.

Good luck.

-
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] getExternalFilesDir may not be the SD card!

2011-12-13 Thread RLScott
I need to write to the SD card so the user can transfer data files
created by my app to other devices.  getExternalFilesDir() does not
always point to the SD card, even when there is one.  As the developer
docs say:

Quote:

Note: don't be confused by the word external here. This directory
can better be thought as media/shared storage. It is a filesystem that
can hold a relatively large amount of data and that is shared across
all applications (does not enforce permissions). Traditionally this is
an SD card, but it may also be implemented as built-in storage in a
device that is distinct from the protected internal storage and can be
mounted as a filesystem on a computer.  In devices with multiple
external storage directories (such as both secure app storage and
mountable shared storage), this directory represents the primary
external storage that the user will interact with.

 and indeed my testing confirms this.  On 2 out of 3 Android
tablets I have for testing, getExternalFilesDir() directs me to built-
in memory, not the removable SD card.  And this posting on
Stackoverflow indicates that there is no general solution for this
problem:

http://stackoverflow.com/questions/5524105/how-could-i-get-the-correct-external-storage-on-samsung-and-all-other-devices

How can this be?  Is it truly impossible to write a generic Android
app that for sure will access the SD card?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Opengl ES implement light in 2d isometric game

2011-12-13 Thread Dani
Hello,
I'm developening an isometric 2D game using Opengl ES.
Now I'm trying to implement a light system like Diablo I and II, i.e.
with the source light positionated on the main character that follows
him and radiates the surrounding dark environment.

What's the best way to do that? I found only tutorial about shader for
a 3D system, I don't know if it is the right way for 2D or if there is
a better (and simple) solution.

Thank you
Dani

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

2011-12-13 Thread niko20
Yes, it is another stupid thing we have to deal with. This one though
I don't think is Google's fault, it's the device manufacturers that
decided to remap this. The only way around it is to allow users to
browse to the external sdcard in some way. I actually had to add a
menu item to my app to allow users to type in the path to the external
sd since if they transferred their sdcard to a new device, and that
device now had *internal* sd as well, then my app would not even see
the external card because the API was giving me the internal one.

So I added a menu item where they can type in the *real* path to the
external sdcard.

It's like writing for windows !



-niko


On Dec 13, 7:46 am, RLScott fixthatpi...@yahoo.com wrote:
 I need to write to the SD card so the user can transfer data files
 created by my app to other devices.  getExternalFilesDir() does not
 always point to the SD card, even when there is one.  As the developer
 docs say:

 Quote:

 Note: don't be confused by the word external here. This directory
 can better be thought as media/shared storage. It is a filesystem that
 can hold a relatively large amount of data and that is shared across
 all applications (does not enforce permissions). Traditionally this is
 an SD card, but it may also be implemented as built-in storage in a
 device that is distinct from the protected internal storage and can be
 mounted as a filesystem on a computer.  In devices with multiple
 external storage directories (such as both secure app storage and
 mountable shared storage), this directory represents the primary
 external storage that the user will interact with.

  and indeed my testing confirms this.  On 2 out of 3 Android
 tablets I have for testing, getExternalFilesDir() directs me to built-
 in memory, not the removable SD card.  And this posting on
 Stackoverflow indicates that there is no general solution for this
 problem:

 http://stackoverflow.com/questions/5524105/how-could-i-get-the-correc...

 How can this be?  Is it truly impossible to write a generic Android
 app that for sure will access the SD card?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Opengl ES implement light in 2d isometric game

2011-12-13 Thread niko20
I think it should work, just look up OpenGL lighting tutorials. In my
Vintage Tripeaks game I use OpenGL lights (two of them). The only
thing I still don't understand 100% is the lighting coordinates. I
just worked on it enough to get it to work like I wanted, I didn't
experiment much further. Someone else here on the list no doubt has
some good tips on lighting coordinates. They are treated different
than mesh coordinates. Just google some tuts.

-niko


On Dec 13, 8:00 am, Dani eraofw...@gmail.com wrote:
 Hello,
 I'm developening an isometric 2D game using Opengl ES.
 Now I'm trying to implement a light system like Diablo I and II, i.e.
 with the source light positionated on the main character that follows
 him and radiates the surrounding dark environment.

 What's the best way to do that? I found only tutorial about shader for
 a 3D system, I don't know if it is the right way for 2D or if there is
 a better (and simple) solution.

 Thank you
 Dani

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

2011-12-13 Thread RLScott
And that's doable by starting with what?
Environment.getRootDirectory() ?

On Dec 13, 9:10 am, niko20 nikolatesl...@yahoo.com wrote:
 Yes, it is another stupid thing we have to deal with. This one though
 I don't think is Google's fault, it's the device manufacturers that
 decided to remap this. The only way around it is to allow users to
 browse to the external sdcard in some way. I actually had to add a
 menu item to my app to allow users to type in the path to the external
 sd since if they transferred their sdcard to a new device, and that
 device now had *internal* sd as well, then my app would not even see
 the external card because the API was giving me the internal one.

 So I added a menu item where they can type in the *real* path to the
 external sdcard.

 It's like writing for windows !

 -niko

 On Dec 13, 7:46 am, RLScott fixthatpi...@yahoo.com wrote:







  I need to write to the SD card so the user can transfer data files
  created by my app to other devices.  getExternalFilesDir() does not
  always point to the SD card, even when there is one.  As the developer
  docs say:

  Quote:

  Note: don't be confused by the word external here. This directory
  can better be thought as media/shared storage. It is a filesystem that
  can hold a relatively large amount of data and that is shared across
  all applications (does not enforce permissions). Traditionally this is
  an SD card, but it may also be implemented as built-in storage in a
  device that is distinct from the protected internal storage and can be
  mounted as a filesystem on a computer.  In devices with multiple
  external storage directories (such as both secure app storage and
  mountable shared storage), this directory represents the primary
  external storage that the user will interact with.

   and indeed my testing confirms this.  On 2 out of 3 Android
  tablets I have for testing, getExternalFilesDir() directs me to built-
  in memory, not the removable SD card.  And this posting on
  Stackoverflow indicates that there is no general solution for this
  problem:

 http://stackoverflow.com/questions/5524105/how-could-i-get-the-correc...

  How can this be?  Is it truly impossible to write a generic Android
  app that for sure will access the SD card?

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

2011-12-13 Thread Michael Leung
Are you talking about notification service?

This is the tutorial about that.
http://developer.android.com/guide/topics/ui/notifiers/notifications.html


On Tue, Dec 13, 2011 at 11:00 PM, jaggu mjagadeeshb...@gmail.com wrote:

 Hi

 i need to use service alerts how can we get using android can any one
 briefly about this
 help whats is the process to apply

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

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

2011-12-13 Thread Michael Leung
But how to use Google Analytics getting for an app?


On Tue, Dec 13, 2011 at 9:47 PM, Raghav Sood raghavs...@androidactivist.org
 wrote:

 Total installs is how many times your app has been downloaded and
 installed on a device (according to the market).
 Active installs is how many devices have NOT uninstalled your app
 (according to the market).

 The numbers keep changing because you are in the Market Console. The
 console's stats are worse than useless currently. Use Google Analytics or
 Flurry to get statistics for your app.

 Thanks


 On Tue, Dec 13, 2011 at 5:11 PM, Terry terb...@gmail.com wrote:

 I am not sure that I fully understand the contents of the Developer
 Console.

 E.g.: What is the difference between
 - total installs (users), and
 - active installs (devices) ?

 I know that the Market people have tried to explein it - men even that
 was hard to grasp (for me).

 And why can/does the number of total installs (for an app) become
 LOWER from one day to the next (which I have seen lately)?

 Does anybody know?

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




 --
 Raghav Sood
 http://www.androidactivist.org/ - Author
 http://www.appaholics.in/ - Founder

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

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

Re: [android-developers] Help to set Background

2011-12-13 Thread Kiran Kumar Kendole
If I use my custom list.. all the functionality will get disturbed. I need
exactly the same list type that
of android.R.layout.simple_list_item_multiple_choice .
Can you please suggest me other way.

Thanks
KIRANKUMARKENDOLE


On Tue, Dec 13, 2011 at 8:23 AM, skink psk...@gmail.com wrote:



 Kiran Kumar Kendole wrote:
  I gone through the two solutions. neither helped me . Can anybody please
  help me.
  My code is...
  *ArrayAdapterString adapter = new ArrayAdapterString(this,*
  * android.R.layout.simple_list_item_multiple_choice, values);*
  * setListAdapter(adapter);*
  * ListView list=getListView();*
  *list.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);*
 
  I want to add the background image to the same activity.
 
 
  Thanks,
  KIRANKUMARKENDOLE
 
 
  On Tue, Dec 13, 2011 at 7:36 AM, skink psk...@gmail.com wrote:
 
  
  
   akash jain wrote:
for this you can use ArrayAdapter with 2 argument..first the
 context
and another is layoutnow to get the values from database...and
 add
   that
value to adapter...e.g
adapter.add(..);
its working..
  
   don't do that, use
  
 http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html
   instead
  
   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
  


 replace android.R.layoutsimple_list_item_multiple_choice with your
 custom list item defined in res/layout

 pskink

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


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

Re: [android-developers] Re: Encoder Mp3

2011-12-13 Thread Michael Leung
I think mp3 encoder is hard to find, because mp3 encoding is got patent in
some countries.

On Tue, Dec 13, 2011 at 11:29 PM, TreKing treking...@gmail.com wrote:

 On Tue, Dec 13, 2011 at 1:47 AM, Giuseppe porcelli.giuse...@gmail.comwrote:

 Hi TreKing, of course I tried Google


 Alright - you should always indicated this along with everything else
 you've tried to give people a understanding of what you've tried and what's
 not working for you.


 I found lame4android, tried with their app on the market and with their
 source code, no one can convert WAV file created by the Android encoder. I
 tried also to find something about FFMPEG porting, but nothing!!

 Any help?


 I can't help you, I don't know anything about this audio stuff, but if you
 would elaborate on what you're doing, what you have done so far, what
 specifically you're having trouble with, etc, you might get a better
 response. Narrowing down your problem to something very specific will help
 you get help.

 Good luck.


 -
 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




-- 
Regards,
Michael Leung
http://www.itblogs.info - My IT Blog
http://diary.skynovel.info - My Blog
http://www.michaelleung.info - My Homepage

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

2011-12-13 Thread Michael Leung
All Google Apps are not included in Android Source code

On Tue, Dec 13, 2011 at 10:04 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Dec 13, 2011 at 3:46 AM, Saurabh Patel saurbh...@gmail.com
 wrote:
  I want to Download Google Maps Application Source code from Android 2.3.4
  source code.?
 
  Is there any link or website ?

 No, because it is not open source.

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

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

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




-- 
Regards,
Michael Leung
http://www.itblogs.info - My IT Blog
http://diary.skynovel.info - My Blog
http://www.michaelleung.info - My Homepage

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

2011-12-13 Thread And-Rider
Any update on this Jeff. I am facing with this issue right now and your 
thoughts on it would be really helpful

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

Re: [android-developers] Help to set Background

2011-12-13 Thread skink


Kiran Kumar Kendole wrote:
 If I use my custom list.. all the functionality will get disturbed. I need
 exactly the same list type that
 of android.R.layout.simple_list_item_multiple_choice .
 Can you please suggest me other way.

 Thanks
 KIRANKUMARKENDOLE



simply copy simple_list_item_multiple_choice.xml to your res/layout
and modify its android:background attribute

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


[android-developers] how can i add button titlebar in android PROGRAMMATICALLY?

2011-12-13 Thread Duygu Kahraman
I want to add a button in titlebar .I googled but all code is with
xml.I want to do programmatically.Can anybody get some reference or
code snippet ?

Can anybody help me?

THX.

Duygu Kahraman

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

2011-12-13 Thread ndnfan
Hi,

I've got a private application (so I don't want it on the marketplace)
for a tablet that I'd like to install via a USB connection.  Right now
I can plug in a USB stick, and the file transfer menu pops up.  I can
transfer the APK, but I'm unable to install it.

My users aren't technical, so I can't expect them to root the device,
or use ADB.  Moreover, I don't want to require my users to download an
app from the market to do this -- otherwise I'd just have them use
Dropbox (which is able to install the app).

So can anyone tell me how to install an app once it's on the SD card?

Thanks,
-Matt

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

2011-12-13 Thread Mark Murphy
On Tue, Dec 13, 2011 at 10:09 AM, ndnfan majerdo...@gmail.com wrote:
 I've got a private application (so I don't want it on the marketplace)
 for a tablet that I'd like to install via a USB connection.  Right now
 I can plug in a USB stick, and the file transfer menu pops up.  I can
 transfer the APK, but I'm unable to install it.

That is something particular to your model of tablet. The vast
majority of Android users do not have full USB ports.

 My users aren't technical, so I can't expect them to root the device,
 or use ADB.  Moreover, I don't want to require my users to download an
 app from the market to do this -- otherwise I'd just have them use
 Dropbox (which is able to install the app).

 So can anyone tell me how to install an app once it's on the SD card?

Given the restrictions you have placed on the process, you don't.

Either find a file manager app that is pre-installed on your tablet,
or download Dropbox, or download a file manager.

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

_The Busy Coder's Guide to Android Development_ Version 3.7 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] Help me

2011-12-13 Thread Jim Graham
On Tue, Dec 13, 2011 at 02:54:53PM +0530, Nagarjuna@android wrote:

 I am Nagarjuna, I got *classes.dex* and *res *folder from some other
 app after decompile.
 
 I want to rebuild the apk file using these two files ,
 
 Can we do that ,,
 If any one knows , pls reply
 
 Please help me ,

Why don't you just rebuild it from your original source (or use your
original apk)?

Or were you trying to get help from this group telling you how to steal
someone else's work?  If that's the case, my suggestion is to use the
read manual (rm) command on all of the files, and it'll tell you how
to do it.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| DMR: So fsck was originally called
spooky1...@gmail.com|  something else.
 Running FreeBSD 7.0  | Q:   What was it called?
ICBM / Hurricane:   | DMR: Well, the second letter was different.
   30.44406N 86.59909W  |-- Dennis M. Ritchie, Usenix, June 1998.

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: how can i add button titlebar in android PROGRAMMATICALLY?

2011-12-13 Thread skink


Duygu Kahraman wrote:
 I want to add a button in titlebar .I googled but all code is with
 xml.I want to do programmatically.Can anybody get some reference or
 code snippet ?

 Can anybody help me?

 THX.

 Duygu Kahraman

whats wrong with setting the custom title as an xml resId?

define your title as e.g. LinearLayout, get its reference with
findViewById and do whatever you want with it

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] Re: how can i add button titlebar in android PROGRAMMATICALLY?

2011-12-13 Thread Duygu Kahraman
I will do some dinamic actions.so i dont want with xml and i want to learn
this way

13 Aralık 2011 17:33 tarihinde skink psk...@gmail.com yazdı:



 Duygu Kahraman wrote:
  I want to add a button in titlebar .I googled but all code is with
  xml.I want to do programmatically.Can anybody get some reference or
  code snippet ?
 
  Can anybody help me?
 
  THX.
 
  Duygu Kahraman

 whats wrong with setting the custom title as an xml resId?

 define your title as e.g. LinearLayout, get its reference with
 findViewById and do whatever you want with it

 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




-- 
---
Duygu Kahraman

http://tr.linkedin.com/in/duygukahramann

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

2011-12-13 Thread midhun midhunvp
You can send the apk to them via email. Then it will ask for installation..

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

Re: [android-developers] Help to set Background

2011-12-13 Thread Kiran Kumar Kendole
Hi pskink ,

I tried in google.. no where i found source code for 0x01090010 ( the XML -
simple_list_item_multiple_choice).
Please let me know the links where can I get it.

Thanks,
KIRANKUMARKENDOLE


On Tue, Dec 13, 2011 at 9:55 AM, skink psk...@gmail.com wrote:



 Kiran Kumar Kendole wrote:
  If I use my custom list.. all the functionality will get disturbed. I
 need
  exactly the same list type that
  of android.R.layout.simple_list_item_multiple_choice .
  Can you please suggest me other way.
 
  Thanks
  KIRANKUMARKENDOLE
 
 

 simply copy simple_list_item_multiple_choice.xml to your res/layout
 and modify its android:background attribute

 pskink

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


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

Re: [android-developers] Help to set Background

2011-12-13 Thread skink


Kiran Kumar Kendole wrote:
 Hi pskink ,

 I tried in google.. no where i found source code for 0x01090010 ( the XML -
 simple_list_item_multiple_choice).
 Please let me know the links where can I get it.

 Thanks,
 KIRANKUMARKENDOLE


 On Tue, Dec 13, 2011 at 9:55 AM, skink psk...@gmail.com wrote:

 
 
  Kiran Kumar Kendole wrote:
   If I use my custom list.. all the functionality will get disturbed. I
  need
   exactly the same list type that
   of android.R.layout.simple_list_item_multiple_choice .
   Can you please suggest me other way.
  
   Thanks
   KIRANKUMARKENDOLE
  
  
 
  simply copy simple_list_item_multiple_choice.xml to your res/layout
  and modify its android:background attribute
 
  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
 

somewhere in your sdk

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] Re: how can i add button titlebar in android PROGRAMMATICALLY?

2011-12-13 Thread skink


Duygu Kahraman wrote:
 I will do some dinamic actions.so i dont want with xml and i want to learn
 this way

 13 Aralık 2011 17:33 tarihinde skink psk...@gmail.com yazdı:

 
 
  Duygu Kahraman wrote:
   I want to add a button in titlebar .I googled but all code is with
   xml.I want to do programmatically.Can anybody get some reference or
   code snippet ?
  
   Can anybody help me?
  
   THX.
  
   Duygu Kahraman
 
  whats wrong with setting the custom title as an xml resId?
 
  define your title as e.g. LinearLayout, get its reference with
  findViewById and do whatever you want with it
 
  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
 



 --
 ---
 Duygu Kahraman

 http://tr.linkedin.com/in/duygukahramann

you already got the answer: even you define your custom title in xml
layout file you can add/remove/modify its cintent as you wish

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


[android-developers] Re: onFling() Question

2011-12-13 Thread Derek Winstead
Does anyone have any help for this? I don't know enough about Android to 
look in ViewGroup.OnInterceptTouchEvent and know what I'm looking at.

Is there a working model somewhere that I can see how it happens? Or at 
least an explanation of why I need to use something.

Sorry for the lack of knowledge on this, but I've been struggling with this 
part for months now.

Thanks,
Derek

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

2011-12-13 Thread skink


Derek Winstead wrote:
 Does anyone have any help for this? I don't know enough about Android to
 look in ViewGroup.OnInterceptTouchEvent and know what I'm looking at.

 Is there a working model somewhere that I can see how it happens? Or at
 least an explanation of why I need to use something.

 Sorry for the lack of knowledge on this, but I've been struggling with this
 part for months now.

 Thanks,
 Derek

see com.android.launcher package

http://gitorious.org/0xdroid/packages_apps_launcher/trees/e5b142656c8afcba1c9d045b588c7717b3a22107/src/com/android/launcher

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


[android-developers] ICS: unlock screen in jUnit

2011-12-13 Thread Jakub Czaplicki
Hi All,

Is there a way to unlock the screen after boot-up in jUnit ?

I tried the deprecated keyguardManager.newKeyguardLock() method. I've
set the required DISABLE_KEYGUARD permission in jUnit manifest, but
the test still claims : java.lang.SecurityException: Requires
DISABLE_KEYGUARD permission.

I have also tried to set the
WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD flags, but in this
case I've got the following err msg : android.view.ViewRootImpl
$CalledFromWrongThreadException: Only the original thread that created
a view hierarchy can touch its views

Thanks,
Jakub

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

2011-12-13 Thread bob
Anyone here use libgdx?  I'm wondering if this thing supports loading
3d models.

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

2011-12-13 Thread Oli Wright
Yep.  Look at the com.badlogic.gdx.graphics.g3d.loaders.* packages.  I've 
been using the obj loader with models exported from Blender.

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

2011-12-13 Thread Oli Wright
p.s.  There's a libgdx-users group on Google Groups as well as active 
forums and a community wiki if you look at the libgdx pages.  Even though I 
knew it was supported, I think it took at most 5 clicks from the libgdx 
homepage to a wiki page on loading models.

Go on, put a little effort in before you just throw the question out there!

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

2011-12-13 Thread TreKing
On Tue, Dec 13, 2011 at 8:21 AM, Michael Leung michaelchi...@gmail.comwrote:

 But how to use Google Analytics getting for an app?


Use Google Search.

-
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] Using ClassLoader to load class from another apk

2011-12-13 Thread TreKing
On Mon, Dec 12, 2011 at 6:48 AM, gil eichenbaum gileichenb...@gmail.comwrote:

 What is the correct way to do this?


Use intents to communicate between two separate apps.

-
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] LVL on Live Wallpaper

2011-12-13 Thread TreKing
On Mon, Dec 12, 2011 at 4:20 AM, Novice noviceplayer1...@gmail.com wrote:

 Can someone teach me how add LVL on a Live Wallpaper.


Read the documentation on Live Wallpaper.
Implement your live wallpaper.
Read the documentation on the LVL.
Implement your version of the LVL.

If that doesn't work, and you have a more specific question that's not so
vague no one is going to answer you, come back and try again.

-
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: Installing application via USB

2011-12-13 Thread ndnfan
Thanks for the replies.  I like the idea of using email to distribute
the app since it's a simple interface that user's already know how to
navigate.  I also found a way to do it programmaticly.  The code below
will open the file at location APPNAME and, if successfully opened,
will present the user a dialog box requesting permission to reinstall
the application.

// Attempt to open the file
File app = new File(APPNAME);

if (app.exists()) {
Intent apkIntent = new Intent();
apkIntent.setAction(android.content.Intent.ACTION_VIEW);
apkIntent.setDataAndType(Uri.fromFile(app),
 
application/vnd.android.package-archive);
startActivity(apkIntent);
}

So I could create an application that checks for a specific filename
when the USB stick is inserted.

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

2011-12-13 Thread Kostya Vasilyev
But how will the users install this application that checks for the
other application's apk file?

13 декабря 2011 г. 22:13 пользователь ndnfan majerdo...@gmail.com написал:
 Thanks for the replies.  I like the idea of using email to distribute
 the app since it's a simple interface that user's already know how to
 navigate.  I also found a way to do it programmaticly.  The code below
 will open the file at location APPNAME and, if successfully opened,
 will present the user a dialog box requesting permission to reinstall
 the application.

        // Attempt to open the file
        File app = new File(APPNAME);

        if (app.exists()) {
                Intent apkIntent = new Intent();
                        
 apkIntent.setAction(android.content.Intent.ACTION_VIEW);
                        apkIntent.setDataAndType(Uri.fromFile(app),
                                                                         
 application/vnd.android.package-archive);
                        startActivity(apkIntent);
        }

 So I could create an application that checks for a specific filename
 when the USB stick is inserted.

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

2011-12-13 Thread TreKing
On Fri, Dec 9, 2011 at 7:58 AM, Ivan Zuanella ivan.zuane...@gmail.comwrote:

 I'm not sure if this is the right place to post.


b.android.com

-
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] get the location of my google g1 (android 1.6)

2011-12-13 Thread TreKing
On Fri, Dec 9, 2011 at 6:53 AM, Balli tb.rost...@googlemail.com wrote:

 so my eclipse means that line 36 is wrong ( i have markered that line)
 but i do not know why?


Your Eclipse will also tell you why it marked that line.

-
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: Date format issue with different locale

2011-12-13 Thread Doug
Use android.text.format.DateFormat and give it a Context so it can can
give you the most relevant formatter for the current locale.

Doug

On Dec 12, 1:11 pm, ToolAndroid syncbi...@gmail.com wrote:
 When I change the locale from English to Espanol, issue with uppercase/
 lower case for month and am/pm. ---  Dec 11, 2011, 11:54 PM  to dic 11
 2011, 11:54 p.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] Viewing two activities on one screen through that both can navigate at a time ..

2011-12-13 Thread TreKing
On Thu, Dec 8, 2011 at 1:24 AM, Arfin ddaud...@gmail.com wrote:

 I need to display both the activities on one screen at the same time


Use Fragments.

-
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] i want to use my own page place_order

2011-12-13 Thread TreKing
On Fri, Dec 9, 2011 at 5:49 AM, sonu ankurrai1...@gmail.com wrote:

  want to use my own page place_order
 and replacing simple_list_item_multiple_choice .what should i do.


Replace that line of code - what's the issue?

-
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] i have a task , mobile tracking android app , and i am new in android programming .

2011-12-13 Thread TreKing
On Fri, Dec 9, 2011 at 2:57 AM, ahmed mahmoud eltaher 
ahmedmahmoud.elta...@gmail.com wrote:

 any help ,any idea. :D


1 - Use Google to find information about each point you listed.
2 - Try something.
3 - Come back with a more specific question.

-
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] supporting 16M colors

2011-12-13 Thread guich
Hi,

We can see many new Android devices with 16M colors.

The most used color depth when drawing on offscreen bitmaps is 16bpp,
which results in 64K colors.

Is there a way to take benefit of all 16M capable colors of these
devices?

In iOS i create a 32bpp bitmap and the results are far better than if
i created a 16bpp bitmap. I tried to do the same on Android, creating
a Bitmap.Config.ARGB_, but the results are the same of creating a
RGB_565.

Thanks for your thoughts.

guich

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 Store Locations Data In To Cache For Future Use

2011-12-13 Thread TreKing
On Fri, Dec 9, 2011 at 6:03 AM, Saurabh Patel saurbh...@gmail.com wrote:

 It is Possible or not?


Yes.


 Please Any body Suggest me the way how can i implement this thing.


Read the documentation - everything you need is there if you just look.

-
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] ScrollView Component Position

2011-12-13 Thread TreKing
On Fri, Dec 9, 2011 at 4:03 AM, Duygu Kahraman duygu.kahram...@gmail.comwrote:

 My problem is  when i add button i want to get id which is clicked button.


Read the docs for View class.


 How can i get view count from scrollview


Keep a count of what you're adding yourself.

-
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: Installing application via USB

2011-12-13 Thread ndnfan
On Dec 13, 11:16 am, Kostya Vasilyev kmans...@gmail.com wrote:
 But how will the users install this application that checks for the
 other application's apk file?

A little background -- this is a turnkey solution.  So when the
customer buys it, we provide the tablet preloaded with the
application.  Since the second application is intended to upgrade the
first application, both applications would be installed before the
tablet is sent out to the customer.  Of course, this all assumes the
second application would never need to be updated.  However given how
simple the second application is, that's not unreasonable.

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

2011-12-13 Thread guich
HI,

I'm running this:

  WindowManager wm =
(WindowManager)instance.getContext().getSystemService(Context.WINDOW_SERVICE);
  AndroidUtils.debug(format:
+wm.getDefaultDisplay().getPixelFormat());

... on a Galaxy Tab 7, and it outputs: format: 5

However, the value 5 has no correspondence in the PixelFormat table.

What does this value represents?

thanks

guich

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

2011-12-13 Thread Ed Murphy
How do I determine the current users mobile (not wifi) connection speed?  I
know how to receive the speed link of the wifi connection (myWifiInfo.
getLinkSpeed());), but not the mobile connection.  Thanks, any help is
appreciated!

-- 
-Ed Murphy
contact.edmur...@gmail.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] about addaccountexplicitly

2011-12-13 Thread TreKing
On Wed, Dec 7, 2011 at 12:53 AM, Fanny Lau lauwaifanfa...@gmail.com wrote:

 finally the program has stopped every time(even the
 toast also no show)... what's wrong with my code


You're not debugging it. Try that.

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

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

Re: [android-developers] ScrollView Component Position

2011-12-13 Thread Duygu Kahraman
Hi Treking;

I fixed it.Thanks:)

13 Aralık 2011 22:09 tarihinde TreKing treking...@gmail.com yazdı:

 On Fri, Dec 9, 2011 at 4:03 AM, Duygu Kahraman 
 duygu.kahram...@gmail.comwrote:

 My problem is  when i add button i want to get id which is clicked button.


 Read the docs for View class.


 How can i get view count from scrollview


 Keep a count of what you're adding yourself.


 -
 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




-- 
---
Duygu Kahraman

http://tr.linkedin.com/in/duygukahramann

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

2011-12-13 Thread Kristopher Micinski
For estimating remaining time of a download?

kris

On Tue, Dec 13, 2011 at 3:17 PM, Ed Murphy contact.edmur...@gmail.com wrote:
 How do I determine the current users mobile (not wifi) connection speed?  I
 know how to receive the speed link of the wifi connection
 (myWifiInfo.getLinkSpeed());), but not the mobile connection.  Thanks, any
 help is appreciated!

 --
 -Ed Murphy
 contact.edmur...@gmail.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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Caught an unsecure API call to Picasa in DDMS, which revealed links to private photos

2011-12-13 Thread Serkan Ozel
So I was doing my daily development at work and noticed a Green catlog
line which was made by my Android phone to Picasa

https://picasaweb.google.com/data/feed/api/user/[MyPicasaUserName]

Now when you call this link, it'll give you an XML feed which also
includes links to your private photos - give it a try and see if you
guys can confirm me...

Thanks

-serkan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Caught an unsecure API call to Picasa in DDMS, which revealed links to private photos

2011-12-13 Thread Mark Murphy
Security issue reporting instructions are here:

http://developer.android.com/resources/faq/security.html#issue

Thanks!

On Tue, Dec 13, 2011 at 4:38 PM, Serkan Ozel serkano...@gmail.com wrote:
 So I was doing my daily development at work and noticed a Green catlog
 line which was made by my Android phone to Picasa

 https://picasaweb.google.com/data/feed/api/user/[MyPicasaUserName]

 Now when you call this link, it'll give you an XML feed which also
 includes links to your private photos - give it a try and see if you
 guys can confirm me...

 Thanks

 -serkan

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



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

_The Busy Coder's Guide to Android Development_ Version 3.7 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] Caught an unsecure API call to Picasa in DDMS, which revealed links to private photos

2011-12-13 Thread Kristopher Micinski
On Tue, Dec 13, 2011 at 4:38 PM, Serkan Ozel serkano...@gmail.com wrote:
 So I was doing my daily development at work and noticed a Green catlog
 line which was made by my Android phone to Picasa

 https://picasaweb.google.com/data/feed/api/user/[MyPicasaUserName]

 Now when you call this link, it'll give you an XML feed which also
 includes links to your private photos - give it a try and see if you
 guys can confirm me...

 Thanks

 -serkan


I'm going to assume that if you send this request to picasa it only
reveals private photos once you have authenticated, correct?  Try
pulling this feed from another computer when you haven't logged in,
etc...  Otherwise I believe it should just being some public feed
contents, and it's probably using SSL, correct?  (I mean, in DDMS you
can plainly see your facebook user name / password combo being sent
across as well..)

Otherwise this isn't android's fault at all, it's Picasa's, and I
somehow highly doubt they have that big of a security hole...

Kris

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Caught an unsecure API call to Picasa in DDMS, which revealed links to private photos

2011-12-13 Thread Serkan Ozel
Thank you guys,

I think it was a stored cookie which made me believe that the links
were still reachable even though I was logged off.

Sorry for the sirens.  Case closed :/

-serkan



On Dec 13, 4:44 pm, Kristopher Micinski krismicin...@gmail.com
wrote:
 On Tue, Dec 13, 2011 at 4:38 PM, Serkan Ozel serkano...@gmail.com wrote:
  So I was doing my daily development at work and noticed a Green catlog
  line which was made by my Android phone to Picasa

 https://picasaweb.google.com/data/feed/api/user/[MyPicasaUserName]

  Now when you call this link, it'll give you an XML feed which also
  includes links to your private photos - give it a try and see if you
  guys can confirm me...

  Thanks

  -serkan

 I'm going to assume that if you send this request to picasa it only
 reveals private photos once you have authenticated, correct?  Try
 pulling this feed from another computer when you haven't logged in,
 etc...  Otherwise I believe it should just being some public feed
 contents, and it's probably using SSL, correct?  (I mean, in DDMS you
 can plainly see your facebook user name / password combo being sent
 across as well..)

 Otherwise this isn't android's fault at all, it's Picasa's, and I
 somehow highly doubt they have that big of a security hole...

 Kris

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

2011-12-13 Thread Zsolt Vasvari
What makes this warning valid?  Could you please elaborate?  I don't
like having valid warnings I cannot fix.

My point was if one weight is horizontal, the other is vertical,  this
warning is incorrect. If that's not the case, please describe why.

On Dec 13, 5:05 pm, Romain Guy romain...@android.com wrote:
 The warning is still valid, but it's only a warning. Two nested LL is fine.









 On Mon, Dec 12, 2011 at 11:43 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
  This is a Lint warning I am getting in a bunch of files.  What does it
  mean?

  Here's an example:

  LinearLayout xmlns:android=http://schemas.android.com/apk/res/
  android
                           android:layout_width=match_parent
                           android:layout_height=match_parent
                           android:orientation=vertical

     ListView android:id=@android:id/list
                   android:layout_width=match_parent
               android:layout_height=0px
  =                    android:layout_weight=1
                           android:background=@color/list_background
                           android:cacheColorHint=@null
                           android:divider=@drawable/list_item_divider
                           android:scrollbars=vertical
                           android:fastScrollEnabled=true/

         LinearLayout android:layout_width=match_parent
                                   android:layout_height=match_parent
                               android:layout_marginTop=-3dp
                               android:layout_marginBottom=-2dp
                                   android:orientation=horizontal

                 TextView android:id=@+id/select_all_label
                                   android:layout_width=0px
                                   android:layout_height=wrap_content
  ==                           android:layout_weight=1
                                   android:gravity=center_vertical|right
                                   android:text=@string/select_all

   style=@android:style/Widget.CompoundButton/

                 CheckBox android:id=@+id/select_all
                                   android:layout_width=wrap_content
                                   android:layout_height=wrap_content
                                   android:layout_marginRight=7dp/
         /LinearLayout
  /LinearLayout

  I have 2 layout weights, but one is for vertical and one if for
  horizontal.  How can I fix this warning, or is it completely bogus as
  it doesn't take the orientation into account?

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

 --
 Romain Guy
 Android framework engineer
 romain...@android.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


[android-developers] Re: GUI problems! Very Crazy!

2011-12-13 Thread lbendlin
use dp, and calculate the scale of the current device for the ratio.

read about  getResources().getDisplayMetrics().density

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

2011-12-13 Thread Joseph Irvine
Hello,

We are working with the default Android MediaPlayer implementation:
http://developer.android.com/reference/android/media/MediaPlayer.html.
We are seeking a way to capture individual YUV frames for an analysis
we need to perform. We have struggled to find an appropriate function
to handle this.

Can someone point me in the right direction for how we would capture
individual frames in YUV format from MediaPlayer?

Thanks,
Joseph Irvine

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

2011-12-13 Thread Zsolt Vasvari
I created a Bug report for this.  Hopefully it will be addressed -- 2
of the bugs I reported yesterday have already been fixed -- amazing
turnaround time from the Tools team.  Kudos!

On Dec 13, 5:05 pm, Romain Guy romain...@android.com wrote:
 The warning is still valid, but it's only a warning. Two nested LL is fine.





 On Mon, Dec 12, 2011 at 11:43 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
  This is a Lint warning I am getting in a bunch of files.  What does it
  mean?

  Here's an example:

  LinearLayout xmlns:android=http://schemas.android.com/apk/res/
  android
                           android:layout_width=match_parent
                           android:layout_height=match_parent
                           android:orientation=vertical

     ListView android:id=@android:id/list
                   android:layout_width=match_parent
               android:layout_height=0px
  =                    android:layout_weight=1
                           android:background=@color/list_background
                           android:cacheColorHint=@null
                           android:divider=@drawable/list_item_divider
                           android:scrollbars=vertical
                           android:fastScrollEnabled=true/

         LinearLayout android:layout_width=match_parent
                                   android:layout_height=match_parent
                               android:layout_marginTop=-3dp
                               android:layout_marginBottom=-2dp
                                   android:orientation=horizontal

                 TextView android:id=@+id/select_all_label
                                   android:layout_width=0px
                                   android:layout_height=wrap_content
  ==                           android:layout_weight=1
                                   android:gravity=center_vertical|right
                                   android:text=@string/select_all

   style=@android:style/Widget.CompoundButton/

                 CheckBox android:id=@+id/select_all
                                   android:layout_width=wrap_content
                                   android:layout_height=wrap_content
                                   android:layout_marginRight=7dp/
         /LinearLayout
  /LinearLayout

  I have 2 layout weights, but one is for vertical and one if for
  horizontal.  How can I fix this warning, or is it completely bogus as
  it doesn't take the orientation into account?

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

 --
 Romain Guy
 Android framework engineer
 romain...@android.com- Hide quoted text -

 - Show quoted text -

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


  1   2   >