[android-developers] print Via USB cable using micro usb to standar usb cable?

2012-05-18 Thread neil
I initially developed an application that able to print image and text
directly using usb cable. Is there anyone who already implemented
this?

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


[android-developers] Listview with multiple layout

2012-05-18 Thread Jovish P
In our app we have to show a screen just like below.  The data is in a hash
map with key value pairs.
We want to show the keys of hashmap as header item of Listview and values
for that keys  as item layout under that key.
 Please help us how to implement this.

Regards,
Jovish

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

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Miha Valencic
Kostya, I will try ASAP. I'm currently struggling with adb issue (my sgs2
got OTA update to ICS, and now Ubuntu does not 'see' the device so can't
test on the device. The emulator has it's own issues with soft keyboard.

On Thu, May 17, 2012 at 12:39 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Following the code in EditText (actually, TextView), to see how
 android:imeOptions value is used, brings us here:

 https://github.com/android/**platform_frameworks_base/blob/**
 master/core/java/android/**widget/TextView.java#L5605https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/TextView.java#L5605

 @Override
 public InputConnection onCreateInputConnection(**EditorInfo outAttrs) {
 }

 ... which copies the value of imeOptions into outAttrs.imeOptions.

 Perhaps you could try doing the same in your view to see if it helps.



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

2012-05-18 Thread Simon Giddings
Thanks for the responses.

To TreKing : I quite clearly explained that the drawing area was where I 
needed to optimise. You can see that I trace the time taken here and this 
is where I can say that, on the emulator, it takes 18 seconds.

to lbendlin : Thank you for the advice, I will do some further tests to see 
if this will affect the processing time.

On Friday, 18 May 2012 02:16:47 UTC+2, lbendlin wrote:

 No need to worry about the screen pixels relative to your waypoints. The 
 overlay manager handles that for you, and only renders the part that is on 
 screen. Load all the points.

 On Thursday, May 17, 2012 12:19:33 PM UTC-4, Simon Giddings wrote:

 I am developing a maps application which will display a user defined 
 driving itinerary.
 I obtain the driving directions from the Directions Web Service and parse 
 the json response in a separate thread.

 I then hand the resulting itinerary object to my custom overlay for 
 display.
 Before appending the overlay to the maps overlay list, I decode the 
 polyline strings to obtain the coordinates.

 My drawing code obtains the projection object and draws out the line - 
 this is taking 18 seconds ! ! !
 Here is my code :

 @Override
 public void draw(Canvas cv, MapView view, boolean shadow)
 {
 GeoCoordsE6 point = null;  // utility class holding a geopoint 
 and a point class with a method to handle projection manipulation
 int iScreenWidth = view.getWidth();
 int iScreenHeight = view.getHeight();
 Paint paintLine = null;new Paint();
 
 if(shadow)
 {
 super.draw(cv, view, shadow);
 return;
 }
 
 long lStartMs = android.os.SystemClock.uptimeMillis();
 
 paintLine = new Paint();
 paintLine.setColor(m_iLineClr);
 paintLine.setAntiAlias(true);
 paintLine.setStyle(Paint.Style.FILL_AND_STROKE);
 paintLine.setStrokeJoin(Paint.Join.ROUND);
 paintLine.setStrokeCap(Paint.Cap.ROUND);
 paintLine.setStrokeWidth(4);
 
 // get the projection to work with
 Projection pj = view.getProjection();
 
 // get the first lat/lng position
 point = m_ItinLine.item(0);
 // convert the coorinates to screen pixels
 point.ResolvePosition(pj);
 // store the start position
 m_ptStart.x = point.m_pt.x;
 m_ptStart.y = point.m_pt.y;
 
 // now walk through the array list
 for(int i = 1; i  m_ItinLine.count(); i++)
 {
 point = m_ItinLine.item(i);
 point.ResolvePosition(pj);
 m_ptEnd.x = point.m_pt.x;
 m_ptEnd.y = point.m_pt.y;
 
 if(m_ptStart.x  0  m_ptEnd.x  0 ||// to the left 
 m_ptStart.y  0  m_ptEnd.y  0 ||// above the 
 top
 m_ptStart.x  iScreenWidth  m_ptEnd.x  
 iScreenWidth ||// to the right
 m_ptStart.y  iScreenHeight  m_ptEnd.y  
 iScreenHeight)// below the bottom
 {
 // ignore the drawing
 }
 else if(m_ptStart.x == m_ptEnd.x  m_ptStart.y == m_ptEnd.y)
 continue;
 else
 {
 cv.drawLine(m_ptStart.x, m_ptStart.y, m_ptEnd.x, 
 m_ptEnd.y, paintLine);
 }
 
 m_ptStart.x = m_ptEnd.x;
 m_ptStart.y = m_ptEnd.y;
 }
 
 long lEndMs = android.os.SystemClock.uptimeMillis();
 Log.d(ItineraryOverlay, Drawing took  + (lEndMs - lStartMs) + 
 ms);
 
 super.draw(cv, view, shadow);
 }

 Knowing that a number of people have done similar tasks, can anyone 
 advise me as to how to improve the performance ?
 Should I be building a path object and fill it with ALL of the points ?




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

2012-05-18 Thread TreKing
On Thu, May 17, 2012 at 11:12 PM, CaRRtel Industres 
carrtelindustr...@gmail.com wrote:

 Yes Kris, that is correct. I apologize for not knowing the technical
 terms. Now do you know how to help TreKing?


What Kris described is very broad and generic. There are plenty of examples
out there for using ListView. What have you tried so far? What *exactly*
are you having trouble with?

-
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: Maps API : drawing driving itinerary

2012-05-18 Thread TreKing
On Fri, May 18, 2012 at 1:40 AM, Simon Giddings mr.s.giddi...@gmail.comwrote:

 To TreKing : I quite clearly explained that the drawing area was where I
 needed to optimise. You can see that I trace the time taken here and this
 is where I can say that, on the emulator, it takes 18 seconds.


Your draw method is fairly big. There are a lot of steps there, including a
loop where you iterate through a bunch of points (the number of which you
didn't specify, which might be your issue). You time nearly the entire
method, but more than likely there is one or two lines in there that are
eating up the bulk of that time.

My suggestion to you was to profile your code so you can narrow down more
precisely which part(s) of that block of code is where most of your time is
being spent. If you can come back and say this line in particular is
killing me, or l'm looping through 6,000 points each frame, then it will
be easier to get help with optimizing.

-
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] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-18 Thread Kiran Rao
Dianne,

I'm not sure I fully understand this phrase in your comment:

using BroadcastReceiver as a separated class not known by the rest of the 
 framework


To clarify, my current solution is a fork of the support package's 
LocalBroadcastManager. It does *not* use setOrderedHint(). Because of this, 
I am forced to create a class which is a BroadcastReceiver look-alike; and 
introduce methods like consumeBroadcast(), which mimic the functionality of 
abortBroadcast(). If I go ahead with this approach, components which 
express their interest in my broadcasts will not be able to register 
regular BroadcastReceiver objects; they will have to register instances of 
my custom BroadcastReceiver.

My intention is to alleviate this problem by using setOrderedHint() in my 
fork of LocalBroadcastManager. If I do this, I will be able to use the 
regular android.content.BroadcastReceiver. and do away with the custom 
BroadcastReceiver class. The intention, thus, is to *not* use 
BroadcastRecaiver as a separate class; but rather use the one known to the 
framework.




On Friday, 18 May 2012 10:52:49 UTC+5:30, Dianne Hackborn wrote:

 Hm, okay, for that, where basically you are just using BroadcastReceiver 
 as a separated class not known by the rest of the framework, it seems okay.

 On Thu, May 17, 2012 at 7:22 PM, Kiran Rao techie.curi...@gmail.comwrote:

 Oops .. apologies for the typo, and the ensuing confusion. I did mean 
 LocalBroadcastManager in my original post, wherever I referred to 
 LocalBroadcastReceiver.

 Mark has summed it all up in his response. My current implementation is 
 this:


 try to fork BroadcastReceiver and use a forked edition with 
 LocalBroadcastManager and ordered-broadcast support


 But I have added my own flag (mConsumed) and added my own methods (
 consumeBroadcast(), clearConsumeBroadcast() and isBroadcastConsumed()).

 Secondly, my solution still doesn't allow using any of the setResult*methods 
 of 
 BroadcastReceiver (since all of these first do a checkSynchronousHint()). 
 The way around this is to add another bunch of methods that basically do 
 the exact same thing as getResult* and setResult* ; but which do not go 
 through the checkSynchronousHint() path.

 Using setOrderedHint() which would allow me to avoid all of this 
 pain.All my changes would be isolated to LocalBroadcastManager, and I 
 would not need to fork BroadcastReceiver (not to mention that code which 
 registers for such local ordered broadcasts wouldn't need to deal with yet 
 another forked class; and confusing methods like consumeBroadcast() in 
 place of abortBroadcast())

 On Friday, 18 May 2012 02:18:21 UTC+5:30, Mark Murphy (a Commons Guy) 
 wrote:

 On Thu, May 17, 2012 at 4:27 PM, Dianne Hackborn hack...@android.com 
 wrote: 
  No, you should not be using it.  Why would you even *want* to use it? 
  I can 
  only imagine using this to do things that are broken. :) 

 To clarify (and fix a typo in Kiran's post), he is working on adding 
 ordered broadcasts to LocalBroadcastManager from the Android Support 
 package, while maintaining maximum fidelity with the protocol used by 
 regular ordered broadcasts. 

 Most of this can go into (a fork of) LocalBroadcastManager without 
 issue. However, calling abortBroadcast() on a BroadcastReceiver throws 
 a RuntimeException (BroadcastReceiver trying to return result during 
 a non-ordered broadcast) if you try to use abortBroadcast() without 
 having the Intent go through the standard sendOrderedBroadcast(). 

 I have not seen Kiran's code -- I have merely been advising him so far 
 via email, as this is an itch I had been meaning to scratch myself. 
 Off the cuff, the options appear to be: 

 - use setOrderedHint(), despite it being labeled as internal, or 

 - attempt to override the internal checkSynchronousHint() to not raise 
 the RuntimeException, or 

 - try to fork BroadcastReceiver and use a forked edition with 
 LocalBroadcastManager and ordered-broadcast support, or 

 - abandon LocalBroadcastManager entirely and create a workalike that 
 supports ordered pseudocasts or some such 

 Certainly, I am up for other suggestions. 

 Thanks! 

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

 Android Training...At Your Office: 
 http://commonsware.com/**traininghttp://commonsware.com/training 

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

[android-developers] Re: how to accept a phone call programmitically

2012-05-18 Thread Pent
 Use the below code in the same package as specified and save as *
 ITelephony.aidl*

That's the method I had been using, but the needed permissions aren't
granted for most of the functions anymore.

  // Simulate a press of the headset button to pick up the

I'll give that a go, thanks.

Pent

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


Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread saran vonteddu
Hi Dear,

  try giving onConfiguration change in AndroidManifest for that
activity. May b it'll work.


regards,
Saran

On Fri, May 18, 2012 at 11:41 AM, Miha Valencic miha.valen...@gmail.comwrote:

 Kostya, I will try ASAP. I'm currently struggling with adb issue (my sgs2
 got OTA update to ICS, and now Ubuntu does not 'see' the device so can't
 test on the device. The emulator has it's own issues with soft keyboard.


 On Thu, May 17, 2012 at 12:39 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Following the code in EditText (actually, TextView), to see how
 android:imeOptions value is used, brings us here:

 https://github.com/android/**platform_frameworks_base/blob/**
 master/core/java/android/**widget/TextView.java#L5605https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/TextView.java#L5605

 @Override
 public InputConnection onCreateInputConnection(**EditorInfo outAttrs) {
 }

 ... which copies the value of imeOptions into outAttrs.imeOptions.

 Perhaps you could try doing the same in your view to see if it helps.

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

2012-05-18 Thread Ali Chousein
 I haven't understood what won Oracle and what won Google.
 What will be the conseguences of this debate?

Keep on innovating. Don't focus too much on things which are out of
your control. You like it or not, this case is out of your control and
like every other developer you'll have to just accept the outcome
(whatever that might be).

-
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://www.paygol.com/android/implementation
http://geo-filtered-assistant.blogspot.com

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


[android-developers] Re: Google lost vs Oracle.

2012-05-18 Thread sblantipodi
I have no problem in accepting the outcome but I would like to know what is 
this outcome if it is possible
and if there is something that we can know.

On Friday, May 18, 2012 9:36:44 AM UTC+2, Ali Chousein wrote:

  I haven't understood what won Oracle and what won Google. 
  What will be the conseguences of this debate? 

 Keep on innovating. Don't focus too much on things which are out of 
 your control. You like it or not, this case is out of your control and 
 like every other developer you'll have to just accept the outcome 
 (whatever that might be). 

 - 
 Ali Chousein 
 http://socialnav.blogspot.com | http://twitter.com/socialnav1 
 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy 
 http://www.paygol.com/android/implementation 
 http://geo-filtered-assistant.blogspot.com 


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

[android-developers] Re: print Via USB cable using micro usb to standar usb cable?

2012-05-18 Thread x300
There are two kinds of microUSB to standardUSB cables sold.
Many of them for smartphones are battery charging purpose only and
can't be used for data connection.  I wish there is an accepted rule
to apply different colors for the two kinds, but there isn't.
This is because smartphones have been designed to be USB client only,
unable to act as an USB host to accommodate peripherals like USB
mouse, keyboard, or a printer, up to Android 2.3.3; and the most
popular usage of microUSB connector has been for charging.

If you (and your users) have the kind of cable that connects
smartphones to PCs, and if you are developing only for Android 3.0 and
above including ICS, then what you are proposing is quite possible/
desirable.


On May 18, 3:04 pm, neil reuel.j...@gmail.com wrote:
 I initially developed an application that able to print image and text
 directly using usb cable. Is there anyone who already implemented
 this?

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

2012-05-18 Thread Live Happy
i using the Sherlock_ActionBar in my application and i want to make the
tabs swiping so is there any sample or code who can help me to make the
Sherlock_ActionBarr tabs use pager

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

2012-05-18 Thread ttgdz
 when I add a overlay to my mapview ,I receive this problem:It has no
exception,but  activity idle timeout for historyrecord.I am doing a
project about google map.

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


Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Miha Valencic
Kostya,

fixed the ICS connectivity issue. Even with flagNoExtractUi flag set on my
view, the behaviour is the same.

Dianne, you mentioned the browser app ' does set a flag with the IME to
tell it that it would like it to try harder to not go into extract mode'.
Is this the flag you were talking about?

Just for clarification purposes, I will explain again what the problem is:
the keyboard shows up, over 2/3 of the screen in landscape mode. There are
some onMeasure events going on, but the view window width/height is not
being shrinked (like in portrait mode). Since I am showing a remote desktop
in that view, it is necessary for the user to be able to see the whole view
even when the keyboard is shown.

I'll prepare a simple repro of the problem so perhaps a good soul can test
this on another device as well.

Regards,
 Miha.

On Fri, May 18, 2012 at 8:11 AM, Miha Valencic miha.valen...@gmail.comwrote:

 Kostya, I will try ASAP. I'm currently struggling with adb issue (my sgs2
 got OTA update to ICS, and now Ubuntu does not 'see' the device so can't
 test on the device. The emulator has it's own issues with soft keyboard.


 On Thu, May 17, 2012 at 12:39 PM, Kostya Vasilyev kmans...@gmail.comwrote:

 Following the code in EditText (actually, TextView), to see how
 android:imeOptions value is used, brings us here:

 https://github.com/android/**platform_frameworks_base/blob/**
 master/core/java/android/**widget/TextView.java#L5605https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/TextView.java#L5605

 @Override
 public InputConnection onCreateInputConnection(**EditorInfo outAttrs) {
 }

 ... which copies the value of imeOptions into outAttrs.imeOptions.

 Perhaps you could try doing the same in your view to see if it helps.



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

2012-05-18 Thread Jason Teagle
Has anyone tried out Ms-Healthvault with android. I search it for 2 days 
and all i

got is HealthVault Java Library .
I follow all steps successfully but unable to figure how to get start with 
basic application.


Have you also followed the 'Getting Started' steps outlined here:

http://healthvaultjavalib.codeplex.com/wikipage?title=Getting%20StartedreferringTitle=Home


? It appears to include a sample app, so if you are still unable to get 
started with an app after reading how that sample does its stuff then 
perhaps it is beyond the scope of this list. I would suggest it's more of a 
support issue for the Discussion section of that site:


http://healthvaultjavalib.codeplex.com/discussions


--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: java.lang.OutOfMemoryError on 4.0.3 APV and phone not in 2.1 2.3

2012-05-18 Thread Solution 9420
? NewsGroup
OK. I'm guessing here from my 2-day observation on this case.

[First of All, this is the good reading. May not relate to this case]
http://developer.android.com/resources/articles/avoiding-memory-leaks.html

[What I did]
- In my case is about those global bitmap. (I cache my own (image) view).
- Manually free bitmap to assist Garbage Collection activity. 
I have not got to the bottom of this item. But the symptom seems to go away.


Best Regards,
Solution 9420


[My code is like these]

private Bitmap   bp=null;

void main() {
..
..
}

onOrientationChage() {

if( bp != null) 
bp.recycle(); //Delete any references to this bitmap, mark as NotUsed

bp = buildNewViewCache();

}

Bitmap buildNewViewCache() {

Bitmap  newAllocatedBP = new bitMap(.);

return newAllocatedBP;
}

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

2012-05-18 Thread Kristopher Micinski
It also ... Just might not be that useful.

How are you going to get these apps to send you data?

If they're not written to, you can't force them to.

kris

On Fri, May 18, 2012 at 2:41 AM, TreKing treking...@gmail.com wrote:
 On Thu, May 17, 2012 at 11:12 PM, CaRRtel Industres
 carrtelindustr...@gmail.com wrote:

 Yes Kris, that is correct. I apologize for not knowing the technical
 terms. Now do you know how to help TreKing?


 What Kris described is very broad and generic. There are plenty of examples
 out there for using ListView. What have you tried so far? What *exactly* are
 you having trouble with?


 -
 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] ndk-stack error : Error (3): No such process

2012-05-18 Thread Berat Onur Ersen
Hello,

I'm having problem with my library that I successfully compiled to be 
debugged on NDK.

My application crashes and exists abnormally so I wanted to search why this 
is happening.

I found ndk-stack can be a way to understand where it crashes so first read 
documentation of ndk-stack and then 
tried to apply ndk-stack method on my library.

But when I try to run ndk-stack on cygwin as follows it gives No such 
process error.

Anybody knows why this happens?

Thank you.

*$ ./ndk-stack -sym data/data/com.project.myproject/lib -dump ../logcat.txt*
** Crash dump: **
Build fingerprint: 
'Huawei/U8650/hwu8650:2.3.3/HuaweiU8650/C00B824_NFCFW:user/release-keys'
pid: 16976, tid: 16989   com.project.myproject 
*signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr fffb*
Stack frame #00  pc 810cd3b0  *
/data/data/com.project.myproject/lib/libndk_databases.so:* Unable to open 
symbol file data/da
ta/com.project.myproject/lib/libndk_databases.so. *Error (3): No such 
process*

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

Re: [android-developers] itinerary under Maps

2012-05-18 Thread Abdelali BADDAR
sorry but how i can use that?

2012/5/18 TreKing treking...@gmail.com

 On Thu, May 17, 2012 at 8:48 AM, Abdelali BADDAR ab.bad...@gmail.comwrote:

 I want to implement a  itinerary between 2 adresses in the maps of my
 application,can you help me.


 Help you with what?
 http://www.catb.org/~esr/faqs/smart-questions.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




-- 


Cordialement,
==
Abdelali   BADDAR
élève ingénieur à l'Ecole Nationale Supérieure d'Informatique et d'Analyse
des Systèmes
3ème année
option Systèmes Embarqués et Mobiles

Tel: (+212) 06.74.87.33.60



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

Re: [android-developers] Error in Base IceCream Sandwitch Android code.

2012-05-18 Thread Shruthi Varma
Thanks for your suggestion. I don't know whether my expected behavior is
correct. But I am sure receiving an incoming call is of high priority in an
android phone. So, what if the user is not capable of taking calls when the
progressDialog is running. If the progressDialog is hidden to take the
call, it can again be made visible after the user has cut the call.
This behavior can be seen in any app, but not here.

Regards,
Shruthi.



On Thu, May 17, 2012 at 3:00 PM, Daniel Drozdzewski 
daniel.drozdzew...@gmail.com wrote:

 Shruthi,

 1. This is wrong forum.
 2. It is questionable, whether your expected behaviour is the correct
 one. If it were correct, it would present a backdoor to secured phone.
 Security that can be subverted is not a security.





 On 17 May 2012 10:24, Shruthi Varma shruthi.tlis...@gmail.com wrote:
  Hi All,
 
  There is a bug in Base IceCream Sandwitch Android code because I
 encountered
  a problem in Google Nexus phone having Android 4.0 (Ice Cream Sandwich).
 
  [Steps]
  1. Set up a Gmail account in an Android device.
  2. Set up a Security lock, may be a Pin/ pattern Screen Lock in
  Setting - Security and lock the phone (by pressing power button).
  3. Phone screen is locked with PIN/ Pattern. Enter wrong  PIN/ Pattern 5
  times and phone displays Forgot PIN?.
  4. Press Forgot PIN, enter correct gmail account and password, then
 press
  Sign in, phone is checking i.e a ProgressDialog box appears displaying
  checking on the screen.
  5. Give a call to this device from any other device during this time when
  the deice is checking the Gmail credentials. We can see the incoming call
  Screen in the background of the ProgressDialog as seen in the screenshot
  attached. Hence the user cannot answer the call till it finishes checking
  and dismiss the dialog box.
 
  Hence, we cannot answer the incoming call during checking gmail account
 when
  user forgot PIN code.
 
 
  The code to this dialog box is in android base ICS -
 
 (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java).
  You can access this code here. (Please a take a look
 at getProgressDialog()
  method in here. The progressDialog is hidden after getting the results
 or in
  cleanUp() method.)
 
 
  Please help me fixing this issue.
 
 
  Thanks and Regards,
 
  Shruthi.
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en



 --
 Daniel Drozdzewski

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

2012-05-18 Thread Jason Teagle

I don't know whether my expected behavior is correct.


I would say it *is* correct. Consider the case where your phone is in 
someone else's hands, and a call comes in that is of a sensitive nature. 
Would you want them answering that call and pretending to be you?


Until the process of authorizing is complete, whoever has the phone - even 
you - is considered *not* the valid owner of the phone. The phone can't tell 
it's really you - Joe Bloggs could pick up your phone, type in a random pin, 
and click Forgot PIN? The fact that it is the Forgot PIN mechanism *doesn't* 
mean it's *definitely* the rightful owner using it. That's exactly the kind 
of trick a hacker would try - looking for loopholes in / during the 
validation mechanisms.



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


Re: [android-developers] Error in Base IceCream Sandwitch Android code.

2012-05-18 Thread Kristopher Micinski
Your point is at a high level, it's not a bug per se, in the
outright sense, so it's more likely going to be perceived as a
feature.

Along with this being the wrong list, I doubt that you'll get this
fixed even if you submit a patch..

kris

On Fri, May 18, 2012 at 8:33 AM, Shruthi Varma
shruthi.tlis...@gmail.com wrote:
 Thanks for your suggestion. I don't know whether my expected behavior is
 correct. But I am sure receiving an incoming call is of high priority in an
 android phone. So, what if the user is not capable of taking calls when the
 progressDialog is running. If the progressDialog is hidden to take the call,
 it can again be made visible after the user has cut the call.
 This behavior can be seen in any app, but not here.

 Regards,
 Shruthi.



 On Thu, May 17, 2012 at 3:00 PM, Daniel Drozdzewski
 daniel.drozdzew...@gmail.com wrote:

 Shruthi,

 1. This is wrong forum.
 2. It is questionable, whether your expected behaviour is the correct
 one. If it were correct, it would present a backdoor to secured phone.
 Security that can be subverted is not a security.





 On 17 May 2012 10:24, Shruthi Varma shruthi.tlis...@gmail.com wrote:
  Hi All,
 
  There is a bug in Base IceCream Sandwitch Android code because I
  encountered
  a problem in Google Nexus phone having Android 4.0 (Ice Cream Sandwich).
 
  [Steps]
          1. Set up a Gmail account in an Android device.
          2. Set up a Security lock, may be a Pin/ pattern Screen Lock in
  Setting - Security and lock the phone (by pressing power button).
  3. Phone screen is locked with PIN/ Pattern. Enter wrong  PIN/ Pattern 5
  times and phone displays Forgot PIN?.
  4. Press Forgot PIN, enter correct gmail account and password, then
  press
  Sign in, phone is checking i.e a ProgressDialog box appears displaying
  checking on the screen.
  5. Give a call to this device from any other device during this time
  when
  the deice is checking the Gmail credentials. We can see the incoming
  call
  Screen in the background of the ProgressDialog as seen in the screenshot
  attached. Hence the user cannot answer the call till it finishes
  checking
  and dismiss the dialog box.
 
  Hence, we cannot answer the incoming call during checking gmail account
  when
  user forgot PIN code.
 
 
  The code to this dialog box is in android base ICS -
 
  (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java).
  You can access this code here. (Please a take a look
  at getProgressDialog()
  method in here. The progressDialog is hidden after getting the results
  or in
  cleanUp() method.)
 
 
  Please help me fixing this issue.
 
 
  Thanks and Regards,
 
  Shruthi.
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en



 --
 Daniel Drozdzewski

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


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

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


[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-18 Thread arsalank2
I also need it for the same reasons and unable to find a workaround. I
also notice similar behavior if switched between portrait and portrait
inverted, the onConfigurationChanged() is not called.

On Mar 29, 2:21 am, Mark Carter mjc1...@googlemail.com wrote:
 In my case, I need to for the camera (otherwise the image will appear
 upside down).

 Some apps (like Paper Camera) get around this by not allowing the screen to
 rotate, and so the SurfaceView (used by the Camera) is more like a window
 (through the device).

 At risk of this post going off on a tangent, the window strategy makes
 sense. In other words, when the user rotates the screen, leave the
 SurfaceView as it is and only reposition/redraw the controls. I imagine
 this is quite hard (because you would be effectively drawing the controls
 upside down), and so not worth the effort.

 Other reasons for caring about which side the screen is up, include
 anything that uses the orientation sensor, such as games.







 On Thursday, March 29, 2012 2:06:51 PM UTC+8, Zsolt Vasvari wrote:

  Just curious, why do you care which side of the screen is up?

  On Thursday, March 29, 2012 9:57:14 AM UTC+8, Mark Carter wrote:

  I've seen a few other questions similar to this but no answers.

  Rotating from portrait to landscape (either direction) and back again, we
  get the helpful call to onConfigurationChanged().

  However, when rotating from landscape to landscape (through 180 degrees)
  onConfigurationChanged() is not called.

  I've seen mention of using OrientationEventListener but this seems flakey
  to me because you can rotate quickly around without triggering a display
  orientation change.

  I've tried adding a layout change listener, but with no success.

  So the question is, how to reliably detect such a change in landscape
  orientation?

  Note: I also posted this on SO:
 http://stackoverflow.com/questions/9909037/how-to-detect-screen-rotat...

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


[android-developers] How to implement Google Drive in Android application?

2012-05-18 Thread imran ali
Hi All,
Has any one implemented Google Drive in android project?
In one of my application I have to keep some of audio files of
application on Could to save phone/sdcard memory.
So I am trying  Google Drive, but I did not found any suitable APIs or
example to implement.
I have gone through API documentation of Google Drive, but not able to
implement.

If any one know/has implemented then please help me.

Regards
Imran Ali

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


Re: [android-developers] How to implement Google Drive in Android application?

2012-05-18 Thread Jason Teagle

So I am trying  Google Drive, but I did not found any suitable APIs or
example to implement.
I have gone through API documentation of Google Drive, but not able to
implement.


It seems you have to use the Document List API, as Drive is currently aimed 
at Chrome.


See:
http://stackoverflow.com/questions/10330053/google-drive-docs-api-for-android/10330497#10330497

and:
http://stackoverflow.com/questions/10306456/android-api-for-google-drive


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


[android-developers] How to scroll the 'Gallery' widget through code?

2012-05-18 Thread Put_tiMe
I am trying to scroll a 'Gallery' widget programmatically.

I actually scroll the gallery manually. Then when I do a 'getScrollX and 
Y', then it always returns me 0.
It always returns me 'zero' no matter how much ever I have scrolled.

How do I do this then?


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] what will be the requirement and proposal of stock brokerage apps for android

2012-05-18 Thread Jason Teagle
what will be the requirement and proposal of stock brokerage apps for 
android apps that
i have to develop the apps should have following features so pls help me in 
making of

apps requirement and proposal of the apps.


Even if this were the most appropriate group for your question, you are 
unlikely to get any help on this. If this is your project, shouldn't *you* 
be the one to work out requirements and proposals? We're not getting paid 
for being here, so we're not going to put time and effort into helping 
someone else secure / outline a project. If this is your work - or worse, an 
assignment for a study course - then at the very least you could try hitting 
your favourite search engine with terms something like how to outline 
software project requirements and proposal. You'd be surprised what a good 
search engine will turn up.



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


Re: [android-developers] How to play audio while in call...

2012-05-18 Thread chaitu
*Yeah.I have been googling since a month.But finally i came to know this is
not possible in android.If you get any solution please get back to us.

Thanks,
Chaitanya
*
On Thu, May 17, 2012 at 6:43 PM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 Google the history of this list for in call audio stream.  This
 question is asked at least once a week, the answer is no.

 kris

 On Thu, May 17, 2012 at 6:25 AM, saran vonteddu saran.myw...@gmail.com
 wrote:
  yeah, I already tried playing the audio while in speaker mode, but its
 not
  audible clearly.
 
  Is there any other way to implement this in android. May be any APIs
  available to convert
 
  text to speech while in call, so that the other party can listen
 clearly. I
  don't know, I'm just
 
  asking if there is any way.
 
 
  please let me know...
 
  regards,
  Saran
 
 
  On Thu, May 17, 2012 at 10:18 AM, asheesh arya asheesharya...@gmail.com
 
  wrote:
 
  not possible in android sdk..
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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




-- 
*
With best regards,*
*Chaitanya*
**

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

Re: [android-developers] How to play audio while in call...

2012-05-18 Thread Kristopher Micinski
The underlying telephony isn't exposed to the OS, much less the API,
so basically, this is impossible.

kris

On Fri, May 18, 2012 at 11:01 AM, chaitu chaitu...@gmail.com wrote:
 Yeah.I have been googling since a month.But finally i came to know this is
 not possible in android.If you get any solution please get back to us.

 Thanks,
 Chaitanya

 On Thu, May 17, 2012 at 6:43 PM, Kristopher Micinski
 krismicin...@gmail.com wrote:

 Google the history of this list for in call audio stream.  This
 question is asked at least once a week, the answer is no.

 kris

 On Thu, May 17, 2012 at 6:25 AM, saran vonteddu saran.myw...@gmail.com
 wrote:
  yeah, I already tried playing the audio while in speaker mode, but its
  not
  audible clearly.
 
  Is there any other way to implement this in android. May be any APIs
  available to convert
 
  text to speech while in call, so that the other party can listen
  clearly. I
  don't know, I'm just
 
  asking if there is any way.
 
 
  please let me know...
 
  regards,
  Saran
 
 
  On Thu, May 17, 2012 at 10:18 AM, asheesh arya
  asheesharya...@gmail.com
  wrote:
 
  not possible in android sdk..
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
  android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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




 --

 With best regards,
 Chaitanya

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Need explanation of traceview's Calls+RecurCalls/Total column

2012-05-18 Thread glenviewjeff
I have the same confusion about the TraceView documentation as this 
unanswered Stack Overflow questionhttp://stackoverflow.com/q/9397674/403455
.

I am looking at this page: Profiling with Traceview and 
dmtracedumphttp://developer.android.com/guide/developing/debugging/debugging-tracing.html
*The last column in the table shows the number of calls to this method plus 
the number of recursive calls. The last column shows the number of calls 
out of the total number of calls made to that method. In this view, we can 
see that there were 14 calls to LoadListener.nativeFinished(); looking at 
the timeline panel shows that one of those calls took an unusually long 
time.*

 I am confused by this description. First, the 1st two sentences in this 
quote seem to be referring to the same column. So what does this last 
column actually contain? 

Can you please help me make sense of this text. Thanks much!

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

2012-05-18 Thread Put_tiMe
Doesn't 'Gallery' widget support multiple rows?

It just shows one row, no matter what ever I try.

Basically I want 'GridView' widget with horizontal scrolling only.


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

2012-05-18 Thread chaitu
*Hi,
It is not possible in android until you enable the phone in speaker
mode.then only the quality will some what good otherwise the recorded audio
quality is very low.




Thanks,
Chaitanya
*
On Wed, May 16, 2012 at 11:45 AM, asheesh arya asheesharya...@gmail.comwrote:

 i waste almost 20 days on this topic how to record a call in android. the
 last conclusion is it doesnot possible in android

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




-- 
*
With best regards,*
*Chaitanya*
**

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

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Kostya Vasilyev
I'm not Dianne, but will point out that Browser sources are available in 
the public repository.


-- K

18.05.2012 14:00, Miha Valencic ???:

Kostya,

fixed the ICS connectivity issue. Even with flagNoExtractUi flag set 
on my view, the behaviour is the same.


Dianne, you mentioned the browser app ' does set a flag with the IME 
to tell it that it would like it to try harder to not go into extract 
mode'. Is this the flag you were talking about?


Just for clarification purposes, I will explain again what the problem 
is: the keyboard shows up, over 2/3 of the screen in landscape mode. 
There are some onMeasure events going on, but the view window 
width/height is not being shrinked (like in portrait mode). Since I am 
showing a remote desktop in that view, it is necessary for the user to 
be able to see the whole view even when the keyboard is shown.


I'll prepare a simple repro of the problem so perhaps a good soul can 
test this on another device as well.


Regards,
 Miha.

On Fri, May 18, 2012 at 8:11 AM, Miha Valencic 
miha.valen...@gmail.com mailto:miha.valen...@gmail.com wrote:


Kostya, I will try ASAP. I'm currently struggling with adb issue
(my sgs2 got OTA update to ICS, and now Ubuntu does not 'see' the
device so can't test on the device. The emulator has it's own
issues with soft keyboard.


On Thu, May 17, 2012 at 12:39 PM, Kostya Vasilyev
kmans...@gmail.com mailto:kmans...@gmail.com wrote:

Following the code in EditText (actually, TextView), to see
how android:imeOptions value is used, brings us here:


https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/TextView.java#L5605

@Override
public InputConnection onCreateInputConnection(EditorInfo
outAttrs) {
}

... which copies the value of imeOptions into outAttrs.imeOptions.

Perhaps you could try doing the same in your view to see if it
helps.


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


--
Kostya Vasilyev

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

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-18 Thread Miha Valencic
:) tnx. I'll have a look.

Miha

On May 18, 2012 5:33 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 I'm not Dianne, but will point out that Browser sources are available in
the public repository.

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

2012-05-18 Thread jadranko bodiroga
Is there chanse to refresh all multimedia i on SDC?

On May 15, 2012 10:01 PM, baturanija1 jadrankobodiroga1...@gmail.com
wrote:

 Hey people,any command to mount/unmount SDC .or link to help.. thanks
 for sharing

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

2012-05-18 Thread TreKing
On Fri, May 18, 2012 at 4:00 AM, Simon Giddings mr.s.giddi...@gmail.comwrote:

 Here I loop through 11235 GeoPoint objects


That seems like a lot in one draw call. So the next question is, do you
need to draw lines between 11,235 points every frame?
Before you get to the actual drawing, you should reduce that list size to
the absolute minimum required to get your results.

-
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] itinerary under Maps

2012-05-18 Thread TreKing
On Fri, May 18, 2012 at 6:45 AM, Abdelali BADDAR ab.bad...@gmail.comwrote:

 sorry but how i can use that?


You read it, digest what it says, think about it, then use those concepts
to update your post so the question you're asking makes sense to the rest
of us.

-
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] Multiple rows in 'Gallery' widget.

2012-05-18 Thread Justin Anderson

 Doesn't 'Gallery' widget support multiple rows?


No

It just shows one row, no matter what ever I try.


That is correct...

 Basically I want 'GridView' widget with horizontal scrolling only.


Then you are going to have to write your own class, or depending on what
you need, you might be able to use ViewPager...
http://developer.android.com/reference/android/support/v4/view/ViewPager.html

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


On Fri, May 18, 2012 at 9:16 AM, Put_tiMe putt...@gmail.com wrote:

 Doesn't 'Gallery' widget support multiple rows?

 It just shows one row, no matter what ever I try.

 Basically I want 'GridView' widget with horizontal scrolling only.


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

2012-05-18 Thread CaRRtel Industres
My app will receive data using the easy share function, nothing 
complicated. But I specifically need help with telling my app that once it 
receives some data from an app, it now needs to display it on screen. And 
then the next time it receives display that also, listed underneath the 
first. SImilar to how when a phone receives a text it displays it, then a 
second text comes in below it.

On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help 
 doing is taking the incoming data and putting it in a box. That way all the 
 data is stacked nicely in a list view. Does any one know how to do this? 

 Thanks In Advance. -Carrtel


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

Re: [android-developers] How to scroll the 'Gallery' widget through code?

2012-05-18 Thread Justin Anderson
You could try setSelection(int pos, boolean animate)...
http://developer.android.com/reference/android/widget/AbsSpinner.html#setSelection%28int,%20boolean%29

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


On Fri, May 18, 2012 at 8:24 AM, Put_tiMe putt...@gmail.com wrote:

 I am trying to scroll a 'Gallery' widget programmatically.

 I actually scroll the gallery manually. Then when I do a 'getScrollX and
 Y', then it always returns me 0.
 It always returns me 'zero' no matter how much ever I have scrolled.

 How do I do this then?


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

2012-05-18 Thread Kristopher Micinski
what is the easy share function?  Do you mean you're registering to
catch a broadcast intent?

All that you do is stick whatever you receive in a database, and then
display elements from that database in a ListView when you open the
app.

kris


On Fri, May 18, 2012 at 1:18 PM, CaRRtel Industres
carrtelindustr...@gmail.com wrote:
 My app will receive data using the easy share function, nothing complicated.
 But I specifically need help with telling my app that once it receives some
 data from an app, it now needs to display it on screen. And then the next
 time it receives display that also, listed underneath the first. SImilar to
 how when a phone receives a text it displays it, then a second text comes in
 below it.


 On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help
 doing is taking the incoming data and putting it in a box. That way all the
 data is stacked nicely in a list view. Does any one know how to do this?

 Thanks In Advance. -Carrtel

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

2012-05-18 Thread Justin Anderson
What exactly is the easy share function?

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


On Fri, May 18, 2012 at 11:18 AM, CaRRtel Industres 
carrtelindustr...@gmail.com wrote:

 My app will receive data using the easy share function, nothing
 complicated. But I specifically need help with telling my app that once it
 receives some data from an app, it now needs to display it on screen. And
 then the next time it receives display that also, listed underneath the
 first. SImilar to how when a phone receives a text it displays it, then a
 second text comes in below it.


 On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help
 doing is taking the incoming data and putting it in a box. That way all the
 data is stacked nicely in a list view. Does any one know how to do this?

 Thanks In Advance. -Carrtel

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

2012-05-18 Thread CaRRtel Industres
Easy Share is just a button in the action bar like at the top of the Play 
Store so you can share whatever you are looking at. Thanks Kris, I can use 
a database but I am unfamiliar with ways of getting my app to display what 
it receives. I am assuming it won't do this automatically, right?

On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help 
 doing is taking the incoming data and putting it in a box. That way all the 
 data is stacked nicely in a list view. Does any one know how to do this? 

 Thanks In Advance. -Carrtel


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

2012-05-18 Thread Talha Qamar
Hi i need some assistance on android apps development.I wanna make a simple
file transfer protocol(ftp) for android devicesUser simply selects some
files from his smart phones and then ftp transfer these files to specific
web server.Please i need some help...If you do have some ideas, knowledge
and code about this app...Please do share with me...Hope you will reply
soon..bye

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

2012-05-18 Thread Kristopher Micinski
Of course not.. You use a list view.

I'm more concerned about how you think you can receive data from the
'easy share' button.  What does your app do?  Why do you need to store
the data?  What do you really want to do.

You might want to go through the Android tutorials more, ListView
shows up pretty early, and is used quite a bit.   There are, of
course, tons of other ways of listing things within a UI, as well...

kris

On Fri, May 18, 2012 at 1:30 PM, CaRRtel Industres
carrtelindustr...@gmail.com wrote:
 Easy Share is just a button in the action bar like at the top of the Play
 Store so you can share whatever you are looking at. Thanks Kris, I can use a
 database but I am unfamiliar with ways of getting my app to display what it
 receives. I am assuming it won't do this automatically, right?


 On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help
 doing is taking the incoming data and putting it in a box. That way all the
 data is stacked nicely in a list view. Does any one know how to do this?

 Thanks In Advance. -Carrtel

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

2012-05-18 Thread Talha Qamar
Hi i need some assistance on android apps development.I wanna make a simple
file transfer protocol(ftp) for android devicesUser simply selects some
files from his smart phones and then ftp transfer these files to specific
web server.Please i need some help...If you do have some ideas, knowledge
and code about this app...Please do share with me...Hope you will reply
soon..bye

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

2012-05-18 Thread Kristopher Micinski
this was also cross posted to multiple lists... You might just have
wanted to try android-developers...

However, this has nothing to do with Android.  It's just java ftp.
There are already a number of ftp apps for Android anyway...

kris

On Fri, May 18, 2012 at 1:44 PM, Talha Qamar talha.kicsi...@gmail.com wrote:
 Hi i need some assistance on android apps development.I wanna make a simple
 file transfer protocol(ftp) for android devicesUser simply selects some
 files from his smart phones and then ftp transfer these files to specific
 web server.Please i need some help...If you do have some ideas, knowledge
 and code about this app...Please do share with me...Hope you will reply
 soon..bye

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

2012-05-18 Thread CaRRtel Industres
Oh okay. My main layout is in list view so hopefully that'll work. But 
it'll receive text, like links from the internet and store them so you can 
remember to read the articles later.

On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help 
 doing is taking the incoming data and putting it in a box. That way all the 
 data is stacked nicely in a list view. Does any one know how to do this? 

 Thanks In Advance. -Carrtel


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

2012-05-18 Thread Karakuri Dev
Thanks, I probably never would have found that on my own. But this means 
that on devices below API 11, I can't have a default style/behavior set for 
this widget. Are there any workarounds for lower API levels? I want to 
avoid doing something this ...

setClickable(true);


... in the constructor, because even though I might expect this widget to 
be clickable, another developer might want to use it differently. If he 
puts clickable=false in the xml, then this line of code undermines his 
design.


On Friday, May 18, 2012 10:25:57 AM UTC-7, Kostya Vasilyev wrote:

 The three-argument version of LinearLayout constructor is only available 
 with API 11 and higher -- i.e. Android 3.0.

 This dependency has to be satisfied at runtime by the actual Android 
 version running on the device.

 -- K



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

2012-05-18 Thread Justin Anderson
You might want to take a look at these as well:

http://developer.android.com/training/sharing/send.html
http://developer.android.com/training/sharing/receive.html
http://developer.android.com/training/sharing/shareaction.html

I don't think you fully understand how sharing data between apps in android
actually works...

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


On Fri, May 18, 2012 at 11:43 AM, Kristopher Micinski 
krismicin...@gmail.com wrote:

 Of course not.. You use a list view.

 I'm more concerned about how you think you can receive data from the
 'easy share' button.  What does your app do?  Why do you need to store
 the data?  What do you really want to do.

 You might want to go through the Android tutorials more, ListView
 shows up pretty early, and is used quite a bit.   There are, of
 course, tons of other ways of listing things within a UI, as well...

 kris

 On Fri, May 18, 2012 at 1:30 PM, CaRRtel Industres
 carrtelindustr...@gmail.com wrote:
  Easy Share is just a button in the action bar like at the top of the Play
  Store so you can share whatever you are looking at. Thanks Kris, I can
 use a
  database but I am unfamiliar with ways of getting my app to display what
 it
  receives. I am assuming it won't do this automatically, right?
 
 
  On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:
 
  My app is set to receive incoming data from other apps. What I need help
  doing is taking the incoming data and putting it in a box. That way all
 the
  data is stacked nicely in a list view. Does any one know how to do this?
 
  Thanks In Advance. -Carrtel
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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


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

Re: [android-developers] Re: Listing Incoming Data

2012-05-18 Thread Kristopher Micinski
On Fri, May 18, 2012 at 1:55 PM, CaRRtel Industres
carrtelindustr...@gmail.com wrote:
 Oh okay. My main layout is in list view so hopefully that'll work. But it'll
 receive text, like links from the internet and store them so you can
 remember to read the articles later.


But *how* does it receive that.

kris

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


[android-developers] Re: Listing Incoming Data

2012-05-18 Thread CaRRtel Industres
With an intent just like MagouyaWare referenced to in his links

On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help 
 doing is taking the incoming data and putting it in a box. That way all the 
 data is stacked nicely in a list view. Does any one know how to do this? 

 Thanks In Advance. -Carrtel


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

2012-05-18 Thread Justin Anderson

 With an intent just like MagouyaWare referenced to in his links

I don't think you fully grasp the context of the links I shared...

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


On Fri, May 18, 2012 at 12:08 PM, CaRRtel Industres 
carrtelindustr...@gmail.com wrote:

 With an intent just like MagouyaWare referenced to in his links


 On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help
 doing is taking the incoming data and putting it in a box. That way all the
 data is stacked nicely in a list view. Does any one know how to do this?

 Thanks In Advance. -Carrtel

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

2012-05-18 Thread Meryeme Ayache
hey every!!

I am wondering how can I integrate some commands in Android; I
found that they are not all of them included in Android shell adb that is
why I am wondering if I can integrate strace for example in Android and how
can I do that. I beleive that I have to download the code of strace and put
it in the AOSP and then rebuild the whole code but I am wondering where
shall I put it exactly? thank you so much for your help!!

-- 
Meryeme Ayache.*
**Computer Science Engineer
**Ecole Nationale Supérieure d'Informatique et d'Analyse des Systèmes
(Rabat)*
*Information Security System Major.
*
*
*
*
*

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

2012-05-18 Thread ASHISH
Hi,
 I want to create a avd based on GT-S5760 Samsung, Screen Resolution
2592 x 1944 , My Problem is every time when i create AVD with above
configuration My Emulator did not start .I am using SDK 4.0.

Please help!!
Thanks And Regards
Ashish Keshri

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

2012-05-18 Thread Justin Anderson
http://lmgtfy.com/?q=android+sectioned+adapter

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


On Fri, May 18, 2012 at 12:11 AM, Jovish P android.f...@gmail.com wrote:



 -- Forwarded message --
 From: Jovish P android.f...@gmail.com
 Date: Fri, May 18, 2012 at 11:39 AM
 Subject: Listview with multiple layout
 To: Android Developers android-developers@googlegroups.com


 In our app we have to show a screen just like below.  The data is in a
 hash map with key value pairs.
 We want to show the keys of hashmap as header item of Listview and values
 for that keys  as item layout under that key.
  Please help us how to implement this.

 Regards,
 Jovish

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

2012-05-18 Thread Kristopher Micinski
Yeah, but how do you get the app to send the stuff to you.

If app X sends out data, but doesn't know that your app Y exists, then...

How the heck do you expect to get the data?

There is an answer to this, ...

kris

On Fri, May 18, 2012 at 2:08 PM, CaRRtel Industres
carrtelindustr...@gmail.com wrote:
 With an intent just like MagouyaWare referenced to in his links


 On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help
 doing is taking the incoming data and putting it in a box. That way all the
 data is stacked nicely in a list view. Does any one know how to do this?

 Thanks In Advance. -Carrtel

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

2012-05-18 Thread CaRRtel Industres
That's a good question. I figured it would automatically show up in the 
list of viable options

On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help 
 doing is taking the incoming data and putting it in a box. That way all the 
 data is stacked nicely in a list view. Does any one know how to do this? 

 Thanks In Advance. -Carrtel


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

2012-05-18 Thread Kristopher Micinski
It will, but you have to write the correct intent filter...

kris

On Fri, May 18, 2012 at 3:03 PM, CaRRtel Industres
carrtelindustr...@gmail.com wrote:
 That's a good question. I figured it would automatically show up in the list
 of viable options


 On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help
 doing is taking the incoming data and putting it in a box. That way all the
 data is stacked nicely in a list view. Does any one know how to do this?

 Thanks In Advance. -Carrtel

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

2012-05-18 Thread CaRRtel Industres
Ah, that makes sense. I'll do that now.

On Thursday, May 17, 2012 2:23:32 PM UTC-5, CaRRtel Industres wrote:

 My app is set to receive incoming data from other apps. What I need help 
 doing is taking the incoming data and putting it in a box. That way all the 
 data is stacked nicely in a list view. Does any one know how to do this? 

 Thanks In Advance. -Carrtel


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

2012-05-18 Thread Nathan
Apologies if everyone else found this more easily than I did.

I'm borrowing this device for the day.

Windows won't find a driver for it, even if I browse to the USB
drivers within the SDK.  I do have Windows Vista and a 64 bit laptop,
if that matters.

Developer.android.com directs me to HTC support page. HTC support page
doesn't appear to have a USB driver for it. It only had this really
large download called HTC Sync.

Where did everyone find these drivers or know how to modify one one of
the USB.inf files?

Yes, I have done a web search, but all I find is how to root, and I am
not doing that to my friend's phone.

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

2012-05-18 Thread Kostya Vasilyev
Back when HTC Hero was the latest and greatest smartphone ever, adb drivers
were included as part of the HTC Sync application.

If, on the other hand, you are inclined to rather hack the Google adb
driver's INF files, here is a couple links:

1)

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

2)

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

( or move to Linux for development... where you do the same, but in a way
that's a bit less scary... )

-- K

2012/5/18 Nathan nathan.d.mel...@gmail.com

 Apologies if everyone else found this more easily than I did.

 I'm borrowing this device for the day.

 Windows won't find a driver for it, even if I browse to the USB
 drivers within the SDK.  I do have Windows Vista and a 64 bit laptop,
 if that matters.

 Developer.android.com directs me to HTC support page. HTC support page
 doesn't appear to have a USB driver for it. It only had this really
 large download called HTC Sync.

 Where did everyone find these drivers or know how to modify one one of
 the USB.inf files?

 Yes, I have done a web search, but all I find is how to root, and I am
 not doing that to my friend's phone.

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

2012-05-18 Thread Tommy Hartz
I am not sure if this is the place to ask this but I thought some of you
might have some input on the LiveCode RunRev software for mobile phone
development. Is it any good? Is it worth putting in the time to learn how to
use it or is it better to just use Eclipse for a pure android app and the
other IDE's for say iphone and blackberry?

Thanks for the input,

Tommy

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

2012-05-18 Thread Gergely Juhász
Check out this example:
http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabsPager.html
It is easy to use it the same way with Sherlock Actionbar.

On 18 May 2012 10:37, Live Happy livehap...@gmail.com wrote:
 i using the Sherlock_ActionBar in my application and i want to make the tabs
 swiping so is there any sample or code who can help me to make the
 Sherlock_ActionBarr tabs use pager

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

2012-05-18 Thread CaRRtel Industres
Mine is having trouble starting also. Are you sure that phone has such a 
resolution?

On Friday, May 18, 2012 1:29:34 PM UTC-5, ASHISH wrote:

 Hi, 
  I want to create a avd based on GT-S5760 Samsung, Screen Resolution 
 2592 x 1944 , My Problem is every time when i create AVD with above 
 configuration My Emulator did not start .I am using SDK 4.0. 

 Please help!! 
 Thanks And Regards 
 Ashish Keshri

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Application's onCreate called multiple times in same process

2012-05-18 Thread Kevin TeslaCoil
I was having some unexpected behavior and crash reports and suspected that
my Application (not Activity) is having it's onCreate called multiple times
in the same process in some circumstances. As a test I added a static
boolean sOnCreateCalled and initialize it to false. In the application's
onCreate I check this value and if it's true submit a stacktrace. Then set
the value to true. ( http://pastebin.com/LPUHF4ey
trackException is a wrapper for ACRA).

Indeed I've received these stacktraces.

Does anyone have any insight onto what might cause an Application's
onCreate to be called multiple times in the same process? I cannot
reproduce the issue on my own devices. I have a few activities, including
some that request to run in different processes. And I have some manifest
broadcast receivers as well as an exported content provider.

Semi-related, I'm also logging all calls to onTerminate. As expected I
don't see any reports of that happening

Thanks,
-Kevin

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

2012-05-18 Thread JP


Try installing the Sync application, that may/should cover the One X.


On May 18, 12:34 pm, Nathan nathan.d.mel...@gmail.com wrote:
 Apologies if everyone else found this more easily than I did.

 I'm borrowing this device for the day.

 Windows won't find a driver for it, even if I browse to the USB
 drivers within the SDK.  I do have Windows Vista and a 64 bit laptop,
 if that matters.

 Developer.android.com directs me to HTC support page. HTC support page
 doesn't appear to have a USB driver for it. It only had this really
 large download called HTC Sync.

 Where did everyone find these drivers or know how to modify one one of
 the USB.inf files?

 Yes, I have done a web search, but all I find is how to root, and I am
 not doing that to my friend's phone.

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

2012-05-18 Thread JP

Try the Douglas-Peucker algorithm. There is an open-source
implementation of the Douglas-Peucker algorithm in Java in the
MyTracks Android project, which is licensed under Apache 2.0:
http://code.google.com/p/mytracks/source/browse/MyTracks/src/com/google/android/apps/mytracks/util/LocationUtils.java
Its in the method decimate().

On May 18, 10:06 am, TreKing treking...@gmail.com wrote:
 On Fri, May 18, 2012 at 4:00 AM, Simon Giddings 
 mr.s.giddi...@gmail.comwrote:

  Here I loop through 11235 GeoPoint objects

 That seems like a lot in one draw call. So the next question is, do you
 need to draw lines between 11,235 points every frame?
 Before you get to the actual drawing, you should reduce that list size to
 the absolute minimum required to get your results.

 -
 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: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-18 Thread JP

Read the accelerometer values. They should be distinct enough to
conclude the device orientation with confidence.


On May 18, 5:58 am, arsalank2 arsala...@gmail.com wrote:
 I also need it for the same reasons and unable to find a workaround. I
 also notice similar behavior if switched between portrait and portrait
 inverted, the onConfigurationChanged() is not called.

 On Mar 29, 2:21 am, Mark Carter mjc1...@googlemail.com wrote:







  In my case, I need to for the camera (otherwise the image will appear
  upside down).

  Some apps (like Paper Camera) get around this by not allowing the screen to
  rotate, and so the SurfaceView (used by the Camera) is more like a window
  (through the device).

  At risk of this post going off on a tangent, the window strategy makes
  sense. In other words, when the user rotates the screen, leave the
  SurfaceView as it is and only reposition/redraw the controls. I imagine
  this is quite hard (because you would be effectively drawing the controls
  upside down), and so not worth the effort.

  Other reasons for caring about which side the screen is up, include
  anything that uses the orientation sensor, such as games.

  On Thursday, March 29, 2012 2:06:51 PM UTC+8, Zsolt Vasvari wrote:

   Just curious, why do you care which side of the screen is up?

   On Thursday, March 29, 2012 9:57:14 AM UTC+8, Mark Carter wrote:

   I've seen a few other questions similar to this but no answers.

   Rotating from portrait to landscape (either direction) and back again, we
   get the helpful call to onConfigurationChanged().

   However, when rotating from landscape to landscape (through 180 degrees)
   onConfigurationChanged() is not called.

   I've seen mention of using OrientationEventListener but this seems flakey
   to me because you can rotate quickly around without triggering a display
   orientation change.

   I've tried adding a layout change listener, but with no success.

   So the question is, how to reliably detect such a change in landscape
   orientation?

   Note: I also posted this on SO:
  http://stackoverflow.com/questions/9909037/how-to-detect-screen-rotat...

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

2012-05-18 Thread JP


On May 18, 4:20 pm, JP joachim.pfeif...@gmail.com wrote:
 to conclude


Infer, rather, being nitpicky...

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

2012-05-18 Thread Nikolay Elenkov
On Sat, May 19, 2012 at 3:18 AM, Meryeme Ayache meryemeaya...@gmail.com wrote:
 hey every!!

         I am wondering how can I integrate some commands in Android; I found
 that they are not all of them included in Android shell adb that is why I am
 wondering if I can integrate strace for example in Android and how can I do
 that. I beleive that I have to download the code of strace and put it in the
 AOSP and then rebuild the whole code but I am wondering where shall I put it
 exactly? thank you so much for your help!!


You need busybox:

https://play.google.com/store/apps/details?id=stericson.busybox

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: surface (identity=xxxxx) is invalid, err=-19 (no such device)

2012-05-18 Thread Yan
At what exact points in your code does this happen?

On May 17, 9:55 pm, Tamás Kovács falcon.firebre...@gmail.com wrote:
 This is a logcat ERROR entry which I get in 3 (three) instance at the
 same time, but the game I develop works fine. I'm just worried because
 this is an error, not a warning. I get the 3 identical entries when my
 game screen (GLSurface) is resumed due to Activity.onResume(). The
 screen behavior is absolutely fine in the same practice.

 Details: my game is subject to GLSurfaceView.onResume() as well as
 orientation change (i.e. it's set to landscape in the manifest and in
 configchanges, but obviously Android needs to change orientation to
 landscape when I return from my home screen to the game). So I get the
 error shortly after the GL thread is resumed (during texture
 reloading).

 Should I worry? It's an Error, after all.

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

2012-05-18 Thread Yan
I would think that's going to grind the emulator to a near halt on
just about any machine, even if it has good drivers for that
resolution...

On May 18, 12:29 pm, ASHISH ashishkcusa...@gmail.com wrote:
 Hi,
  I want to create a avd based on GT-S5760 Samsung, Screen Resolution
 2592 x 1944 , My Problem is every time when i create AVD with above
 configuration My Emulator did not start .I am using SDK 4.0.

 Please help!!
 Thanks And Regards
 Ashish Keshri

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

2012-05-18 Thread Oleg Vaskevich
Until this is fixed (even without setRetainInstance()), my temporary 
workaround is:

Put the following into a subclass of the AsyncTaskLoader:

public static final SparseArrayObject loaderResults = new 
 SparseArrayObject(); 

 

 ... 

 

public void deliverResult(Object data) {
 loaderResults.put(getId(), data);
 } 

  

 ...


And then in your Fragment, put in something like this for onStart():

@Override
 public void onStart() {
 super.onStart();
 // Get any results that were not sent due to a bug with loaders
 // and send them manually
 SparseArrayObject rArray = AbstractTaskLoader.loaderResults;
 for (int i = 0; i  rArray.size(); ++i) {
 int loaderId = rArray.keyAt(i);
 // any code that you put in onLoadFinished() here, i.e. 
 dismissing dialog
 rArray.removeAt(i);
 }
 }


And also in onLoadFinished() don't forget to delete() that loader's key 
from this sparse array to prevent unneeded memory from being GCed.

Hope this helps someone.

On Friday, January 13, 2012 2:54:16 AM UTC-5, Dianne Hackborn wrote:

 Hi, we'll look at this issue, but I would generally recommend -- don't use 
 setRetainInstance() with loaders.  It is kind-of weird to do that.  One of 
 the big points of loaders is to take care of propagating state across 
 activity/fragment instances, so there is no need to retain the instance.

 On Mon, Dec 12, 2011 at 11:29 PM, kaciula catalin.moro...@gmail.comwrote:

 As I said, the initial bugs were fixed by revision 4 of ACL. However, 
 there is still a bug present in both the ACL and Android. I've tested it 
 with Android version 3.2 and 4.0. Check out the updated project at 
 https://github.com/**kaciula/BugRetainhttps://github.com/kaciula/BugRetain

 I think this is a pretty important bug. The scenario is this: From 
 activity A, go to activity B, switch once the orientation and go back to 
 activity A. As a consequence of this bug, I can't write an app with 
 fragments that use setRetainInstance and is available in both orientations. 
 I really need a workaround until the Android guys fix the issue. Thoughts?
  
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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

Re: [android-developers] Re: Problem with Emulator

2012-05-18 Thread akash khandare
hi, dear,
pl. check for the size of the screen , then give size of the screen and the
emulator automatically takes the resolution whichever is supported.
shrinivas
9890369077

On Sat, May 19, 2012 at 10:08 AM, Yan yinor...@gmail.com wrote:

 I would think that's going to grind the emulator to a near halt on
 just about any machine, even if it has good drivers for that
 resolution...

 On May 18, 12:29 pm, ASHISH ashishkcusa...@gmail.com wrote:
  Hi,
   I want to create a avd based on GT-S5760 Samsung, Screen Resolution
  2592 x 1944 , My Problem is every time when i create AVD with above
  configuration My Emulator did not start .I am using SDK 4.0.
 
  Please help!!
  Thanks And Regards
  Ashish Keshri

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