[android-developers] Android2.1

2011-10-14 Thread Anoop C
hai,

I'm using Android2.1 mid tablet. I have mainly two problem in this
paltform.

1. The mic is not working while calling.
2. bluetooth is not starting.


1)   I have tested calls using  skype(2.1.0.46) or
fring(3.1.1.1).No 2G calls allowed in this tablet. I have beginner in
android  debugging. I used adb and i found Soundrecorder.apk in system/
app. But still i can,t hear any voice from the recorded voice.

2)Bluetooth setting found inside Wireless Networking. But i can't
turn on the bluetooth. Bluetooth.apk can't find in system/app also.

So how can i solve these problem.. Please help me.

* Vendor not provided update Android2.1

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Adapting BluetoothChat Example for One Server and Multiple Clients

2011-10-14 Thread Pedro Perez
polyclefsoftware djames at gmail.com writes:

 
 
 In attempting to solve this issue, I believe I have successfully extended the
official Android Bluetooth Chat example to work with a server connecting to
multiple clients.
 
 I've uploaded my modifications to github here:
 
 
 https://github.com/polyclef/BluetoothChatMulti
 
 
 One device acts as the server by selecting MenuMake discoverable. Each
client then connects by selecting MenuConnect a device. I was successfully
able to connect my Motorola Droid and HTC Eris as clients to my Samsung Galaxy
Tab 10.1. Each message sent from a client displays only on the server. A
message sent from the server displays on all clients.
 
 This was a tedious process getting it to work at all. Connectivity with the
HTC devices is sporadic, though. I've read elsewhere that bluetooth on HTC is
buggy, so I'm chalking it up to that.
 
 Hopefully someone else will find this example useful. If you have any
questions, suggestions, or other feedback, please let me know.
 
 
 

Hi djames,

thanks for your contribution. It is really helping me with some work.

I have been trying your app, and it happens the same to me. Between a Nexus S
and a Galaxy S, thigs works great, but with a third phone (galaxy ace), it does
not connect almost never. Actually i could just make it work one time.

I have been reading your code, and i think that with some small modifications,
you can make any client node to connect to more than one device, because in both
cases (being a server o a client), you start the AcceptThread, that it means you
create sockets on different UUIDs.

What do you think about it? do you advice me something?



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

2011-10-14 Thread ko5tik


On 14 Okt., 02:08, mrqzzz marcus.ob...@gmail.com wrote:
 Hi, i am trying to understand if i am going to get in trouble if i
 publish a soundboard with a dozen of pieces of famous soundtracks
 (star wars, superman,etc..) having a lentgh of about 30 secs. or 2
 mins.

Certainly. AFAIR there is 10 seconds cap on samples,  and it can vary
between iurisdictions.

 Will RIAA sue me?
Possibly,  if they find out.
What can i do to prevent this? Royalties? Where can
 i get some information?

You will have to obtain proper license from  copyright owner. RIAA
itself could be
good starting point


regards,

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

2011-10-14 Thread Kristopher Micinski
Generally this group cannot help with legal issues.  It is advised you
consult a lawyer, as nobody here can offer (solid) legal advice on any
firm basis.

Kris

On Thu, Oct 13, 2011 at 8:08 PM, mrqzzz marcus.ob...@gmail.com wrote:
 Hi, i am trying to understand if i am going to get in trouble if i
 publish a soundboard with a dozen of pieces of famous soundtracks
 (star wars, superman,etc..) having a lentgh of about 30 secs. or 2
 mins.

 The app allows users to set the tunes as ringtone.

 Will RIAA sue me? What can i do to prevent this? Royalties? Where can
 i get some information?

 Any tip could help.

 Thanks,
 Marcus.

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

2011-10-14 Thread Dominik
Sticky-Notes application (demonstrating P2P):
https://nfc.android.com/StickyNotes.zip

Dominik

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

2011-10-14 Thread Lee Farrell
That's perfect, exactly what I was looking for,

thanks!

regards,

Lee Farrell


On Fri, Oct 14, 2011 at 5:37 AM, Studio LFP studio@gmail.com wrote:

 Have you tried this out?


 http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object,%20java.lang.String%29

 I haven't used it yet, but might be what you are looking for.

 Steven
 Studio LFP
 http://www.studio-lfp.com



 On Thursday, October 13, 2011 8:00:54 AM UTC-5, cipher_neo wrote:

 Is it at all possible to trigger the phones vibration from a web app in
 android?

 I know it is a long shot, and I am looking for any solution, however
 lengthy!

 thanks

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


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

[android-developers] Re: Http Live Streaming

2011-10-14 Thread kiranmai
Hi we are unable to open the URL which you have sent...Please share me
some information on HLS working on HC 3.0 version. Is HLS working on
HC 3.0. Because when i am trying it is giving segmentation fault.
Also on what all versions does HLS support???

Regards,
Kiranmai.

On Oct 13, 3:59 pm, zafera zafer.altink...@gmail.com wrote:
 Here is a test stream link from microsoft you can type this to android
 device's web browser and see if it plays the video.

 httplive://mediadl.microsoft.com/mediadl/IISNET/SmoothMedia/iPhone/bbb/outp 
 ut/test.m3u8

 Zafer

 On 13 Ekim, 10:04, bhargavi bhargavi1...@gmail.com wrote:







  Hi,
      Thanks for the response,i wanted to test HLS on Android 3.0 using
  serve stream apk,but i dint find any m3u8 playlist.Can you send me  a
  sample playlist so that i can test. Also is there any other  apk which
  supports HLS. Please respond ASAP.

  Regards,
  Bhargavi.

  On Oct 13, 11:16 am, Sumedh Jiwane sumed...@gmail.com wrote:

   Simple way to test HLS is to type the HLS link on web-browser and check
   whether it plays. Normally HLS link ends with .m3u8 extension.
   Also you can check whether link is up or not by running it on VLC or
   Quicktime player.

   Regards,

   Sumedh

   On Wed, Oct 12, 2011 at 5:29 PM, bhargavi bhargavi1...@gmail.com wrote:
HI, i have found in net that Honey comb supports Http Live
Streaming.Has any one tried on this, how to test the HLS on Honey
Comb,Please Help me out how to test the HLS,

Thanks in Advance,
Bhargavi.

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

2011-10-14 Thread safwat sabra
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: List with seperators, checkboxes...

2011-10-14 Thread BearTi
Ok, thats what I wanted... It works perfect...
One last question: When I store/set for example a boolean value to my
sharedprefences object checkbox1...
Ist this value stored until I deinstall this app?



On 12 Okt., 17:44, TreKing treking...@gmail.com wrote:
 On Wed, Oct 12, 2011 at 10:37 AM, BearTi mlrti...@googlemail.com wrote:
  Whith which adapter or listview can I do this?

 That is a PreferenceScreen.

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

2011-10-14 Thread F4L|{0
hi
I have a problem with an animation of a button.
I would move and fade a button from a origin position to another
position. well i created a translate animation and fade animation, i
start the animation with the follow code:

AnimationSet exchangeAnimation = new AnimationSet(true);
exchangeAnimation.setFillAfter(true);
exchangeAnimation.setAnimationListener(new AnimationListener() {
  public void onAnimationStart(Animation anim)
{button.setEnabled(false);}
  public void onAnimationRepeat(Animation anim) {}
  public void onAnimationEnd(Animation anim) {
  button.setEnabled(true);}});
exchangeAnimation.addAnimation(AnimationHelper.fadeAnimation(0,
1, 2000));
//i valori passati come fromX, toX, fromY e toY sono dati da un
rapporto e vanno da 0.0F a 1.0F
//quindi bisogna calcolari come pos voluta / width screen o
height screen

exchangeAnimation.addAnimation(AnimationHelper.translateAnimation(0.0F,
0.5F, 0.0F, 0.5F, 1500));
button.startAnimation(exchangeAnimation);

So, my problem is that while the button moves to the position that I
want, the hit area remains at the point of origin.

somebody can help me on how to correctly position the hit area of the
button?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: major problem with network location fixes and their timestamps

2011-10-14 Thread Mathias
I thought that

It seems as though the Location.getTime() sometimes isn't accurate,
in
that the system under certain circumstances just updates the time of
an old fix and passes it on as though it was new. For us, this is very
unfortunate. 
and
I *need*
recent fixes, and for that i need to know how old the fix is. I
therefore utilize location.getTime() against the
system.currenttimillis to see how old it is. 

Describes my problem.

As for your answer it really a long discussion, but short answer is
that i do listen for it but gps often takes long time, user might have
turned off and it doesn't work indoors.

This problem is about the network provider, as i wrote. I appreciate
any feedback, so thanks.

On Oct 13, 1:39 pm, lbendlin l...@bendlin.us wrote:
 you haven't explained your problem yet. What if I say So what, only use
 live GPS locations in your app? ?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: major problem with network location fixes and their timestamps

2011-10-14 Thread Mathias
As mentioned in another reply and in my original post, this issue is
about the network provider. My app can't wait forever, user sometimes
has gps turned off and it doesn't work indoors. When i DO get a GPS
fix, it works fine.

Thanks for feedback mate.

On Oct 14, 6:54 am, Studio LFP studio@gmail.com wrote:
 Can't say that I've seen that before. I've only used the GPS a small to
 medium amount, but seems a little weird.

 Is the GPS hardware not able to get a fix and causing your logic to drop
 back to the network GPS?  If so, it might be that.

 Is it happening on multiple different devices and how many devices have you
 tested it on?

 You might want to check out the GPS Status app on the market and see if it
 gets a fix. If it does, it will tell you the time it got it and other
 information about the fix.  Good way of testing the hardware and see if you
 have an issue there.

 Steven
 Studio LFPhttp://www.studio-lfp.com







 On Wednesday, October 12, 2011 9:44:54 AM UTC-5, Mathias wrote:

  Hi, if someone could bear with me on this one i'd be most happy since
  i'm really disillusioned right now.

  BOTTOM LINE (to be detailed further down):
  It seems as though the Location.getTime() sometimes isn't accurate, in
  that the system under certain circumstances just updates the time of
  an old fix and passes it on as though it was new. For us, this is very
  unfortunate.
  I think it has something to do with this logline (again in more detail
  below):
  10-12 16:34:47.186: DEBUG/LocationMasfClient(1188):
  getNetworkLocation(): Returning cache location with accuracy 1072.0

  From what i can see, the same location is returned over and over
  again, just with its timestamp overwritten...

  EXPLANATION:
  Have an app that queries location. I register both network and gps,
  wait for a certain time and takes what comes back from either one and
  unregister both. Before i register i check the latestknown location
  and use that if it's not too old.

  All works fine, process wise, but there's one major issue. I *need*
  recent fixes, and for that i need to know how old the fix is. I
  therefore utilize location.getTime() against the
  system.currenttimillis to see how old it is.

  However, we see in certain scenarios, that the fix coming back, with a
  recent timestamp (often under a second!) is for a location where we
  know that the phone hasn't been at for over 30 minutes!

  LOCATION PROCESS EXPLANATION WITH LOG DETAILS:

  One VERY interesting thing can be seen by examining the debug log of a
  typical positioning process in my app:

  1. first we check the latest known location:
  10-12 16:34:47.166: DEBUG/nubaLocationService(6774):
  getLastKnownLocationForProviderWithinTimeSpan;now;1318430087165;time;
  1318429486221;nowDate;Wed Oct 12 16:34:47 Europe/Stockholm
  2011;timeDate;Wed Oct 12 16:24:46 Europe/Stockholm 2011;age;
  600944;TooOld;true;tooBadAccuracy;true;lat;59.3267657;lon;
  18.0428283;accuracy;1072.0

  here you can see that the age about 60 seconds, my upper limit is 30
  seconds, so i will discard it and register for live updates:

  2. register for location listening:
  10-12 16:34:47.166: DEBUG/nubaLocationService(6774): requesting
  network updates
  10-12 16:34:47.166: DEBUG/NetworkLocationProvider(1188):
  addListener(): com.karpet.nuba.android
  10-12 16:34:47.166: DEBUG/NetworkLocationProvider(1188): setMinTime: 0

  3 NetworkLocationProvider log entries and onLocationChanged callbacks:
  Now HERE is something very interesting:
  10-12 16:34:47.186: DEBUG/LocationMasfClient(1188):
  getNetworkLocation(): Returning cache location with accuracy 1072.0
  10-12 16:34:47.196: DEBUG/NetworkLocationProvider(1188):
  onCellLocationChanged [142,9307015]
  10-12 16:34:47.216: DEBUG/nubaLocationService(6774):
  onLocationChanged();new bestLocation! now;1318430087220;time;
  1318430087178;nowDate;Wed Oct 12 16:34:47 Europe/Stockholm
  2011;timeDate;Wed Oct 12 16:34:47 Europe/Stockholm 2011;age;42;lat;
  59.3267657;lon;18.0428283;accuracy;1072.0;oldnull?;true

  It says returning cache location, with the exact same accuracy, lon,
  lat, but CHANGED time!

  4. We listen for 25-30 secs, but nothing more comes back, so eventually
  we unregister:
  10-12 16:35:14.216: DEBUG/LocationManager(6774): removeUpdates:
  listener = com.karpet.nuba.android.service.LocationService
  $NubaLocationListener@4582cb78

  I have no idea why this happens, but sometimes we can start and stop
  our listening for quite a while, 20-30 times when we've travelled
  quite far, to another cell tower, but still get old fixes as new
  callbacks!

  Help/Pointers would be extremely appreciated!

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

[android-developers] Re: My app is on market but any device can install it

2011-10-14 Thread jpwens
Confianceo

On 13 oct, 19:16, Appaholics raghavs...@appaholics.in wrote:
 Could you tell us the name?

 Thanks









 On Thu, Oct 13, 2011 at 7:57 PM, deloupy jp jpdelo...@gmail.com wrote:
  Hi,

  1) We can't find our appli  in  android market, only in our developer
  account .

  It has been developed on eclipse and tested successfully on samsung galaxy
  2
  We can't find  any relevant reason for dysfunction of our application.

  When i want to install on my mobile, it's not OK too.

  Thanks for yours responses

  JPWens

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, 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
 CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
 required to have complete 
 control)http://www.raghavsood.com/https://market.android.com/developer?pub=Appaholicshttp://www.appaholics.in/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Urgent!! Do I need to buy Google Maps license for my Android app?

2011-10-14 Thread elFerZur
I want to develop an Adroid App (for internal use and therefore not
for Android Market) that uses Google Maps Api to view vehicles and
people positions in real time over maps. The application is not for
comercial use. It will only be used by a selected number of users that
have android phones, and want to know the position of vehicles and
people over Google Maps.
Do I need some sort of license for this app?.
What kind of license, and where can I buy it?

Regards:
Fernando Zuriaga

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


Re: [android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-10-14 Thread Latimerius
On Wed, Oct 12, 2011 at 7:09 PM, MobileVisuals eyv...@astralvisuals.com wrote:
 Thanks a lot for the info! The problem is that the positions for the
 stars change for each new frame. This happens because the positions
 are morphed.Wouldn't it be very slow to sort all the positions
 according to their z-value for every frame?

I'd take a close look at my positions morphing algorithm.  How does
the z-order change frame-to-frame?  I doubt it can change randomly,
there will be some kind of frame-to-frame coherency - perhaps just a
bunch of fix-ups are needed from the previous frame?  I'd try to take
advantage of that, it should reduce your problem from a general full
sorting one to something possibly way smaller.

 Wouldn't I have to make one drawElements call for each quad if I sorted them?

Not necessarily.  Try keeping vertex positions data in system memory
(i.e. in normal Java objects).  Before rendering each frame you
recompute positions, reshuffle the data to restore back-to-front order
and make a single VBO out of that.  You could check glBufferSubData()
and similar to avoid transferring all of the data over the bus into
VRAM each frame.  You can then issue a single glDrawElements() to
render the whole thing.

How exactly to do that depends on your particular algorithm but it
should be possible.

 I assume that would be a lot slower than one drawElements call for all of the 
 quads,
 as it is now.

I understand your worries, they are well grounded.  Trying to do a
more complex thing will usually mean your performance takes a hit.
However, I found out in a surprising amount of cases that a thing I
would have expected to be prohibitively slow performed very well. GPUs
are complex beasts, they can parallelise, hide latencies and all kinds
of stuff.  You never know until you try.

And, above all, remember that you can hardly make your renders look
right if you use translucency with depth-buffering but don't sort
back-to-front.  So my strategy would be implement the sorting to make
stuff look right, then look into how to restore plausible performance
if needed.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: APK must be signed with the same certificates as the previous version

2011-10-14 Thread MobileVisuals
I will try to find the old keystore file. It is somewhere on the PC,
but I don't know where, because I can't start the old installation of
Eclipse. What file type can it be? Can it be only .ks files?

On Oct 13, 4:10 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Thu, Oct 13, 2011 at 10:07 AM, MobileVisuals

 eyv...@astralvisuals.com wrote:
  I try to upload new versions of 2 of my apps on Android market,but I
  get the message apk must be signed with the same certificates as the
  previous version. My old development environment crashed and I can't
  find the certificate that I used before. How can I solve this problem?

 Restore your keystore from your backup. If you do not have a backup of
 your keystore, AFAIK you are permanently screwed.

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

 _Android Programming Tutorials_ Version 4.0 Available!

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


[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-10-14 Thread MobileVisuals
The morphed positions for the stars are calculated from some
precalculated 3d arrays, one 3d array for each single galaxy shape,
like below.
positionsM1 and positionsM2 are the two 3d arrays, which get morphed
for this frame. The result is the new morphedPositions array, which is
drawn later. I can't find any frame-to-frame coherency here. I am
considering to start with another 3d animation instead, which doesn't
use morphing, because I don't have a clue how to make an effective and
fast sorting algorithm for this:

for (int i = 0; i  morphedPositions.length; i++) {
morphedPositions[i] = (morphcount * positionsM1[i]) * 
mlInv
+ ((morphLength - morphcount) * 
positionsM2[i]) * mlInv;
}

On Oct 14, 10:17 am, Latimerius l4t1m3r...@googlemail.com wrote:
 On Wed, Oct 12, 2011 at 7:09 PM, MobileVisuals eyv...@astralvisuals.com 
 wrote:
  Thanks a lot for the info! The problem is that the positions for the
  stars change for each new frame. This happens because the positions
  are morphed.Wouldn't it be very slow to sort all the positions
  according to their z-value for every frame?

 I'd take a close look at my positions morphing algorithm.  How does
 the z-order change frame-to-frame?  I doubt it can change randomly,
 there will be some kind of frame-to-frame coherency - perhaps just a
 bunch of fix-ups are needed from the previous frame?  I'd try to take
 advantage of that, it should reduce your problem from a general full
 sorting one to something possibly way smaller.

  Wouldn't I have to make one drawElements call for each quad if I sorted 
  them?

 Not necessarily.  Try keeping vertex positions data in system memory
 (i.e. in normal Java objects).  Before rendering each frame you
 recompute positions, reshuffle the data to restore back-to-front order
 and make a single VBO out of that.  You could check glBufferSubData()
 and similar to avoid transferring all of the data over the bus into
 VRAM each frame.  You can then issue a single glDrawElements() to
 render the whole thing.

 How exactly to do that depends on your particular algorithm but it
 should be possible.

  I assume that would be a lot slower than one drawElements call for all of 
  the quads,
  as it is now.

 I understand your worries, they are well grounded.  Trying to do a
 more complex thing will usually mean your performance takes a hit.
 However, I found out in a surprising amount of cases that a thing I
 would have expected to be prohibitively slow performed very well. GPUs
 are complex beasts, they can parallelise, hide latencies and all kinds
 of stuff.  You never know until you try.

 And, above all, remember that you can hardly make your renders look
 right if you use translucency with depth-buffering but don't sort
 back-to-front.  So my strategy would be implement the sorting to make
 stuff look right, then look into how to restore plausible performance
 if needed.

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

2011-10-14 Thread nikki
Hi all,

I am a bit confused on setting up my screen UI. The point of confusion
is I am having similar UI layout file for landscape and portrait. On
screen orientation change shall i handle onConfigurationChange or i
should let android do the complete activity life cycle and recreating
the UI by setContentView().

Please suggest which one is the best optimized approach.

Thanks in adavance

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

2011-10-14 Thread Flo
Let Android handle it.

Just create a second layout folder called layout-land and put all
your landscape layouts in. The layouts must have the same file name
like the layouts in the normal layout folder for portrait mode.
Android will pick the right folder to get the layout from. On
landscape mode it will take the layouts from the layout-land folder
and in portrait mode it will take the layouts from the layout
folder.

On Oct 14, 11:11 am, nikki nikhileshsingh...@gmail.com wrote:
 Hi all,

 I am a bit confused on setting up my screen UI. The point of confusion
 is I am having similar UI layout file for landscape and portrait. On
 screen orientation change shall i handle onConfigurationChange or i
 should let android do the complete activity life cycle and recreating
 the UI by setContentView().

 Please suggest which one is the best optimized approach.

 Thanks in adavance

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

2011-10-14 Thread nikki
Thanks Flo for quick reply.

In my case the landscape layout files have no changes they are as same
as portrait, that's why i haven't created a separate landscape folder
for layout(layout_land). So on change of orientation the android will
pick the file from layout folder only.

My confusion shall I handle onConfigurationChange for orientation
which will stop android to create a new activity or i should not
handle onConfigurationChange and let android do the life cycle process
complete.

Thanks

On Oct 14, 2:27 pm, Flo florian.bernst...@gmail.com wrote:
 Let Android handle it.

 Just create a second layout folder called layout-land and put all
 your landscape layouts in. The layouts must have the same file name
 like the layouts in the normal layout folder for portrait mode.
 Android will pick the right folder to get the layout from. On
 landscape mode it will take the layouts from the layout-land folder
 and in portrait mode it will take the layouts from the layout
 folder.

 On Oct 14, 11:11 am, nikki nikhileshsingh...@gmail.com wrote:







  Hi all,

  I am a bit confused on setting up my screen UI. The point of confusion
  is I am having similar UI layout file for landscape and portrait. On
  screen orientation change shall i handle onConfigurationChange or i
  should let android do the complete activity life cycle and recreating
  the UI by setContentView().

  Please suggest which one is the best optimized approach.

  Thanks in adavance

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

2011-10-14 Thread elham
Dear all ,

Is there anyway to disable loading the urls from window.location ? I
do not want to allow url passed from window.location to be loaded .

Appreciate any assistance ,
Elham .

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


Re: [android-developers] Re: android.text.format.DateFormat.format performance

2011-10-14 Thread Thierry Legras
Thanks Steven! I will try that.
As Date.getHours() etc. methods are mentioned as deprecated. I will check
with Calendar class as well if it is still faster than DateFormat.

Thierry.


2011/10/14 Studio LFP studio@gmail.com

 It is slow and so is String.format(). I've been messing around with it a
 bit and here is a *rough *sample I tested:

 private static final String DATE_AM_PM[] = { am, pm };
 private static Date dFormat = new Date();
 private static int iHour, iAMPM;

 public static String formatDate( long lTimestamp )
 {
 dFormat.setTime( lTimestamp );
 iHour = dFormat.getHours();

 if( iHour == 0 ) { iHour = 12; iAMPM = 0; }
 if( iHour == 12 ) { iAMPM = 1; }
 else if( iHour  0  iHour  11 ) { iAMPM = 0; }
 else if( iHour  12  iHour  24 ) { iHour -= 12; iAMPM = 1; }

 return dFormat.getMonth() + / + dFormat.getDay() + / +
 (dFormat.getYear() + 1900) +   + iHour + : + dFormat.getMinutes() +
 DATE_AM_PM[ iAMPM ];
 }

 As I said, it is rough and doesn't even format the output fully.

 I tossed this in my application and used it a bit for a speed test and this
 takes up half the time as the formatting routines do. Funny thing is, it has
 nothing to do with the date part. It seems the formatters are using a
 StringBuffer and some replace functions in the StringBuffer and that is what
 is slowing it down.  I may try to work up a JNI replacement and see if some
 sprintf or fprintf action fix the issue but it may not because of the extra
 layer.

 Steven
 Studio LFP
 http://www.studio-lfp.com



 On Thursday, October 13, 2011 4:26:32 PM UTC-5, tlegras wrote:

 Hi,

 I am optimizing the critical parts of my code, and I coming to some
 ResourceCursorAdapter bindView method.
 Though the method is quite long, I saw on traceview that only 2 lines are
 taking 40% of the time in traceview; those are call to DateFormat:

 ((TextView)view.findViewById(**R.id.EPG_list_item_hour)).**setText(
 android.text.format.**DateFormat.format(kk:mm,**beginTimeMilli) + 
 -  +
 android.text.format.**DateFormat.format(kk:mm,**endTimeMilli));


 So just curious: Is there any more efficient way to transform a
 timeMillisecond time to a date string (in my case hour/minute)?

 Thierry.

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




-- 
Thierry.

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

Re: [android-developers] Re: android.text.format.DateFormat.format performance

2011-10-14 Thread Thierry Legras
No I don't. Time as been converted from string to timemilli on a serveur for
efficiency, and I have to convert them back to String when I want to display
it.



2011/10/14 Zsolt Vasvari zvasv...@gmail.com

 Sure, if you don't care about localization issues.

 On Oct 14, 5:26 am, Thierry Legras tleg...@gmail.com wrote:
  Hi,
 
  I am optimizing the critical parts of my code, and I coming to some
  ResourceCursorAdapter bindView method.
  Though the method is quite long, I saw on traceview that only 2 lines are
  taking 40% of the time in traceview; those are call to DateFormat:
 
  ((TextView)view.findViewById(R.id.EPG_list_item_hour)).setText(
  android.text.format.DateFormat.format(kk:mm,beginTimeMilli) +  - 
 +
  android.text.format.DateFormat.format(kk:mm,endTimeMilli));
 
  So just curious: Is there any more efficient way to transform a
  timeMillisecond time to a date string (in my case hour/minute)?
 
  Thierry.

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




-- 
Thierry.

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

[android-developers] Any problems regarding LVL when moving apps from one Google account to another?

2011-10-14 Thread Mark Carter
I tried asking this question over on Android Discuss but unfortunately 
didn't get any reply:

http://groups.google.com/group/android-discuss/browse_thread/thread/5598e3682828d3db

To summarize: LVL signs responses with your public key (as given in the Edit 
Profile of your Developer account). So what happens when you move an app 
from one account to another?

If LVL uses the new public key then the existing app installations will all 
fail their LVL checks!

Has anyone got experience of moving an LVL (or in-app billing) app to a 
different Google 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

Re: [android-developers] Re: APK must be signed with the same certificates as the previous version

2011-10-14 Thread Mark Murphy
On Fri, Oct 14, 2011 at 4:32 AM, MobileVisuals eyv...@astralvisuals.com wrote:
 I will try to find the old keystore file. It is somewhere on the PC,
 but I don't know where, because I can't start the old installation of
 Eclipse. What file type can it be? Can it be only .ks files?

You supplied the name and location of the production keystore when you
created it. There are no rules, AFAIK.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


[android-developers] Multiple Display suport

2011-10-14 Thread dani maoz
Hi
Is there a tutorial regradig Multi screen support in Android,
Is there a tutorial regarding HDMI support,
Any information will be appreciated

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

2011-10-14 Thread riz
Hi ,

I am an iphone developer and curious to know is there any equivalent
to Iphone EAAccessory Class in Android ?  please advise .

Regards

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

2011-10-14 Thread vani reddy
Hi friends ,


How to sort the listview by date?
My date format is Friday, Aug 12, 2011.
I am able to sort the title but  not the date.

Please reply.
Thanks.

-- 
Regards,
Vani Reddy

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

Re: [android-developers] Re: List with seperators, checkboxes...

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 2:39 AM, BearTi mlrti...@googlemail.com wrote:

 One last question: When I store/set for example a boolean value to my
 sharedprefences object checkbox1...
 Ist this value stored until I deinstall this app?


Yes.

-
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] sorting the listview

2011-10-14 Thread Mark Murphy
On Fri, Oct 14, 2011 at 7:52 AM, vani reddy vani.reddy.bl...@gmail.com wrote:
 How to sort the listview by date?

Sort the data you give to your adapter by date.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


Re: [android-developers] Multiple Display suport

2011-10-14 Thread Mark Murphy
On Fri, Oct 14, 2011 at 7:30 AM, dani maoz maoz.d...@gmail.com wrote:
 Is there a tutorial regradig Multi screen support in Android,

There is no multi screen support in Android. This has been added by
device manufacturers and is outside of the SDK.

 Is there a tutorial regarding HDMI support,

There is no HDMI support in Android. This has been added by device
manufacturers and is outside of the SDK.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


Re: [android-developers] Help me Help me. HTML5 and Android

2011-10-14 Thread TreKing
http://developer.android.com/guide/webapps/index.html

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

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

Re: [android-developers] Camera Built -in App

2011-10-14 Thread TreKing
On Thu, Oct 13, 2011 at 11:49 PM, nageswara rao rajana 
nagu.raj...@gmail.com wrote:

 But i dont this to happen what i have to do.


Delete the duplicate?

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

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 2:49 AM, F4L|{0 simone.dolcio...@gmail.com wrote:

 somebody can help me on how to correctly position the hit area of
 the button?


AFAIK, animations only make it look like an object is moving / scaling /
whatever. The actual position / size / whatever of the View in unchanged. If
you want the position to update, manually update it when the animation is
finished.

-
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] Urgent!! Do I need to buy Google Maps license for my Android app?

2011-10-14 Thread TreKing
This hardly qualifies as Urgent!!

On Fri, Oct 14, 2011 at 3:06 AM, elFerZur fzuri...@gmail.com wrote:

 Do I need some sort of license for this app?.

What kind of license, and where can I buy it?


http://tinyurl.com/69tcwn8

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

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

Re: [android-developers] Re: Best approach for onConfiguratinChange()

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 4:40 AM, nikki nikhileshsingh...@gmail.com wrote:

 My confusion shall I handle onConfigurationChange for orientation which
 will stop android to create a new activity or i should not handle
 onConfigurationChange and let android do the life cycle process complete.


In general, the latter, unless you have a good reason and know what you're
doing.

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

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

Re: [android-developers] Camera Built -in App

2011-10-14 Thread nageswara rao rajana
hi,

I integrated built-in Camera app in my application, and i am saving the
image captured in sdcard in seperate folder.
   But the same image also saving in  predefined /sdcard/DCIM/Camera/*.jpg
, But i dont this to happen what i have to do.
   Please help me.

  Thanking you,
  Nagu.

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

[android-developers] ramdisk.img modification on Emulator

2011-10-14 Thread Naga
Dear Androiders,
 How to Modify init.rc and update ramdisk.img on eclipse emulator.

Thank you
Regards,
Nagaraju

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

2011-10-14 Thread BearTi
Hi,

how can I read out the SMS?
I´ve read somewhere that solution by content://sms/ is not good and
future-proof , is that right or is this the only and best way?

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] Read SMS without content://sms/ ??

2011-10-14 Thread Mark Murphy
On Fri, Oct 14, 2011 at 8:42 AM, BearTi mlrti...@googlemail.com wrote:
 how can I read out the SMS?

There is no support for this in the Android SDK, as storing SMS is the
job of an SMS client, not the operating system.

 I´ve read somewhere that solution by content://sms/ is not good and
 future-proof , is that right or is this the only and best way?

It is the only way. I would not be the least bit surprised to find
this undocumented/unsupported provider locked down in the future the
way they recently locked down Gmail. I am hoping they don't -- I'm
really hoping this provider gets formal SDK support someday.

Also, there is no guarantee that this provider exists on any given
device or is used by the user's chosen SMS client on any given device.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


[android-developers] Re: Read SMS without content://sms/ ??

2011-10-14 Thread BearTi
Thanks!

Hmm, so every SMS Backup App does it that way, too. Right? :-/

(Alternative I could root my Device and read out directly the sqlite
database mmssms.db or?)


On 14 Okt., 14:53, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Oct 14, 2011 at 8:42 AM, BearTi mlrti...@googlemail.com wrote:
  how can I read out the SMS?

 There is no support for this in the Android SDK, as storing SMS is the
 job of an SMS client, not the operating system.

  I´ve read somewhere that solution by content://sms/ is not good and
  future-proof , is that right or is this the only and best way?

 It is the only way. I would not be the least bit surprised to find
 this undocumented/unsupported provider locked down in the future the
 way they recently locked down Gmail. I am hoping they don't -- I'm
 really hoping this provider gets formal SDK support someday.

 Also, there is no guarantee that this provider exists on any given
 device or is used by the user's chosen SMS client on any given device.

 --
 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.6 Available!

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


[android-developers] Re: APK must be signed with the same certificates as the previous version

2011-10-14 Thread MobileVisuals
I thought that keystores are .ks files?

On Oct 14, 1:22 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Oct 14, 2011 at 4:32 AM, MobileVisuals eyv...@astralvisuals.com 
 wrote:
  I will try to find the old keystore file. It is somewhere on the PC,
  but I don't know where, because I can't start the old installation of
  Eclipse. What file type can it be? Can it be only .ks files?

 You supplied the name and location of the production keystore when you
 created it. There are no rules, AFAIK.

 --
 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.6 Available!

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


Re: [android-developers] Re: Soft Home Button Makes Games Suck on Android

2011-10-14 Thread Streets Of Boston
Yes,

The 'Home key' is very much like the 'truth' 
:-)

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

2011-10-14 Thread kalandar
Hi friends ,
I want to develop game with cocos2d...
But i don't know how to start with it..  I am fresher for android.
please help me to make it easy
I need to know how to install cocos2d.
any easy guide to start program..

Thanks in Advance.

Regards
Kalandar . N.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: APK must be signed with the same certificates as the previous version

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 8:18 AM, MobileVisuals eyv...@astralvisuals.comwrote:

 I thought that keystores are .ks files?


http://developer.android.com/guide/publishing/app-signing.html#signapp

The docs sample use .keystore. It's really irrelevant. It's just a file.

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

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

Re: [android-developers] Re: APK must be signed with the same certificates as the previous version

2011-10-14 Thread Mark Murphy
On Fri, Oct 14, 2011 at 9:18 AM, MobileVisuals eyv...@astralvisuals.com wrote:
 I thought that keystores are .ks files?

Not necessarily. The debug keystore is debug.keystore, for example.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


Re: [android-developers] Re: Read SMS without content://sms/ ??

2011-10-14 Thread Mark Murphy
On Fri, Oct 14, 2011 at 9:10 AM, BearTi mlrti...@googlemail.com wrote:
 Hmm, so every SMS Backup App does it that way, too. Right? :-/

Presumably. They suffer from the same limitations.

 (Alternative I could root my Device and read out directly the sqlite
 database mmssms.db or?)

That does not help.

What you are saying is the equivalent of I am going to write an app
to back up a user's email on Windows. I will do this by copying
outlook.pst. However:

-- not everybody uses Outlook
-- people who have Outlook installed may not be using it
-- Outlook users might have their email stored on Exchange or in some
other PST file

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


Re: [android-developers] Re: Soft Home Button Makes Games Suck on Android

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 8:19 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:

 Yes,

 The 'Home key' is very much like the 'truth'
 :-)


Goodness, I don't know what's worse - that joke or how long it took me to
get it. =P

-
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: Button Animation

2011-10-14 Thread F4L|{0
thanks for answer

the my problem is how i can update the button position when the
animation  ends.
I know that when the animation is ended is called onAnimationEnd of
AnimationListner, but I wasn't able to update update the button
position.

On 14 Ott, 14:01, TreKing treking...@gmail.com wrote:
 On Fri, Oct 14, 2011 at 2:49 AM, F4L|{0 simone.dolcio...@gmail.com wrote:
  somebody can help me on how to correctly position the hit area of
  the button?

 AFAIK, animations only make it look like an object is moving / scaling /
 whatever. The actual position / size / whatever of the View in unchanged. If
 you want the position to update, manually update it when the animation is
 finished.

 --- 
 --
 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: Read SMS without content://sms/ ??

2011-10-14 Thread BearTi
Okay, thank u very much! :)

I will try it via content-provider :-/


On 14 Okt., 15:23, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Oct 14, 2011 at 9:10 AM, BearTi mlrti...@googlemail.com wrote:
  Hmm, so every SMS Backup App does it that way, too. Right? :-/

 Presumably. They suffer from the same limitations.

  (Alternative I could root my Device and read out directly the sqlite
  database mmssms.db or?)

 That does not help.

 What you are saying is the equivalent of I am going to write an app
 to back up a user's email on Windows. I will do this by copying
 outlook.pst. However:

 -- not everybody uses Outlook
 -- people who have Outlook installed may not be using it
 -- Outlook users might have their email stored on Exchange or in some
 other PST file

 --
 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.6 Available!

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


Re: [android-developers] Re: Button Animation

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 8:40 AM, F4L|{0 simone.dolcio...@gmail.com wrote:

 but I wasn't able to update update the button position.


Why not?

-
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: Button Animation

2011-10-14 Thread F4L|{0
because i don't know how do it. :)
I searched a lot on internet, I have not found anything that could
help me

On 14 Ott, 15:45, TreKing treking...@gmail.com wrote:
 On Fri, Oct 14, 2011 at 8:40 AM, F4L|{0 simone.dolcio...@gmail.com wrote:
  but I wasn't able to update update the button position.

 Why not?

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

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


Re: [android-developers] Re: Scenario where initLoader() does not call onLoadFinished()

2011-10-14 Thread Mark Murphy
On Tue, Oct 11, 2011 at 11:34 AM, kaciula catalin.moro...@gmail.com wrote:
 Here you go: https://github.com/kaciula/BugRetain
 It uses a CursorLoader to take 2 values from a database through a content
 provider and shows them on screen. Press the button to move to a second
 activity, then press BACK and then switch orientation of device. The values
 from db are no longer showing.

I can definitely reproduce the problem. It feels like a bug with the
Android Compatibility Library. If I switch your sample to use API
Level 11 and the built-in fragment implementation, it works
successfully, at least in the emulator.

One icky workaround: use android:configChanges.

I have filed an issue on this:
http://code.google.com/p/android/issues/detail?id=20791

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


[android-developers] Android Open Accessory API

2011-10-14 Thread riz
Hi,

Is it possible to read data from audio jack using Android Open
Accessory API ? please advise or suggest alternate .

Regards

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

2011-10-14 Thread melis
Hello all,
is it possible to change the accelerometer sample rate in some way?

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


Re: [android-developers] Re: Button Animation

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 8:54 AM, F4L|{0 simone.dolcio...@gmail.com wrote:

 because i don't know how do it. :)


What did you try? There are numerous functions on View that would appear to
allow you to manipulate its layout properties.

-
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] Android cocos2d game development

2011-10-14 Thread TreKing
On Fri, Oct 14, 2011 at 8:21 AM, kalandar kasimk...@gmail.com wrote:

 I want to develop game with cocos2d...
 But i don't know how to start with it..  I am fresher for android.
 please help me to make it easy
 I need to know how to install cocos2d.
 any easy guide to start program..


http://tinyurl.com/3g8jsdw

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

2011-10-14 Thread bob
I'm converting an app from iphone to Android.  On iphone there's a
function called animateWithDuration that makes it easy to fade in UI
stuff and slide in UI stuff.  For instance, this fades some text in…
then out:


  [UIView animateWithDuration:0.3 delay:0 options:0 animations:^{
[notification_ setAlpha:1.0];
  } completion:^(BOOL finished) {
if (!finished)
  return;
[UIView animateWithDuration:0.3 delay:2.5 options:0 animations:^{
  [notification_ setAlpha:0.0];
} completion:^(BOOL finished) { }];
  }];


Is there any kind of Android equivalent?

Thanks.

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


[android-developers] Re: Button Animation

2011-10-14 Thread F4L|{0
for example i find this:

exchangeAnimation.setAnimationListener(new AnimationListener() {
  public void onAnimationStart(Animation anim)
{button.setEnabled(false);}
  public void onAnimationRepeat(Animation anim) {}
  public void onAnimationEnd(Animation anim) {
  LinearLayout.LayoutParams params = new
LinearLayout.LayoutParams(
  LinearLayout.LayoutParams.WRAP_CONTENT,
  LinearLayout.LayoutParams.WRAP_CONTENT);
  button.setLayoutParams(params);
  button.setEnabled(true);}});

but this don't have effect.
sorry for so many questions, but I'm beginner in the field

On 14 Ott, 16:28, TreKing treking...@gmail.com wrote:
 On Fri, Oct 14, 2011 at 8:54 AM, F4L|{0 simone.dolcio...@gmail.com wrote:
  because i don't know how do it. :)

 What did you try? There are numerous functions on View that would appear to
 allow you to manipulate its layout properties.

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

2011-10-14 Thread Justin Anderson
Have you looked at Android animations at all?

http://developer.android.com/guide/topics/graphics/view-animation.html
http://developer.android.com/guide/topics/graphics/animation.html

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


On Fri, Oct 14, 2011 at 8:38 AM, bob b...@coolgroups.com wrote:

 I'm converting an app from iphone to Android.  On iphone there's a
 function called animateWithDuration that makes it easy to fade in UI
 stuff and slide in UI stuff.  For instance, this fades some text in…
 then out:


  [UIView animateWithDuration:0.3 delay:0 options:0 animations:^{
[notification_ setAlpha:1.0];
  } completion:^(BOOL finished) {
if (!finished)
  return;
[UIView animateWithDuration:0.3 delay:2.5 options:0 animations:^{
  [notification_ setAlpha:0.0];
} completion:^(BOOL finished) { }];
  }];


 Is there any kind of Android equivalent?

 Thanks.

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


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

Re: [android-developers] Re: Button Animation

2011-10-14 Thread Justin Anderson
Perhaps this is what you are looking for?  Never used it so I'm not sure,
but look at this animation property:

http://developer.android.com/reference/android/view/animation/Animation.html#attr_android:fillAfter

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


On Fri, Oct 14, 2011 at 8:28 AM, TreKing treking...@gmail.com wrote:

 On Fri, Oct 14, 2011 at 8:54 AM, F4L|{0 simone.dolcio...@gmail.comwrote:

 because i don't know how do it. :)


 What did you try? There are numerous functions on View that would appear to
 allow you to manipulate its layout properties.


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


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


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

[android-developers] Re: Android cocos2d game development

2011-10-14 Thread Oli Wright
While I agree that Google is your friend in this case, to save you that 
minimal effort I can point you towards two possible options:

http://www.cocos2d-x.org/
http://code.google.com/p/cocos2d-android-1/

Go on there and read any wiki and tutorial material they have, and review 
any code examples they have in their repositories.  This isn't really the 
place to guide you through starting with either of those so I suggest you 
seek help from their respective user communities.

If you're completely new to Android then I would recommend starting with the 
android dev guide (http://developer.android.com) to at least get you to 
understand the core system a bit better before you start playing with cocos.

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

2011-10-14 Thread Studio LFP
There has been a decent amount of conversation on this subject and there's 
no right answer. Regardless of which way you pick, make sure you 
understand the pros and cons.

If you let Android do the work for you, make sure you understand that your 
application can be killed off and restarted at any time just by the user 
rotating the phone, docking, pulling out a hardware keyboard or game pag, 
etc.. There are quite a few times this can happen, so it would be best to 
know when it is going to happen and make sure your application is prepared 
to deal with it at any time.

If you decide to handle the changes yourself with configChanges, you only 
need to handle the changes that impact your application. If you use the same 
layout for both portrait and landscape, you don't need to handle rotation 
changes or hardware keyboard/game pad events. Only catch the ones that will 
impact your application.

Check out the configChanges documentation:

http://developer.android.com/guide/topics/manifest/activity-element.html#config

Each of the events listed there is a time where Android will stop and 
restart your application if you let it handle the changes. There may be more 
that aren't documented there, but those are the major ones. If you decide to 
handle them yourself, those are also the events you have the option of 
handling if they impact your application. Again, you will only need to 
handle the ones that would cause a change in your application, the others 
can be ignored.

Based on an application I wrote that checks all the activities in the system 
(including the built-in apps), about 50% use configChanges and about 50% let 
Android handle it (on both tablets and phones), so the choice is up to you. 
Regardless of which way you pick, make sure to do the necessary testing.

Steven
Studio LFP
http://www.studio-lfp.com


On Friday, October 14, 2011 4:40:43 AM UTC-5, nikki wrote:

 Thanks Flo for quick reply. 

 In my case the landscape layout files have no changes they are as same 
 as portrait, that's why i haven't created a separate landscape folder 
 for layout(layout_land). So on change of orientation the android will 
 pick the file from layout folder only. 

 My confusion shall I handle onConfigurationChange for orientation 
 which will stop android to create a new activity or i should not 
 handle onConfigurationChange and let android do the life cycle process 
 complete. 

 Thanks 

 On Oct 14, 2:27 pm, Flo florian@gmail.com wrote: 
  Let Android handle it. 
  
  Just create a second layout folder called layout-land and put all 
  your landscape layouts in. The layouts must have the same file name 
  like the layouts in the normal layout folder for portrait mode. 
  Android will pick the right folder to get the layout from. On 
  landscape mode it will take the layouts from the layout-land folder 
  and in portrait mode it will take the layouts from the layout 
  folder. 
  
  On Oct 14, 11:11 am, nikki nikhiles...@gmail.com wrote: 
  
  
  
  
  
  
  
   Hi all, 
  
   I am a bit confused on setting up my screen UI. The point of confusion 
   is I am having similar UI layout file for landscape and portrait. On 
   screen orientation change shall i handle onConfigurationChange or i 
   should let android do the complete activity life cycle and recreating 
   the UI by setContentView(). 
  
   Please suggest which one is the best optimized approach. 
  
   Thanks in adavance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Should ro.EMPTY_APP_MEM always be same as arguments in write /sys/module/lowmemorykiller/parameters/minfree

2011-10-14 Thread vishnu vardhan reddy madduri
Dear Google Team and all,

Is it really needed that values

setprop ro.FOREGROUND_APP_MEM 2048
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 4096
setprop ro.HEAVY_WEIGHT_APP_MEM 4096
setprop ro.SECONDARY_SERVER_MEM 6144
setprop ro.BACKUP_APP_MEM 6144
setprop ro.HOME_APP_MEM 6144
setprop ro.HIDDEN_APP_MEM 7168
setprop ro.EMPTY_APP_MEM 8192

should always be synced with  write /sys/module/lowmemorykiller/
parameters/minfree 2048,3072,4096,6144,7168,8192

What I still do not fully understand is why does init.rc script write
the values to the property service. I did a searched over the complete
Android source tree for these keys (FOREGROUND_APP_MEM,
VISIBLE_APP_MEM, ...) but the only occurances I found were in
com.android.server.am.ActivityManagerService.java  where they are
read into final int fields which seem to be never referenced anywhere.
Then What is the need from getting those properties in first place.













Thanks,

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


[android-developers] Re: Multiple Display suport

2011-10-14 Thread Studio LFP
If you download the add-ons for other devices through the Android SDK 
Manager, you can usually find samples that come with them. If you look in 
the directory where you have the Android SDK, you'll find an add-ons 
directory. That should be where things like the LG 3D, KYOCERA multi-screen, 
Sony EDK, etc. are found. They may or may not have documentation or samples 
in there. Most manufacturers have a developers site you should check out to 
see if there is more documentation/help.

Steven
Studio LFP
http://www.studio-lfp.com


On Friday, October 14, 2011 6:30:32 AM UTC-5, David_lavi wrote:

 Hi
 Is there a tutorial regradig Multi screen support in Android, 
 Is there a tutorial regarding HDMI support, 
 Any information will be appreciated
  


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

2011-10-14 Thread Studio LFP
Based on the documentation for the EAAccessory Class on Apple's site, there 
is not a single object like that in Android.

Android gives you different classes based on the type of device you are 
wanting to connect to. Built-in things like Bluetooth, GPS, sensors and the 
likes are in packages that relate specifically to them.

As of 3.1 you can also access USB connected devices (and even make your own 
with Open Accessory). See this link for more information:

http://developer.android.com/guide/topics/usb/index.html

You can pretty much get access to anything you want, just look for the right 
way to talk to them in the development site:

http://developer.android.com/index.html

Steven
Studio LFP
http://www.studio-lfp.com


On Friday, October 14, 2011 6:52:25 AM UTC-5, riz wrote:

 Hi , 

 I am an iphone developer and curious to know is there any equivalent 
 to Iphone EAAccessory Class in Android ?  please advise . 

 Regards 



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Should ro.EMPTY_APP_MEM always be same as arguments in write /sys/module/lowmemorykiller/parameters/minfree

2011-10-14 Thread Mark Murphy
This is a firmware question, so you need to ask it over on one of the
Google Groups listed at http://source.android.com. This list is for
developing applications with the Android SDK.

On Fri, Oct 14, 2011 at 12:23 PM, vishnu vardhan reddy madduri
vishnu.madd...@gmail.com wrote:
 Dear Google Team and all,

 Is it really needed that values

    setprop ro.FOREGROUND_APP_MEM 2048
    setprop ro.VISIBLE_APP_MEM 3072
    setprop ro.PERCEPTIBLE_APP_MEM 4096
    setprop ro.HEAVY_WEIGHT_APP_MEM 4096
    setprop ro.SECONDARY_SERVER_MEM 6144
    setprop ro.BACKUP_APP_MEM 6144
    setprop ro.HOME_APP_MEM 6144
    setprop ro.HIDDEN_APP_MEM 7168
    setprop ro.EMPTY_APP_MEM 8192

 should always be synced with  write /sys/module/lowmemorykiller/
 parameters/minfree 2048,3072,4096,6144,7168,8192

 What I still do not fully understand is why does init.rc script write
 the values to the property service. I did a searched over the complete
 Android source tree for these keys (FOREGROUND_APP_MEM,
 VISIBLE_APP_MEM, ...) but the only occurances I found were in
 com.android.server.am.ActivityManagerService.java  where they are
 read into final int fields which seem to be never referenced anywhere.
 Then What is the need from getting those properties in first place.













 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




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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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


[android-developers] Button not clickable while playing animation

2011-10-14 Thread buda gavril
I have a button which I need to be able to click on it white it is
playing an animation. here is the full source code:
http://pastie.org/2695839 Thanks

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


[android-developers] Re: how to insert image into listview and text also in list view

2011-10-14 Thread Jeremy Dagorn
Hi,

Look at this :
http://developer.android.com/reference/android/widget/ListView.html

So the process is simple, create a layout containing your list view
element.
Create another layout called listview_raw for example, which will
contain an imageView and a textView.

You have to create an Adapter, (ArrayAdapter, CustomAdapter, as you
want), in charge put the line with your image and text in the
listView.

For that, you have to implement the getView method of your adapter,
and set your adapter on your listView.

Here is the reference for all these components :
 http://developer.android.com/reference/android/widget/ListView.html
 http://developer.android.com/reference/android/widget/Adapter.html


Have fun,

Jeremy

Jérémy

On Oct 13, 12:41 pm, shital suryawanshi shital.andr...@gmail.com
wrote:
 hi
  if any one have information about that pls send me

 thanks
 shital

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


Re: [android-developers] Button not clickable while playing animation

2011-10-14 Thread Justin Anderson
Gee that's a really cool idea... thanks for telling us about it.

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


On Fri, Oct 14, 2011 at 11:01 AM, buda gavril dlbudagav...@gmail.comwrote:

 I have a button which I need to be able to click on it white it is
 playing an animation. here is the full source code:
 http://pastie.org/2695839 Thanks

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

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

[android-developers] Install an android app on Google TV

2011-10-14 Thread dillipk
Hello,
  How do I install my app on Google TV.? It is written android 2.3
SDK.

My System Config:

Windows XP Pro
Ecplise
SDK Platform Android 3.2 API 13, revision 1


Interestingly, I am not able to install Google TV add-on on my PC. AVD
manager saying Some packages were found but are not compatible
updates.


Please help.

Thanks,
DK

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

2011-10-14 Thread Jeremy Drake
On Oct 14, 7:01 am, Mark Murphy mmur...@commonsware.com wrote:
 I can definitely reproduce the problem. It feels like a bug with the
 Android Compatibility Library. If I switch your sample to use API
 Level 11 and the built-in fragment implementation, it works
 successfully, at least in the emulator.

That's very interesting.  In the incarnation I am experiencing (with
tabs rather than pushing/popping an activity), I tried modifying the
ApiDemos sample from the 3.2 samples, and still experienced the issue
on a 3.2.1 device (Asus EeePad Transformer).  The post about this was
http://groups.google.com/group/android-developers/browse_thread/thread/ca3a0c174d284263

Now I just need to decide whether to enter this as a new issue, or
just add a comment to yours...

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

2011-10-14 Thread mjmeyer
Without any logcat output or code as Fina suggested, I'd guess that
you are setting a some specific camera parameter value that a
particular model just doesnt support.

There are wide ranges of camera hardware out there and I see many
people do things like assume that 640x480 preview sizes are available
on all devices, which is not the case.

You need to use things like
Camera.Parameters.getSupportedPreviewSizesgetSupportedwhatever
and select a value that the device youre running on actually supports.

But, again, that's just a guess based on what I see lots of other
folks running into. Without code or log output it's hard to tell what
your issue might be.

On Oct 12, 1:29 am, nageswara rao rajana nagu.raj...@gmail.com
wrote:
 Hi,

     I developed an application on 2.1, i integrated built-in camera app in
 my application.
     Its working perfectly on Samsung pop device but not working on HTC
 mobile.
     Can any one suggest me what might be the issue.

    Thanking you,
    Nagu.

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


Re: [android-developers] SQLite slow

2011-10-14 Thread John Goche
On Thu, Oct 13, 2011 at 1:47 AM, Studio LFP studio@gmail.com wrote:

 If you aren't, try using transactions:

 dbHandle.beginTransaction();
 lReturn = dbHandle.insert( sTable, null, cvEntry ); // Update and delete
 here also
 dbHandle.setTransactionSuccessful();
 dbHandle.endTransaction();

 If you do multiple inserts/updates/deletes where you target specific rows
 for a reason you can't include them all in one query, add more statements
 between the beginTransaction and the setTransactionSuccessful.



Thanks Steven, I have implemented transactions and it runs about twice as
fast but still have to wait a somewhat
smaller fraction of a second.

As to the connection it's only opened once and shared across intents. The
queries are based on primary keys
so I do not see the need to have separate indices.

I think what is slowing things down could be the fact that I am reading
every single row of every single table just to
be on the safe side although things could be done more efficiently but at
the risk of complicating the code and
introducing bugs in the code. As to implementing the database calls in a
separate thread, the reason I didn't do it is
that the calling activity needs to display the data from the popped activity
retrieving it from the database to make sure it's
data remains consistent with the database. But it's true, I could store the
data in the database in a separate thread and only
read it when the application starts, and just write to it asynchronously.
This would really make my app faster. Or I could display a
progress bar in between operations. I just want to ensure my objects are
always in sync with my database so I
have a soreAndRetrieve() data method to make sure this happens at the
expense of speed, so maybe it's my
own problem.

Thank you for all your replies,

Regards,

John Goche

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

2011-10-14 Thread John Goche
Hi,

No, it's definitely skipping it because the intent is launched. Isn't that
strange?
Seems like broadcast receivers behave somewhat oddly in general, like when
I was sending it a parcel instead of a bundle and it would not run properly.

I had to move the alarm setter code into the launched intent to get it to
run.
Seems really strange.

Thank you for your help and interest,

John Goche

On Fri, Oct 14, 2011 at 6:11 AM, Studio LFP studio@gmail.com wrote:

 So it seems like it is skipping that step? Or is it just stopping before
 that step?

 Steven
 Studio LFP
 http://www.studio-lfp.com



 On Thursday, October 13, 2011 11:29:40 AM UTC-5, John Goche wrote:


 Hello,

 I am having the following problem and was wondering whether
 anyone here could be so kind so as to help me. I am having a
 broadcast receiver in my code that opens a database and sets
 an alarm. However the code that sets the alarm is never called
 as shown in the adb logcat output. What is interesting is that the
 application does not crash but the intent that is called after the
 alarm setter was supposed to be called is run. So the intent
 that is launched after the alarm was supposed to be set is
 called even though I see no debug output telling me that
 the alarm setter function is called.

 Any ideas as to what is going on?

 (please see code below)

 Thanks,

 John Goche

 public class AlarmReceiver extends BroadcastReceiver {

   @Override
   public void onReceive(Context context, Intent intent) {

 Log.d(AlarmReceiver, received);

 // retrieve database handle

 DB db = DB.db(context);

 // retrieve data from database

 Globals.data = db.getData();

 // reset alarms (seems like this does not get called)

 Log.d(AlarmReceiver, Calling alarm setter...);
 AlarmSetter.doSetupAlarm(**context);
 Log.d(AlarmReceiver, Done.);

 // start new intent (this actually starts up for real)

 Intent i = new Intent(context, AlarmExpiredActivity.class);
 i.putExtra(alarmMessages, intent.getBundleExtra(**
 alarmMessages));
 i.addFlags(Intent.FLAG_**ACTIVITY_NEW_TASK);
 context.startActivity(i);

   }

 }

 class AlarmSetter {

   public static void doSetupAlarm(Context ctx) {

 Log.d(AlarmSetter, doSetupAlarm called.);

// ...

 }

 D/AlarmReceiver( 3805): received
 I/ActivityManager(   61): Starting: Intent { flg=0x1000
 cmp=com.bar.foo/.**AlarmExpiredActivity (has extras) } from pid 3805


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Still time to save $400 on AnDevCon II Nov 6-9.

2011-10-14 Thread Nathan
I will be speaking at AndevCon II, Nov 6-9, on the subject of 'Marketing for 
Independent Android Developers. You can save $200 on the price of the 
conference by using the discount code 'Mellor', and another $200 for 
registering by October  21st.

http://www.andevcon.com/AnDevCon_II/registration.html

Using the code does not mean you have to come to my session; there are five 
or so others at the same time. There are 50 or so classes total. I went to 
the last AnDevCon, paid full price, and learned enough to make it worth it. 
There are people speaking there that are much smarter than me, including 
some you will recognize from this forum. 

If interested, sign up today. Don't wait until Oct 21st, because it is not 
only more expensive, but it will probably be sold out by then - it sold out 
last time. 

Have fun on all your Android projects!

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

2011-10-14 Thread blake
I, for one, am not very amused.  I would very very much like to get a
copy of froyo...

-blake

On Oct 13, 7:25 am, apalsson andreas.pals...@gmail.com wrote:
 Actuallyhttp://android.git.kernel.org/is up again, but still dreams of
 electric sheep. No repo yet available.
 But it's a promising start and hopefully we'll see some sources again in a
 week or two. :)

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

2011-10-14 Thread Lakshman Bana
Hi,
I'm having two problems with SIP in android 2.3.3

1.) If I call setPort on SIPProfile.Builder then my To and From
headers is constructed with portnumber.
 example:
 sip:12223334...@open-ims.test:4060

 When SIP REGISTER goes to OpenIMSCore platform it could not
handle it. I haven't read the RFC-3261 completely
 but I don't see any examples referencing it as above for To and
From headers.

 If I send REGISTER message with To and From header as
sip:12223334...@open-ims.test then it works fine (not completely
 ran into problem-2).

2.) AuthUserName is not able to set in 2.3.3.

 I found a link where Android SIP developer mentioned that it is
available in 2.3.3 but not sure what I'm missing.
 
http://www.onsip.com/blog/leo/2011/01/05/our-evaluation-of-android-gingerbreads-native-sip-calling-with-the-nexus-s

 The document says setAuthUserName is available in API level 12.

At least I have work around for 1 but 2 is a blocker for me.

Any pointers would be a great help...
thanks
-lb

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Should ro.EMPTY_APP_MEM always be same as arguments in write /sys/module/lowmemorykiller/parameters/minfree

2011-10-14 Thread Dianne Hackborn
This is all rewritten in ICS.

On Fri, Oct 14, 2011 at 9:23 AM, vishnu vardhan reddy madduri 
vishnu.madd...@gmail.com wrote:

 Dear Google Team and all,

 Is it really needed that values

setprop ro.FOREGROUND_APP_MEM 2048
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 4096
setprop ro.HEAVY_WEIGHT_APP_MEM 4096
setprop ro.SECONDARY_SERVER_MEM 6144
setprop ro.BACKUP_APP_MEM 6144
setprop ro.HOME_APP_MEM 6144
setprop ro.HIDDEN_APP_MEM 7168
setprop ro.EMPTY_APP_MEM 8192

 should always be synced with  write /sys/module/lowmemorykiller/
 parameters/minfree 2048,3072,4096,6144,7168,8192

 What I still do not fully understand is why does init.rc script write
 the values to the property service. I did a searched over the complete
 Android source tree for these keys (FOREGROUND_APP_MEM,
 VISIBLE_APP_MEM, ...) but the only occurances I found were in
 com.android.server.am.ActivityManagerService.java  where they are
 read into final int fields which seem to be never referenced anywhere.
 Then What is the need from getting those properties in first place.













 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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

2011-10-14 Thread Chris
Because open source is here for your amusement..

Trade you my copy of froyo for your copy of honeycomb?  Oh, wait

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

2011-10-14 Thread Subin Sebastian
@Vani,

It is not clear that what data you are adapting to the ListView. Anyway, use
some standard algorithms to sort yourData by date just before a line
something like this in your code appears.

yourListView.this.getListView().setAdapter(new
yourAdapter(yourListView.this, R.layout.your_row, yourData));

Hope that helps.
-- 
Subin Sebastian
http://in.linkedin.com/in/subinsebastien
https://plus.google.com/subinhttps://plus.google.com/118262481642737404812
http://www.facebook.com/subinsebastien

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

2011-10-14 Thread Darren K
I discovered the error, with some help from StackOverflow. Make sure you 
didn't forget to put android: in front of targetSdkVersion in the 
manifest. That was my error.

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

2011-10-14 Thread Studio LFP
Glad to hear you got at least a little speed out of the transactions.

On making sure your objects are in sync, I can understand the reasoning 
behind this.  What I tend to do is drop database modifications in a thread 
and also updates my objects at the end of that thread and then trigger a 
refresh on the UI when the thread is finished.

Are you updating a ton of data each time, or just a few rows here and there? 
In the response, you said you were reading every row of every table, is 
there a reason you are doing this? The right SQL statement should prevent 
you from having to do this. If you are using a ListView, a CursorAdapter 
helps for dealing with delayed reading automatically.

I also write web applications, so if you need a hand with SQL or how to 
speed up querys, don't hesitate to ask in this thread. I deal with databases 
that have millions of entries that are join across a ton of tables (and 
cross database), so I may be able to help speed up your SQL statements.

Steven
Studio LFP
http://www.studio-lfp.com


On Friday, October 14, 2011 3:54:37 PM UTC-5, John Goche wrote:


 On Thu, Oct 13, 2011 at 1:47 AM, Studio LFP studi...@gmail.com wrote:

 If you aren't, try using transactions:

 dbHandle.beginTransaction();
 lReturn = dbHandle.insert( sTable, null, cvEntry ); // Update and delete 
 here also
 dbHandle.setTransactionSuccessful();
 dbHandle.endTransaction();

 If you do multiple inserts/updates/deletes where you target specific rows 
 for a reason you can't include them all in one query, add more statements 
 between the beginTransaction and the setTransactionSuccessful.



 Thanks Steven, I have implemented transactions and it runs about twice as 
 fast but still have to wait a somewhat
 smaller fraction of a second.

 As to the connection it's only opened once and shared across intents. The 
 queries are based on primary keys
 so I do not see the need to have separate indices.

 I think what is slowing things down could be the fact that I am reading 
 every single row of every single table just to
 be on the safe side although things could be done more efficiently but at 
 the risk of complicating the code and
 introducing bugs in the code. As to implementing the database calls in a 
 separate thread, the reason I didn't do it is
 that the calling activity needs to display the data from the popped 
 activity retrieving it from the database to make sure it's
 data remains consistent with the database. But it's true, I could store the 
 data in the database in a separate thread and only
 read it when the application starts, and just write to it asynchronously. 
 This would really make my app faster. Or I could display a
 progress bar in between operations. I just want to ensure my objects are 
 always in sync with my database so I
 have a soreAndRetrieve() data method to make sure this happens at the 
 expense of speed, so maybe it's my
 own problem.

 Thank you for all your replies,

 Regards,

 John Goche


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Should ro.EMPTY_APP_MEM always be same as arguments in write /sys/module/lowmemorykiller/parameters/minfree

2011-10-14 Thread vishnu vardhan reddy madduri

Hi Dianne Hackborn,

Do you mean to say

setprop ro.FOREGROUND_APP_MEM 2048
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 4096
setprop ro.HEAVY_WEIGHT_APP_MEM 4096
setprop ro.SECONDARY_SERVER_MEM 6144
setprop ro.BACKUP_APP_MEM 6144
setprop ro.HOME_APP_MEM 6144
setprop ro.HIDDEN_APP_MEM 7168
setprop ro.EMPTY_APP_MEM 8192

is not used till Gingerbread and oom killer[handler] will only kill
process based on values written to files
/sys/module/lowmemorykiller/parameters/adj
and
/sys/module/lowmemorykiller/parameters/minfree with help of
ActivityMangerService which sets the oom_adj of processes to put them
in the correct
class for their current operation.

In ICS it rewritten to use ro.EMPTY_APP_MEM and other Properties
values from UserSpace to adjust oom_adj values.

Thanks,
vishnu .


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

2011-10-14 Thread nunojpg
How does the application 
https://market.android.com/details?id=com.eclipsim.gpsstatus2
download new A-GPS data and checks it's age?
Is it fake?

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