[android-developers] Re: setResult crashed if portrait/landscape orientation changes

2008-11-27 Thread alex
I'm having a similar problem. Like you, I have an Activity A starting Activity B via startActivityForResult(). And, like you, my Activity B uses a Theme.Dialog so that Activity A is still visible underneath B while B is active. When I change the orientation of the handset while B is active, I

[android-developers] Re: setResult crashed if portrait/landscape orientation changes

2008-11-27 Thread alex
Actually I take that back. The saveInstanceState does remain intact when onCreate gets called. My issue is that after multiple orientation changes, sometimes A won't get destroyed and recreated, but merely resumed, and in onResume() my A's member fields are reset. On Nov 27, 1:09 am, alex

[android-developers] Re: setResult crashed if portrait/landscape orientation changes

2008-11-27 Thread alex
Sorry for yet another update. On the first orientation change, the savedInstanceState is indeed intact when A.onCreate() runs. But if I do another orientation change (again, with B being shown on top of A), the A.onCreate() is called with a null savedInstanceState. Alex On Nov 27, 11:14 am

[android-developers] precision of alarms using RTC_WAKEUP

2008-12-08 Thread alex
I am using the AlarmManager to set alarms with RTC_WAKEUP. And they work. Some of the alarms are set for times just a few hours in the future; others are set for days in the future. My problem is that some alarms (maybe 20% of them) fire late, up to 15 minutes late. Others are right on time.

[android-developers] Re: precision of alarms using RTC_WAKEUP

2008-12-09 Thread alex
Thanks Diane, it looks likely that the issue was indeed with my wake lock. Seems to be working better. On Dec 8, 12:21 am, Dianne Hackborn [EMAIL PROTECTED] wrote: On Mon, Dec 8, 2008 at 12:18 AM, alex [EMAIL PROTECTED] wrote: My problem is that some alarms (maybe 20% of them) fire late, up

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-16 Thread Alex
Great library, thanks! Are different voices implemented? I am trying mTts.speak(Hello, 0, new String [] {TTSParams.VOICE_ROBOT.toString () }); with VOICE_MALE and VOICE_FEMALE, but getting the same voice that sounds like robot. On Dec 16, 9:31 am, plusminus stoeps...@gmx.de wrote:

[android-developers] SMS comes with a country code, cannot look up in contacts

2009-01-13 Thread Alex
in contacts. The country in question is Georgia (not the state). I've tested with two operators (Geocell and Magti), the problem appears with both of them. Thanks, Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] How to scroll Gallery Widget manually

2009-03-13 Thread alex
() moveNext() scrollToChild( int pos ) but the visibility of this methods is default or private. So i can't override this functions, if I Inherit from Gallery class. can any one please help for a solution to scroll the Gallery manual ??? Thanks, Alex

[android-developers] How to make the music player recognized the AAC file in cupcake?

2009-03-24 Thread Alex
Hi all, From the opencore,we can see the aac file is supported to be played back. But the aac file can not be recognized in the music player. From http://groups.google.com/group/android- framework/browse_thread/thread/ed9f788504c3d35a/42d9c78a38235a19? #42d9c78a38235a19 and after I

[android-developers] What's this problem?

2009-04-23 Thread Alex
I have written a method, like this private Bitmap getBitmapFromUrl(String urlString) { try { URL url = new URL(urlString); HttpURLConnection con = (HttpURLConnection)url.openConnection(); InputStream is = con.getInputStream(); Bitmap bmp = BitmapFactory.decodeStream(is);

[android-developers] Re: What's this problem?

2009-04-24 Thread Alex
solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Apr 23, 6:29 am, Alex alex@gmail.com wrote: I have written a method, like this private Bitmap getBitmapFromUrl(String urlString) {   try  {     URL url = new URL(urlString

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-27 Thread alex
When we upload our localized apps to the Market, will we be able to provide our application descriptions in different languages? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Android 1.6 SDK is here!

2009-09-15 Thread alex
Guys, is there any particular reason for you not to include sources in 1.6 as well? And I second to question about adp1 image. When? TIA. On Sep 16, 1:22 am, Xavier Ducrohet x...@android.com wrote: http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here... Enjoy! -- Xavier

[android-developers] Re: Android 1.6 SDK is here!

2009-09-15 Thread alex
And the new progressbar sucks. On Sep 16, 1:22 am, Xavier Ducrohet x...@android.com wrote: http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here... Enjoy! -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~

[android-developers] Re: ADC2: Low volume of judges

2009-09-27 Thread alex
From marketing point of view guys have made a little too many mistakes to this moment. On Sep 27, 1:37 pm, Izard izard...@gmail.com wrote: As a lot of ppl (including me) skip many applications, I wonder what would be an implication for judging? e.g. there are 2 programs, one got scores of 5

[android-developers] Getting media information that is being played

2009-09-28 Thread Alex
Is there a way that I can get the media information (song title, genre, artist, etc) that is being played in the default music player? Does the default music player allows sharing of these kind of information? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)

2009-10-01 Thread alex
Which it does. On Sep 30, 6:44 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The only fair solution would be to make sure the judging app doesn't function on 1.6 -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ You received this

[android-developers] Globabl Orientation Change

2008-11-10 Thread Alex
but it uses IWindowManager which seems to not exist in SDK 1.0. Thank you in advance. Alex --~--~-~--~~~---~--~~ 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

[android-developers] Re: Help: TabHost bugs and CameraPreview bugs

2008-11-12 Thread alex
I'd also like to know if there's a way to make tabs smaller, especially when in landscape mode. On Nov 6, 10:49 am, taoshen1983 [EMAIL PROTECTED] wrote: Hi,  can some one help me with the following bugs? 1.  The CameraPreview bug seems to be well understood:  the camera needs to be in

[android-developers] TextView breaks when adding using a string of over 4500 characters

2008-11-13 Thread alex
I have a TextView called mSimple inside a ScrollView. When I do mSimple.setText(mDescription); Everything is fine as long as the length of mDescription is less than about 4500 characters. Once I go over that amount, the TextView will display only the first line of text on the display. Has

[android-developers] Re: Notification details Activity never receives Intent used to fire it

2008-11-24 Thread alex
Ok, so I ran into this exact issue too. I need to send different data via the extras of the intent, but the old intent with the old extras keeps getting delivered unless I pass unique values into the mysterious requestCode parameter. So this begs the question: is using the requestCode in this

[android-developers] Re: TextView breaks when adding using a string of over 4500 characters

2008-11-24 Thread alex
bump... On Nov 13, 1:21 am, alex [EMAIL PROTECTED] wrote: I have aTextViewcalled mSimple inside a ScrollView. When I do mSimple.setText(mDescription); Everything is fine as long as the length of mDescription is less than about 4500 characters.  Once I go over that amount, theTextViewwill

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-03 Thread Alex
Yep, same problem here with a Sprint HTC Hero, Build 1.29.651.1. Any news here? On Nov 1, 6:47 pm, rooster 808 rich.al...@gmail.com wrote: I'm seeing this frequently on myHEROHTC, but not my G1 Google Dev phone. Almost every power off, I lose the Desktop Icon on the App I'm developing,

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-03 Thread Alex
This isn't good, fragmentation of the Android platform is already underway. It seems to be a fundamental problem with this build's handling of an application's resource bundle after soft reset. Images, layout XMLs, strings XMLs, etc, all become jumbled up, rendering your application useless. If

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread Alex
I've voted all 5s but 4 for polish for your app in round 1, really liked your app. Ours (vivify picture) also failed to make it to top 20 education titles, being in bottom 50% too. I think that's for all apps, not just education category. When judging, I've seen about 5 original apps in the

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread alex
One more 'in the bottom 50%' here with 3 identical emails in the inbox. Given the amount of ... uninspiring apps I've seen during the first round (about 100 of them before finally got to mine), it would be interesting to see what the winners are. Overall, the way ADC2 was organized is a

[android-developers] PhoneStateListener

2009-11-05 Thread alex
Hello, I've been struggling with this beast and it seems that I can't take control over it. What I want is a PhoneStateListener subclass which listens for a LISTEN_CALL_STATE. First I tried to make one instance on RECEIVE_BOOT_COMPLETED, leave it attached and then when the event comes - the

[android-developers] listDivider in 2.0

2009-11-05 Thread alex
In 1.5, 1.6 this: -- ImageView xmlns:android=http://schemas.android.com/apk/res/android; android:src=?android:attr/listDivider android:layout_height=1dp android:layout_width=fill_parent / -- renders into the same divider used in ListViews. Now, under 2.0 it renders as a dot. What

[android-developers] Re: Problem showing name of GeoPoint

2009-11-05 Thread alex
You should not use onTouchEvent for this, instead override onTap(int idx) in your Overlay. On Nov 4, 1:04 pm, Vishal k.vishaljais...@gmail.com wrote: Hello there, I have a problem that I am not able to show the name of the marker on google map. Actually I am making the application in which

[android-developers] Re: listDivider in 2.0

2009-11-11 Thread alex
I've ended up copying the 1.*-style divider (divider_horizontal_dark. 9.png) and changing -- android:src=?android:attr/listDivider -- to -- src=@drawable/divider_horizontal_dark -- from the snippet in the first post. Seems like they like breaking APIs for no reason. -- You received this message

[android-developers] When will ADP2 package names be released?

2009-11-13 Thread alex
So that I could publish an app that failed to make it into round 2 under the same package. Now I'm getting -- You have another application on Market with the same package name (...). Go to that other application, and click upgrade. -- -- You received this message because you are subscribed to

[android-developers] Re: Choosing Dev Phone

2009-11-13 Thread alex
What they are going to sell as ADP2 is simply irrelevant as it lacks keyboard. So far, ADP1 (or a rooted G1) all the time. On Nov 13, 4:43 am, Nathan nathan.d.mel...@gmail.com wrote: I'm sure this comes up once a while For me, this is one developer buying one phone. Not someone who can afford

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-19 Thread Alex
HTC has just pushed an update (1.56.651.2 ) which fixed the problem. The busted apps now work just fine without reinstalling them. On Nov 14, 8:10 am, AngelOD angelod1...@gmail.com wrote: Hi, I would just like to add here, that I have a Scandinavian HTCHero, and I've tried to recreate several

[android-developers] Re: How to configure your application to ensure proper display on Motorola Droid?

2009-11-20 Thread Alex
) are the correct versions and you will need to compile your application against the Android 2.0 libraries. For your information the Droid screen size is: WVGA (480 x 854), up to 16M colours and a pixel density of 240dpi. With regards, Alex. On Nov 20, 8:47 am, Dexter#39;s Brain coomar@gmail.com

[android-developers] Re: How to configure your application to ensure proper display on Motorola Droid?

2009-11-23 Thread Alex
) are the correct versions and you will need to compile your application against the Android 2.0 libraries. For your information the Droid screen size is: WVGA (480 x 854), up to 16M colours and a pixel density of 240dpi. With regards, Alex. On Nov 20, 8:47 am, Dexter#39;s Brain coomar@gmail.com

[android-developers] Re: ADC 2 and Android Market Place Application Error

2009-12-02 Thread alex
Still, the question remains. Will the package names ever get released? Does anyone from google care to answer? -- 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] Asset/Resource in Content Provider

2010-01-24 Thread Alex
OR resources Thanks Alex -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

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

2010-02-22 Thread Alex
Brilliant idea! I wish google could seriously consider improve Android market soon. Thanks! Alex On Feb 21, 6:43 am, Rob Irondad rob.iron...@gmail.com wrote: Hi fellow developers. I've come up with this text for a petition (warning: long): http://docs.google.com/View?id=dd9hmc43_0c9zh58gd

[android-developers] Re: Google Dev Phone unavavailable! will they extend ADC II deadline..who to ask?!

2009-08-16 Thread alex
Just get an unlocked G1 on ebay and then root it. No big deal. On Aug 15, 7:22 am, -v- vishal.changr...@gmail.com wrote: Hi, I wanted to test my app that I plan to submit for ADC II. But the dev phone from google is unavailable till sept first week! How are we suppose to test it?! I dont

[android-developers] Re: catching out of memory errors

2009-08-23 Thread alex
I guess you are trying to perform manipulations on a byte[]. Just use decodeStream(...) or decodeFile(...) instead. Cathing runtime errors is plain wrong. On Aug 23, 2:45 am, Bob bshumsk...@yahoo.com wrote: Hi, I am getting an outofmemory error (java.lang.outofmememoryerror) from a

[android-developers] Forcing mobile connectivity instead of WiFi connectivty

2009-08-27 Thread alex
When a handset has both the carrier network and WiFi connectivity available, apps will choose to use WiFi for its http connections, which makes sense since WiFi is faster. However, for my app, there are situations in which I need my app to use the carrier network (and to go through the carrier's

[android-developers] Re: Judging application for the ADC 2

2009-09-02 Thread alex
When will the judging app get available? On Sep 1, 12:40 am, Dan Morrill morri...@google.com wrote: The .apk files submitted will be treated as normal applications when installed on the device, so if the user has both versions installed, he/she will see two icons. - Dan On Mon, Aug 31,

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread Alex
A bit more then a year ago I had developed a simple image recognition library for j2me (after reading Rainbows End). It could do trackerless camera parameters extraction and very basic recognition. I wanted to do augmented MTG-like tabletop game playable with my Symbian smartphone, but choosen

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread Alex
or will disappear like a short description of our entry I've made few hours ago. Alex On Sep 2, 12:50 pm, Lout lout.r...@googlemail.com wrote: Thanks a lot for the replies. Though many on this thread expect more (thousands of) submissions this year, only eight of you have given feedback. Would love to hear

[android-developers] Re: How do I delete an app from 'All Android Market listings'?

2009-09-04 Thread alex
Wow, good drugs. :D The question concerns Android Market and not device. On Sep 4, 6:39 am, dilli rao dilliraomca...@gmail.com wrote: if u r connected your development machine then then use   :  adb uninstall packagename   to uninstall from u r mobile or use   settings-applicationmanager-

[android-developers] Developer program with access to real test phones

2008-03-31 Thread Alex
Does Google or the open handset alliance have any plans of setting up a developer program where application developers can have access to a variety of real test phones? I haven't seen any information on that so far. Alex khyawl.com --~--~-~--~~~---~--~~ You

[android-developers] Displaying User Input

2008-06-06 Thread Alex
Im looking for a way to take input from a user via. EditText, and displaying the user's input in Toast form. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Makefile config for jars

2008-06-17 Thread Alex
Hi I was wondering if there is a way to specify something in the android Makefile to force it to update jar files? I may have phrased that wrong, but the problem is that a lot of the times changes are made to the java code, the make process does not pick them up unless I do make clean. Your

[android-developers] Re: The GPS Shutdown Thing

2009-12-04 Thread Alex
the time. In particular, values under 6ms are not recommended. -Alex On Dec 2, 7:54 pm, Ken H hunt1...@gmail.com wrote: 1 minute seems long to me too, 5-10 sec is a good generic interval if you just want it to turn off quicker. Also remember that theGPSneeds a time *and* distance update

[android-developers] Re: The GPS Shutdown Thing

2009-12-04 Thread Alex
/ LocationManagerService(70): CdmaPollingThread exiting I'm still not sure if it's actually running the GPS or just flashing the icon, but either way it looks bad to the end user. -Alex On Dec 5, 12:04 am, Mark Wyszomierski mar...@gmail.com wrote: Alex, have you tried a simple test of just registering

[android-developers] Re: R wont generate

2009-12-08 Thread Alex
I've found that manually deleting the gen folder, doing a clean, then building again works. -Alex On Dec 8, 1:16 am, schwiz sch...@gmail.com wrote: Suddenly my R file has stopped generating.  It has deleted itself and won't come back.  In eclipse, I have all the latest updates to the sdk

[android-developers] Re: Widget multiple sizes

2009-12-08 Thread Alex
with a new id, your old id is lost. They made their widget system better and the stock Android widget API worse. -Alex On Dec 7, 8:36 pm, Lukasz Mosdorf lukasz.mosd...@gmail.com wrote: I have noticed that when I install some widgets I can later choose from different widget sizes while adding widget

[android-developers] Re: The GPS Shutdown Thing

2009-12-08 Thread Alex
in this state, or it's just stuck on the titlebar. I'm hoping it's just stuck on the titlebar when falling asleep... Thanks On Dec 5, 12:25 am, Alex acni...@gmail.com wrote: This same code works fine on a G1 (1.5/1.6), Magic, Droid, Cliq, Samsung Behold and Moment.  I was previously using a 10

[android-developers] Change the User Agent

2009-12-17 Thread alex
Hey, I'm trying to change the User Agent in my App so that I can Acces sites With the URL class without getting the mobile website. -- 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] Old dock in 2.1 SDK?

2010-01-11 Thread alex
Why hasn't the new sexy dock been included in the SDK? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Old dock in 2.1 SDK?

2010-01-11 Thread alex
Ouch, I mean the Launcher. What I'm seeing is the old sliding one. On Jan 12, 4:09 am, Romain Guy romain...@android.com wrote: What dock are you talking about? On Mon, Jan 11, 2010 at 5:58 PM, alex gsm...@gmail.com wrote: Why hasn't the new sexy dock been included in the SDK? -- You

[android-developers] 2.2 Media File Support

2010-08-12 Thread Alex
Is there an updated list of media files that are supported on 2.2? I'm fairly certain that the list located at: http://developer.android.com/guide/appendix/media-formats.html is outdated. I have a file that's using: - AAC for audio encoding - AVC for video encoding - MPEG-4 for it's file

[android-developers] SSLException when server cert uses SAN (Subject Alternative Name)

2010-08-17 Thread Alex
Hi there, I'm cross-posting from StackOverflow (http://stackoverflow.com/ questions/3507536/sslexception-when-server-cert-uses-san-subject- alternative-name) to see if there's anyone here who might be able to help. I'm trying to establish a https connection using the classes in

[android-developers] Re: How can i set background image for an ImageView dynamically???

2010-08-25 Thread Alex
Read about resource qualifiers in the Android Dev Guide: http://developer.android.com/guide/topics/resources/localization.html I have a releated problem. I would like to choose resources based on a custom configuration, but there doesn't seem to be a way to use the built-in resource qualifiers

[android-developers] Re: Use of Service component?

2010-08-31 Thread Alex
What is the correct way to ensure that a widget update service is restarted if it has been killed? In my widget, I start the service in the onUpdate event, but if the widget and service are killed (by a task killer, for example), the widget restarts, but the service doesn't. On Aug 31, 6:01 pm,

[android-developers] best approach about database

2010-09-03 Thread Alex
Hi all, I'm creating an application and I'm wondering what should I do with the DB. The DB will contain all the information. The user will interact with the DB to make query and display information. By the action of the user, small information will be added to the DB. For example, in my DB I

[android-developers] How to automatically restart widget update service after it is killed?

2010-09-05 Thread Alex
I have an app widget that uses a Service to handle updates (as per the SDK sample). If a task killer kills the service, the widget obviously stops updating. Is there any way I can notify the widget that the service has been killed so it can attempt to restart it? -- You received this message

[android-developers] Re: Place two buttons side by side

2010-09-07 Thread Alex
you can see an example here : http://soft-dev-pro.blogspot.com/2010/09/android-2-view-elements-side-by-side.html On Sep 5, 4:09 pm, Droid rod...@gmail.com wrote: Thanks for that easy reference, looks like its android:layout_alignParentRight=true or something like that. On Sep 5, 7:11 pm,

[android-developers] Start service

2010-07-07 Thread Alex
Hi there, I am trying to start a service from the BroadcastReceiver, but I keep getting the startService line marked as an error (The constructor Intent(alarmReceiver, ClassaService) is undefined) public class alarmReceiver extends BroadcastReceiver{ NotificationManager notifMgr;

[android-developers] Re: How much money do you make?

2010-09-18 Thread Alex
I am very interested in the responses to this thread. I only have one app on the market, a simple home page widget. It is free, and it has been downloaded 13,937 times with an active install percentage of 47%. Obviously, I would like to make some money from my apps, but when I look at paid

[android-developers] Permission to use bindAppWidgetId() in Launcher

2010-09-27 Thread alex
I am now modifying the Launcher in cupcake and can not use the method bindAppWidgetId for lack of BIND_WIDGET permission, and I've added the android.permission.BIND_WIDGET in the manifest. I know that the bindAppWidgetId method cannot used for a common application but I cannot understand why can't

[android-developers] unit testing asynchronous API calls ?

2010-10-02 Thread Alex
and verify it. Essentially I kind of need to keep the main UI loop running/looping while waiting for result in the unit test function before exiting it I was wondering what is the best way to accomplish this ? Thanks, Alex -- You received this message because you are subscribed to the Google

[android-developers] Wierd memory leak

2010-10-06 Thread Alex
Hi everybody! First of all, sorry for my bad english ;-) After several hours of searching for the cause of a OutOfMemoryError, I found a wierd problem with Strings. To keep it simple, trimmed it down to something like this: ArrayListString someStringList = new ArrayListString(1000); for (int

[android-developers] Re: Wierd memory leak

2010-10-07 Thread Alex
Thanks a lot, working with StringBuffer and it's impelemention of substring did the trick! As a C# developer, I'm not used to think of such things ... ;-) Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] AppWidgetProvider - Multiple widgets

2010-10-10 Thread Alex
If an app provides multiple widgets, e.g. 1x1, 3x1 etc., does each widget need its own AppWidgetProvider or can they share one? -- 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: deleting an app from the market?

2009-04-29 Thread alex
Sure I've done this already. But why let it stick around? On Apr 29, 5:18 pm, MrChaz mrchazmob...@googlemail.com wrote: Un-publish the old one? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
Thanks, Jeff. When user selects a TextView it 'slips' (which is indicated by background color change) and the user is expected to select(tap) another view then. Not every tap should lead to the first view losing 'focus'. That's the motivation behind setting background drawable programmatically.

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
Slightly off-topic, but thanks for the 'Drawable mutations' blog post anyways. :) On May 6, 7:18 pm, Romain Guy romain...@google.com wrote: It's default state is transparent actually :) On Wed, May 6, 2009 at 9:10 AM, Jeff Sharkey jshar...@android.com wrote: So the list_selector_drawable

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
Jeff, are you sure the simple example from the first post has anything to do with focus? All I want to do is to set the background of a TextView to the android.R.drawable.list_selector_background which should render in 'orange mode' as opposed to setting background to a single color (which works)

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
Sure. But in my particular case I think setting the background to standard orange is better than introducing a custom color/drawable. On May 6, 9:53 pm, Romain Guy romain...@google.com wrote: Taps should always cause focus and selection to disappear,. On Wed, May 6, 2009 at 11:49 AM, Jeff

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
Sure. But in my particular case I think setting the background to standard orange is better than introducing a custom color/drawable. On May 6, 9:53 pm, Romain Guy romain...@google.com wrote: Taps should always cause focus and selection to disappear,. On Wed, May 6, 2009 at 11:49 AM, Jeff

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
Sure. But in my particular case I think setting the background to standard orange is better than introducing a custom color/drawable. On May 6, 9:53 pm, Romain Guy romain...@google.com wrote: Taps should always cause focus and selection to disappear,. On Wed, May 6, 2009 at 11:49 AM, Jeff

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread alex
at 1:30 PM, alex gsm...@gmail.com wrote: Sure. But in my particular case I think setting the background to standard orange is better than introducing a custom color/drawable. On May 6, 9:53 pm, Romain Guy romain...@google.com wrote: Taps should always cause focus and selection

[android-developers] Re: Transport Data between Android and PC application

2009-05-06 Thread alex
I use REST over http (get, put, post, delete, google for it) + xml serialization (xmlpullparser which is built-in on Android) to do smth like this. The permission will obviously be internet access. On May 6, 5:13 pm, Tom thomas.coz...@gmail.com wrote: Hi, I have a webapp running on a PC using

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-07 Thread alex
the drawable state as appropriate.  There are methods on view you can override what it sets, but I don't think there is any API you can call to just force it to something. On Wed, May 6, 2009 at 2:04 PM, alex gsm...@gmail.com wrote: Ok, from pure conceptual point that IS selection. Anyways

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-07 Thread alex
Ended up grabbing the nine-patch image (which is list_selector_background_focus.9.png) and adding it to my own drawables. Not the approach I'd be proud of, but it works. On May 7, 2:07 pm, alex gsm...@gmail.com wrote: Dianne, thanks for the details. Seems like the only option I've got

[android-developers] Re: VerifyError with Maps Add-ons

2009-06-05 Thread Alex
This happens on the device too and is kind of a show stopper. So there is really no workaround for this? I guess we are to assume that having both a widget and a MapActivity is not fully supported under 1.5, which is a shame. -Alex --~--~-~--~~~---~--~~ You

[android-developers] update app without deleting DB

2011-01-09 Thread Alex
Simple question : I published an app (2months ago). It uses a DB to retrieve information, and the user saves some parameters in the DB. Now, I want to update my app, that means : I want to put more information in the DB but without erasing parameters set by the user. How can I do that ? Thanks

[android-developers] Re: update app without deleting DB

2011-01-10 Thread Alex
Thanks for your answers! I'll try this. On Jan 10, 5:26 am, kavitha b kkavith...@gmail.com wrote: I hope you can use OnUpgrade method of DB when upgrading the app On Sun, Jan 9, 2011 at 9:15 PM, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jan 9, 2011 at 10:37 AM, Alex dalfga

[android-developers] AppWidget preferences

2010-10-23 Thread Alex
How can I retrieve SharedPreferences for a widget during an update pushed by a broadcast receiver? I have a static BuildUpdate method on my AppWidgetProvider, but I cannot work out how to retrieve my shared preferences as I do not have an appropriate context. -- You received this message

[android-developers] Re: AppWidget preferences

2010-10-23 Thread Alex
I'm using PhoneStateListener which does not return a context. On Oct 23, 7:03 pm, Kumar Bibek coomar@gmail.com wrote: The receiver's onReceieve method will give you a context. Use that. On Sat, Oct 23, 2010 at 11:20 PM, Alex maroeb...@gmail.com wrote: How can I retrieve

[android-developers] Re: AppWidget preferences

2010-10-24 Thread Alex
In the SDK documentation, it states that when you have a Configuration Activity, the widget OnUpdate() will NOT be called the first time: The onUpdate() method will not be called when the App Widget is created (the system will not send the ACTION_APPWIDGET_UPDATE broadcast when a configuration

[android-developers] Re: AppWidget preferences

2010-10-24 Thread Alex
in this community and has been discussed several times already. 2010/10/24 Mark Carter mjc1...@googlemail.com Yes, I noticed this just yesterday. I thought I was going mad. Still could be true. On Oct 24, 6:02 pm, Alex maroeb...@gmail.com wrote: From my debugging, this does not seem to be true

[android-developers] Re: AppWidget preferences

2010-10-24 Thread Alex
?: It is not afaik. Are you sure you don't have any invalid widget ids, since you are using configuration activity? Search for my post here a week ago or so, discussed a problem with configuration activity + weird widget ids there. 2010/10/24 Alex maroeb...@gmail.com mailto:maroeb...@gmail.com

[android-developers] Re: applying a theme to an appwidget

2010-10-25 Thread Alex
I am working on the same thing. AppWidget layout can only be updated at runtime through a RemoteViews object. The RemoteViews object only supports limited changes to layout. It seems that the background property is one thing that cannot be updated through RemoteViews. My solution to this has

[android-developers] Widget Configure Activity Issue - ANRs on device, OK in debugger

2010-10-26 Thread Alex
from the device shows the ANR, but nothing else of use. I have put log messages throughout the app, and the OnCreate method appears to be completing, but the layout does not display. Any ideas? I am pulling my hair out over this one. Alex. -- You received this message because you are subscribed

[android-developers] Re: Recommendations for Android app development and test hardware

2010-10-26 Thread Alex
Wow. I didn't know about MotoDev. It looks like an excellent resource. On Oct 26, 5:05 pm, Bret Foreman bret.fore...@gmail.com wrote: If you can make a good business case for you app, you can get devices at cost (and sometimes even free) from the manufacturers. This includes beta version of

[android-developers] Re: Widget Configure Activity Issue - ANRs on device, OK in debugger

2010-10-27 Thread Alex
. On Oct 27, 3:30 am, Bagatelle: David Lee Evans dle.ev...@gmail.com wrote: On Oct 26, 4:25 am, Alex maroeb...@gmail.com wrote: I have a Configure Activity for a simple widget. Everything works fine with the debugger attached, but when I run the app on a standalone device it ANRs when loading

[android-developers] Replace colour in a bitmap

2010-10-28 Thread Alex
Is there an easy way to replace a colour in a bitmap? -- 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] Re: how to release Paid upgrade for Free app?

2010-10-28 Thread Alex
this will alert users of my free app to the new pro version and they will be tempted to upgrade. Alex. On Oct 28, 12:51 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: Hi, Is there a way to change free app into paid app in Market? I.e. you release com.foo.xxx as free but later you'd like to charge

[android-developers] Adventures with LVL

2010-10-31 Thread Alex
I have finally got LVL working in my app, but now I am having second thoughts about including it. If you have published an app including LVL, what are your experiences? Has it caused bad feedback from your users? -- You received this message because you are subscribed to the Google Groups

[android-developers] Off market sales and LVL

2010-11-03 Thread Alex
If I sell a copy of a LVL controlled app outside of the market, is there a way I can authorize it so that it checks out as licensed? -- 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] PreferenceActivity - Multiple preferences

2010-11-04 Thread Alex
Is it possible to use the PreferenceActivity and PreferenceScreen to manage multiple instances of preferences fro a single app? It seems that they store preferences as default preferences only. I would like to use a PreferenceScreen as my configure activity for an AppWidget, but I need to be

[android-developers] Re: Off market sales and LVL

2010-11-04 Thread Alex
Android app is getting a bit ridiculous.  There's room for innovation here in the form of a layer above all of the different DRM offerings associated with the various markets.  Been down that road though, and it is a thankless job worth approximately $0.  :) On Nov 3, 10:20 am, Alex maroeb

[android-developers] Twitter QuickActions Missing

2010-11-08 Thread Alex
Hi all, Does anyone know why some of the QuickActions were removed from the latest Twitter application (v1.0.5)? Clicking on a user's picture use to bring up the QuickAction bar, but now takes you to a separate activity. I'd like to understand some of the best practices for Android apps and it

  1   2   3   4   5   6   7   8   9   >