[android-developers] How to decode a qr code image

2010-06-06 Thread grace
Hi, I am using Google Zxing QR code library for Android to scan the qrcodes and get the result.. now i don't want to use the camera to scan.. i want to scan a qr code that is stored as a image resource in try app.. can some body guide me how to do it.. any kind of example or documentation on how

[android-developers] Re: How to get the point from click the google map

2010-06-06 Thread SREEHARI
Hi, Pls check this link http://mobiforge.com/developing/story/using-google-maps-android Regards, SREEHARI -- 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 unsu

[android-developers] Re: Augmented Reality framework to display geoloc point

2010-06-06 Thread SREEHARI
Try using MIXARE or LAYAR application. Regards, SREEHARI -- 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-develop

[android-developers] Text to speech unfunctional

2010-06-06 Thread Uander
Hi All , we have ported android 2.1 on one of our custom board . I was checking Text to speech functionality on it . I click Settings->Text to Speech . ..it gives n new screen All options other than "Install voice data" is greyed out . When I click on install voice data . it says "The application

Re: [android-developers] Tab Widget Text Color

2010-06-06 Thread Sasikumar.S
Thanks ... Its working fine now. On Sat, Jun 5, 2010 at 8:32 PM, Mark Murphy wrote: > Sasikumar.S wrote: > > Hi, > > > > In my application i'm using tab widget. > > how can we set the text color and font size to a single tab ?.. > > Any Suggestion ? > > Try TabHost.TabSpec#setIndicator(View) > >

[android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-06 Thread Vinay S
Hi, Why don't you log this info and see.. On Status changed, it gives 3 values 1. Out of service 2. Temp not available 3. Available.. Just see what is the response it is giving.. If it is out of service, then you will not get the fix.. If it is Temp not avail - then try moving your phone to so

[android-developers] Passing Bitmap to Another Activity

2010-06-06 Thread mike
hi guys, i have a Bitmap image and i want to forward the bitmap to another activity. i have two activities Activity A and Activity B this is how i started the Activity B startActivityForResult(new Intent(Activity A.this, Activity B.class), 120); in activity B private void forwardImage

[android-developers] Re: Published app not showing up on HTC Evo or Droid Incredible

2010-06-06 Thread Alberto
No, neither are running Froyo. The Evo I just picked up on Friday when it came out and haven't messed with the OS. Reading other threads here it seems most developers have given up on using copy protection altogether which is what I'm planning. It would be nice if someone from Google would address

[android-developers] Asking for small QA on "HTC Desire" phone (Italy locale)

2010-06-06 Thread EvgenyV
Hi All, I've reported some bug from "HTC Desire" phone running my app ConvertMe(Beta). Unfortunately I can't recreate in on emulator and on my G1. If you are Italian developer using "HTC Desire", please download my app and test currency converter! Thanks in advance, Evgeny -- You received this

[android-developers] refresh gallery after saving photo in android

2010-06-06 Thread Andy Triboletti
Hi, I have an application where I want to have the ability for the user to save one of the photos they are viewing to their phone locally. I got saving working, and now I want to automatically refresh so they don't have to turn off their phone before it shows up in the gallery. I googled around a

Re: [android-developers] Why is Android so buggy?

2010-06-06 Thread Chi Kit Leung
I have spent my HTC magic for a year. So far, I am happy about that. On Mon, Jun 7, 2010 at 10:08 AM, Kevin Duffey wrote: > I am not sure about the emulator menu button to unlock it being a bug... > > The one bug that really bothers me is the multi touch issue on different > devices. I am not su

[android-developers] Setting theme for an activity

2010-06-06 Thread Sudeep Jha
Hi All, This is my themes.xml file < resources> @drawable/bodyimg_blue @color/royalblue @color/midnightblue @style/TextViewBlue

[android-developers] Re: Emulator TCP Packet Size

2010-06-06 Thread Soumya
This may be unrelated but the Android emulator has a packet size limit of around 8K for UDP traffic. I tested it over a couple of wireless (WiFi) networks. On Jun 6, 7:17 am, jpspringall wrote: > Has anyone tried to do a tcp client server app using the emulator > using the pc as a server and the

[android-developers] Re: How to detect CPU Speed?

2010-06-06 Thread SeriousCoder
may I ask, why are trying to get the speed of the cpu? On Jun 5, 7:05 am, Martiño wrote: > Is there a way of getting the speed at which the device is running? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] Can't grok Activity life cycle.

2010-06-06 Thread Leigh McRae
Thank you for such a detailed reply! On 6/6/2010 9:34 PM, Mark Murphy wrote: Leigh McRae wrote: Thing is that the docs says onSaveInstanceState() will be called before onPause() No, it doesn't. In fact, it says just the opposite: "If called, this method will occur before onStop().

[android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Zigurd
Ow. Yeah, that would not be friendly to shortcuts. And I also see how alternative installers work, too, now that I looked into it. It appears that what I want to do would require an app downloading an "update" of itself and installing it in order to show a different set of launcher icons, and that'

[android-developers] Re: Setting theme in an activity

2010-06-06 Thread Bob Kerns
Try moving the setTheme(R.style.Theme_Blue) call to before the super.onCreate(savedInstanceState) call. On Jun 6, 1:55 am, Sudeep Jha wrote: >  Hi All, > > This is my  themes.xml file > > < > resources> > > > > *...@drawable*/bodyimg_blue > >

Re: [android-developers] Re: Multiple notifications, single icon on notification bar?

2010-06-06 Thread Frank Weiss
On Jun 3, 2010 11:34 PM, "Zsolt Vasvari" wrote: Can't you do what GMail does and shows the # of items in parantheses? On Jun 4, 8:51 am, TreKing wrote: > On Thu, Jun 3, 2010 at 5:30 PM, Mark Wyszomierski wrote: > > Is there a way to ... > TreKing - Chicago transit tracking app for Android-pow

Re: [android-developers] Can't grok Activity life cycle.

2010-06-06 Thread Mark Murphy
Leigh McRae wrote: > Thing is > that the docs says onSaveInstanceState() will be called before > onPause() No, it doesn't. In fact, it says just the opposite: "If called, this method will occur before onStop(). There are no guarantees about whether it will occur before or after onPause()." http

Re: [android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Dianne Hackborn
On Sun, Jun 6, 2010 at 5:33 PM, Mark Murphy wrote: > Rob Y. wrote: > > I don't doubt that there's some cost to running an app that keeps > > drawing to a widget window. But it shouldn't be any worse than > > running a live wallpaper, should it? > There can only be one live wallpaper at a time, A

Re: [android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Dianne Hackborn
On Sun, Jun 6, 2010 at 2:30 PM, Zigurd wrote: > If you can't send ACTION_PACKAGE_CHANGED, how are alternative markets/ > installers supposed to work? While it looks like if you sent > ACTION_PACKAGE_ADDED the same thing would happen, based on the filter > Launcher sets up, that seems less correct

[android-developers] Can't grok Activity life cycle.

2010-06-06 Thread Leigh McRae
I am having a really hard time grokking the Activity life cycle concept. The main issue is with onStop() and onDestory() not being guaranteed to be called before the process is killed. I though I had it figured out when I saw that the system calls onSaveInstanceState() when it's shutting down the

Re: [android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Mark Murphy
Rob Y. wrote: > I don't doubt that there's some cost to running an app that keeps > drawing to a widget window. But it shouldn't be any worse than > running a live wallpaper, should it? There can only be one live wallpaper at a time, AFAIK. There can be many app widgets at a time. A technique th

[android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Rob Y.
I don't doubt that there's some cost to running an app that keeps drawing to a widget window. But it shouldn't be any worse than running a live wallpaper, should it? I assume the widget would get notified when it's not visible and get the chance to stop animating - just like a live wallpaper's su

Re: [android-developers] Why is Android so buggy?

2010-06-06 Thread Kevin Duffey
I am not sure about the emulator menu button to unlock it being a bug... The one bug that really bothers me is the multi touch issue on different devices. I am not sure if it's been resolved, but last I read, it was impossible to make games with multi-touch controls due to an issue where after rel

[android-developers] Motion Detection using camera?

2010-06-06 Thread Rijad Sacirovic
Is this possible? How do i do it? I want to learn but dont know where to begin even :/ -- 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: Is it possible to draw to a home screen icon?

2010-06-06 Thread Zigurd
If you can't send ACTION_PACKAGE_CHANGED, how are alternative markets/ installers supposed to work? While it looks like if you sent ACTION_PACKAGE_ADDED the same thing would happen, based on the filter Launcher sets up, that seems less correct. I agree that Sense UI probably has some cooperating m

[android-developers] Why is Android so buggy?

2010-06-06 Thread blahblah...@gmail.com
It seems that Android is very buggy compared not only to the iPhone, but to pretty much any other software. It's not just minor bugs either - pretty much every developer will come across many serious bugs. Some examples: - When you run the "sdk setup.exe", the very first thing that happens is that

Re: [android-developers] Android to Windows ICS (Internet Connection Sharing) via WiFi

2010-06-06 Thread Kostya Vasilyev
Is the SSID visible? 07.06.2010 0:40 пользователь "Tim" написал: Is it possible for Android to connect to Windows ICS (Internet Connection Sharing) via WiFi? I have set up Windows ICS (Internet Connection Sharing) on my Windows XP laptop WiFi adapter. The connection is open with WEP disabled.

[android-developers] Re: Using Android Calendar ContentProvider.

2010-06-06 Thread 0x1B
Jose Luis Montes gmail.com> writes: The answer is here. http://www.mail-archive.com/android-developers@googlegroups.com/msg97352.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Android to Windows ICS (Internet Connection Sharing) via WiFi

2010-06-06 Thread Tim
Is it possible for Android to connect to Windows ICS (Internet Connection Sharing) via WiFi? I have set up Windows ICS (Internet Connection Sharing) on my Windows XP laptop WiFi adapter. The connection is open with WEP disabled. >From a Windows Mobile 6 PDA I am able to see various WiFi routers,

[android-developers] Re: Calling wait in AsyncTask (e.g. inside doInBackground) raises IllegalMonitorStateException

2010-06-06 Thread Ali Chousein
By the way, guys, below please find my code. I was trying to use wait() inside synchronization. I have the same logic working perfectly fine in the scenario when the main thread cancels an AsyncTask and waits for it to finish. Whether there will be deadlock or not, depends on the implementation mis

[android-developers] Re: Calling wait in AsyncTask (e.g. inside doInBackground) raises IllegalMonitorStateException

2010-06-06 Thread Ali Chousein
Guys, thank you all for your suggestions and comprehensive explanation. I think LinkedBlockingQueue sounds the most attractive way to go. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Re: GPS Min Time

2010-06-06 Thread Károly Holczhauser
Hi there! I have a lot of truble with the GPS on emulator. I think it is not work correctly, so if you have a chance try to use a real phone ! Bye: Karoly On jún. 6, 16:13, tarek attia wrote: > Hi all, > > When using locationManager.requestLocationUpdates(provider, 3,1, > locationListene

[android-developers] Re: Display Widget inside activity?

2010-06-06 Thread Kumar Bibek
You can at the most use the layout of the widget and the update code. Other than that, I guess, you cannot bring the widget as it is on your activity. A widget has a lifecycle of it's own. Thanks and Regards, Kumar Bibek On Jun 3, 12:37 am, Tommy wrote: > Hey everyone, > > I was wondering if the

[android-developers] Re: select text in Edittext box

2010-06-06 Thread Kumar Bibek
If something is not selected, then you would get zeros. So, try selecting some text and check. Thanks and Regards, Kumar Bibek On Jun 3, 1:22 pm, Manu wrote: > whenever i use the methods getselectionstart and getselectionend on a > edittext widget ,i get both the integers equal to zero,could any

[android-developers] Re: Open native Maps with "directions"??

2010-06-06 Thread Kumar Bibek
AFAIK this feature is not available yet with the Google Maps App for Android. The docs will get updated, hopefully when it is available. http://developer.android.com/guide/appendix/g-app-intents.html Thanks and Regards, Kumar Bibek On Jun 4, 5:02 pm, guruk wrote: > Hi, > I open my Native Google

[android-developers] Re: Bitmap memory handling with ImageView.setimage

2010-06-06 Thread Kumar Bibek
While creating a bitmap, you should probably scale down the image size. This is how you should do it. BitmapFactory.Options bmpFactory = new BitmapFactory.Options(); bmpFactory.inSampleSize = 4; Bitmap bmp = BitmapFactory.decodeFile(path, bmpFactory); The sample size 4, will scale down the bitmap

[android-developers] AutoCompleteTextView and SimpleCursorAdapter

2010-06-06 Thread EvgenyV
Hi All, I'm using AutoCompleteTextView with SimpleCursorAdapter. It works properly except one issue: I can't get regular list dropdown view. When performing filtering the lines are narrow. I've tested API Demos AutoCompelte1 example and got the "normal" dropdown view when using ArrayAdapter. Is th

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Simon Broenner
Hello Diane! I think you've misunderstood me somewhat. The problem doesn't seem to be that there isn't enough RAM available - that's a given already (because I know I'm using way too much RAM with all my open browser windows), and the process will be stopped anyway, no matter what I do. The thing

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Dianne Hackborn
Um, internal storage has very little to do with available RAM. In fact apps on the SD card use a little more RAM than those in internal storage. So this solution is just happening to do something as a side-effect... maybe things are paging slightly faster because the SD card is faster than inter

Re: [android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Dianne Hackborn
On Sun, Jun 6, 2010 at 6:44 AM, Zigurd wrote: > I should add that you would have to get the launcher to update by > broadcasting an intent with the action ACTION_PACKAGE_CHANGED. You should not send this kind of broadcast. In fact in newer platforms you can't. > But > that should be a genera

[android-developers] The Lunar Lander bug

2010-06-06 Thread Neilz
This bug seems to be quite famous, if you do a Google search on it. However, I still can't find the solution to it. After all this time, and after several android version releases, the bug still exists and no one has bothered to update it. Here's one website which offers a solution (and I've seen

[android-developers] Re: Free and paid version share same data

2010-06-06 Thread andreas
Hi Moto, thanks, that sounds interesting. But if I get it right, I will still build two different apps with different names and therefore different storage locations in data/. Or am I wrong? Andreas On 6 Jun., 17:03, Moto wrote: > If you are using Eclipse, you may wish to consider setting up a

[android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-06 Thread Charly
Still haven't found a way to make it work. If someone has a clue please let me know. Thank you! -- 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 th

[android-developers] Re: Calling wait in AsyncTask (e.g. inside doInBackground) raises IllegalMonitorStateException

2010-06-06 Thread Bob Kerns
While the others who responded gave you good advice, and also touched on what I'm about to tell you, I'd like to direct your attention to the documentation for the wait() call. "The current thread must own this object's monitor. The thread releases ownership of this monitor and waits until another

[android-developers] Re: How to make a widget that doesn't drain the battery and updates often

2010-06-06 Thread Indicator Veritatis
I have two observations/question to supplement what others have already observed: 1)5 seconds may just be too often: if I had such a widget on my phone, I would prefer updating every 30 seconds, not every 5: but in fact, when I find widgets doing such self-updates I generally uninstall them.. 2) yo

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Simon Broenner
Hello everyone! The solution (or rather, workaround) for me, so far, has been to root the device and move my apps to the SD card, freeing up more of the phone's internal memory. I now have around 60MB of free device memory (albeit with 200MB+ of apps installed), and have only been able to reproduc

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Dianne Hackborn
It's a constant in ActivityManagerService. You wouldn't want to just change it, because it could seriously impact responsiveness. The solution would be to have the activity manager be able to go on with the switch, but keep the application in foreground for longer, giving it a chance to respond w

[android-developers] Re: Close alertdialog.builder from an external button

2010-06-06 Thread Lance Nanek
The create method of the builder creates and returns a new dialog each time you call it. So when you do that you are creating a second dialog that hasn't been shown, then calling dismiss on it. If you used Activity#showDialog to show your dialog, then just use Activity#dismissDialog with the same I

[android-developers] Re: Themes, Styles and Items [How to create skins for apps?]

2010-06-06 Thread Moto
Any help regards to Themes? Please see first and second post of this thread... I tried various things and have had no luck... :( Thanks! -Moto On Jun 2, 2:27 pm, Moto wrote: > No idea what you mean about so what... > > The thing is I want my background to point to something like > colorListItem

[android-developers] Re: Free and paid version share same data

2010-06-06 Thread Moto
Andreas, If you are using Eclipse, you may wish to consider setting up a library project, since that was designed for the paid/free app scenario: http://www.google.com/url?sa=D&q=http://developer.android.com/guide/developing/eclipse-adt.html%23libraryProject&usg=AFQjCNGHPeZv-40aHFJUElKIwdatQMjx_A

[android-developers] GPS Min Time

2010-06-06 Thread tarek.attia
Hi all, When using locationManager.requestLocationUpdates(provider, 3,1,locationListener);,,,it doesn't consider the time in consideration,,just it updates the location when I change the coordinates from the DDMS , What should I do just to make the updates periodically based on the time I spec

[android-developers] GPS Min Time

2010-06-06 Thread tarek attia
Hi all, When using locationManager.requestLocationUpdates(provider, 3,1,locationListener);,,,it doesn't consider the time in consideration,,just it updates the location when I change the coordinates from the DDMS , What should I do just to make the updates periodically based on the time I spec

[android-developers] GPS Min Time

2010-06-06 Thread tarek attia
Hi all, When using locationManager.requestLocationUpdates(provider, 3,1,locationListener);,,,it doesn't consider the time in consideration,,just it updates the location when I change the coordinates from the DDMS , What should I do just to make the updates periodically based on the time I spec

[android-developers] GPS Min Time

2010-06-06 Thread tarek attia
Hi all, When using locationManager.requestLocationUpdates(provider, 3,1, locationListener);,,,it doesn't consider the time in consideration,,just it updates the location when I change the coordinates from the DDMS , What should I do just to make the updates periodically based on the time I spe

Re: [android-developers] Re: Home key - desired behaviour?

2010-06-06 Thread Mark Murphy
Flying Coder wrote: > It would be more accurate to say that onStop is *supposed* to be > called whenever HOME is pressed. In 2.1, this does not happen: > > http://code.google.com/p/android/issues/detail?id=6094#c0 That's not strictly accurate. Android 2.1 doesn't have a problem. The Launcher on

[android-developers] GPS Min Time

2010-06-06 Thread tarek attia
Hi all, When using locationManager.requestLocationUpdates(provider, 3,1, locationListener);,,,it doesn't consider the time in consideration,,just it updates the location when I change the coordinates from the DDMS , What should I do just to make the updates periodically based on the time I sp

[android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Zigurd
I should add that you would have to get the launcher to update by broadcasting an intent with the action ACTION_PACKAGE_CHANGED. But that should be a general way to implement what Sense UI does by changing app icons. On Jun 5, 10:42 pm, Zigurd wrote: > Try Live > Wallpapers:http://developer.andr

[android-developers] Re: Home key - desired behaviour?

2010-06-06 Thread Flying Coder
It would be more accurate to say that onStop is *supposed* to be called whenever HOME is pressed. In 2.1, this does not happen: http://code.google.com/p/android/issues/detail?id=6094#c0 Cheers, Steve On Jun 5, 7:59 pm, Mark Murphy wrote: > guich wrote: > > Thanks. I got that the onStop event

[android-developers] Re: Android Dev Phone with 2.x?

2010-06-06 Thread Tomáš Hubálek
Not in Czech Republic. Official price here is lower that in shop mentioned in your post. And again: it is not officially rooted! Contrary to phone I bought from Google couple moth ago. Tom On 5 čvn, 17:24, ko5tik wrote: > On Jun 4, 1:28 pm, Tomá¹  Hubálek wrote: > > > In this case there is no

[android-developers] Emulator TCP Packet Size

2010-06-06 Thread jpspringall
Has anyone tried to do a tcp client server app using the emulator using the pc as a server and the phone as the client? I've got a bit of an issue where its only sending one packet, ie 1491 bytes of data regardless of how much there actually is to send, from the client(Phone) to the server(PC) Th

[android-developers] setting theme for an activity

2010-06-06 Thread Sudeep Jha
-- Warm Regards,Hi All, This is my themes.xml file < resources> @drawable/bodyimg_blue @color/royalblue @color/midnightblue @style/T

Re: [android-developers] A slightly altered pattern for extending the life span of a broadcast receiver (Not entirely verified yet)

2010-06-06 Thread Mark Murphy
What I find truly bizarre is that I was just thinking about trying to simplify the invocation of WakefulIntentService, about 20 minutes ago, before opening this email message. If you are inside my head, can I hire you to do a bit of cleaning while you are in there? :-) Satya Komatineni wrote: > 1

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Mark Murphy
Simon Broenner wrote: > Is there a way to increase the time that the browser (and/or other apps) > has to save its state? Probably only with very deep changes in Android > itself, if I'm not mistaken? It's not something an application can choose on its own, but rather would be in the device's firm

Re: [android-developers] Re: Changing screens - switching between layouts?

2010-06-06 Thread sachin ravi
Dear Serdel.. * * *If you follow your approach, then when you rotate the screen after setting content of screen C then it will start the * *1st screen A view, which is **not correct. So it is better to start new view with startActivity as suggested.* * * * * On Sun, Jun 6, 2010 at 1:15 PM, Kevin

[android-developers] Re: Associate my app with file format

2010-06-06 Thread Yahel
> Ya, I figured "application/emx*" would not match anything; but I was > grasping at straws.  The server side of things is not in my control. > I have to deal with the .emx files being downloaded with empty > mimetype - or give up the enterprise entirely.  :/ Is working with a WebView compatible w

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Simon Broenner
Is there a way to increase the time that the browser (and/or other apps) has to save its state? Probably only with very deep changes in Android itself, if I'm not mistaken? On Sun, Jun 6, 2010 at 10:44 AM, Dianne Hackborn wrote: > This could be because currently we give an app at most 1/5 secon

[android-developers] Re: LocationListener not refreshing ???

2010-06-06 Thread Bartinger
You have to write: setLocationListener in the activity On 6 Jun., 04:27, Lance Nanek wrote: > http://code.google.com/p/android/issues/detail?id=2545 > > On May 25, 8:35 am, Squ36 wrote:> Hi all. I'm > trying to develop a small app, that can retrieve GPS > > coordinates, and store them, so I can

Fwd: [android-developers] Digest for android-developers@googlegroups.com - 9 Messages in 7 Topics

2010-06-06 Thread Sudeep Jha
Hi All, This is my themes.xml file < resources> @drawable/bodyimg_blue @color/royalblue @color/midnightblue @style/TextViewBlue

[android-developers] Setting theme in an activity

2010-06-06 Thread Sudeep Jha
Hi All, This is my themes.xml file < resources> *...@drawable*/bodyimg_blue @color/*royalblue* @color/*midnightblue* @s

Re: [android-developers] Digest for android-developers@googlegroups.com - 9 Messages in 7 Topics

2010-06-06 Thread Sudeep Jha
Hi All, This is my themes.xml file < resources> @drawable/bodyimg_blue @color/royalblue @color/midnightblue @style/TextViewBlue

[android-developers] Re: Published app not showing up on HTC Evo or Droid Incredible

2010-06-06 Thread Bartinger
Are the droid incr. And the evo running froyo? Because there is a security bug with android 2.2and the market On 5 Jun., 08:19, Alberto wrote: > Hello, I recently published our app to the marketplace and enabled > copy protection. The app shows up when browsing the market on the > Motorola Droid

Re: [android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread Dianne Hackborn
This could be because currently we give an app at most 1/5 second to return from onSaveInstanceState() + onPause() before going to the next app. If the browser is taking longer than that, we will give up and launch the next app, causing browser to go to the background. If we are under so much mem

[android-developers] Re: Multitasking on Android - Why So Incredibly Bad?

2010-06-06 Thread lsim001
The problem here is that you're hitting Android's out-of-memory limits as mentioned above. if you have only 20megs of memory left that means that Android has already cleared out virtually all the empty applications (refer to app lifecycle http://developer.android.com/guide/topics/fundamentals.htm

Re: [android-developers] permission denied on devce

2010-06-06 Thread Kevin Duffey
Did you set the right permissions for the app that allow you to use/store data? On Sat, Jun 5, 2010 at 9:39 PM, amsale zelalem wrote: > Hello guys, I have developed and tested my app on the emulator, and now > want to install it on my HTC device. > the apk installs successfully, however my datab

Re: [android-developers] Re: Changing screens - switching between layouts?

2010-06-06 Thread Kevin Duffey
Why couldn't you have each button on the activity start the next activity? On Sun, Jun 6, 2010 at 12:22 AM, Serdel wrote: > Thank you for the contribution TreKing. I learned about start new > activities using the Intent objects. However I don't thing it is > suitable for my idea. Intent are usef

[android-developers] Re: Changing screens - switching between layouts?

2010-06-06 Thread Serdel
Thank you for the contribution TreKing. I learned about start new activities using the Intent objects. However I don't thing it is suitable for my idea. Intent are useful in apps that have one 'menu' screen which has many buttons leading to other screens. In my app I don't want any menu screen - e

Re: [android-developers] Re: Calling wait in AsyncTask (e.g. inside doInBackground) raises IllegalMonitorStateException

2010-06-06 Thread Dianne Hackborn
On Sat, Jun 5, 2010 at 3:20 PM, Al wrote: > What does the exception stack trace say? Are you synchronizing access > to the object before calling wait()? Just wait() without > synchronization will cause an IllegalMonitorStateException. > Indeed, this problem likely has nothing to do with AsyncTas

Re: [android-developers] Re: Is it possible to draw to a home screen icon?

2010-06-06 Thread Dianne Hackborn
On Sat, Jun 5, 2010 at 11:09 PM, James W wrote: > Mark, regarding the battery comment, could you or someone elaborate? I > have heard this countless times but with no justification. Is there > something intrinsically inefficient about updating an appwidget with > RemoteViews, more so than some ot