[android-developers] Re: already created always-on-top-of-all-windows view, how to add touch functionality?

2010-12-19 Thread Aco
I respect your views, but its fine with me even if it works only on my android version as its a personal project. The fact thats its been done (check proof of concepts in OP) and we are unable to do it discomforts even more :( On Dec 19, 7:12 am, Dianne Hackborn hack...@android.com wrote: The

Re: [android-developers] New maps app features and mapview

2010-12-19 Thread Federico Paolinelli
On Sun, Dec 19, 2010 at 12:00 AM, Dianne Hackborn hack...@android.com wrote: On Fri, Dec 17, 2010 at 9:48 AM, TreKing treking...@gmail.com wrote: On Fri, Dec 17, 2010 at 6:31 AM, Federico Paolinelli fedep...@gmail.com wrote: Will new map app features be available in mapview as well? The

[android-developers] Re: Anybody seen a slowdown in sales?

2010-12-19 Thread JonFHancock
Interesting. My saday and rank have remained steady. I have seen a sharp drop off in cancellations since the 17th, but sales have stayed at about 90-120 per day. On Dec 19, 12:20 am, Doug beafd...@gmail.com wrote: FWIW.  My relatively popular app's sales have been roughly 20-30% lower than

[android-developers] Re: Setting Wallpaper

2010-12-19 Thread Neilz
Ok, I think the problem I have here is not my code after all... I tried simply setting the wallpaper from the phone options, picking an image from the gallery. Exactly the same thing happens as when I do it from the code... it picks a central part of the image and stretches it. I think the

[android-developers] Re: Why Android Why???

2010-12-19 Thread Yahel
I need(not want, need) a phone with a 4' screen, a physical keyboard, a trackball and a front camera...Where does it fit in your scheme for a single one-size-fit-all device ? Android will never beat any iphone : Android is a framework not a device It's as if you were saying on a Microsoft forum

Re: [android-developers] Re: Anybody seen a slowdown in sales?

2010-12-19 Thread Mark Carter
My paid app which has over 2000 downloads had never had a rating below 4 until the last couple of days and has since received two 1-star reviews. From what I can gather those 1-star ratings are from users who discovered technical issues after the 15 minute window had expired. Before, both those

[android-developers] Re: Test Starting A Service

2010-12-19 Thread Ian
Hi Kostya, Thanks for the suggestion, I'll use that and get on to more important things :-) Ian On Dec 18, 2:08 pm, Kostya Vasilyev kmans...@gmail.com wrote: Bind always returns true if the intent finds the service, but actual start is delayed (if necessary). The return value is not an

[android-developers] Re: Anybody seen a slowdown in sales?

2010-12-19 Thread Pent
From what I can gather those 1-star ratings are from users who discovered technical issues after the 15 minute window had expired. Before, both those scenarios would have probably resulted in an uninstall-with-refund which is much preferable to a 1-star rating (for both user and dev) :( Yeah,

[android-developers] Re: App disappeared from Market Home

2010-12-19 Thread Ilya Shinkarenko
Thank you all for the answers. Now the app is again there. U :) On Dec 18, 10:25 pm, TreKing treking...@gmail.com wrote: On Sat, Dec 18, 2010 at 2:58 PM, Chister Nordvik cnord...@gmail.com wrote: I really can't understand why they cannot just make the console unavailable instead of

Re: [android-developers] Re: Camera works fine, but deployed camera app says that I need an SD card

2010-12-19 Thread Mark Murphy
On Sun, Dec 19, 2010 at 1:29 AM, David Karr davidmichaelk...@gmail.com wrote: Sorry, I need more information. ? You're saying that because I had the phone connected to my computer with the USB cable (so I could deploy the application to the device), that means that the SD card in the phone

[android-developers] Re: Fm Radio

2010-12-19 Thread wolf
do you can make me an a example code ? and a sketch with a example phone how it works ? can i use the bluetooth as an antenna (yes i know it's have own API and it's works on 2.4 Ghz and the radio usually 87.5 to 108.0 MHz) ? do you know how to use the headphones as antenna or wi- fi or whatever ?

[android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread Yahel
Ah nobody played but the answer were : 1, 3, 6 ... Thank you Android Market Team...Always glad to be your Beta-Testers :) Yahel On Dec 11, 5:02 pm, Yahel kaye...@gmail.com wrote: Hey guys, The market team seems to want to push some more updates. Since they probably did not test those better

Re: [android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread Kostya Vasilyev
And speaking of testing: http://code.google.com/p/android/issues/detail?id=13259 I know it's harmless, but it's not what you'd expect to see from code in com.android.* -- Kostya 19.12.2010 14:17, Yahel пишет: Ah nobody played but the answer were : 1, 3, 6 ... Thank you Android Market

[android-developers] Two ListViews with one scrollbar?

2010-12-19 Thread Nikola
Hi, I would like to have two ListViews that I can populate with data but with only one scrollbar. Then I could add data to first one and second one and it would scroll together. [screen + scrollbar] [ListView 1] [ListView 2] [/ screen + scrollbar] Any hints? -- God is Real, unless declared

[android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread Yahel
Yes I know what you mean... What amazes me is the fact that from what I've heard it is very hard to get a job at Google, it involves a process that takes up to two monthes and lots of interviews. You'd think those guys know what unit testings are :s I would really love to know what are Google's

[android-developers] Re: Restricted location in publisher GUI is not working on some devices

2010-12-19 Thread Chister Nordvik
Just for the records it was due to the operator using swedish sim- cards in Norway... On Dec 2, 10:00 pm, dan raaka danra...@gmail.com wrote: I am seeing this disappearing issue on some of my apps as well. -Dan On Thu, Nov 25, 2010 at 4:28 AM, Chister Nordvik cnord...@gmail.com wrote:

Re: [android-developers] Two ListViews with one scrollbar?

2010-12-19 Thread Mark Murphy
Have one ListView and combine the contents. My MergeAdapter may help: https://github.com/commonsguy/cwac-merge Or use a MergeCursor if the rows come from Cursors and the rows all look the same. On Sun, Dec 19, 2010 at 6:43 AM, Nikola nikola1...@gmail.com wrote: Hi, I would like to have two

Re: [android-developers] Two ListViews with one scrollbar?

2010-12-19 Thread Nikola
On Sun, Dec 19, 2010 at 12:58 PM, Mark Murphy mmur...@commonsware.comwrote: Have one ListView and combine the contents. My MergeAdapter may help: https://github.com/commonsguy/cwac-merge Or use a MergeCursor if the rows come from Cursors and the rows all look the same. Thanks , really

[android-developers] Building several versions of an app from the same source

2010-12-19 Thread Utumno
Hello Android gurus, I would like to build 2 versions ( free and paid ) of my app from the same source. Both should be installable at the same time. Here's (hopefully) the full list of differences between the two: - android:icon - android:label - value of one constant in the code - and since

[android-developers] Re: 2.3 Platform Google APIs missing Licensing Service..?

2010-12-19 Thread Willem
Same issue here... Any progress yet? On 7 dec, 17:41, H m...@howardb.com wrote: Used adb to install an app that works fine on a 2.2 Platform Google API avd, but in the newly release 2.3 flavour, I keep getting this message: I/LicenseChecker(  530): Binding to licensing service.

Re: [android-developers] Re: ProGuard Integration?

2010-12-19 Thread H
Hi Xav - any chance you could supply us with a copy of this new .bat file..? Local policies won't allow me to change the location of my workspace so it must sit under Documents and Settings. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: ndk-build very slow using multiple files

2010-12-19 Thread TonyMcB
Sorry, posted this twice by accident - didn't realise it was being moderated. Here's the answer from the other post (from David Turner): Known issue, cygpath -m is called for each source file before the build begins, and this is super slow on Cygwin. This is a temporary problem until we get rid

Re: [android-developers] Building several versions of an app from the same source

2010-12-19 Thread Mark Murphy
Use an Android library project: http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject It will not get down quite to the level you seek, but fairly close. Or, write yourself a shell script/Java program/Ruby program/whatever to clone the project and apply your changes. On

[android-developers] Re: Extract a bit code from a image

2010-12-19 Thread ko5tik
Convert to bit image bz applying thresgholding and then just scan along the lines and cound changes from 0 to 1 We are working on image processing library / OCR here: http://sourceforge.net/projects/javaocr/ It may be usefull for you and works on android On Dec 18, 3:29 pm, denper

[android-developers] How to block a BufferedReader when no input is available?

2010-12-19 Thread DulcetTone
I have code in a worker thread that needs to efficiently read a constantly-growing input stream from a process. The issue is that the present design uses a sleep() for a short period if there is no input presently available, and I'd like the attempt to read the input stream simply *block* so it

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread DanH
ready? On Dec 19, 7:38 am, DulcetTone dulcett...@gmail.com wrote: I have code in a worker thread that needs to efficiently read a constantly-growing input stream from a process. The issue is that the present design uses a sleep() for a short period if there is no input presently available,

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread DanH
(But, of course, ready causes the thread to wait -- not something the main thread should do.) On Dec 19, 7:38 am, DulcetTone dulcett...@gmail.com wrote: I have code in a worker thread that needs to efficiently read a constantly-growing input stream from a process. The issue is that the

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread DanH
(Of course, what you need is a loop of !ready -sleep(nnn)) On Dec 19, 8:09 am, DanH danhi...@ieee.org wrote: ready? On Dec 19, 7:38 am, DulcetTone dulcett...@gmail.com wrote: I have code in a worker thread that needs to efficiently read a constantly-growing input stream from a process.

Re: [android-developers] How to block a BufferedReader when no input is available?

2010-12-19 Thread Kostya Vasilyev
Use Java thread synchronization: http://www.javamex.com/tutorials/synchronization_wait_notify.shtml Have the reader thread wait when there is no data and the writer thread notify the reader when more data is available (and when it should exit its processing loop). -- Kostya 19.12.2010

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Od not run the ant build using eclipse 3.5,3.6, or 3.7 it still has 1.7.1 ant version..run form commandline.. I uuse wickedshell plugin to run the ant commandline command from my workspace project dir On Dec 9, 6:11 am, jb cona...@gmail.com wrote: Hi Xavier, I just updated my SDK to 2.3 and

[android-developers] Re: Building several versions of an app from the same source

2010-12-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Maybe a buildr or gradle script to do it.. Buildr uses ruby and Gradle uses groovy On Dec 19, 6:56 am, Mark Murphy mmur...@commonsware.com wrote: Use an Android library project: http://developer.android.com/guide/developing/eclipse-adt.html#librar... It will not get down quite to the

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-19 Thread Cyril
I confirm Xavier's solution. You can put a view inside a linearLayout, provided this layout is not empty and both width and height are NOT set to wrap_content. I fought hours before sorting that bug out :-) nevertheless, I hope a fix will come ASAP !!! On 9 déc, 09:11, oriharel

[android-developers] Re: Camera works fine, but deployed camera app says that I need an SD card

2010-12-19 Thread savanevery
I believe Mark is right, you need to unmount the SD card from your computer. You should still be able to debug and deploy applications on the device, you just can't have it in the mode where it looks like a drive on your machine for file browsing. The example you are using leverages the built-in

[android-developers] Re: Building several versions of an app from the same source

2010-12-19 Thread Brill Pappin
It can be quite difficult to properly maintain two sets of code, but it looks to me that your on the right track... At least as well as any of us. The market is shim ply not built to handle a free/paid version well. It could be, but it doesn't seem to be a priority to the market folks. The

[android-developers] Re: EditText inside ListView

2010-12-19 Thread Andy Savage
In case anyone wants to quickly replicate this to check it, I have an example project at: http://andysavage.homeip.net:2886/EditTextListViewDemonstration.zip To replicate simply run the app, and try to type text into any of the edit boxes. Using the emulator, when I first touch an EditText the

[android-developers] Re: Camera works fine, but deployed camera app says that I need an SD card

2010-12-19 Thread David Karr
On Dec 19, 7:46 am, savanevery savanev...@gmail.com wrote: I believe Mark is right, you need to unmount the SD card from your computer.  You should still be able to debug and deploy applications on the device, you just can't have it in the mode where it looks like a drive on your machine for

[android-developers] Android: issues after updating SDK manager

2010-12-19 Thread zohar lerman
I lately updated my Android SDK manager and since then my android went koo koo. I manage to fix most of the problems but 2 of them are still exists: 1. when I run the SDK Manager.exe I get Some packages were found but are not compatible updates message under Available Packages- android

[android-developers] Re: How can Activity from pause to resume?

2010-12-19 Thread Streets Of Boston
Yep, or make both A and B 'singleTop'. On Dec 19, 12:01 am, Doug beafd...@gmail.com wrote: I'm not sure what exactly you're trying to do, but if you want to return to A from B, just finish B and the user will go back to A automatically. Doug On Dec 15, 9:35 pm, kong zfr...@gmail.com

Re: [android-developers] Re: Camera works fine, but deployed camera app says that I need an SD card

2010-12-19 Thread Kostya Vasilyev
19.12.2010 19:36, David Karr пишет: After finally figuring out how to do this (Windows doesn't make it easy), I found it didn't make any difference. I went through the Safely remove hardware steps, and that removed the drive from File Explorer. Then, I reran the app, and it still complained

[android-developers] Issue with startActivity

2010-12-19 Thread apachetechnology
I am trying to start a activity from ListActivity but its crashing. package net.apachetechnology.Organizer; import android.R; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import

Re: [android-developers] Issue with startActivity

2010-12-19 Thread Kostya Vasilyev
Did you add the new activity (test) to the manifest? What's in logcat? BTW, you don't need to do your own try/catch blocks with error logging just to see what's going on. Just use logcat. -- Kostya 19.12.2010 19:59, apachetechnology пишет: I am trying to start a activity from ListActivity

[android-developers] Re: Fm Radio

2010-12-19 Thread Howard M. Harte
The FM radio receiver is built in to the same chip that does the WLAN and BT. It is actually a third radio in those chips. This is true of the Droid X, which uses the TI WL1271 BT/WLAN/FM chip, and many of the HTC and Samsung devices use the Broadcom BCM4329, which also has BT/ WLAN/FM. I think

[android-developers] Re: EditText inside ListView

2010-12-19 Thread Sarwar Erfan
You need to change in your AndroidMenifest.xml Add *android:windowSoftInputMode=adjustPan* in the activity holding the listview. This will solve your problem. activity android:name=.EditTextListViewDemonstration android:label=@string/app_name

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread DulcetTone
I don't think any of these solutions help, as I did not write the writer thread and cannot alter its code. Unless I am missing something, use of notify/wait would only move the sleep() to another thread, achieving nothing. Is there no intrinsic, system-based means of having a read block until

Re: [android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread Kostya Vasilyev
19.12.2010 20:37, DulcetTone пишет: I don't think any of these solutions help, as I did not write the writer thread and cannot alter its code. Ah. Unless I am missing something, use of notify/wait would only move the sleep() to another thread, achieving nothing. It would achieve quite a

[android-developers] Re: Building several versions of an app from the same source

2010-12-19 Thread Utumno
Ok, I've tried the 'shell script' approach. First, I tried to just manually adjust my project. So: - I changed the value of 1 constant in my code which determines if it builds into a lite or a full version - I changed android:icon , android:label and 'package' in the manifest - this forced me to

[android-developers] Re: EditText inside ListView

2010-12-19 Thread Andy Savage
This seems to solve the problem. Many many thanks. On Dec 19, 5:34 pm, Sarwar Erfan erfanonl...@gmail.com wrote: You need to change in your AndroidMenifest.xml Add  *android:windowSoftInputMode=adjustPan*   in the activity holding the listview. This will solve your problem.         activity

Re: [android-developers] Re: Building several versions of an app from the same source

2010-12-19 Thread Mark Murphy
On Sun, Dec 19, 2010 at 12:58 PM, Utumno lkoltun...@gmail.com wrote: 'android library' - looks promising, although I already have everything organised in such a way that all I have to do is change the value of one constant in the code and everything else automatically rebuilds into the proper

[android-developers] java.net.SocketException after HTC 4G latest update...

2010-12-19 Thread Moto
The latest update of the HTC 4G has broken my application. Internally I set a socket port listening for some internal messages and it's dieing with the following error: *ERROR/HTTPDataSource(64): HTTP request failed w/ http status 404* What's my code doing: mServerSocket = new ServerSocket(0);

[android-developers] Re: java.net.SocketException after HTC 4G latest update...

2010-12-19 Thread Moto
Oops the actual error is: *12-19 13:42:06.939: WARN/System.err(1198): java.net.SocketException: Interrupted system call 12-19 13:42:06.949: WARN/System.err(1198): at org.apache.harmony.luni.platform.OSNetworkSystem.acceptSocketImpl(Native Method) 12-19 13:42:06.949: WARN/System.err(1198):

[android-developers] Re: java.net.SocketException after HTC 4G latest update...

2010-12-19 Thread Moto
Something important to note about this is that when connected to WiFi this issue does not happen. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: java.net.SocketException after HTC 4G latest update...

2010-12-19 Thread Sarwar Erfan
After you upgraded your Android OS, did you setup correct mobile internet access-point? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread TreKing
On Sun, Dec 19, 2010 at 5:52 AM, Yahel kaye...@gmail.com wrote: Why on earth is the platform this successfull ? Do not confuse the Android *platform* with the Android *Market*. - TreKing

[android-developers] Re: Camera works fine, but deployed camera app says that I need an SD card

2010-12-19 Thread David Karr
On Dec 19, 8:48 am, Kostya Vasilyev kmans...@gmail.com wrote: 19.12.2010 19:36, David Karr пишет: After finally figuring out how to do this (Windows doesn't make it easy), I found it didn't make any difference.  I went through the Safely remove hardware steps, and that removed the drive

[android-developers] Re: java.net.SocketException after HTC 4G latest update...

2010-12-19 Thread Moto
Yes, I have internet access... I can even connect to an URL and fetch a file via code without any issues. This just seems like a weird HTC typical fragmentation issue... :( In the past there was an issue with RTSP servers and WIFI. It would only work when WiFi radio was enabled... -- You

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread Benoit Essiambre
Sorry about the repost. This forum gives no feedback to notify that a message is pending or awaiting moderation. I also submitted a new thread the next day thinking that maybe old threads were closed to new replies. Again sorry about that. BenE wrote: Hi, I have the exact same error. I don't

[android-developers] Re: App disappeared from Market Home

2010-12-19 Thread Jeff
How were you able to get your app to re-appear in the console? I suffered the same issue when I submitted my update. My app is incorrectly in the Games category and don't have a way to fix this category bug. Jeff --- www.trackaroo.com Trackmaster - Motorsports Lap Timer Dynomaster -

[android-developers] Re: Fm Radio

2010-12-19 Thread Gaz Davidson
The FM radio app which everyone is using was apparently created by Code Aurora (sourcehttps://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/apps/FM.git;a=tree;f=src/com/quicinc;h=05bfe62320ba5975febb002c14c761e4b074f04d;hb=HEAD), adapted up by the MiUI team

Re: [android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread Kostya Vasilyev
Market is certainly successful - from the consumer's and device manufacturer's point of view. Even failed downloads or checkout transactions don't seem to affect how it's seen. It does have rough edges when you look at it from the developer's perspective, as we all know too well. Perhaps

Re: [android-developers] Re: Setting Wallpaper

2010-12-19 Thread Dianne Hackborn
What phone are you doing this on? It works fine on all of my phones. Also note the desired image size is based on what the current launcher app expects. Something else could be installed that sets it to something different. The platform just reports whatever was last requested by an app. On

Re: [android-developers] Re: Setting Wallpaper

2010-12-19 Thread Dianne Hackborn
Oh and in the standard launcher app, the requested size will be slightly wider than the screen in landscape, and the same height as the screen in portrait. This is to ensure the image is large enough to fill a portrait screen, and still be able to provide a bit of parallax on a landscape screen

Re: [android-developers] Re: Setting Wallpaper

2010-12-19 Thread Dianne Hackborn
Actually ignore that last part, the wallpaper still needs to be the height of the screen in portrait. Duh. :p You should see in the gallery wallpaper cropping UI that the size it wants is slightly longer than tall, but not as much as a WVGA screen. At least, again, for the standard platform

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread Bob Kerns
You're missing something. Surprisingly, so are Dan and Kostya! :=) 1) use of notify/wait does not involve sleep in any way, shape, or form. It is, in fact, exactly what you're asking for -- but at a very low level that you don't even need to worry about here. 2) The normal way to read, blocking

[android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread Yahel
Do not confuse the Android *platform* with the Android *Market* I don't. But part of the success of the platform should come from apps made by developpers who tries to cope with the piece of junk that is the market, the piece of junk that is the documentation, the non-existing piece of junks

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread Bob Kerns
There is no reason you need to use the version of Ant that is used by Eclipse -- and I recommend that nobody ever do so, ever, for any reason. It just makes no sense as a development practice to depend on an internal feature of the IDE for non-IDE things. That's besides the fact that the Eclipse

[android-developers] Re: Fun - Android Market failure on update

2010-12-19 Thread Yahel
Sorry I promised it was my last rant on the market but then this happens and I couldn't stop laughing : http://www.picvalley.net/v.php?p=u/2809/69253461918203477631292789388CRkaZVDRjg1Pl0HPbAb7.JPG Way to go market team :D Yahel -- You received this message because you are subscribed to

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread Bob Kerns
Still running Windows XP, I see. With Internet Explorer 6, perhaps? You might be able to get around this with a directory link ('junction'). The capability is in XP, but not the command. You can get that from here: http://technet.microsoft.com/en-us/sysinternals/bb896768 Of course, your local

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread H
I've downloaded the latest release of Ant and updated ANT_HOME in eclipse to use this version (1.8.1) and the build trying to use proguard still fails as above. The problems with spaces in the folder hierarchy is still the main problem. -- You received this message because you are subscribed

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread H
Thanks for your comment, but you are being a bit unfair there. Competent IT department or not, there really shouldn't be a problem with spaces in the folder name as the vast majority of all the other software I run on my windows machine has no problem whatsoever. I don't want to get into the

Re: [android-developers] Issue with startActivity

2010-12-19 Thread YuviDroid
You need to add the test activity into your manifest. Anyway, use logcat to see the error that is being thrown, as Kostya suggested. On Sun, Dec 19, 2010 at 5:59 PM, apachetechnology ad...@apachetechnology.net wrote: I am trying to start a activity from ListActivity but its crashing.

Re: [android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread Kostya Vasilyev
Bob, Yes, you're right, that's how it works. Somehow I got the impression that the OP was using a byte array stream, which does report end of input as soon as the end of its byte array is reached. Rereading the post, I realized that he never actually said he was using a byte array stream.

[android-developers] need the script for back button emulation

2010-12-19 Thread Aco
can someone tell me what script/command I need to run on a rooted phone to emulate android's hardware back button? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread Bob Kerns
Oh, I quite agree. I'm not being very unfair -- but I certainly didn't say or intend to imply that the script is not at fault. The one bit of unfairness is I inadvertently lay the blame for the problem on your IT department. I intended only the blame for your inability to bypass the (entirely

[android-developers] Alert Dialog

2010-12-19 Thread Jatin D Patel
Can we set font size of message inside alertdialog? -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Alert Dialog

2010-12-19 Thread Mark Murphy
Use setView() on AlertDialog.Builder and supply a TextView that is formatted however you wish. On Sun, Dec 19, 2010 at 4:20 PM, Jatin D Patel depo.ja...@gmail.com wrote: Can we set font size of message inside alertdialog? -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: ProGuard Integration?

2010-12-19 Thread Bob Kerns
There are two different problems. Ant scripts don't usually suffer from the the spaces-in-directories problems, as they don't usually, if coded correctly, involve constructing command lines as strings. (The ant tasks, if used correctly, will handle the quoting issues correctly automatically). I

[android-developers] Who or What is AppBrain?

2010-12-19 Thread Doug Gordon
OK, I went to their site and claimed my product, but I'm confused as to the relationship between AppBrain and the Android Market. Mainly, where are the statistics on AppBrain coming from? In addition to the description and screenshots, they have the overall rating and comments directly from

Re: [android-developers] Who or What is AppBrain?

2010-12-19 Thread Mark Murphy
On Sun, Dec 19, 2010 at 4:40 PM, Doug Gordon gordo...@gmail.com wrote: OK, I went to their site and claimed my product, but I'm confused as to the relationship between AppBrain and the Android Market. Mainly, where are the statistics on AppBrain coming from? Anything that comes from the

[android-developers] Re: Fm Radio

2010-12-19 Thread Bob Kerns
I'm not about to spend my time on producing an example or even tracking it down, as I just don't have the time. But it looks like Gaz Davidson has tracked one down -- though it's different than the app on my phone, which appears to have been created by HTC. This is good news for you, actually,

[android-developers] Re: TweetDeck android app like column view

2010-12-19 Thread Sougata
Hi Jean-guy, Is it possible to add programatically the include xml code inside the specific deezapps-horizontal-page tag? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Setting Wallpaper

2010-12-19 Thread Neilz
Dianne, I'm using three devices to play with this... Nexus, Hero, Europa. Basically I've spent way too many hours trying to get this to work programmatically with a screen sized (320 * 480) image. It clearly isn't practical to set wallpaper with an image of those dimensions... I'm just going to

Re: [android-developers] getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Tabman
Hi, I have a question related to this. How many phones are out there with this type of behavior ? I want to access Camera Photos/Videos on a phone and for that I've used EXTERNAL_CONTENT_URI but it seems that approach would fail on a phone like Droid Incredible. How should I design my app such

[android-developers] Re: Who or What is AppBrain?

2010-12-19 Thread String
AppBrain is somebody's vision of what the Market should be, and it's not a bad one. The basic app information (name, description, etc) is pirated from the Market, as Mark says, but a lot of the other data is stuff they've gathered their own, as far as I can tell. Their client has enough users

Re: [android-developers] getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Tabman
In fact to add to that is there a link between EXTERNAL_CONTENT_URI .getExternalStorageDirectory() as I use attributes from MediaStore (DATE_MODIFIED etc.) how could I use those with .getExternalStorageDirectory(). Is

[android-developers] How to actually see log messages in ADT, or anywhere for that matter?

2010-12-19 Thread David Karr
I've deployed an app to my device that calls Log.v(String, String). I'm using the ADT. I have the LogCat view showing. I step over the line of code that calls Log.v(). Nothing appears in the LogCat view. I haven't added any filters. I've tried clicking the V toggle button in the LogCat view,

[android-developers] Re: Dynamically reading drawable file names

2010-12-19 Thread darrinps
I had the code in my start up (splash) activity, so yes it was in the proper (as far as I know of) Context. Yes, I did try to use the Resources.getSystem() verbatim. What normal Resources object are you referring to? In other words, if you cannot do: mResources = Resources.getSystem(); Then

Re: [android-developers] How to actually see log messages in ADT, or anywhere for that matter?

2010-12-19 Thread Kostya Vasilyev
You could try running adb logcat from your computer's command line. That would tell you if it's the device or Eclipse that is the problem. If the device's logcat works, you will see lots of output, not just your application's. All tags should be enabled by default. -- Kostya Vasilyev --

[android-developers] Market 15min refund period -- and a problem

2010-12-19 Thread Zsolt Vasvari
The 15 min period has now started, people seeing that on their receipts. I have decided to still honor the previous 24hr period as my app is impossible to evalute in 15 mins. That said, the Market team decided, in their infinite wisdom, that orders still don't get finalized for 24 hrs, so what

[android-developers] Re: Setting Wallpaper

2010-12-19 Thread String
I've tested this extensively on my G1 and N1 (not to mention innumerable emulator instances), and the stock Launcher asks for an image 2*portrait-height x 1*portrait-height. So on HVGA it's a 640x320, on N1-spec WVGA it's 960x480, etc. If you give it any other size, it will be scaled to fit

[android-developers] Re: Dynamically reading drawable file names

2010-12-19 Thread String
On Sunday, December 19, 2010 10:19:57 PM UTC, darrinps wrote: Yes, I did try to use the Resources.getSystem() verbatim. What normal Resources object are you referring to? In other words, if you cannot do: mResources = Resources.getSystem(); Then what would be to the right of:

[android-developers] Flipping views (or: the magic behind onInterceptTouchEvent)

2010-12-19 Thread Marc Reichelt
Hi! I want to create a new widget for Android developers which allows to use the same functionality as seen on the home screen (flipping between different screens), the calendar (flipping between days) or TweetDeck (flipping through Twitter columns). The source for the launcher is there, so I

[android-developers] Re: Stuck at Screen Locked View

2010-12-19 Thread Indicator Veritatis
But since it only happens on the emulator, and the workaround is so simple, fixing it has been and still is low priority. On Dec 16, 3:46 pm, MereMortal abhis...@mindsapling.com wrote: Just Press the MENU button on the right. I am not sure if this is documented somewhere or it is a bug but when

[android-developers] Re: Using AndroidHTTPClient

2010-12-19 Thread Hal
The following links may be useful. Jt implements web/services and messaging on Android: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html b) Messaging Design

[android-developers] Re: Scrollbar as data input

2010-12-19 Thread Pikoh
Thanks, that was exactly what i was looking for :) On 18 dic, 19:47, Mark Murphy mmur...@commonsware.com wrote: Try SeekBar. On Sat, Dec 18, 2010 at 1:41 PM, Pikoh pik...@gmail.com wrote: I hope i make myself understood. What I want is to use something like a scrollbar to let the user

[android-developers] Android SDK installer can't find Java

2010-12-19 Thread CasaDelGato
I'm running Win 7 x64. I just downloaded the latest Android SDK installer - installer_r08-windows.exe When I run it, it tells me that I don't have the Java SDK installed. I do. I even re-installed it to make sure. It still can't find it. Suggestions? -- You received this message because you

[android-developers] Re: Market 15min refund period -- and a problem

2010-12-19 Thread niko20
You can still cancel the order and it will never be charged. On Dec 19, 4:35 pm, Zsolt Vasvari zvasv...@gmail.com wrote: The 15 min period has now started, people seeing that on their receipts. I have decided to still honor the previous 24hr period as my app is impossible to evalute in 15

[android-developers] Re: Who or What is AppBrain?

2010-12-19 Thread mathijs
Hi Doug, I'm glad you like the data we provide after claiming your app. The recognizable things like the 5-star ratings and market comments of course come directly from Google. However, the thumbs-up / down reviews are posted by AppBrain users, and the phone models, countries, hotness graph etc.

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread Bob Kerns
I figured it'd be something like that. Confusion can be contagious... :=) Using a byte array stream says you know how much data you have up front. You can't grow arrays in Java. The growable equivalent would be a PipedInputStream/PipedOutputStream pair, and read operates there as you'd expect,

[android-developers] Re: getExternalStorageDirectory() on NEXUS S

2010-12-19 Thread Doug
On Dec 19, 2:14 pm, Tabman tabishfay...@gmail.com wrote: I have a question related to this. How many phones are out there with this type of behavior ? I want to access Camera Photos/Videos on a phone and for that I've used EXTERNAL_CONTENT_URI but it seems that approach would fail on a phone

[android-developers] Re: Android SDK installer can't find Java

2010-12-19 Thread DanH
Add Java to your system path? On Dec 19, 5:14 pm, CasaDelGato johnlussm...@gmail.com wrote: I'm running Win 7 x64.  I just downloaded the latest Android SDK installer - installer_r08-windows.exe When I run it, it tells me that I don't have the Java SDK installed. I do. I even re-installed it

  1   2   >