[android-developers] Re: converting to regular java

2011-02-06 Thread RyanMcNally
Check out libGDX - it allows you to release for PC and android from the same codebase Ryan On Feb 5, 9:19 pm, bob b...@coolgroups.com wrote: How hard is it usually to convert an Android app to regular Java that will run on a PC? Is there an automatic way to do this so I can release my

Re: [android-developers] Any twitter updates??

2011-02-06 Thread Robin Talwar
Ya i got you. May be i got you wrong plus there are not much android experienced developers who like to encourage beginners out there. Anyways treking i have done some google search and i have reached a safe stage where i am directing my app to OAUTH login page and when the user logs in he is

[android-developers] Re: Scheduling ideas

2011-02-06 Thread Neilz
Really, BOOT_COMPLETED can be disabled? That poses me a bit of a problem. So there's no way for me to know whether my alarm service has been restarted. On Feb 5, 4:01 pm, Kostya Vasilyev kmans...@gmail.com wrote: Well, some devices have really weird settings, like the HTC fast boot

Re: [android-developers] Re: Scheduling ideas

2011-02-06 Thread Kostya Vasilyev
Yes, this was discussed recently here: http://code.google.com/p/android/issues/detail?id=14536 and there appears to be no workaround, except explaining this to the user (in the application's UI or if he contacts you). I was just saying that there are devices out there with pretty weird

[android-developers] JavaScript Camera API Update ?

2011-02-06 Thread Arnaud Ferreri
Hello everyone, Do we know if there is an ETA on the JavaScript Camera API ? I was really hoping for a Gingerbread release, has it been pushed 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] Re: avcodec_decoder_find problem

2011-02-06 Thread cervello
thank you very much... I did it just like below and it works..but I can't tell that it's completely true right now because I still continue to control my code.. but thanks again // Find the decoder for the video stream pCodec=avcodec_find_decoder(CODEC_ID_H263);

[android-developers] Flowchart of app upgrade procedure..?

2011-02-06 Thread Albin Stigo
Background: I'm developing an app which comes with a rather large database (static, readonly), about 1.5Mb gziped. This database is then served from a content provider. The database has to be upgraded about 4 times a year. At first I thought about syncing/incremental updates (then it would be

[android-developers] Why a canceled notification displayed later again?

2011-02-06 Thread San Zhang
I am developing an alarm clock app. I have a problem that alarm notification in status bar can not be deleted completely. I have tried both mathods, mNotificationManager.cancel(noti_id) and alarm_notification.flags=Notification.FLAG_AUTO_CANCEL. The results are same: The notification can be

Re: [android-developers] Re: Can registerReciver(null,Intent) provide latest broadcast value

2011-02-06 Thread Mark Murphy
Actually, I'm fairly certain that SDK apps can't send sticky broadcasts, as I looked into doing that once. On Sun, Feb 6, 2011 at 2:31 AM, Dianne Hackborn hack...@android.com wrote: It is nothing complicated.  It is just the last Intent that was sent with sendStickBroadcast() that matches the

Re: [android-developers] Gmail application bottom button type UI

2011-02-06 Thread Mark Murphy
On Sat, Feb 5, 2011 at 11:21 PM, javaxmlsoapdev vika...@gmail.com wrote: 1)how can I display a button at the bottom of the screen (not at the end of the list). I understand since I extend ListActivity can't use setContentView(R.layout.main)  where main.xml could have a button but can't really

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-06 Thread Hari Edo
I think he said he had a special soft keyboard that was to be used for this field. Sounds like he doesn't want to go through the whole hassle of creating an entire soft keyboard, nor creating all the caret- position and backspace-handling code necessary to reinvent EditView. I don't know the

[android-developers] Re: Any twitter updates??

2011-02-06 Thread Lance Nanek
I use: http://twitter4j.org/ There are various examples out there: http://code.google.com/p/agirardello/source/browse/trunk/OAuthExample/src/ch/ethz/oauth/OAuth.java#115 On Feb 6, 3:49 am, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Ya i got you. May be i got you wrong plus there are not

[android-developers] MediaRecorder: capture failure

2011-02-06 Thread Victor lyamtsev
Hi, I am trying to run MediaRecorder code snippet from Develope's documentation, on emulator at this time: try { MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); -

[android-developers] Development Tools Crashing

2011-02-06 Thread Evan Ruff
Hey Guys, I'm having a NPE thrown when I try to edit a layout. I generally happens about 85% of the time. If it does not throw the NPE, it says Missing Theme with no assist or layout. The XML editor does still provide assistance if the NPE is not thrown. Additionally, my auto-complete is

[android-developers] What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-06 Thread 捷超 王
Hi, everyone~ I have been recently studying on why the Browser in the android OS does not support accessing IPv6 websites through IPv6 URLs. At first, I built the source code with CONFIG_IPV6 not set and tried IPv6 URLs in the Browser and the Browser could not access IPv6 websites. I then built

[android-developers] Re: Development Tools Crashing

2011-02-06 Thread Seni Sangrujee
about 85% of the time. If it does not throw the NPE, it says Missing Theme I'm getting the same thing on Galileo. It looks like a temporary workaround is to select the platform dropdown(Android 2.2/2.3) in the upper right which will cause the Theme dropdown to appear next to it. -- Seni

Re: [android-developers] What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-06 Thread Kostya Vasilyev
Perhaps the browser always recognizes IPv6 addresses, and tries to use them? If IPv6 is disabled in the kernel, trying to use a v6 socket should fail, and hence you can't open a v6 site. Once kernel support is enabled, the rest would work automatically. You might also want to post your

Re: [android-developers] Development Tools Crashing

2011-02-06 Thread Kostya Vasilyev
Slow code assist, or, more precisely, JavaDoc lookup (which is shown side by side with code assist suggestions) is a known Eclipse Helios 3.6SR1 issue. I've written a summary of various workarounds here: http://kmansoft.wordpress.com/category/tools/ The good news is that this is fixed in

[android-developers] ListView items appear 2 or 3 times

2011-02-06 Thread Dirk Vranckaert
Hi all, I'm having an issue with the ListView in Android. So I have an activity extending the ListActivity, in the activity I have an innerclass for my adapater. Now both on my device and the emulator some entries appear 2 or 3 times in the list (not always the same items) although the size of

Re: [android-developers] ListView items appear 2 or 3 times

2011-02-06 Thread Mark Murphy
You are not handling row recycling properly. You have the if (row==null) case, but you do nothing in the other case. You need to bind your row widgets with the proper data in either case -- the only difference between the two is that if (row==null), you have to create a row, either directly via

Re: [android-developers] ListView items appear 2 or 3 times

2011-02-06 Thread Kostya Vasilyev
Dirk, You have a bug in your getView() method. When a list item layout gets recycled (convertView != null), your code correctly avoids re-inflating a new layout. However, since the item layout is being recycled, it's also necessary to update its views with values for the current item.

[android-developers] Where to report app update problems?

2011-02-06 Thread Keith Wiley
I'm not sure if this is a Market problem or a developer problem...it isn't a coding issue per se...I just don't know where to report it. I can't update my app. I go my market publisher webpage and see a list of my apps. I click on one of them to update it. It's a free app btw. All I want to

Re: [android-developers] Where to report app update problems?

2011-02-06 Thread Kostya Vasilyev
I guess they are rolling out support for per-country prices. If this problem doesn't go away in a bit, you should contact Android Market developer support: http://www.google.com/support/androidmarket/bin/request.py?contact_type=bugs -- Kostya 06.02.2011 20:20, Keith Wiley пишет: I'm not

[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-06 Thread 捷超 王
OK. Thank you. But i would like to know, what problems are appropriate to post here? On Feb 7, 12:04 am, Kostya Vasilyev kmans...@gmail.com wrote: Perhaps the browser always recognizes IPv6 addresses, and tries to use them? If IPv6 is disabled in the kernel, trying to use a v6 socket should

Re: [android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-06 Thread Kostya Vasilyev
From the group's description on Google Groups: http://groups.google.com/group/android-developers Discuss developing Android applications using the Android SDK. Get help with troubleshooting apps, advice on implementation, and strategies for improving your app's speed and user experience.

[android-developers] Re: Where to report app update problems?

2011-02-06 Thread JP
On Feb 6, 9:20 am, Keith Wiley kbwi...@gmail.com wrote:  I scroll down to find the problem and see that many countries now say Invalid price in red writing with a red box (those messages weren't there before I clicked Save)...BUT IT'S A FREE APP!!!  and to make matters worse, the United

Re: [android-developers] Where to report app update problems?

2011-02-06 Thread Marcin Orlowski
On 6 February 2011 18:20, Keith Wiley kbwi...@gmail.com wrote: - Unchecking All Countries (Save still won't work) This helped in my case. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Flowchart of app upgrade procedure..?

2011-02-06 Thread Dianne Hackborn
1. Download new app. 2. Tell package manager to install it, replacing any existing app. Second step consists of: a. Force stop current app (stopping all processes, services, removing notifications, unregistering alarms, etc). b. Replace existing .apk with new .apk. c. Send broadcast about

Re: [android-developers] Re: Any twitter updates??

2011-02-06 Thread Robin Talwar
hey thanks for sharing the link i have added all the three jars and made one class file copied the code. Everything is fine i have removed many errors by importing specific classes and setting up the context. But still there are two class files which eclipse is not able to import and these are :-

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-06 Thread Dianne Hackborn
Wait, let's back up a second. If their fast boot facility works how I assumed it does, it would actually be correct for it to not send boot_completed. That is, if what this does is save the current device state and RAM to storage, and reload that when turning on, then it absolutely should not

[android-developers] Re: Where to report app update problems?

2011-02-06 Thread Keith Wiley
On Feb 6, 10:01 am, JP joachim.pfeif...@gmail.com wrote: On Feb 6, 9:20 am, Keith Wiley kbwi...@gmail.com wrote:  I scroll down to find the problem and see that many countries now say Invalid price in red writing with a red box (those messages weren't there before I clicked Save)...BUT

Re: [android-developers] Re: Copy protection

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 12:20 AM, mmtbb mm...@hotmail.com wrote: LVL is so easily bypassed that it doesnt seem to make any sense to use it as it stands. It's better than nothing. The point is not to prevent every attack, it's to make it harder. Whether that has value to you is a cost-benefit

Re: [android-developers] Re: Dictionary for word game ..pls help :)

2011-02-06 Thread Justin Giles
Keep in mind though that depending on the word app, constantly hitting a remote resource is going to cause delays. It would be best to at least cache several words local to the device if you are using that approach. Also, you would need to keep in mind that a user may or may not have an active

Re: [android-developers] Any twitter updates??

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 2:49 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: Ya i got you. May be i got you wrong plus there are not much android experienced developers who like to encourage beginners out there. It's not that experience developers don't want to encourage beginners, it's

Re: [android-developers] Why a canceled notification displayed later again?

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 7:21 AM, San Zhang dahua007...@gmail.com wrote: The results are same: The notification can be deleted from status bar, but it would be displayed twice (and only twice) when another alarm notification (with different value of noti_id) be displayed. I don't understand what

Re: [android-developers] Is it possible to have dynamicly generated keys in a preferance screen?

2011-02-06 Thread TreKing
On Sat, Feb 5, 2011 at 8:58 PM, ThomasWrobel darkfl...@gmail.com wrote: Do I have to manualy commit? Possibly. Try it, see what happens. or set the persistance to true? (isn't that default). The preferences will save their values automatically when the user makes a selection. If you

Re: [android-developers] Re: Application Shutdown

2011-02-06 Thread TreKing
On Sat, Feb 5, 2011 at 8:48 PM, AndroidDevTime androiddevd...@gmail.comwrote: Should I have this store this every time it gets updated in a single method call. Sure, why not? On Sat, Feb 5, 2011 at 8:53 PM, AndroidDevTime androiddevd...@gmail.com wrote: Also what is the earliest

Re: [android-developers] Any twitter updates??

2011-02-06 Thread Robin Talwar
:) thanks On Mon, Feb 7, 2011 at 1:57 AM, TreKing treking...@gmail.com wrote: On Sun, Feb 6, 2011 at 2:49 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Ya i got you. May be i got you wrong plus there are not much android experienced developers who like to encourage beginners out

[android-developers] Re: Is it possible to have dynamicly generated keys in a preferance screen?

2011-02-06 Thread ThomasWrobel
Sorry I wasn't clear; I did try it and it doesnt work. It always says no value set however, and no changes are remembered in the interface. The changes are being made by the interface too, not programaticly so I shouldn't need that commit. I'm just wondering if something strange happens as soon

[android-developers] Re: Any twitter updates??

2011-02-06 Thread Lance Nanek
Those classes are in the Twitter4J core JAR. So that isn't getting properly included in your Java build path as a library if you can't import them. So double check that. One problematic thing I see you doing earlier is keeping your library JARs in the assets folder. The assets folder is a special

[android-developers] Re: RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-06 Thread Lance Nanek
I actually did meet a developer at an Android meetup the other day who swore he didn't need to reset his alarms on boot up on a certain phone...now I can ask if this option is involved next time I see him. On Feb 6, 1:55 pm, Dianne Hackborn hack...@android.com wrote: Wait, let's back up a

Re: [android-developers] Re: Is it possible to have dynamicly generated keys in a preferance screen?

2011-02-06 Thread Kostya Vasilyev
I'm doing this in my current project, although in a slightly different way. In my case, a subclass of PreferenceActivity is invoked for a particular object, each of which has uniform properties that need to be stored independently of properties for other objects of that class. In other words,

Re: [android-developers] Re: Any twitter updates??

2011-02-06 Thread Robin Talwar
Ok i got it i organized all my jar files in lib folder and made necessary changes in import statements. Now i can login to the twitter account and authorize the app. But i still can not update the status :( On Mon, Feb 7, 2011 at 2:42 AM, Lance Nanek lna...@gmail.com wrote: Those classes are in

Re: [android-developers] Re: Is it possible to have dynamicly generated keys in a preferance screen?

2011-02-06 Thread Thomas Wrobel
Thanks for the tip, that actualy looks like a much more neater way of doing it then trying to manualy change all the keys. I'll try to adapt that for my own requirements, shouldn't be too hard. -Thomas ~~ Reviews of anything, by anyone; www.rateoholic.co.uk Please try out my new site and

[android-developers] Re: RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-06 Thread Peter Sinnott
I think the newer HTC phones (Desire HD/Z) support hibernation of some sort. I have a vague recollection of it being mentioned at a launch event in London. On Feb 4, 11:31 am, Yorgos X yor...@gmail.com wrote: Mysteriously enough (new phone, haven't explored it much), a setting was preset to

Re: [android-developers] Re: RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-06 Thread Kostya Vasilyev
If it really is hibernation (as opposed to a reboot), then alarms *should* persist, and there should be no need to reset them. Anyone have one of those and willing to check? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 07.02.2011 1:07 пользователь Peter Sinnott psinn...@gmail.com написал:

Re: [android-developers] Re: Development Tools Crashing

2011-02-06 Thread Xavier Ducrohet
I can't seem to reproduce (running ADT 10.0, tip of tree, and Eclipse 3.5r2)) - created a new project - edited main.xml the rendering target is properly selected (in this case Android 2.2), and the default theme (Theme) was selected. I don't think we changed things around this so I'm not sure

[android-developers] Re: ListView items appear 2 or 3 times

2011-02-06 Thread Dirk Vranckaert
Thx for the help. I was trying something like the code snippet below but it doesn't help... It seems that the TextView retrieved in the else case is always null, any ideas? } else { Log.d(LOG_TAG, No need for row to be created); Log.d(LOG_TAG, Finding

[android-developers] Re: avcodec_decoder_find problem

2011-02-06 Thread emymrin
For all I know calling avcodec_find_decoder with hardcoded codec id is not a good idea. What if particular stream contains data which was encoded with a different codec? av_open_input_file is the one I would expect to block under certain conditions (bad URLProtocol implementation, for example),

[android-developers] Re: ListView items appear 2 or 3 times

2011-02-06 Thread Dirk Vranckaert
Ok never mind my last comment. I started to re-write the ArrayAdapter implementation and got it working just fine... :) Thanks for your help!! :) Here's my update code: /** * The list adapater private inner-class used to display the manage labels list. */ private class

[android-developers] interfacing to a server via http with a service

2011-02-06 Thread Avtar Khalsa
Hi guys, I have the following scenario in my Android code, and I am wondering if someone can point me in the right direction. I have an activity called MainActivty. It interfaces to the server through a service called ServerConnector which creates a new thread to handle RESTful calls to our

[android-developers] Re: Honeycomb SDK

2011-02-06 Thread midtoad
To anyone who wants to test his/her app on the Honeycomb SDK, in the app's manifest, edit your uses-sdk to specify Honeycomb as the target, like this: uses-sdk android:minSdkVersion=4 android:targetSdkVersion=Honeycomb / You will then get the Honeycomb Holograph them and your app will have

[android-developers] Re: Honeycomb Emulator Landscape issue on Ubuntu 10.04

2011-02-06 Thread midtoad
On Jan 28, 2:41 am, Steve Gores-Todd sgorest...@gmail.com wrote: The solution can be found on the SKD preview page near the bottom. http://developer.android.com/sdk/preview/index.html Well that solution, i.e. press Ctrl-F11 only works if you are using a Windows PC. On the Mac, it just

[android-developers] Re: Honeycomb Emulator Landscape issue on Ubuntu 10.04

2011-02-06 Thread midtoad
Aha! The solution is to press Ctrl + Fn + F11 (possibly several times until you get the orientation you want). S On Feb 6, 5:06 pm, midtoad stewart.midwin...@gmail.com wrote: On Jan 28, 2:41 am, Steve Gores-Todd sgorest...@gmail.com wrote: The solution can be found on the SKD preview page

Re: [android-developers] Why a canceled notification displayed later again?

2011-02-06 Thread San Zhang
I don't understand how to use AlarmManager to post notifications. I think that all notifications is managered by NotificationManager but not AlarmManager, although they are started and canceled according with alarms life cycle. In fact, The behavior of notifications were right, no the problem,

[android-developers] Scrolling problem in Adapter View

2011-02-06 Thread Honest
hello, I am using AdapterView to have Cutom List. But my Xml layout not only contains that List. It also have some other elements like TextBox, labels, ImageButton at the top and bottom. so when i scroll it up and animation starts it also draw elements on that Top Part(Which contains

[android-developers] Re: Build SDK for another platform from Linux

2011-02-06 Thread Indicator Veritatis
I am not sure which (if any) group would be the right group for that question, but I am pretty sure this is not it. This groups is for questions about using the SDK, not building it. But why do you want to build the SDK in the first place? That is the job of the Android team at Google. No matter

Re: [android-developers] Build SDK for another platform from Linux

2011-02-06 Thread Xavier Ducrohet
We build the Windows SDK on linux, but you won't be able to build the MacOS version on linux. You'll need a Mac for that. make PRODUCT-sdk-win_sdk is the command (when not running the lunch command). However there are config and packages that must be installed on your linux box and I don't have

[android-developers] Re: Why is the GIT repository so slow lately?

2011-02-06 Thread Kumar Mettu
GitWeb is unusable over the weekend. Hope this gets fixed. On Jan 28, 6:47 am, niko20 nikolatesl...@yahoo.com wrote: Why is the GitWeb interface about 500% slower than it used to be? Maybe from parsing such a huge database of GIT entries...? -niko -- You received this message because you

[android-developers] Best practices for automatic retrying of AsyncTask

2011-02-06 Thread Dimitris
Hey guys, I have a base abstract class that all my asynctasks extend from. I have built in error handling for network errors where I display a dialog to the user telling them they can retry their request (after all it was a network error...). I am having a bit of a problem retrying my

Re: [android-developers] Status of NFC card emulation capabilities in android 2.3.2

2011-02-06 Thread Ajith Kamath
Hi Card emualtion is not completely supported on Application level yet. Although stack level support is provided by libnfc-nxp You can tweak the app and native layer to provide decent enough card emulation. Please refer to older posts. There has already been discussion on this and card emulation

Re: [android-developers] Re: Android beginner

2011-02-06 Thread subhashini alaguchokku
Hi! How to build my android application(version2). On Sat, Feb 5, 2011 at 10:30 PM, TreKing treking...@gmail.com wrote: On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Pls send me this link I have faith that, if you have been able to build an

[android-developers] Re: Where to report app update problems?

2011-02-06 Thread Hari Edo
I ran into this on an update of my free app tonight as well. I completely quit the whole Chrome browser process (which has been running for a month), and restarted it. The price problem went away as if by magic. I did notice another problem, where non-latin characters were causing the Recent

Re: [android-developers] Why a canceled notification displayed later again?

2011-02-06 Thread San Zhang
Below codes is notifications behavior no problem: = public class AlarmService extends Service { @Override public void onCreate() { . . . showNotification(sAlarmKeyName); Intent i = new Intent(this,

[android-developers] ndk-gdb on cygwin/windowsXP won't load symbol tables.

2011-02-06 Thread Dewr
I havn't tried ndk-gdb on other OSs. but I had tried on WindowsXP. (using ndk-gdb r5b) and just seeing same message 'no symbol table is loaded!' when I type 'b io_lib.c:227'. I have tried ' set solib-search-path /cygdrive/c/.../obj/local/armeabi ', ' set solib-search-path

Re: [android-developers] interfacing to a server via http with a service

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 5:25 PM, Avtar Khalsa akhals...@gmail.com wrote: I know it will require a binding, but since it is a local service, I am unsure if I should use AIDL, or something else. Have you reviewed the Service documentation? It's pretty detailed, with some samples on local and

Re: [android-developers] Scrolling problem in Adapter View

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 8:23 PM, Honest honestsucc...@gmail.com wrote: I am using AdapterView to have Cutom List. But my Xml layout not only contains that List. It also have some other elements like TextBox, labels, ImageButton at the top and bottom. so when i scroll it up and animation

Re: [android-developers] Best practices for automatic retrying of AsyncTask

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 9:35 PM, Dimitris dnkou...@gmail.com wrote: I have a base abstract class that all my asynctasks extend from. I have built in error handling for network errors where I display a dialog to the user telling them they can retry their request (after all it was a network

[android-developers] Re: LVL behavior on client side license validity check for free apps

2011-02-06 Thread rajorshi
Thanks. That answers all my questions. ~rajorshi On Feb 4, 10:47 pm, Trevor Johns trevorjo...@google.com wrote: Err, typo there: Free apps cannot request the com.android.vending.CHECK_LICENSE permission. (Billing works just fine with free apps.) -- Trevor Johns Developer Programs

[android-developers] android os debug terminal open text file

2011-02-06 Thread jeremygwa
hi, in this android os developer tools, on the emulator, how do i read the contents of a text file on the sdcard, from the terminal command line. i have tried: pico textfile.txt type textfile.txt sudo pico textfile.txt - permission denied -- You received this message because you are

Re: [android-developers] Best practices for automatic retrying of AsyncTask

2011-02-06 Thread Dimitris
Yes it is necessary. The base abstract class provides all the plumbing for posting an HTTP request and handling exceptions while allowing subclasses to do their actual work. I would hate for each asynctask to write network error handling. The problem is, I cant find a proper way to

Re: [android-developers] Dictionary for word game ..pls help :)

2011-02-06 Thread Kristopher Micinski
Oh, jesus, this is classic bloom filter. -- Kris Micinski On Sat, Feb 5, 2011 at 3:36 PM, nivedita arora vivaciousnived...@gmail.comwrote: hi, i really need help. i am making a word game for college which uses words of length 4 to 7. i have a certain array of string containing words of

[android-developers] Re: Bluetooth - Health Device Profile (HDP) and Continua

2011-02-06 Thread Praneeth
I guess u should look at how other profiles have registered for their SDP records and do the same for HDP. For example look at OPP. You can check for files like sdptool.c where u can add u r code for registering ur sdp records. Did this help u? On Feb 2, 12:45 pm, John mrjhopk...@gmail.com

Re: [android-developers] Best practices for automatic retrying of AsyncTask

2011-02-06 Thread TreKing
On Sun, Feb 6, 2011 at 11:22 PM, Dimitris dnkou...@gmail.com wrote: The problem is, I cant find a proper way to reinstantiate a task and execute it without reflection. Whatever started the task to being with would be responsible for checking the result and responding appropriately. Since it

Re: [android-developers] Why a canceled notification displayed later again?

2011-02-06 Thread San Zhang
Oh, I have found a cause of the problem. It is a logic problem in my code but it is not displayed above codes. 在 2011年2月7日 下午12:26,San Zhang dahua007...@gmail.com写道: Below codes is notifications behavior no problem: = public class AlarmService

[android-developers] Re: Scrolling problem in Adapter View

2011-02-06 Thread Honest
hi, Thanks for your reply. actually as i told i wanted rubber or bounce back effect. So i derived AdapterView class but the problem is there is no scroll bar. and another problem is In my xml layout file there is some ImageButton and some other control at up and botom part. and in between there

[android-developers] Re: Network I/O in background thread

2011-02-06 Thread Amit
Thanks Mark and Ksotya, So With background thread spawned from Service, provides functionality as desired. But it has 2 drawback which i must consider As Mark wrote: Only waiting for time tick, it is not wise to wait from app, better use alarmmanger. As Kostya wrote: I should be considering

Re: [android-developers] Re: Honeycomb SDK

2011-02-06 Thread Marcin Orlowski
On 7 February 2011 00:57, midtoad stewart.midwin...@gmail.com wrote: You will then get the Honeycomb Holograph them and your app will have an updated look and feel. http://developer.android.com/sdk/preview/index.html Android 3.0 offers an updated set of UI widgets that are redesigned for use