[android-developers] Compiling a SDK 2.1 app for 1.6 target

2010-03-03 Thread Joao Luis
Hello list. I admit, the levels of newbiness on my side are sky high and I haven't found what I'm looking for in the list or by searching google -- maybe I should improve my searching skills, who knows... The thing is, I'm developing an application which needs to use bluetooth. I started by using

[android-developers] Re: what's the IP address of development computer when dev phone try to connect it

2010-03-03 Thread pfunes
I also have the same problem, any idea?? thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+uns

[android-developers] content observer for calllog works on 1.6 but fails on 2.0

2010-03-03 Thread tjlian616
Dear all, I am working on a app that can monitor the change in call log and delete specific call history if it exists. The goal is to be able to never show call history with some contacts. It uses a ContentObserver to observe the change in CallLog.Calls. When onChange() gets called, it will do a

[android-developers] Android singletop singleinstance and singletask

2010-03-03 Thread Rajesh Muthu
Hi I've an design issue in implementing different types of launchmode for different activities. I've 5 Activities. VideoList VideoDetail FavoritesList VideoSearch VideoPlayer When the user starts the app it goes to VideoList that displays list of videos. Clicking on any of the Videos take th

[android-developers] Android Market source

2010-03-03 Thread tralston
I'm starting to learn how to use the android platform and one of the things I like is how the market is setup visually, and functionally. I've downloaded the whopping huge source code for the android platform, but I can't seem to find the Android Market app anywhere! I've done grep searches and all

Re: [android-developers] Re: image overlay

2010-03-03 Thread Mark Murphy
Floof wrote: > I think you should use a "MergeLayout". This way I managed to overlay > a LinearLayout over a SurfaceView. Android does not have a MergeLayout class. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Online Training: 26-30 April 2010: h

[android-developers] How to Clear Activity stack if using same activity multiple times?

2010-03-03 Thread Sam
So I have an app with Activity A. The layout on the activity is dynamic genearted. So it's possible that on Activity A a user hits a button that goes to "A" and the new page looks different, then a user clicks another button to go to "A" again. Now I have 2 Activities in the history stack. A, A, an

[android-developers] Re: Layout problems when setting windowIsFloating to true

2010-03-03 Thread westmeadboy
I'm inflating them using: inflate(R.layout.whatever, null) I just tried it your way but I get the same result. BTW, in getView(), I never reuse the convertView. I just inflate a new one each time. Anyway, isn't it odd that windowIsFloating should affect things in this way? On Mar 3, 10:16 pm, M

Re: [android-developers] developing for differant sizes

2010-03-03 Thread Adrian Vintu
AbsoluteLayout is deprecated. See here http://groups.google.com/group/android-developers/browse_thread/thread/570db5c34bb2265d?pli=1 http://groups.google.com/group/android-developers/browse_thread/thread/400f966b1e671e94?pli=1 and perhaps here http://adrianvintu.com/blogengine/post/Force-Local

Re: [android-developers] Android Market source

2010-03-03 Thread Mike Novak
The Market application is not open source. On 03/03/2010 03:47 PM, tralston wrote: I'm starting to learn how to use the android platform and one of the things I like is how the market is setup visually, and functionally. I've downloaded the whopping huge source code for the android platform, but

Re: [android-developers] Re: Layout problems when setting windowIsFloating to true

2010-03-03 Thread Mark Murphy
westmeadboy wrote: > I'm inflating them using: inflate(R.layout.whatever, null) > > I just tried it your way but I get the same result. Phooey. That solves some layout problems with list rows, though usually with RelativeLayouts as rows, not just TextViews. I figured it was worth a shot. > BTW,

[android-developers] Re: Change Data format to dd.MM.yyyy?

2010-03-03 Thread BTJ
No one knows? BTJ On Mar 1, 9:24 pm, BTJ wrote: > I have a program I used on my Hero (Android 1.5) that worked great.. > All it did, was the following: > > Settings.System.putString(getContentResolver(), > Settings.System.DATE_FORMAT, "dd.MM."); > > This does not work on my Nexus One, why? I

Re: [android-developers] Re: Why is English the only Locale my Phone has in Settings

2010-03-03 Thread Adrian Vintu
Here is an app that may help you a little bit http://udm.adrianvintu.com/ BR, Adrian Vintu http://adrianvintu.com On Mon, Mar 1, 2010 at 2:47 PM, Hekki wrote: > Simply download "Locale 2" from the market, and you'll have all the > languages you want for your phone. > > No need for root or anyt

[android-developers] Re: How to Clear Activity stack if using same activity multiple times?

2010-03-03 Thread A R
check setFlags in Intent class. Also read http://developer.android.com/guide/topics/fundamentals.html#acttask You can clear the stack upto a particular activity, if you want you can also set that your activity A is never kept in stack. HTH On Mar 4, 2:23 am, Sam wrote: > So I have an app with A

Re: [android-developers] OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Greg Donald
On Wed, Mar 3, 2010 at 10:58 AM, Markus Junginger wrote: > Our app has some memory peaks, which let the heap grow to 13M. After > the peak, there's 9M of free heap. Everything's fine until Bitmap > objects come into play. Despite having 9M of free heap creating > Bitmaps, which have only some 100k

Re: [android-developers] Re: selecting language from within the app rather than by locale of the system settings

2010-03-03 Thread Adrian Vintu
Hope this will help http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx BR, Adrian Vintu http://adrianvintu.com On Sat, Feb 27, 2010 at 3:09 PM, Menion wrote: > Hi mot12, > sorry not post earlier. I don't know, if you find my info still > useful ..., but > > ad 1) Yes, it's m

[android-developers] ImageButton icon transparency

2010-03-03 Thread Jason Proctor
why is the transparency for drawables attached to ImageButtons not honoured? i have to change them to ImageViews so they look right. tx -- jason.vp.engineering.particle -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

Re: [android-developers] ImageButton icon transparency

2010-03-03 Thread Mark Murphy
Jason Proctor wrote: > why is the transparency for drawables attached to ImageButtons not > honoured? i have to change them to ImageViews so they look right. I have no such problems. You can see them working just fine here: http://github.com/commonsguy/cw-android/tree/master/Resources/Images/ htt

[android-developers] Re: adb can't list my attached device

2010-03-03 Thread Zigurd
colin.t...@gmail.com posted the link to the documentation, above. If, for some reason, that doesn't work on your Linux setup, you can try this, in your tools, directory: ./adb kill-server sudo ./adb start-server Then start Eclipse. -- You received this message because you are subscribed to the

[android-developers] Re: MultiThreading between Activitys

2010-03-03 Thread A R
public interface MyListener { public void success(); public void failure(); } >From your activity: myServerConnectionHandlerObject.getImages(new MyListener() { //implement both methods here. }); public class MyServerConnectionHandler { public void getImages(MyListener l) { //do net stuf

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-03-03 Thread Rob Irondad
Hello again everybody. I've made a new revision of the document, which I think you'll agree has a nicer tone. Please tell me what you think and I'll publish this so everybody can sign it. => http://docs.google.com/View?id=dd9hmc43_0c9zh58gd PS: my messages have not yet been approved so I still c

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Thomas Riley
The registration page on the site says you must of reached the requirement on or before 28/02/2010. Sorry :( On Mar 3, 4:46 pm, Graham wrote: > I wish there were more details from google about this.  Was there a > deadline that had to be met or will a developer qualify as soon as > they meet the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Thomas Riley
Anyone from Google reading this what to fill in some of the missing details? Timescale? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread JasonC
Keep in mind id your a US developer it may not be a Nexus, it may be a Droid. I have not recieved any sort of confirmation from google other then what the android team has stated here on the forum. I am 100% positive this is legit, as I made a phone call to a friend at google, and reported the web

[android-developers] Re: adb can't list my attached device

2010-03-03 Thread A R
In the link given by colin, SYSFS{idVendor}=="0bb4" here 0bb4 is HTC's vendor id. If I am trying to connect a non HTC phone just changing the idVendor does not work. Device is still not identified. Any pointers? http://skoroneos.blogspot.com/2009/11/setting-up-android-sdk-on-ubuntu-for.html talks

Re: [android-developers] SSL3_READ_BYTES error

2010-03-03 Thread social hub
have you tried with SSL server on internet like google or something and see if that has worked. Then you can work your way down to your server . prob it needs a set of predefined minimum ciphers and hashing algorithms which are avalilable on desktop and not on the device. hope this helps On Wed, M

[android-developers] Re: what's the IP address of development computer when dev phone try to connect it

2010-03-03 Thread A R
Assuming dev phone is connected to network via wifi and your computer is on the same network, use your computer's normal ip address. ipconfig on windows, ifconfig on linux will give you the ip. Regards, Amit. - Blog: http://bit.ly/biSl6M Twitter: http://bit.ly/bCo2aT On Mar 3, 4:26 pm, pfunes

[android-developers] Re: Layout problems when setting windowIsFloating to true

2010-03-03 Thread westmeadboy
Thanks Mark - so I set the width of the TextView to "1000dp" (overkill? ;) ) and that works. i.e. its a workaround. I'm pretty sure its nothing I'm doing in the ListActivity. My code is pretty much the same as the EfficientAdapter list demo in ApiDemos (but without reusing views). If its a bug, i

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Streets Of Boston
Yes, you're right. The OOM exception is thrown if your process' memory would exceed 16MByte (or 24MByte on some phones). This includes non-JVM memory such as raw bitmap-data. You may have 9MByte available in the java-heap, but if your process is still holding on to almost 7MByte of bitmap- data me

Re: [android-developers] Re: Layout problems when setting windowIsFloating to true

2010-03-03 Thread Mark Murphy
westmeadboy wrote: > Thanks Mark - so I set the width of the TextView to > "1000dp" (overkill? ;) ) and that works. i.e. its a workaround. > > I'm pretty sure its nothing I'm doing in the ListActivity. My code is > pretty much the same as the EfficientAdapter list demo in ApiDemos > (but without r

[android-developers] Re: Compiling a SDK 2.1 app for 1.6 target

2010-03-03 Thread A R
Right click on your project -> properties -> Android, then you can select the project build target. If you find only 2.1 there then click on 'AVD Manager' (toolbar) or windows->Android SDK and AVD manager and install the required package HTH Regards, Amit. -- Blog: http://bit.ly/biSl6M Twitt

Re: [android-developers] Masking password input in extracted UI

2010-03-03 Thread Adrian Vintu
EditText editText = (EditText) findViewById(R.id.EditText01); editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); //also available from designer editText.setTransformationMethod(new PasswordTransformationMethod()); BR, Adrian Vintu http://adrianvintu.com On Thu, Feb 25, 2010 at 4:44

Re: [android-developers] Masking password input in extracted UI

2010-03-03 Thread Adrian Vintu
EditText editText = (EditText) findViewById(R.id.EditText01); editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); //also available from designer editText.setTransformationMethod(new PasswordTransformationMethod()); BR, Adrian Vintu http://adrianvintu.com On Wed, Feb 24, 2010 at 7:58 P

Re: [android-developers] How can i make a menu, wich doesn't hide?

2010-03-03 Thread TreKing
On Wed, Mar 3, 2010 at 8:30 AM, Simon Ringeisen wrote: > I now want a menu to appear and > stay when I switch to this tab. > I don't think you can do this. If you need some permanent UI display, just add buttons or something to your tab's layout.

Re: [android-developers] Edit Text Password visible on focus in landscape

2010-03-03 Thread Adrian Vintu
EditText editText = (EditText) findViewById(R.id.EditText01); editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); //also available in design mode editText.setTransformationMethod(new PasswordTransformationMethod()); BR, Adrian Vintu http://adrianvintu.com On Tue, Feb 23, 2010 at 8:19

Re: [android-developers] Re: Localization in Eclair

2010-03-03 Thread Adrian Vintu
Also see http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx BR, Adrian Vintu http://adrianvintu.com On Tue, Feb 23, 2010 at 5:00 PM, android learner wrote: > Thank you Mark. > > On Feb 22, 6:38 pm, Mark Murphy wrote: > > android learner wrote: > > > Does Android provide any to

Re: [android-developers] ImageButton icon transparency

2010-03-03 Thread Jason Proctor
Jason Proctor wrote: why is the transparency for drawables attached to ImageButtons not honoured? i have to change them to ImageViews so they look right. I have no such problems. You can see them working just fine here: http://github.com/commonsguy/cw-android/tree/master/Resources/Images/ ht

[android-developers] Re: Forum for swapping our free phones :)

2010-03-03 Thread JasonC
Well now that I registered I have to send a email to get access? Phishing much? On Mar 3, 11:34 am, Corollary Computing wrote: > *bump* > > I'm getting a lot of responses, could an admin possibly sticky this so > everyone has a fair shot at getting the phone they want? > > On Mar 2, 6:48 pm, Cor

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Markus Junginger
On 3 Mrz., 23:01, Streets Of Boston wrote: > Yes, you're right. I hope I am not, let's see... > The OOM exception is thrown if your process' memory would exceed > 16MByte (or 24MByte on some phones). This includes non-JVM memory such > as raw bitmap-data. That's the easy part. > You may have 9MB

Re: [android-developers] ImageButton icon transparency

2010-03-03 Thread Mark Murphy
Jason Proctor wrote: >> Jason Proctor wrote: >>> why is the transparency for drawables attached to ImageButtons not >>> honoured? i have to change them to ImageViews so they look right. >> >> I have no such problems. You can see them working just fine here: >> >> http://github.com/commonsguy/cw-a

[android-developers] Re: how to use tag

2010-03-03 Thread Lance Nanek
Use Activity#findViewById to get a view far enough down the hierarchy that there aren't any duplicate IDs below it, then use View#findViewById. On Mar 3, 10:54 am, mike wrote: > following is the layout xml file. > here i used tag. > in that the layout="@layout/player_view" , player_view is anoth

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Markus Junginger
> catch( Exception e ) > { >   System.gc(); >   bm = BitmapFactory.decodeResource( resources, R.drawable.my_bm ); > > } > > I know it's not the prettiest, but I've never seen the second attempt > (after GC) fail. Interesting. So, what you are saying is that Dalvik's GC does not a good job freeing

[android-developers] Re: how to animate a view across layouts

2010-03-03 Thread Jason D. Clinton
Hi Romain; I can reproduce this at API Levels 5, 6 and 7. Is this a regression or is Android simply unable to animate outside of the parent? On Feb 10, 8:24 pm, yaturner wrote: > I wish it were that simple but as you can see from my code snippet I > tried that. The Layout aChildLayout is a direc

[android-developers] Re: How to Clear Activity stack if using same activity multiple times?

2010-03-03 Thread Sam
Thanks for the info, but no of those intent combination I can seem to get to work. Basically if I have, A(1)->A(2)->A(3)->A(4) And when A(4) starts, I want A1-3 to be cleared from the stack. On Mar 3, 4:37 pm, A R wrote: > check setFlags in Intent class. Also > readhttp://developer.android.co

Re: [android-developers] ImageButton icon transparency

2010-03-03 Thread Jason Proctor
Jason Proctor wrote: >> Jason Proctor wrote: >>> why is the transparency for drawables attached to ImageButtons not >>> honoured? i have to change them to ImageViews so they look right. >> >> I have no such problems. You can see them working just fine here: http://github.com/commonsguy/c

[android-developers] Re: How to Clear Activity stack if using same activity multiple times?

2010-03-03 Thread Bo
Did you try singleTop, singleTask or singleInstance? In your situation, you may need to maintain an intent stack all by yourself from A1 through A3, and handle the BACK key event respectively http://d.android.com/guide/topics/manifest/activity-element.html#lmode On Mar 3, 11:58 pm, Sam wrote: >

[android-developers] How to hide label on screen?

2010-03-03 Thread Ali Chousein
Hi, Suppose that you create a HelloWorld application under Eclipse. Then in res/values/strings.xml the following entry is created: Hello, Android Now, when you launch the HelloWorld application you see the label "Hello, Android" on top of the screen. I want to hide this label. What is the way of

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Genc
I desperately need this device since I'm at the final (testing) stage of my project and emulators are far away being useful. I was just planning to buy an N1 before I got the email. Now, does anyone has an idea, when can we get our phones? Google guys, could you please give us a time interval at

Re: [android-developers] How to hide label on screen?

2010-03-03 Thread Mark Murphy
Ali Chousein wrote: > Hi, > > Suppose that you create a HelloWorld application under Eclipse. Then > in res/values/strings.xml the following entry is created: > > Hello, Android > > Now, when you launch the HelloWorld application you see the label > "Hello, Android" on top of the screen. I want

[android-developers] Re: How to hide label on screen?

2010-03-03 Thread Ali Chousein
Hi Mark, Thank you for the message. Yes, it works indeed. Regards, -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 t

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread David Orriss Jr
If someone here gets an N1 and I get a droid I'd be happy to arrange a Swap. I'd rather have an N1 and continue with my T-Mobile service. On Wed, Mar 3, 2010 at 3:15 PM, Genc wrote: > > I desperately need this device since I'm at the final (testing) stage > of my project and emulators are far aw

Re: [android-developers] Trying to compile Android under cygwin

2010-03-03 Thread David Turner
You cannot build the Android sources under Cygwin (or even plain Windows command-line). Try doing that in a virtual Ubuntu image instead, it will be much better (and much faster too !) On Wed, Mar 3, 2010 at 5:42 AM, Floof wrote: > Hi list, > > I am trying to compile the Android source tree unde

Re: [android-developers] Trying to compile Android under cygwin

2010-03-03 Thread David Turner
Oh, and libEGL.so is not ABI stable and will change in future releases of the platform, which is exactly why it is not exposed by the NDK. On Wed, Mar 3, 2010 at 5:42 AM, Floof wrote: > Hi list, > > I am trying to compile the Android source tree under Cygwin. I got the > source using repo, and f

[android-developers] Re: When will Serial Port Profile become part of Bluetooth in Android SDK?

2010-03-03 Thread DonFrench
The BluetoothChat example works fine for me on Nexus One running Android 2.1 after changing the UUID for SPP. I haven't tried using 2.0.1, however. On Mar 3, 1:27 am, klasl wrote: > At present we have not been able to get BluetoothChat sample (with > modified UUID ) or any other BT app to work

[android-developers] Re: How to Clear Activity stack if using same activity multiple times?

2010-03-03 Thread Sam
I ended up following someones suggestion of using an Activity stack to handle things similiar to your intent stack to manage the 'Back' key event thanks. On Mar 3, 6:10 pm, Bo wrote: > Did you try singleTop, singleTask or singleInstance? > > In your situation, you may need to maintain an intent s

[android-developers] Tabs

2010-03-03 Thread ls02
How do I create tabs inside container with no child views attached to 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

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Bob Kerns
?? If you have verified this, please report it as a bug. The way GC works, GC work should be triggered by any allocation that needs more memory (incremental algorithms trigger some amount of GC work on each allocation, non-incremental algorithms do ALL the work in this situation). The allocation s

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Bob Kerns
Generally, non-compacting GCs, and non-compacting/consolidating allocators in general, cannot free memory back to the OS once it's been used. There are exceptions, such as when the object size is significantly larger than the minimum OS memory allocation size. (By "OS" here, I mean whatever lower

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Join
Exactly the same question I'm asking. I'm moving into a new place in the beginning of April. So I wonder the schedule that Google deal with the registration. On Mar 4, 7:15 am, Genc wrote: > I desperately need this device since I'm at the final (testing) stage > of my project and emulators are

[android-developers] Re: Weird bug in Canvas + TextView

2010-03-03 Thread Alfonso
Well, I've found the way to replicate the avoiding cutting limits effect when rotate the ExtWebView. I just place a "this.layout(0,0,300,300);" and after it a "this.requestLayout()" at the end fo the onDrawMethod inside the ExtWebView class, looking so: @Override protected void onDr

Re: [android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Greg Donald
On Wed, Mar 3, 2010 at 6:21 PM, Bob Kerns wrote: > ?? If you have verified this, please report it as a bug. To who? The same Google engineers that can't fix my Marketplace stats since December? http://www.google.com/support/forum/p/Android+Market/thread?tid=4c5752ca3e5af4ff&hl=en I have zero f

Re: [android-developers] Re: Weird bug in Canvas + TextView

2010-03-03 Thread Romain Guy
You are calling requestLayout() from the draw method. requestLayout() causes a draw to happen, and you've just created an infinite loop. On Wed, Mar 3, 2010 at 4:42 PM, Alfonso wrote: > Well, I've found the way to replicate the avoiding cutting limits > effect when rotate the ExtWebView. I just p

[android-developers] Re: Whats the intent ?

2010-03-03 Thread Danesh Mondegarian
Oh ok. So no way of launching app specific details eh. I found this in the installedappdetails.java final String packageName = intent.getStringExtra(ManageApplications.APP_PKG_NAME); Neway. Thanks On Mar 2, 8:07 pm, Dianne Hackborn wrote: > The only standard settings screens apps can launch ar

[android-developers] How to properly manage task stack history w/ notifications?

2010-03-03 Thread Acchao
*I realize there are some similar posts running right now, but I have some additional questions that I didn't want to clutter their thread with. We're having trouble getting our notifications and launch modes to run properly. First let me describe the behavior that we want. Our main and launcher

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Paul
I just wanted to point out that I was able to verify immediately that the email was legit because google.com implements DKIM and gmail also implements the technology to support the lookup. Upon clicking details at the top of the email I saw a textual confirmation that this was successfully verifie

[android-developers] RelativeLayout added using LayoutInflater and addView doesn't obey fill_parent?

2010-03-03 Thread Ozymandias
I have a RelativeLayout as my content view. If I place this inside of it: http://schemas.android.com/apk/res/ android" android:id="@+id/root" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_paren

[android-developers] weather info on map depending on the lat and long

2010-03-03 Thread aswani kumar tholeti
Hi all, display the weather forecast depending on the user lat and long .pl help me it's very urgent to me. i already sent mails to this group but i am not getting any reply pl any one having solution for this help me Thanks & Regards Aswan -- You received this message because you are subs

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread fadden
On Mar 3, 4:33 pm, Bob Kerns wrote: > Generally, non-compacting GCs, and non-compacting/consolidating > allocators in general, cannot free memory back to the OS once it's > been used. I'm not entirely comfortable with that generalization. The HeapWorker thread wakes up during idle moments and lo

Re: [android-developers] Re: Whats the intent ?

2010-03-03 Thread Dianne Hackborn
On Wed, Mar 3, 2010 at 5:09 PM, Danesh Mondegarian wrote: > Oh ok. So no way of launching app specific details eh. > > I found this in the installedappdetails.java > > final String packageName = > intent.getStringExtra(ManageApplications.APP_PKG_NAME); > > Neway. Thanks > Note, scrounging stuff o

[android-developers] Re: Security question: can Android source be decompiled and read?

2010-03-03 Thread fadden
On Mar 3, 6:09 am, Bob Kerns wrote: > Re: JDASM -- that works on standard Java byte codes -- which aren't > present on the device. Still... I don't know of one that reads > Dalvik's byte codes, but I don't know of any reason it would be any > harder to write. Try Smali: http://code.google.com/p/s

[android-developers] Re: Accessing Environment Variables by the running process

2010-03-03 Thread fadden
On Mar 2, 11:15 pm, MaHaJaN wrote: > To make it more clear > say i launced a process using > adb shell am start -a android.intent.action.MAIN -n > com.abc.org/.First > How can i pass environment variables to this launced process. You can't pass Linux environment variables that way. Each app proc

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Wayne Wenthin
I'm right there with ya. On Wed, Mar 3, 2010 at 12:41 PM, ydario wrote: > > because you're one of the top developers in Android Market with one or > > more of your applications having a 3.5 star or higher rating and more > > than 5,000 unique downloads. > > sigh, my rating is at 3.2 stars :-( >

[android-developers] Re: MultiThreading between Activitys

2010-03-03 Thread Beena
Thanks A R. I will try as you have suggested then will tell you if any problem occure. Again thanks for the reply. On Mar 4, 2:43 am, A R wrote: > public interface MyListener { >  public void success(); >  public void failure(); > > } > > From your activity: > > myServerConnectionHandlerObject.

[android-developers] Re: Android AudioRecord errors

2010-03-03 Thread dmitriy325ci
Wow, really? One of the features of nexus one is voice search. So there is got to be a way to record audio on the device with acceptable quality. Unfortunately there is not much information available out there. So keep me posted if you make any progress. Thanks, Dmitriy On Mar 3, 3:46 pm, Ma

[android-developers] How to implement answer function programmetically?

2010-03-03 Thread perrot
I seach the answer many places. I get some hint about this subject. But I don't know how to programming it? Hint1. Use acceptCall() function. I find the API documentation from location http://www.androidjavadoc.com/m5-rc15/android/telephony/Phone.html#acceptCall%28%29. But SDK haven't this func

[android-developers] Re: Android AudioRecord errors

2010-03-03 Thread Matias Alberto de la Vega
Voice search is great! how Google makes the magic happen remains a mistery to me...so far at least. Take care! On Mar 4, 12:48 am, dmitriy325ci wrote: > Wow, really?  One of the features of nexus one is voice search.  So > there is got to be a way to record audio on the device with acceptable > q

[android-developers] Re: MultiThreading between Activitys

2010-03-03 Thread booooooooooooo
HI Bena i also faced this problem before now i am good at this concept i did understand your problem you will this way you can call in getView () this runnableclass (im); class x implements Runnableinterface { xx(Imageview im) { // whatever you can declare in this contr

[android-developers] EditText uncontrollable/unpredicatable soft keyboards

2010-03-03 Thread brucko
Does anyone have an idea as to what determines whether the soft keyboard will be opened with an EditText. I have a single Edit Text, in a RelativeLayout, that has an attached onEditorActionListener which for some strange reason grabs focus and opens the soft keyboard whenever the activity is start

Re: [android-developers] Finding if "Unlock Pattern Screen" is ON/OFF

2010-03-03 Thread swapnil kamble
android.provider.Settings. System.getInt( mContentResolver, Settings.System.LOCK_PATTERN_ENABLED, 0) == 1; This should give you boolean value, whether PATTERN is enabled or not. On Wed, Mar 3, 2010 at 9:54 PM, Jacob wrote: > Hi all > > Thanks in

[android-developers] Re: Weather info on map view

2010-03-03 Thread aswan
sory for that i am poor in english .what my meaning is if you have any idea ple help me and share with me right now i tried with google api weather that is working fine but here i am sending lat and lon instead of city names how can i do it Regards Aswan On Mar 2, 7:55 pm, TreKing wrote: >

[android-developers] Re: Piracy sucks, or does it?

2010-03-03 Thread Posri
My oversight. It has to be a store which issues acquire license requests (eg. youpark, app world). I was focussed on the "piracy" topic of this thread. Sorry. On Mar 2, 5:33 pm, Carlo wrote: > @licmax > > In your website : "Every time the app store sells a copy of your > application, it querie

[android-developers] native AudioTrack resources never freed..

2010-03-03 Thread szabolcs
Hi, I was wondering if anyone had any ideas or workarounds for solving the following problem: 1. an AudioTrack (MODE_STATIC) is created from a service, 2. this AudioTrack is played 3. the service is killed (by the OS or the user explicitly) before it could call stop() / release() on the AudTrack

[android-developers] Re: MultiThreading between Activitys

2010-03-03 Thread booooooooooooo
Hi use this code also public class imageloader implements Runnable{ private String ss; //private View v; //private View v2; private ImageView im; public imageloader(String s, ImageView im)

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Technogeek00
Dont be to sure about only multiple application developers getting an email. I only have a single app on the market and that one app got me the email. I am sure if not all devs recieved the email they must have looked at more criteria than stated, perhaps duration on market? We may never know. On

[android-developers] Re: MultiThreading between Activitys

2010-03-03 Thread priyanka
Have you considered using AsyncTask ? I believe AsyncTask hides the bare-bones of Threading to give a user-friendly interface in which you can write your code (that runs in a separate thread), and it is safe to update your UI from AsyncTask directly. On Mar 4, 10:16 am, bo wrote: > Hi

[android-developers] Re: selecting language from within the app rather than by locale of the system settings

2010-03-03 Thread Menion
Hi Adrian, thanks for you response. Your code is very similar to mine. Only base diference is that you use Activity.getBaseContext().getResources() instead of mine used Activity.getResources(). But this not help with my main problem. Probably in your code, every display rotate call same INFO/Act

[android-developers] Override enableMyLocation in MyLocationOverlay

2010-03-03 Thread gallagth
Hi everyone, I want to override the method enableMyLocation() in MyLocationOverlay class, in order to implement my own positioning algorithm to get latitude/longitude, and then plot them onto a MapView. I figured out how to do that, but now I'm stuck because I dont know what Canvas to pass when I

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Bob Kerns
Whoa, dude! Get a grip. If you don't trust the Google engineers to fix things, not reporting them seems like a sure solution, right? And I didn't say you were doing it wrong. You just cut what I said up into little pieces so you could pick at it. I gave reasons why you were doing it right in this

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Bob Kerns
The key word here is 'generally', which I guess wasn't clear. What I was trying to get at is, it can only happen under specific circumstances, and only if the particular system implements it. Which means, one small object in the middle of each 4K page can completely prevent returning the memory to

[android-developers] JSON - Database - Local Variable`

2010-03-03 Thread Sasikumar.S
Hi, In my application, *First Way :-* i'm fetching data from JSON and then storing to database . >From database i'm storing in local variable. >From local variables i'm displaying the data. *Second Way :-* i'm fetching data from JSON and then directly storing in local variables >From local var

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Bob Kerns
I'd like to add: I'm glad you're here to catch me when I'm unclear (or even wrong). You do a very good job with your explanations. I didn't mean my response below to suggest that "my wording is right" -- obviously, it failed. I was just trying to salvage my intended meaning from the wreckage. I do

[android-developers] Use soft keyboard all the time

2010-03-03 Thread Stephen Lebed
Is there a way to set up an activity so that only the soft keyboard is used, even if a physical keyboard is present? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] How to set Z order to the child View

2010-03-03 Thread murali
Hi all, I want to set the Z order to the view(Relative layout view). My main Layout is Absolute Layout and inside that i am using child views(each view is on Relative layout) .Inside Main Layout ,i have 5 sub Layouts ,(5 child views)by changing the x position.and i am giving the x positions like

[android-developers] Re: OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Markus Junginger
Thanks guys for all of your replies so far! > I'm not entirely comfortable with that generalization.  The HeapWorker > thread wakes up during idle moments and looks for 4K pages with > nothing in them.  When it finds them, the memory is made available to > the system again (madvise() system call).

[android-developers] Re: Is it possible to set minimum heap size for each application.?

2010-03-03 Thread mycall
Actuall UI ( user interface) of my device is very slow. So I think if I extend heap size for application it will be fixed. I don't konw exactly whether my understanding is correct or not. Anyway, If I want to start some appliation with more enough heap size than needed, what I have to do.? On

[android-developers] TableLayout with fixed row & column

2010-03-03 Thread Ajay
Hi, I want to design a table whose first column items remain fixed when user scrolls horizontally, but should scroll when the user scrolls vertically. Similarly the first row items remain fixed when user scrolls vertically, but should scroll when the user scrolls horizontally. Can this be achie

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Al Sutton
The best thing to do is to carry on your development as if you weren't getting the 'phone. Is there anything specific about the N1 you're trying to test? If so you might find some kind sole who can help you out with a quick bit of testing on their device. Al. On Mar 3, 11:15 pm, Genc wrote: > I

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread skyhigh
If you have an app that meets the qualifications, but didn't get an email, check your spam folder. I found my email in my spam folder. My email account which is with my web hosting company is setup to use Postini spam filtering. Postini is a spam filtering service offered by Google, and Postini

[android-developers] Re: HTML parsing with JAVA

2010-03-03 Thread Beena
Thanks Jens, I have to parse HTML in my project. I have set the tagsoup-1.2.jar file using eclips. Now when I build it gives warning as warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably pr

[android-developers] Re: Security question: can Android source be decompiled and read?

2010-03-03 Thread Al Sutton
As a side note I thought I'd check you're aware that if you're allowing others to upload to your youtube account you will be responsible for what they upload, so if they upload offensive, copyrighted, or other material which breaches youtubes T&Cs you'll bear the brunt of any action taken by youtub

<    1   2   3   4   >