[android-developers] تبلت ها «یکی از پررشدترین فناوری‌ها در طول تاریخ»

2012-06-17 Thread hosein bitaraf
ایتنا – کارشناسان، تبلت را «یکی از پررشدترین فناوری‌ها در طول تاریخ» به
شمار می‌آورند.
http://itna.ir/vdcayynu.49nuo15kk4.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: Where to save data on devices without an sdcard?

2012-06-17 Thread Terry
Thank you again, Mark.

You say that No device that legitimately has the Google Play Store on
it will ship
with less than 1GB of external storage -- it's a requirement.

This is getting interesting.

I checked on a new HTC One V.

There the Environment method getExternalStoragePublicDirectory()
returns /mnt/sdcard, which cannot be used for anything. Trying to
write there fails.
The external memory is also reported as unmounted.

There IS about 1 GB memory however - at /mnt/emmc, (which is
writeable) but that directory is NOT returned by any of the
Environment methods. This seems to be the required external memory
that you are referring to, but HOW does an app get to know that?

Regards, Terry


On 16 Jun, 17:43, Mark Murphy mmur...@commonsware.com wrote:
 On Sat, Jun 16, 2012 at 11:33 AM, Terry terb...@gmail.com wrote:
  Even if a new device is sold without an sdcard, we would still like
  our apps to work.

 No device that legitimately has the Google Play Store on it will ship
 with less than 1GB of external storage -- it's a requirement.

  So; if a device does not have an sdcard, WHERE would you recommend to
  store data (e.g. picture files)?

 Probably you don't store picture files, any more than you would store
 picture files on a computer lacking any sort of hard drive. In a
 pinch, you can store them on internal storage, but, again, for the
 devices you are worried about, internal storage is at a premium.

 Please note that a significant percentage -- probably a majority at
 this point -- have external storage as part of on-board flash, which
 cannot be removed (though, on Android 1.x/2x, may be unavailable if it
 has been mounted on a host machine). Also, please note that the space
 distinction between internal storage and external storage, and the
 external-storage-not-available-when-mounted, issues are mostly cleared
 up as of Android 3.0.

  HOW do you get the preferred directory in internal storage?

 There is no preferred directory, insofar as the preferred
 directory concept implies that the user has access to the files, and
 they don't have access to internal storage except via your app (or
 except via rooting their phone). You get your internal files directory
 via a call to getFilesDir() on any Context.

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


[android-developers] Google Checkout order list

2012-06-17 Thread Giuseppe
Dear All
I would like to get info about orders from my Android checkout account.
Any suggestion?
thank you

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

[android-developers] Re: bubble message like iphone messages ??

2012-06-17 Thread ala hammad
ok but i need something like this :

https://lh6.googleusercontent.com/-SY4OoD743oI/T92pq_1BFrI/AHc/_CcsntslGik/s1600/bubbles.png
with message detail and in bottom date ...


On Tuesday, 12 June 2012 16:25:27 UTC+3, ala hammad wrote:

 Hello all ,
 i want to know how to make an bubble messages like iphone style, any one 
 have any idea .
 i try this but not good ,make an textview with background but my text not 
 align in good way ...




 please help ..


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

Re: [android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Mark Murphy
On Sun, Jun 17, 2012 at 4:26 AM, Terry terb...@gmail.com wrote:
 I checked on a new HTC One V.

 There the Environment method getExternalStoragePublicDirectory()
 returns /mnt/sdcard, which cannot be used for anything. Trying to
 write there fails.
 The external memory is also reported as unmounted.

 There IS about 1 GB memory however - at /mnt/emmc, (which is
 writeable) but that directory is NOT returned by any of the
 Environment methods. This seems to be the required external memory
 that you are referring to, but HOW does an app get to know that?

It doesn't.

This sounds like a problem with this device. I will point HTC to this
thread; hopefully we will be able to get to the bottom of this.

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

Android Training in DC: http://marakana.com/training/android/

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


[android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Chris Stratton
On Jun 16, 11:43 am, Mark Murphy mmur...@commonsware.com wrote:
 On Sat, Jun 16, 2012 at 11:33 AM, Terry terb...@gmail.com wrote:
  HOW do you get the preferred directory in internal storage?

 There is no preferred directory, insofar as the preferred
 directory concept implies that the user has access to the files, and
 they don't have access to internal storage except via your app (or
 except via rooting their phone).

As I've pointed out to you recently on another occasion, this is not
quite true.  The ability to access files in the private storage area
from another app is controlled by the access mode settings on those
files, which is something the owning application can choose.

It is true that it's a pain to find readable files in another app's
internal storage directory, since the parent /data directory is not
readable by apps, meaning that browsing needs to skip directly to a
directory which the app has made readable, or that the file's full
path needs to be known.

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

2012-06-17 Thread Chris Stratton
On Jun 17, 4:26 am, Terry terb...@gmail.com wrote:
 I checked on a new HTC One V.

 There the Environment method getExternalStoragePublicDirectory()
 returns /mnt/sdcard, which cannot be used for anything. Trying to
 write there fails.
 The external memory is also reported as unmounted.

 There IS about 1 GB memory however - at /mnt/emmc, (which is
 writeable) but that directory is NOT returned by any of the
 Environment methods. This seems to be the required external memory
 that you are referring to, but HOW does an app get to know that?

What happens if you try to download something (perhaps a PDF file)
with the built in browser?

Are you given the traditional error that this is not possible without
an sdcard?   Or does it go somewhere - if so, where?

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

2012-06-17 Thread Mark Murphy
On Sun, Jun 17, 2012 at 9:49 AM, Chris Stratton cs07...@gmail.com wrote:
 There is no preferred directory, insofar as the preferred
 directory concept implies that the user has access to the files, and
 they don't have access to internal storage except via your app (or
 except via rooting their phone).

 As I've pointed out to you recently on another occasion, this is not
 quite true.  The ability to access files in the private storage area
 from another app is controlled by the access mode settings on those
 files, which is something the owning application can choose.

:: sigh ::

Yes, it is possible to use MODE_WORLD_READABLE and
MODE_WORLD_WRITABLE. I do not recommend it.

In the context of this specific answer, the fact that
MODE_WORLD_READABLE and MODE_WORLD_WRITABLE exist is irrelevant to the
point that I was making in the paragraph you quoted above. The concept
of a preferred directory presumes direct user access to browse the
files, and that is not supported for internal storage, regardless of
mode of any individual file. There is nothing on-board a stock Android
firmware to allow users to browse internal storage as a directory
structure, internal storage does not show up when you plug the device
into a host machine via a USB cable, etc.

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

Android Training in DC: http://marakana.com/training/android/

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


[android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Terry
You asked What happens if you try to download something (perhaps a
PDF file)
with the built in browser? 

Good question.

WIth an SDcard inserted, I tried to download a free ebook. That went
well.
Then i removed the SDcard, and tried again.
This time I was informed (by the built in web browser) that an SDcard
was required to be able to download that file.
I.e. It seems that this browser had the same problem with this (HTC)
device that I have.

However, if I use the built in camera (without an SDcard), it saves
pictures at /mnt/emmc/DCIM/100MEDIA.
I.e. It seems that the camera app knowns about the piculiarities re
the internal/external storage of this device.

According to the reports I have seen wrt this issue, this problem may
not be confined to HTC devices.

Regards, Terry



On 17 Jun, 15:51, Chris Stratton cs07...@gmail.com wrote:
 On Jun 17, 4:26 am, Terry terb...@gmail.com wrote:

  I checked on a new HTC One V.

  There the Environment method getExternalStoragePublicDirectory()
  returns /mnt/sdcard, which cannot be used for anything. Trying to
  write there fails.
  The external memory is also reported as unmounted.

  There IS about 1 GB memory however - at /mnt/emmc, (which is
  writeable) but that directory is NOT returned by any of the
  Environment methods. This seems to be the required external memory
  that you are referring to, but HOW does an app get to know that?

 What happens if you try to download something (perhaps a PDF file)
 with the built in browser?

 Are you given the traditional error that this is not possible without
 an sdcard?   Or does it go somewhere - if so, where?

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

2012-06-17 Thread Mark Murphy
On Sun, Jun 17, 2012 at 10:23 AM, Terry terb...@gmail.com wrote:
 WIth an SDcard inserted, I tried to download a free ebook. That went
 well.

And the file wound up where? /mnt/sdcard? You said that did not work
(which cannot be used for anything. Trying to
write there fails.)

 However, if I use the built in camera (without an SDcard), it saves
 pictures at /mnt/emmc/DCIM/100MEDIA.

Alternative storage points are available to firmware apps from the
device manufacturer that wrote the firmware apps and built the device.
This appears to generally be used for stuff like the camera, where the
images are then surfaced through MediaStore, and you access them that
way.

 I.e. It seems that the camera app knowns about the piculiarities re
 the internal/external storage of this device.

Of course. HTC wrote the camera app, and HTC built the device. Device
manufacturers always have access to things that are beyond the SDK.

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

Android Training in DC: http://marakana.com/training/android/

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


[android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Terry
Mark;

You asked: And the file wound up where? /mnt/sdcard? You said that
did not work
(which cannot be used for anything. Trying to
write there fails.) 

Sorry. I could have been a little clearer here. Yes, when the SDcard
was inserted in the device, the downloaded file was saved on the
sdcard (on mnt/sdcard/download).
(When I said that the dirctory  /mnt/sdcard did not work - and could
not be used for anything - that was when the sdcard was NOT inserted.)

When I insert the SDcard, the build in camera app also starts saving
pictures on the sdcard (on /mngt/sdcard/DCIM/100MEDIA.

Regards, Terry


On 17 Jun, 16:29, Mark Murphy mmur...@commonsware.com wrote:
 On Sun, Jun 17, 2012 at 10:23 AM, Terry terb...@gmail.com wrote:
  WIth an SDcard inserted, I tried to download a free ebook. That went
  well.

 And the file wound up where? /mnt/sdcard? You said that did not work
 (which cannot be used for anything. Trying to
 write there fails.)

  However, if I use the built in camera (without an SDcard), it saves
  pictures at /mnt/emmc/DCIM/100MEDIA.

 Alternative storage points are available to firmware apps from the
 device manufacturer that wrote the firmware apps and built the device.
 This appears to generally be used for stuff like the camera, where the
 images are then surfaced through MediaStore, and you access them that
 way.

  I.e. It seems that the camera app knowns about the piculiarities re
  the internal/external storage of this device.

 Of course. HTC wrote the camera app, and HTC built the device. Device
 manufacturers always have access to things that are beyond the SDK.

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

 Android Training in DC:http://marakana.com/training/android/

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


Re: [android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Mark Murphy
On Sun, Jun 17, 2012 at 10:43 AM, Terry terb...@gmail.com wrote:
 You asked: And the file wound up where? /mnt/sdcard? You said that
 did not work
 (which cannot be used for anything. Trying to
 write there fails.) 

 Sorry. I could have been a little clearer here. Yes, when the SDcard
 was inserted in the device, the downloaded file was saved on the
 sdcard (on mnt/sdcard/download).
 (When I said that the dirctory  /mnt/sdcard did not work - and could
 not be used for anything - that was when the sdcard was NOT inserted.)

 When I insert the SDcard, the build in camera app also starts saving
 pictures on the sdcard (on /mngt/sdcard/DCIM/100MEDIA.

That means your device is behaving within normal parameters.

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

Android Training in DC: http://marakana.com/training/android/

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


Re: [android-developers] Long press on the Google map secret?

2012-06-17 Thread Ralph Bergmann | the4thFloor.eu
try this:

import java.util.Timer;
import java.util.TimerTask;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;



public class MyLongpressMapView extends MapView {

   public interface OnLongpressListener {

  public void onLongpress(MapView view, GeoPoint longpressLocation);
   }


   /**
* Time in ms before the OnLongpressListener is triggered.
*/
   static final int   LONGPRESS_THRESHOLD = 500;

   /**
* Keep a record of the center of the map, to know if the map
* has been panned.
*/
   private GeoPoint   lastMapCenter;

   private Timer  longpressTimer  =
new Timer();

   private MyLongpressMapView.OnLongpressListener longpressListener;

   private float  offset;


   public MyLongpressMapView(Context context, String apiKey) {

  super(context, apiKey);
   }

   public MyLongpressMapView(Context context, AttributeSet attrs) {

  super(context, attrs);

  this.offset =
context.getResources().getDimension(R.dimen.tabbar_height);
   }

   public MyLongpressMapView(Context context, AttributeSet attrs, int
defStyle) {

  super(context, attrs, defStyle);
   }

   public void
setOnLongpressListener(MyLongpressMapView.OnLongpressListener listener) {

  this.longpressListener = listener;
   }

   /**
* This method is called every time user touches the map,
* drags a finger on the map, or removes finger from the map.
*/
   @Override
   public boolean onTouchEvent(MotionEvent event) {

  handleLongpress(event);

  return super.onTouchEvent(event);
   }

   /**
* This method takes MotionEvents and decides whether or not
* a longpress has been detected. This is the meat of the
* OnLongpressListener.
* The Timer class executes a TimerTask after a given time,
* and we start the timer when a finger touches the screen.
* We then listen for map movements or the finger being
* removed from the screen. If any of these events occur
* before the TimerTask is executed, it gets cancelled. Else
* the listener is fired.
*
* @param event
*/
   private void handleLongpress(final MotionEvent event) {

  if (event.getAction() == MotionEvent.ACTION_DOWN) {

 this.longpressTimer = new Timer();
 this.longpressTimer.schedule(new TimerTask() {

@Override
public void run() {

   final GeoPoint longpressLocation = getProjection()
.fromPixels((int) event.getX(), (int)
(event.getY() - MyLongpressMapView.this.offset));

   if (MyLongpressMapView.this.longpressListener != null) {

MyLongpressMapView.this.longpressListener.onLongpress(MyLongpressMapView.this,
longpressLocation);
   }
}

 },
  LONGPRESS_THRESHOLD);

 this.lastMapCenter = getMapCenter();
  }

  if (event.getAction() == MotionEvent.ACTION_MOVE) {

 if (!getMapCenter().equals(this.lastMapCenter)) {

this.longpressTimer.cancel();
 }

 this.lastMapCenter = getMapCenter();
  }

  if (event.getAction() == MotionEvent.ACTION_UP) {

 this.longpressTimer.cancel();
  }

  if (event.getPointerCount()  1) {

 this.longpressTimer.cancel();
  }
   }
}

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

2012-06-17 Thread albnok
I really don't know if these exist, but you can try:

String something = context.getString(android.R.string.**);

Just see what Eclipse auto-complete gives you. I know there are a few 
strings that we can dig up.



On Thursday, June 14, 2012 4:51:18 PM UTC+8, Peter Webb wrote:

 My wallpaper contains instructions (in the app, web and Play) which look 
 something like:
  
 'To install the Wallpaper, from the home screen press Menu then 
 Wallpaper then Live Wallpaper then ...'
  
 The problem is that in different languages these reserved words like 
 home screen, Menu, Wallpaper and Live Wallpaper are going to need 
 to be particular words in the translation, or else the translation will 
 make as much sense as:
  
 To install the wall covering, from the apartment check press Food list 
 then wall covering then 
  
 Clearly for the instructions to make sense the correct reserved word in 
 that language must be used. 
  
 Does anybody know the official terms or where to find them in different 
 languages for:
  
 Home screen, Home button, Menu button, Back button, Play (market), 
 Wallpaper, Live Wallpaper, Settings, Application, and any other words that 
 are effectively standardised in different languages for Android.
  
 Seems like it should be published somewhere by Google but couldn't find it.
  
 Peter Webb
  
  
  
  
  


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

2012-06-17 Thread Ralph Bergmann | the4thFloor.eu
here the link :-)

http://www.kind-kristiansen.no/2011/android-handling-longpresslongclick-on-map-revisited/

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

2012-06-17 Thread Nikolay Elenkov
On Mon, Jun 18, 2012 at 12:47 AM, albnok alb...@gmail.com wrote:
 I really don't know if these exist, but you can try:

 String something = context.getString(android.R.string.**);

 Just see what Eclipse auto-complete gives you. I know there are a few
 strings that we can dig up.


Better: get the framework and stock apps source and grep through the res/
directory to find how those terms are translated in the languages you are
interested in. It might not be as clear cut as the OP expects, but
it's all 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


[android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Chris Stratton
On Jun 17, 10:23 am, Terry terb...@gmail.com wrote:
 You asked What happens if you try to download something (perhaps a
 PDF file)
 with the built in browser? 

 Good question.

 WIth an SDcard inserted, I tried to download a free ebook. That went
 well.
 Then i removed the SDcard, and tried again.
 This time I was informed (by the built in web browser) that an SDcard
 was required to be able to download that file.
 I.e. It seems that this browser had the same problem with this (HTC)
 device that I have.

Did the device ship with an sdcard included in the box (assuming you
bought it via an official source) ?

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

2012-06-17 Thread Terry
Chris;

No, the HTC One V is sold WITHOUT an SDcard.

Regards, Terry


On 17 Jun, 18:09, Chris Stratton cs07...@gmail.com wrote:
 On Jun 17, 10:23 am, Terry terb...@gmail.com wrote:

  You asked What happens if you try to download something (perhaps a
  PDF file)
  with the built in browser? 

  Good question.

  WIth an SDcard inserted, I tried to download a free ebook. That went
  well.
  Then i removed the SDcard, and tried again.
  This time I was informed (by the built in web browser) that an SDcard
  was required to be able to download that file.
  I.e. It seems that this browser had the same problem with this (HTC)
  device that I have.

 Did the device ship with an sdcard included in the box (assuming you
 bought it via an official source) ?

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

2012-06-17 Thread Terry
And that is why I do NOT understand when Mark is saying hat means
your device is behaving within normal parameters. 

Terry


On 17 Jun, 18:09, Chris Stratton cs07...@gmail.com wrote:
 On Jun 17, 10:23 am, Terry terb...@gmail.com wrote:

  You asked What happens if you try to download something (perhaps a
  PDF file)
  with the built in browser? 

  Good question.

  WIth an SDcard inserted, I tried to download a free ebook. That went
  well.
  Then i removed the SDcard, and tried again.
  This time I was informed (by the built in web browser) that an SDcard
  was required to be able to download that file.
  I.e. It seems that this browser had the same problem with this (HTC)
  device that I have.

 Did the device ship with an sdcard included in the box (assuming you
 bought it via an official source) ?

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

2012-06-17 Thread Mark Murphy
On Sun, Jun 17, 2012 at 12:51 PM, Terry terb...@gmail.com wrote:
 And that is why I do NOT understand when Mark is saying hat means
 your device is behaving within normal parameters. 

Ah, now we're getting somewhere. That's a flaw in the distribution of
this device -- whether that is HTC's issue, the carrier's issue, or
simply a hiccup with your individual device, I cannot say.

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

Android Training in DC: http://marakana.com/training/android/

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


Re: [android-developers] Re: Where to save data on devices without an sdcard?

2012-06-17 Thread Kostya Vasilyev
To give this discussion a bit more context:

Various manufacturers (primarily HTC and Samsung) have been creating
devices that have this additional memory partition (on top of the memory
card and the internal storage), which can't be found using Android
framework API, for the past two years or so.

The names of these additional mount points vary from manufacturer to
manufacture, and from device to device.

There are various hackish ways to find them (such as keeping a list of
device-specific info in the app, or parsing the Linux mount points, etc.),
but no official discovery / enumeration API.

During these two years, the developers of Android have been ignoring this
issue.

One could hope that the reason for this is that some next version of
Android will fill this need, and that discussing exactly how might bring to
light too much about this next version before it's ready to be announced.

Pure speculation on my part, but with Google IO just around the corner it's
not too long before it becomes more clear.

The alternative explanation is that they just don't think that this
particular gap in the API is worth fixing.

-- K

2012/6/17 Terry terb...@gmail.com

 Chris;

 No, the HTC One V is sold WITHOUT an SDcard.

 Regards, Terry


 On 17 Jun, 18:09, Chris Stratton cs07...@gmail.com wrote:
  On Jun 17, 10:23 am, Terry terb...@gmail.com wrote:
 
   You asked What happens if you try to download something (perhaps a
   PDF file)
   with the built in browser? 
 
   Good question.
 
   WIth an SDcard inserted, I tried to download a free ebook. That went
   well.
   Then i removed the SDcard, and tried again.
   This time I was informed (by the built in web browser) that an SDcard
   was required to be able to download that file.
   I.e. It seems that this browser had the same problem with this (HTC)
   device that I have.
 
  Did the device ship with an sdcard included in the box (assuming you
  bought it via an official source) ?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-17 Thread Lars
I worked what you wrote :).

But when I enter the webpage it tells me to enable javascript and cookies. 
I have enabled javascript but I am not sure i enabled cookies right(but 
sometimes it opens anyway?). plus i can't zoom and scroll within the 
application, even though i implemented it.

Heres the code:
public class dagensbilde extends Activity {

WebView webView1;
@Override
protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.dagensbilde);
CookieSyncManager.getInstance().startSync();
webView1 = (WebView) findViewById(R.id.webView1);
webView1.setWebViewClient(new ourViewClient());
try{
 webView1.loadUrl(http://www.artige.no/dagens/0;);
}catch (Exception e){
e.printStackTrace();
webView1.getSettings().setJavaScriptEnabled(true);
webView1.getSettings().setBuiltInZoomControls(true);
webView1.getSettings().setLoadWithOverviewMode(true);
webView1.getSettings().setUseWideViewPort(true);
webView1.getSettings().setLoadsImagesAutomatically(true);
webView1.getScrollX();
webView1.getSettings().setSupportZoom(true);
webView1.getSettings().getBuiltInZoomControls();

Den fredag den 15. juni 2012 20.55.41 UTC+2 skrev Raghav Sood:

 You've put an activity tag inside another activity tag. You aren't 
 supposed to do that. Try using:

 manifest xmlns:android=http://schemas.android.com/apk/res/android;
 package=lars.browser
 android:versionCode=1
 android:versionName=1.0 xmlns:tools=
 http://schemas.android.com/tools; tools:ignore=HardcodedDebugMode

 uses-sdk android:minSdkVersion=8 /

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

 category android:name=android.intent.category.LAUNCHER 
 /
 /intent-filter
 /activity
 activity
 android:name=.dagensbilde
 android:label=@string/dagens_label
 android:launchMode=standard
 
 /activity
 /application

 /manifest

 On Sat, Jun 16, 2012 at 12:12 AM, Lars lars.breum...@gmail.com wrote:

 Were you able to see that from the error log?

  I can't find any errors, when i look in my book it seems i wrote the 
 same(with the modifications of the names). But i am probably not writing 
 the same =)

 Here's my entire androidManifest.xml:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
 package=lars.browser
 android:versionCode=1
 android:versionName=1.0 xmlns:tools=
 http://schemas.android.com/tools; tools:ignore=HardcodedDebugMode

 uses-sdk android:minSdkVersion=8 /

 application
 android:icon=@drawable/ic_launcher
 android:label=@string/app_name 
 android:debuggable=true  
 activity
 android:name=.BrowserActivity
 android:label=@string/app_name 
 activity
 android:name=.dagensbilde
 android:label=@string/dagens_label
 android:launchMode=standard
 
 /activity
 intent-filter
 action android:name=android.intent.action.MAIN /

 category android:name=android.intent.category.LAUNCHER 
 /
 /intent-filter
 /activity
 /application

 /manifest

 Den fredag den 15. juni 2012 19.35.11 UTC+2 skrev Raghav Sood:

 You haven't declared one of your Activities in your manifest, or it has 
 been declared incorrectly. So yeah, we would need to see your manifest.

 On Fri, Jun 15, 2012 at 10:58 PM, Lars lars.breum...@gmail.com wrote:

 I tried that. The logcat output shows me 14 red error lines.
 I don't understand very little of what it tell.

 Here is the errors: (do you need to see my androidManifest.xml?)

 06-15 19:21:53.139: E/AndroidRuntime(28730): FATAL EXCEPTION: main
 06-15 19:21:53.139: E/AndroidRuntime(28730): 
 android.content.**ActivityNotFoundException: 
 Unable to find explicit activity class 
 {lars.browser/lars.browser.**dagensbilde}; 
 have you declared this activity in your AndroidManifest.xml?
 06-15 19:21:53.139: E/AndroidRuntime(28730): at 
 android.app.Instrumentation.**checkStartActivityResult(**
 Instrumentation.java:1508)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at 
 android.app.Instrumentation.**execStartActivity(**
 Instrumentation.java:1384)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at android.app.Activity.**
 startActivityForResult(**Activity.java:3190)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at android.app.Activity.**
 startActivity(Activity.java:**3297)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at 
 lars.browser.BrowserActivity$**1.onClick(BrowserActivity.**java:24)
 

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-17 Thread Lars
It worked what you wrote :).

But when I enter the webpage it tells me to enable javascript and cookies. 
I have enabled javascript but I am not sure i enabled cookies right(but 
sometimes it opens anyway?). plus i can't zoom and scroll horizontal within 
the application, even though i implemented it.

Heres the code:
public class dagensbilde extends Activity {

WebView webView1;
@Override
protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.dagensbilde);
CookieSyncManager.getInstance().startSync();
webView1 = (WebView) findViewById(R.id.webView1);
webView1.setWebViewClient(new ourViewClient());
try{
 webView1.loadUrl(http://www.artige.no/dagens/0;);
}catch (Exception e){
e.printStackTrace();
webView1.getSettings().setJavaScriptEnabled(true);
webView1.getSettings().setBuiltInZoomControls(true);
webView1.getSettings().setLoadWithOverviewMode(true);
webView1.getSettings().setUseWideViewPort(true);
webView1.getSettings().setLoadsImagesAutomatically(true);
webView1.getScrollX();
webView1.getSettings().setSupportZoom(true);
webView1.getSettings().getBuiltInZoomControls()

Den fredag den 15. juni 2012 20.55.41 UTC+2 skrev Raghav Sood:

 You've put an activity tag inside another activity tag. You aren't 
 supposed to do that. Try using:

 manifest xmlns:android=http://schemas.android.com/apk/res/android;
 package=lars.browser
 android:versionCode=1
 android:versionName=1.0 xmlns:tools=
 http://schemas.android.com/tools; tools:ignore=HardcodedDebugMode

 uses-sdk android:minSdkVersion=8 /

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

 category android:name=android.intent.category.LAUNCHER 
 /
 /intent-filter
 /activity
 activity
 android:name=.dagensbilde
 android:label=@string/dagens_label
 android:launchMode=standard
 
 /activity
 /application

 /manifest

 On Sat, Jun 16, 2012 at 12:12 AM, Lars lars.breum...@gmail.com wrote:

 Were you able to see that from the error log?

  I can't find any errors, when i look in my book it seems i wrote the 
 same(with the modifications of the names). But i am probably not writing 
 the same =)

 Here's my entire androidManifest.xml:

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
 package=lars.browser
 android:versionCode=1
 android:versionName=1.0 xmlns:tools=
 http://schemas.android.com/tools; tools:ignore=HardcodedDebugMode

 uses-sdk android:minSdkVersion=8 /

 application
 android:icon=@drawable/ic_launcher
 android:label=@string/app_name 
 android:debuggable=true  
 activity
 android:name=.BrowserActivity
 android:label=@string/app_name 
 activity
 android:name=.dagensbilde
 android:label=@string/dagens_label
 android:launchMode=standard
 
 /activity
 intent-filter
 action android:name=android.intent.action.MAIN /

 category android:name=android.intent.category.LAUNCHER 
 /
 /intent-filter
 /activity
 /application

 /manifest

 Den fredag den 15. juni 2012 19.35.11 UTC+2 skrev Raghav Sood:

 You haven't declared one of your Activities in your manifest, or it has 
 been declared incorrectly. So yeah, we would need to see your manifest.

 On Fri, Jun 15, 2012 at 10:58 PM, Lars lars.breum...@gmail.com wrote:

 I tried that. The logcat output shows me 14 red error lines.
 I don't understand very little of what it tell.

 Here is the errors: (do you need to see my androidManifest.xml?)

 06-15 19:21:53.139: E/AndroidRuntime(28730): FATAL EXCEPTION: main
 06-15 19:21:53.139: E/AndroidRuntime(28730): 
 android.content.**ActivityNotFoundException: 
 Unable to find explicit activity class 
 {lars.browser/lars.browser.**dagensbilde}; 
 have you declared this activity in your AndroidManifest.xml?
 06-15 19:21:53.139: E/AndroidRuntime(28730): at 
 android.app.Instrumentation.**checkStartActivityResult(**
 Instrumentation.java:1508)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at 
 android.app.Instrumentation.**execStartActivity(**
 Instrumentation.java:1384)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at android.app.Activity.**
 startActivityForResult(**Activity.java:3190)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at android.app.Activity.**
 startActivity(Activity.java:**3297)
 06-15 19:21:53.139: E/AndroidRuntime(28730): at 
 

Re: [android-developers] Long press on the Google map secret?

2012-06-17 Thread Andrei
Thank, but i this saw. I think this method does not correct. Engineers tell 
in what direction think :)


воскресенье, 17 июня 2012 г., 18:51:36 UTC+3 пользователь Ralph Bergmann 
написал:

 here the link :-) 


 http://www.kind-kristiansen.no/2011/android-handling-longpresslongclick-on-map-revisited/
  


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

2012-06-17 Thread G. Blake Meike
While I've never seen this happen in Indigo, it happens *constantly* in 
Juno.  I know, I know: not supported.  It is, however, certainly a way to 
drive a similar bug, consistently.

G. Blake Meike
Marakana

The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do

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

2012-06-17 Thread Fred Niggle
I think you mean merchant account?in any case a simple visit to your
relevant account page will provide you will all the information you need.

On 17 June 2012 09:57, Giuseppe porcelli.giuse...@gmail.com wrote:

 Dear All
 I would like to get info about orders from my Android checkout account.
 Any suggestion?
 thank you

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




-- 
Magnetic Door Alarm
apphttps://play.google.com/store/apps/details?id=com.nds.magneticdooralarmis
now available in Google Play

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

2012-06-17 Thread Vance Turnewitsch
The this is an Activity. The project I am writing the component for is 
rather large and takes almost four minutes to build; so I am creating my 
component in small Android app. Then when the component works, I will 
transfer my code into the large project. I can work with the on* methods 
now, but I won't be able to re-write them in the large project.


On Sunday, June 17, 2012 12:42:53 AM UTC-4, TreKing wrote:

 .On Sat, Jun 16, 2012 at 11:06 PM, Vance Turnewitsch wrote:

 I am writing a separate component for an Android framework, and I can't 
 modify the activity that will use my component.


 Your code shows d.setOwnerActivity(this). So what is this if not an 
 Activity?


 -
 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] Google Checkout order list

2012-06-17 Thread Fred Niggle
WHY?

On 17 June 2012 22:13, Giuseppe Porcelli- FINM
porcelli.giuse...@gmail.comwrote:

 I need to do it by code and not by browser.

 ** **

 *Da:* android-developers@googlegroups.com [mailto:
 android-developers@googlegroups.com] *Per conto di *Fred Niggle
 *Inviato:* domenica 17 giugno 2012 22:58
 *A:* android-developers@googlegroups.com
 *Oggetto:* Re: [android-developers] Google Checkout order list

 ** **

 I think you mean merchant account?in any case a simple visit to your
 relevant account page will provide you will all the information you need.*
 ***

 On 17 June 2012 09:57, Giuseppe porcelli.giuse...@gmail.com wrote:

 Dear All

 I would like to get info about orders from my Android checkout account.***
 *

 Any suggestion?

 thank you

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



 

 ** **

 --
 Magnetic Door Alarm 
 apphttps://play.google.com/store/apps/details?id=com.nds.magneticdooralarmis
  now available in Google Play
 

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




-- 
Magnetic Door Alarm
apphttps://play.google.com/store/apps/details?id=com.nds.magneticdooralarmis
now available in Google Play

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

2012-06-17 Thread TreKing
On Sun, Jun 17, 2012 at 5:23 PM, Vance Turnewitsch 
betweenthehi...@gmail.com wrote:

 The this is an Activity. The project I am writing the component for is
 rather large and takes almost four minutes to build; so I am creating my
 component in small Android app. Then when the component works, I will
 transfer my code into the large project. I can work with the on* methods
 now, but I won't be able to re-write them in the large project.


Alrighty ... whatever you say. :-P

To your question, try this:
http://developer.android.com/reference/android/view/View.html#onDetachedFromWindow%28%29

-
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] Google Checkout order list

2012-06-17 Thread Dallas Gutauckis
Use the Google checkout API.
On Jun 17, 2012 8:14 PM, Fred Niggle fred.nig...@googlemail.com wrote:

 WHY?

 On 17 June 2012 22:13, Giuseppe Porcelli- FINM 
 porcelli.giuse...@gmail.com wrote:

 I need to do it by code and not by browser.

 ** **

 *Da:* android-developers@googlegroups.com [mailto:
 android-developers@googlegroups.com] *Per conto di *Fred Niggle
 *Inviato:* domenica 17 giugno 2012 22:58
 *A:* android-developers@googlegroups.com
 *Oggetto:* Re: [android-developers] Google Checkout order list

 ** **

 I think you mean merchant account?in any case a simple visit to your
 relevant account page will provide you will all the information you need.
 

 On 17 June 2012 09:57, Giuseppe porcelli.giuse...@gmail.com wrote:

 Dear All

 I would like to get info about orders from my Android checkout account.**
 **

 Any suggestion?

 thank you

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



 

 ** **

 --
 Magnetic Door Alarm 
 apphttps://play.google.com/store/apps/details?id=com.nds.magneticdooralarmis
  now available in Google Play
 

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




 --
 Magnetic Door Alarm 
 apphttps://play.google.com/store/apps/details?id=com.nds.magneticdooralarmis
  now available in Google Play

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

2012-06-17 Thread Vance Turnewitsch
I know this situation is strange, but I am being honest. I saw the Romain 
guy post that suggestion somewhere before, and I have tried using that 
method. I haven't had success with it; so should override that method for 
the Dialog or the view in my dialog?

Vance

On Sunday, June 17, 2012 8:27:50 PM UTC-4, TreKing wrote:

 On Sun, Jun 17, 2012 at 5:23 PM, Vance 
 Turnewitschbetweenthehi...@gmail.comwrote:

 The this is an Activity. The project I am writing the component for is 
 rather large and takes almost four minutes to build; so I am creating my 
 component in small Android app. Then when the component works, I will 
 transfer my code into the large project. I can work with the on* methods 
 now, but I won't be able to re-write them in the large project.


 Alrighty ... whatever you say. :-P

 To your question, try this: 
 http://developer.android.com/reference/android/view/View.html#onDetachedFromWindow%28%29


 -
 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: bubble message like iphone messages ??

2012-06-17 Thread lbendlin
As Kris was saying, use a nine patch PNG as the background image for your 
custom view.

On Sunday, June 17, 2012 5:57:10 AM UTC-4, ala hammad wrote:

 ok but i need something like this :


 https://lh6.googleusercontent.com/-SY4OoD743oI/T92pq_1BFrI/AHc/_CcsntslGik/s1600/bubbles.png
 with message detail and in bottom date ...


 On Tuesday, 12 June 2012 16:25:27 UTC+3, ala hammad wrote:

 Hello all ,
 i want to know how to make an bubble messages like iphone style, any one 
 have any idea .
 i try this but not good ,make an textview with background but my text not 
 align in good way ...




 please help ..



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

Re: [android-developers] Leaking Window on orientation change

2012-06-17 Thread TreKing
On Sun, Jun 17, 2012 at 9:05 PM, Vance Turnewitsch 
betweenthehi...@gmail.com wrote:

 so should override that method for the Dialog or the view in my dialog?


I think it would be the View that owns the dialog. In this case maybe
your FrameLayout? Or the resizeVidView?

-
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: Eclipse Image Bug

2012-06-17 Thread Sam
So...is there any way to fix this?

On Sunday, June 17, 2012 11:59:27 AM UTC-7, G. Blake Meike wrote:

 While I've never seen this happen in Indigo, it happens *constantly* in 
 Juno.  I know, I know: not supported.  It is, however, certainly a way to 
 drive a similar bug, consistently.

 G. Blake Meike
 Marakana

 The second edition of Programming Android is now on-line:
 http://shop.oreilly.com/product/0636920023005.do



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Play Store hijacking focus after in-app purchase dialog

2012-06-17 Thread kadmos


 thank you everyone for your time and assistance




- j 

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

2012-06-17 Thread Raghav Sood
Well, you could use DroidDraw, build your layout their and then copy paste
the XML into your project.

Thanks

On Mon, Jun 18, 2012 at 9:38 AM, Sam scoutamis...@gmail.com wrote:

 So...is there any way to fix this?


 On Sunday, June 17, 2012 11:59:27 AM UTC-7, G. Blake Meike wrote:

 While I've never seen this happen in Indigo, it happens *constantly* in
 Juno.  I know, I know: not supported.  It is, however, certainly a way to
 drive a similar bug, consistently.

 G. Blake Meike
 Marakana

 The second edition of Programming Android is now on-line:
 http://shop.oreilly.com/**product/0636920023005.dohttp://shop.oreilly.com/product/0636920023005.do

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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
Please do not email private questions to me as I do not have time to answer
them. Instead, post them to public forums where others and I can answer and
benefit from them.
http://www.appaholics.in/ - Founder
http://www.apress.com/9781430239451 - Author
+91 81 303 77248

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

2012-06-17 Thread Giuseppe
I would use the API, the problem is that in Italy Google give us only a *
MERCHANT_ID* without the *MERCHANT_KEY* 
So we can't use the API.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Play Store hijacking focus after in-app purchase dialog

2012-06-17 Thread Kristopher Micinski
Did you find some resolution to this, if you are still having an
issue, it seems like you've invested some time in this, and if you
really think it's an Android bug, and you have a reproducible test
case in the form of a project (though in app purchasing stuff is just
a pain to debug for obvious reasons) people could try taking a look.?

kris

On Mon, Jun 18, 2012 at 1:13 AM, kadmos kadmo...@gmail.com wrote:
 thank you everyone for your time and assistance




 - j

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

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


[android-developers] Re: Long press on the Google map secret?

2012-06-17 Thread Pent
 Thank, but i this saw. I think this method does not correct. Engineers tell
 in what direction think :)

I used onTouchEvent for long-click for the last couple of years
without problems.

Pent

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

2012-06-17 Thread Andrei
Please show code, that work with long click on Google Maps

понедельник, 18 июня 2012 г., 9:32:42 UTC+4 пользователь Pent написал:

  Thank, but i this saw. I think this method does not correct. Engineers 
 tell 
  in what direction think :) 

 I used onTouchEvent for long-click for the last couple of years 
 without problems. 

 Pent

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