[android-developers] Animation not displaying in onBackPressed

2011-08-10 Thread Stefan Alder
I'm trying to slide a custom modal view off the screen with a translation animation when the user presses the hardware back button. I call the panel.setAnimation method within onBackPressed, but while the method executes, the animation is not visible. Only until I touch the display does it redraw

[android-developers] ad-mob

2011-08-10 Thread bob
What is the best way to get an ad-mob ad to look decent in landscape mode? -- You received this message because you are subscribed to the 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

[android-developers] How can use two cameras to record video or capture pic simultaneously?

2011-08-10 Thread shubh
Hi team, Can any body suggest me to "How can use two cameras to record video or capture pic simultaneously". Basically I want to use both cameras at same time and then generate single file at place of two. Thanks -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] How can use two cameras to record video or capture pic simultaneously?

2011-08-10 Thread shubh
Hi team, Can any body suggest me to "How can use two cameras to record video or capture pic simultaneously". Basically I want to use both cameras at same time and then generate single file at place of two. Thanks -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] How to make a select region of a custom widget scroll

2011-08-10 Thread sunny
Hi, I have a custom widget inherited from a EditText. Since it is of type EditText, the intention is that i want it to be a free text area where the user can type and say reach the last line, it would scroll down. I want to achieve the following things though: a) i only want to scroll a certain se

[android-developers] Re: Intents

2011-08-10 Thread kypriakos
Ok the answer to what I asked last is yes, I was able to get the Activities to communicate via the Extras. The Preview starts, snaps pictures and then the subsequent call stops the preview. Now regarding to what Dianne pointed out, I will look into her suggestions and see where we need to inject

[android-developers] Re: Android Application Development

2011-08-10 Thread Sourav Howlader
Hi Lakshmi , I think you are looking for this: startActivity(new Intent("android.intent.action.VIEW", Uri.parse("http://google.com";)); Regards, Sourav -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] unable to open default application from phone when list item is clicked!!!

2011-08-10 Thread Atik
Hi , i have a list view, list item came from server side, some times its mp3,pdf,txt,doc,mp4,3gp etc, so finally my list contains diff files of diff extensions, so i want when user clicks on any item then, the by defualt application should start from the phone, means when user clicks on the pdf fil

[android-developers] Re: Intents

2011-08-10 Thread kypriakos
You have legitimate points Dianne .. thanks for the detailed feedback. I am running a web server on the phone (iJetty) and the servlet that handles incoming requests starts an activity that puts the phone into a camera preview. This works fine. I wanted subsequent service calls to reach the same

Re: [android-developers] Multiple Activity Problems

2011-08-10 Thread Nikolay Elenkov
On Thu, Aug 11, 2011 at 1:09 PM, Matt Clark wrote: > what do you mean missing break in switch? Never mind, you are using separate listener classes. > Now the about screen works fine, but when i click on the link to open the > Team228.class, it crashes on > lbl_teamhometext.set.. > no idea wh

Re: [android-developers] Multiple Activity Problems

2011-08-10 Thread Matt Clark
lbl_team228.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Master.this.startActivity(new Intent(Master.this, Team228.class)); } }); lbl_about.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Mas

Re: [android-developers] Multiple Activity Problems

2011-08-10 Thread Matt Clark
what do you mean missing break in switch? I launch one, press back, and then go into the next. I also tred using: final TextView lbl_teamhometext = (TextView) findViewById(R.id.lbl_teamhometext); lbl_teamhometext.setText(R.string.info_firsthome); and: final TextView lbl_infoabout = (Tex

Re: [android-developers] Multiple Activity Problems

2011-08-10 Thread Nikolay Elenkov
On Thu, Aug 11, 2011 at 12:19 PM, MattClark wrote: > > For some reason, every time i try to go to the different activities, > it only loads the about layout into both of the activities. Does > anyone have any suggestions? If needed i will post all source. > Thanks in advance Missing break in swi

[android-developers] molasses Debug mode

2011-08-10 Thread bob
When I run my Android game on my phone in Debug mode, it is slow as molasses. Is there any way to fix 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 unsubsc

Re: [android-developers] How to close entire app?

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 9:55 PM, ndiiie 90 wrote: > how to close entire app? Wait for user to press back repeatedly. No, seriously. - TreKing - C

[android-developers] Re: Cheap Bluetooth devices sought

2011-08-10 Thread MattClark
http://www.gridconnect.com/btmodule.html Bluetooth Periphial Device Just Send Serial Commands Over BT and then convert via Microcontroller. For <=$10 it will be pretty hard to find one. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Multiple Activity Problems

2011-08-10 Thread MattClark
In Master Class: Called On Button Press Intent Team228Intent = new Intent(Master.this, Team228.class); Master.this.startActivity(Team228Intent); In Team228 Class: setContentView(R.layout.team228_home); In Master Class: Called On Button Press Intent AboutIntent = new Intent(Master.this, About.c

[android-developers] How to close entire app?

2011-08-10 Thread ndiiie 90
Hi guys, how to close entire app? if i use finish(), it will only reversed back to previous activity. if i use android.os.Process.killProcess(android.os.Process.myPid()), it is not really close entire app. Thanks, Rendy -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: check wakelocked for each process

2011-08-10 Thread Hiko
Hello Dianne, appreciate your answer. I expect that API will be provided from ice cream... Thank you very much. Regards, On 8月10日, 午後3:36, Dianne Hackborn wrote: > Sorry you can not.  There is no application API for this, nor do I expect > there ever to be one. > > > > > > On Tue, Aug 9, 2

Re: [android-developers] out of memory when excute the CTS case of Camera

2011-08-10 Thread mlc
I think this is not a error,are you? 2011/7/30 xhy : > Hi all, > > The error occurs when excute CTS case > "android.hardware.cts.CametaTest#testPreviewPictureSizesCombination",it fail > in the method "takePicture()" of the code.But it is normal when take a > photograph. And the parameters are bot

Re: [android-developers] Re: Payout much smaller than expected

2011-08-10 Thread Nikolay Elenkov
On Thu, Aug 11, 2011 at 4:20 AM, Gregg Reno wrote: > Are there still problems with Google Checkout for app purchases?  It > seems that even now, things do not look right to me with the daily > payout amounts being under reported.  Here is what I'm seeing... > > > However, some transactions ju

Re: [android-developers] Re: how best to access string resources from AsyncTask.doInBackground

2011-08-10 Thread Nikolay Elenkov
On Thu, Aug 11, 2011 at 9:21 AM, Zsolt Vasvari wrote: > That might work, though I cringe how bad an OO practice it is to > define something as the concrete class when the interface would > suffice.  Not that my opinion on OO practices really matter. Well, internally you would be using the interfa

[android-developers] Re: Convert map cordinates to the location name

2011-08-10 Thread Spiral123
more specifically, Google for 'reverse geocoding' On Aug 9, 3:05 am, Ratheesh Valamchuzhy wrote: > Hi All > >   i am developing an app related to location based services in android >   in my app  I get a cordiante value (Longitude, lattitude) as some double > numbers such as -132.535676464655 and

Re: [android-developers] Re: New email received intent

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 8:15 PM, Wieger Aaron Visser wrote: > Oh. I just find it kindof strange that there's no official way of an > application to browse the email inbox or get notifications of new mail. It's > so simple with SMS, that its just kindof weird that it's not in email. SMS isn't supp

[android-developers] Re: how best to access string resources from AsyncTask.doInBackground

2011-08-10 Thread Zsolt Vasvari
That might work, though I cringe how bad an OO practice it is to define something as the concrete class when the interface would suffice. Not that my opinion on OO practices really matter. I sitll think that if an interface is not applicable for certain operations, like the Application Context ca

Re: [android-developers] Re: New email received intent

2011-08-10 Thread Wieger Aaron Visser
Oh. I just find it kindof strange that there's no official way of an application to browse the email inbox or get notifications of new mail. It's so simple with SMS, that its just kindof weird that it's not in email. I haven't seen online any real explanation of why it's not in there for email,

Re: [android-developers] Re: New email received intent

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 7:18 PM, Wieger Aaron Visser wrote: > Why is this? Why is what? > Is Google intentionally trying to make email go away? Not really. It is possible that K-9 or other email clients offer an API that, among other things, includes broadcast Intents for new emails. I am not a

Re: [android-developers] Re: New email received intent

2011-08-10 Thread Wieger Aaron Visser
Why is this? Is Google intentionally trying to make email go away? -- You received this message because you are subscribed to the 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 androi

Re: [android-developers] unable to open recorded file for playing

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 4:12 PM, Amit Mangal wrote: > FileInputStream fis = openFileInput(filePath); <---This line > code crashes but i check the path file is available there Consider posting the stack trace of your crash if you'd like help with it.

[android-developers] Re: Cheap Bluetooth devices sought

2011-08-10 Thread cellurl
$32/qty1. Pretty affordable... Thanks cellurl On Aug 8, 11:06 pm, Lotfi wrote: > Hi > > LMX9838 > you need to add a microcontroller (PIC24F64A002 or something else) > > best > > On 8 août, 18:55, cellurl wrote: > > > > > > > > > Anyone know of a $10 bluetooth device that I can buy in low > > qua

[android-developers] System misreporting free system memory?

2011-08-10 Thread Julian
Hey all, We've just finished a launch and we're getting sporadic reports of our app detecting far less free memory on the working drive than the system itself reports. On our test devices we're not seeing this, but on some user devices they're getting reports of ~7mb free, while the system reports

[android-developers] Re: Html-style links inside ListView items

2011-08-10 Thread nadam
Yep. Did some more testing. AutoLink works for non-html-links, but not with html-links. Clicking the rest of the list item doesn't work (takes you to one of the links instead of the click event of the list item). The html-link is displayed as plain text. Without autolink, the html-link looks like

[android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread RLScott
Well, it is no longer an issue. I decided to work with the byte array (String.getBytes("UTF-8")) instead. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscri

[android-developers] Test Case Error

2011-08-10 Thread Ab Caballero
I have a fairly simple Test Project that tests the user interface of an activity. My problem is that it fails toward the end of the test and i don't know why. 1) The preconditions for getActivity(), the buttons and view pass 2) The test that the view is visible passes 3) The test that the view is

Re: [android-developers] Re: connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread Kristopher Micinski
> > > maybe there is another solution. > I can get rid of FTDI and connect serial com to Arduino IOIO (it has > UART) and then to Android. > Could it work ? > > Why not? I mean, that's what that board was designed for, right? Kris -- You received this message because you are subscribed to the G

Re: [android-developers] Re: Payout much smaller than expected

2011-08-10 Thread Jon F Hancock
I see a lot of those too. I'll file an inquiry too. On Wed, Aug 10, 2011 at 1:42 PM, Spiral123 wrote: > Thanks for pointing this out, I see the same thing, going back to at > least May 25th (the earliest I have checked). > > I've filed a query with the checkout team. > > > > On Aug 10, 3:20 pm,

[android-developers] unable to open recorded file for playing

2011-08-10 Thread Amit Mangal
Hi Everyone, I am trying t orecord audio and play audio file. I am successfully able to record audio file in SDCard. but when i am trying to playing it i am getting exception means not able to open file descriptor.below is my source code. I am able to play recorded file outside from my app by nativ

[android-developers] Two menu buttons in Honeycomb?

2011-08-10 Thread mort
I'm currently adding new Honeycomb features to my app. After adding the Action Bar, there are now two menu buttons - one in the upper right corner (Action Bar) and one in the Status Bar. Both will open the menu in Honeycomb style (dropdown in upper right corner). Any ideas how this could happen and

[android-developers] Re: Payout much smaller than expected

2011-08-10 Thread Spiral123
Thanks for pointing this out, I see the same thing, going back to at least May 25th (the earliest I have checked). I've filed a query with the checkout team. On Aug 10, 3:20 pm, Gregg Reno wrote: > Are there still problems with Google Checkout for app purchases?  It > seems that even now, thin

[android-developers] Re: On ExpandableListViews Again

2011-08-10 Thread Paul
Could you elaborate on the solution you found? I'm experiencing the same view-restriction issue. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from t

[android-developers] Re: connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread razor
On 10 Sie, 20:45, Kristopher Micinski wrote: > On Wed, Aug 10, 2011 at 2:25 PM, razor wrote: > > thanks for link! > > > is it depend on device too? (like power thru USB) > > is it possible to flash custom ROM 3.1 on an older  device? (with > > 2.2-2.3 android originally) > > You'll probably want

[android-developers] Re: Problems with Orders Inbox?

2011-08-10 Thread Gregg Reno
That's good news - thanks. I was thinking they only thought it was related to July payouts. -Gregg On Jul 26, 11:21 pm, Mark Carter wrote: > They've just fixed this in the last hour or so: > > http://www.google.com/support/androidmarket/developer/bin/static.py?p... -- You received this message

[android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread RLScott
On Aug 10, 2:50 pm, Nick Risaro wrote: > > It's not unclear at all "This sequence of characters *must represent a > positive value* or a > NumberFormatExceptionwill > be thrown" The docs for the Long class say that the MA

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Kostya Vasilyev
I'd try cleaning the Market app's cache (in system settings, under app management). 10.08.2011 23:53, Tobiah пишет: I'm seeing this. There is no 'main' directory in /data/data/com.android.vending/cache. Thanks, Tobiah -- Kostya Vasilyev -- You received this message because you are subs

[android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread hoyski
The problem is that 0x9774d56d682e549c is a positive value that's too large to fit in a 64 bit long. If the intent is that the high bit of the first digit indicates sign, then you'll need to mask off the high bit and add a leading minus sign when the high bit is on. E.g. Long.decode("-0x1774d56d682

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Tobiah
On 08/10/2011 12:16 PM, Kostya Vasilyev wrote: Check the logcat while installing. The error message you see in Market may not match what's actually happening at the low level. I'm seeing this. There is no 'main' directory in /data/data/com.android.vending/cache. Thanks, Tobiah I/LSState (

Re: [android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread Kostya Vasilyev
In Java, integer types are signed. 10.08.2011 23:48, RichardC пишет: I think it treats the hex value as positive as it can be preceeded by a minus sign. From the docs: " The string may be an optional minus sign "-" followed by a hexadecimal ("0x..." or "#..."), octal ("0..."), or decimal ("..."

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Tobiah
On 08/10/2011 12:10 PM, TreKing wrote: On Wed, Aug 10, 2011 at 1:59 PM, Tobiah mailto:t...@tobiah.org>> wrote: The download completed, but during install, I got an alert saying "Insufficient storage available". I have enough space, I think. 3Gig SD, and 40MB internal. My app's .ap

Re: [android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 4:48 PM, RichardC wrote: > " The string may be an optional minus sign "-" followed by a > hexadecimal ("0x..." or "#..."), octal ("0..."), or decimal ("...") > representation of a long." > > I agree it is unclear. > It's not unclear at all "This sequence of characters *mus

Re: [android-developers] Why does Long.decode fail?

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 4:29 PM, RLScott wrote: > I am trying to convert a string of 16 hex digits to a 64-bit Long, but > there is a run-time exception for negative values: > >Long a = Long.decode("0x3774d56d682e549c"); //..works just fine > >Long a = Long.decode("0x9774d56d682e549c"); /

[android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread RichardC
I think it treats the hex value as positive as it can be preceeded by a minus sign. From the docs: " The string may be an optional minus sign "-" followed by a hexadecimal ("0x..." or "#..."), octal ("0..."), or decimal ("...") representation of a long." I agree it is unclear. On Aug 10, 8:29 p

[android-developers] Re: Google maps opens up in app with the entire US map

2011-08-10 Thread hoyski
Check out the docs for com.google.android.maps.MapController. Retrieve the MapController associated with your map view then use methods like setZoom() and setCenter() to control the map's display. If you want the map to be centered at the device's location then it'll be up to you to use a Location

Re: [android-developers] Re: Html-style links inside ListView items

2011-08-10 Thread Mark Murphy
It worked for me on my Patchy sample, way back when. I used android:autoLink in the layout XML and did not have setMovementMethod(). However, I never bothered to try to get both autoLink and regular onListItemClick() to work together. I would imagine the solution for this is the same as the "how d

[android-developers] Re: Html-style links inside ListView items

2011-08-10 Thread nadam
Is this a bug in Android with no known work-around? On 2 Juli, 20:45, nadam wrote: > I've read many posts about the problem with having links insideListViewitems. > The suggestions include: > > - setText(Html.fromHtml(textWithHtmlLinks)) > - setAutoLinkMask(Linkify.WEB_URLS) > - setMovementMetho

[android-developers] Why does Long.decode fail?

2011-08-10 Thread RLScott
I am trying to convert a string of 16 hex digits to a 64-bit Long, but there is a run-time exception for negative values: Long a = Long.decode("0x3774d56d682e549c"); //..works just fine Long a = Long.decode("0x9774d56d682e549c"); //..crashes with a run- time exception Apparently you can'

[android-developers] Re: Payout much smaller than expected

2011-08-10 Thread Gregg Reno
Are there still problems with Google Checkout for app purchases? It seems that even now, things do not look right to me with the daily payout amounts being under reported. Here is what I'm seeing... - Go to Google Checkout and click Payouts tab - You see a daily list of purchases, with the title

[android-developers] Re: Hidden WebView

2011-08-10 Thread nadam
I haven't tried this, but i think you can just put the WebView behind the main view using FrameLayout or hide it using visibility GONE. See http://groups.google.com/group/android-developers/browse_frm/thread/d8ceaf78b1e4d27c On 9 Aug, 15:25, yakobom wrote: > Hi, > I'm kinda new to Android. I have

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Kostya Vasilyev
Check the logcat while installing. The error message you see in Market may not match what's actually happening at the low level. 10.08.2011 22:59, Tobiah пишет: I pushed a new version of my app up today, and when it appeard in the market, I tried to upgrade. The download completed, but during

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread TreKing
On Wed, Aug 10, 2011 at 1:59 PM, Tobiah wrote: > The download completed, but during install, I got an alert saying > "Insufficient storage available". I have enough space, I think. 3Gig SD, > and 40MB internal. My app's .apk is around 100k. > Funny, I was just having similar issues - my phone

[android-developers] Re: rotating textview

2011-08-10 Thread nadam
You could create your own view for that. Something like this: http://www.pocketmagic.net/?p=1625 I'm not sure that solves your problem though, but it's a start. On 9 Aug, 06:11, ram wrote: > Hi, In my project i want to display a textview in vertical view (from > top to bottom). I have used andro

[android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Tobiah
I pushed a new version of my app up today, and when it appeard in the market, I tried to upgrade. The download completed, but during install, I got an alert saying "Insufficient storage available". I have enough space, I think. 3Gig SD, and 40MB internal. My app's .apk is around 100k. I went t

[android-developers] transparent images

2011-08-10 Thread hectordu...@yahoo.com
hi guys, i am trying to overlap two images, a transparent one over an opaque button background. Three simple lines: res = getResources(); Drawable spinImage = res.getDrawable(R.drawable.n8); ((Button) findViewById(R.id.spinButton_5)).setBackgroundDraw

Re: [android-developers] Re: connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread Kristopher Micinski
On Wed, Aug 10, 2011 at 2:25 PM, razor wrote: > thanks for link! > > is it depend on device too? (like power thru USB) > is it possible to flash custom ROM 3.1 on an older device? (with > 2.2-2.3 android originally) You'll probably want to check another forum for rooting / flashing your device

[android-developers] Re: XML Parsing Methods

2011-08-10 Thread martypantsROK
http://developer.android.com/reference/javax/xml/parsers/package-summary.html http://developer.android.com/reference/org/xml/sax/package-summary.html http://developer.android.com/reference/org/xmlpull/v1/package-summary.html On Aug 9, 12:29 pm, Shahs wrote: > SAX PARSING & DOM PARSING > > On Aug

[android-developers] Divider below ListView header

2011-08-10 Thread nadam
ListView lets you add a header using addHeaderView(). Is there any way to make the ListView draw a divider between the header and the rest of the list, i.e. the same divider that is drawn between individual list items? I've tried calling setHeaderDividersEnabled(true), but that doesn't help. I've

[android-developers] Re: connecting USB serial device to Android handset, is it possible?

2011-08-10 Thread razor
thanks for link! is it depend on device too? (like power thru USB) is it possible to flash custom ROM 3.1 on an older device? (with 2.2-2.3 android originally) On 10 Sie, 17:02, lbendlin wrote: > this may help > > http://developer.android.com/guide/topics/usb/host.html -- You received this m

Re: [android-developers] opening physical keyboard restarting my app

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 2:01 PM, David Toledo wrote: > How to prevent opening physical keyboard restarting the app. I've test with > the following code: > > android:screenOrientation="portait" > android:configChanges="keyboardHidden|orientation|keyboard" > > but no resolve my problem Ideally, you

[android-developers] opening physical keyboard restarting my app

2011-08-10 Thread David Toledo
Hi All How to prevent opening physical keyboard restarting the app. I've test with the following code:android:screenOrientation="portait" android:configChanges="keyboardHidden|orientation|keyboard" but no resolve my problem Thanks David -- You received this message because you are subscribed t

Re: [android-developers] Website login with points report

2011-08-10 Thread TreKing
On Mon, Aug 8, 2011 at 10:07 PM, Martino wrote: > How could I go about getting started on creating one of these? That's a broad question, so here's a broad answer: read the documentation, run through samples, learn to make an android app, and learn to connect to and login to a website through c

Re: [android-developers] SQLite database directory when device connected?

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 1:40 PM, Duygu Kahraman wrote: > one of my app i want to use sqllite.I create database but when DEVİCE > CONNECT to pc, i cant see my database because data directory couldn > open. > > /data/data/your.package.here/databases just work emulator.How can i > see  my database wh

[android-developers] SQLite database directory when device connected?

2011-08-10 Thread Duygu Kahraman
Hi all; one of my app i want to use sqllite.I create database but when DEVİCE CONNECT to pc, i cant see my database because data directory couldn open. /data/data/your.package.here/databases just work emulator.How can i see my database when device connected. Thanks for advice. Duygu Kahraman h

[android-developers] Re: Problem with monkeyrunner. java.lang.ClassCastException when use sameAs().

2011-08-10 Thread Chris Habecker
Hi Alexander, I wrote a workaround answer to your post at http://stackoverflow.com/questions/6096422/monkeyrunner-problem-java-lang- classcastexception-when-use-sameas-method/7015108#7015108 Please review my answer and consider accepting or upvoting it even if you have already worked past this

Re: [android-developers] INSTALL_REFERRER honeycomb

2011-08-10 Thread Some Coder
It looks like this might be related to the Market app version, not the Android version. I just saw similar behavior (no BroadcastReceiver called during install, or on first launch) on an Android 2.2. handset running the updated Android market app (version 3.0.27) which came out a couple weeks ago.

Re: [android-developers] Android screen timed out in power manager

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 1:14 PM, Pratik Prajapati wrote: > Can any one please let me know, how/where the screen timeout is implemented? In the operating system. From the standpoint of the Android SDK -- the topic of this Google Group -- that's all an SDK application should care about. > Its like

Re: [android-developers] Help me!!!

2011-08-10 Thread TreKing
On Tue, Aug 9, 2011 at 1:46 AM, ram wrote: > Hello, I'm trying to find a way to rotate a View, or (more conveniently) an > entire layout, upside down and have it stay that way. > I would try overriding onDraw for your Layout, applying a transform on the canvas and then calling the base draw func

Re: [android-developers] direction of text

2011-08-10 Thread Appaholics
Have multiple TextViews stacked one on top of the other with one letter in each TextView. It may not be the most efficient way but it will work. Thanks On Tue, Aug 9, 2011 at 11:13 AM, ram wrote: > Hi, In my android project, I want to display a textview in vertical > orientation(from top to bot

Re: [android-developers] Hidden WebView

2011-08-10 Thread Appaholics
It is highly unlikely that you actually need to do that. If you can tell us what you are trying to achieve then maybe we would be in a better position to help. Thanks On Tue, Aug 9, 2011 at 6:55 PM, yakobom wrote: > Hi, > I'm kinda new to Android. I have my main view, and I need to create > and

Re: [android-developers] image search engine

2011-08-10 Thread Appaholics
Hi there, This is an Android SDK developers list. Leave. Thanks On Tue, Aug 9, 2011 at 12:41 PM, Stefant wrote: > Hi there, > > we are a small start up and we developed a image search engine which > is very fast and it can scale, we can look for a search in a index of > a few million images >

Re: [android-developers] Problem With Load IMage in sdcard

2011-08-10 Thread Appaholics
1) I your problem may be 'big' to you but to us it is not. 2) Do not hard code the SDCard path in your app. Always use getExternalStorageDirectory(). 3) If this image is really really important to you, upload it somewhere and use that URL instead Thanks On Tue, Aug 9, 2011 at 3:35 PM, xorn wrote:

Re: [android-developers] Google maps opens up in app with the entire US map

2011-08-10 Thread Appaholics
Well for a start you might want to get the current location of the user and display it. You could also set the zoomlevel to have the map zoomed in by default. Thanks On Tue, Aug 9, 2011 at 10:55 AM, Buddy123 wrote: > Hi, > > I am creating an app that will display a map using the Google maps app

[android-developers] Android screen timed out in power manager

2011-08-10 Thread Pratik Prajapati
Hi, Can any one please let me know, how/where the screen timeout is implemented? Its like when user does not press any key or touch on the screen, the screen goes timed out and turn off the back light or reduces the brightness! Regards, Pratik -- You received this message because you are subsc

Re: [android-developers] how to use common baseadapter class for all listviews?

2011-08-10 Thread Mark Murphy
On Tue, Aug 9, 2011 at 2:26 AM, Hitendrasinh Gohil wrote: > can anyone tell me how to make common base adapter class to use with > different listviews? public class CommonBaseAdapter extends BaseAdapter { // application-specific logic goes here } -- Mark Murphy (a Commons Guy) http://common

Re: [android-developers] Reporting tool for Android application

2011-08-10 Thread Mark Murphy
http://stackoverflow.com/search?q=%5Bandroid%5D+charting On Tue, Aug 9, 2011 at 2:02 PM, elin wrote: > Is there any reporting API that can be used for displaying local data > as chart or image on the phone? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy ht

[android-developers] direction of text

2011-08-10 Thread ram
Hi, In my android project, I want to display a textview in vertical orientation(from top to bottom). Without using Animation(rotating textview) and Canvas, shall we do? pls help me. Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] Re: Android Location Update every 30 seconds

2011-08-10 Thread Mark Murphy
On Wed, Aug 10, 2011 at 12:35 PM, Hank wrote: > That's great guys, but doesn't help me answer my question as in which > one is the better approach. If i want to update location every 30 > seconds, for say a 10 minute period, which approach is better? You act like you have a choice. You have to le

[android-developers] Sending mock location to device via ddms - location control disabled

2011-08-10 Thread Anil
I am trying to send a mock location to device via ddms. However in the emulator control tab, location control is disabled. Is there an alternative way to do this? Perhaps in a config file on the device? (my device does not have a gps chip and the browser crashes because the location is sent by dif

Re: [android-developers] Re: Live Streaming to Android 2.1

2011-08-10 Thread Honest Knight
hi daniel, can you please be detail about 3rd party library? It will be great if you give some references and samples. - Mahabub Hassan Rahul http://www.flickr.com/photos/mahabub_hassan_rahul/ On Tue, Aug 2, 2011 at 5:48 PM, deepak wrote: > Thanks Daniel. I

[android-developers] Reporting tool for Android application

2011-08-10 Thread elin
Is there any reporting API that can be used for displaying local data as chart or image on the phone? 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 unsub

[android-developers] Activity Flow Brain Teaser

2011-08-10 Thread Neal Sanche
Hi All, I have been learning about the complex problem of Activities, launch flags, Intent flags, tasks and the Activity stack. I've been trying to solve what I thought would be a simple problem. Our application has a Search Activity that can possible be entered through two paths: 1) ServerListA

[android-developers] Insert StatusUpdates into an exist contact, but always insert to a wrong contact

2011-08-10 Thread Brook
sample contacts: _ID DISPLAY_NAME PHONE 1 contact1 2 contact2 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode("")); Cursor c = this.getContentResolver().query(uri, new String[] {Data._ID}, null, null, null); long profileId = 0; if (c.moveToFirst(

Re: [android-developers] Wifi Scanning code

2011-08-10 Thread Matheus Bodo
If you are using Eclipse, look for the LogCat tab to get more information about the exception that's being thrown. This way it's easier to know what's the problem. Cheers, Matheus 2011/8/6 Gabor T. > Here is my code: > package hu.wifx.droid; > > import android.app.Activity; > import android.os.

[android-developers] [Dalvik] JIT profiling

2011-08-10 Thread Oleg Strikov
In the IO 2010 presentation guys from Google's Dalvik team showed profiling capabilities of their JIT compiler. This capability could be enabled with 'dalvik.vm.jit.profile=true' in system properties. But I can't profile JIT on GB and HC. Moreover I can't find 'dalvik.vm.jit.profile=true' processi

[android-developers] Hidden WebView

2011-08-10 Thread yakobom
Hi, I'm kinda new to Android. I have my main view, and I need to create and run a hidden WebView in the background. Can someone help me with that? Thanks in advance, yakobom -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: GPS:Getting SHA1 instead of MD5 fingerprint, wants to get Google MAP API..

2011-08-10 Thread cello
if using keytool.exe -v (jdk 1.7) then different fingerprints are provided (e.g such as MD5 etc.) example: C:\[jdk path]\bin\keytool.exe" -v -list -keystore "C:\Documents and Settings\Administrator.android\debug.keystore" hope this helps? On 10 Jun., 18:56, Prachi wrote: > I am getting follow

[android-developers] Insert StatusUpdates into an exist contact, but always insert to a wrong contact

2011-08-10 Thread Brook
sample contacts: _ID DISPLAY_NAME PHONE 1 contact1 2 contact2 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode("")); Cursor c = this.getContentResolver().query(uri, new String[] {Data._ID}, null, null, null); long profileId = 0; if (c.moveToFirst(

[android-developers] How to Create Panel Control in Android in Eclipse

2011-08-10 Thread LAKSHMI KUMARI YENUMULA
Hi Guys, Am new in Android App.i have requirement like this i have spinner control when am selecting one item show some controls and am selecting another item previous one hide this one show in Panel control. Wch control use them how to create like tis way . Please help me.. Regards Lak

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-08-10 Thread Aiden Thompson-Woods
According to this: http://www.youtube.com/watch?v=ShtWcsof3Rk it is possible. On Jul 25, 5:19 pm, RahulYD wrote: > @Carl > > one of my friends is interested in buying the Xperia Mini/Xperia Mini > Prohttp://www.sonyericsson.com/cws/products/mobilephones/overview/xperia...http://www.sonyericsson.

[android-developers] Re: Serious bug in 3.2 ResolverActivity

2011-08-10 Thread asqz
I have the same problem on Xoom with Honeycomb 3.2 -- You received this message because you are subscribed to the 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] Problem with accessing custom attributes of a custom view/layout

2011-08-10 Thread Balázs Szabó
Hi! I created a custom View called LabeledSpinner that consists of a TextView and a Spinnerand extends LinearLayout. I created an attrs.xml file and put the following lines into it Here is the constructor of my LabeledSpinner: public LabeledSpinner(Context context, At

Re: [android-developers] Android Application Development

2011-08-10 Thread Matheus Bodo
I don't know if I undertood your question, but the way you wrote your code, it will write the source code of the page in the Log. If your intention was to open the browser to load the url, you should do it via Intent. This may help you: http://developer.android.com/guide/topics/intents/intents-f

  1   2   >