[android-developers] Re: Is Android good for this?

2011-02-05 Thread keyboardr
Caribbean accentWelcome to Android. This is Android. Welcome. You can do anything with Android. Anything at all. The only limit... is yourself. Welcome to Android. WELCOME... TO ANDROID. Yes... this is Android. And welcome to you who has come to Android. Anything is possible with Android.

[android-developers] How to store a timestamp to the sd card?

2011-02-05 Thread MobileVisuals
I am making a timelimited trial version of a live wallpaper app. I need to store the timestamp on the SD card, to keep track of the trialperiod. I can get the current time with long currentTime=System.currentTimeMillis(); I want to store this with a FileOutputStream object. The problem is that

Re: [android-developers] In app billing...

2011-02-05 Thread Kostya Vasilyev
I believe being able to provide refunds is important. When you go to a real-world store, you can touch, look at, try on items before paying, and yet stores typically let you bring purchases back and get a refund. This is so that the customer knows that if something - unexpected and unforeseen

Re: [android-developers] How to store a timestamp to the sd card?

2011-02-05 Thread Kostya Vasilyev
http://developer.android.com/reference/java/io/DataOutputStream.html#writeLong(long) You do know that files stored on the memory card can be very easily changed by the user? -- Kostya 05.02.2011 11:44, MobileVisuals пишет: I am making a timelimited trial version of a live wallpaper app. I

[android-developers] Re: How to connect mysql with android

2011-02-05 Thread Tim
Android does indeed support direct connectivity to most databases including MySQL. Android is fully JDBC compliant and all you need to do is find and embed the correct JDBC driver inside your Android app. Most JDBC drivers are covered by GPL. The remaining problem then is to encode the necessary

Re: [android-developers] webview + scrolling

2011-02-05 Thread sagar masuti
Hi Mark, I have implemented a class named WidgetView.java which extends from FrameLayout. This acts as a container for Webview.In my class I handle the touch events according to my specific requirements. Now when i remove FrameLayout and use some other layout I am not able to display any

[android-developers] slidingdrawer problem

2011-02-05 Thread 陈彧堃
I have a button on handle, but its registered event can not response because of the slidingDrawer handler's event handling, how can I add enable a button's response event on slidingdrawer's handler? Thanks very much. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Question about bug reports

2011-02-05 Thread H
To send a silent report (i.e. something the user isn't aware of) you can use the details here: http://code.google.com/p/acra/wiki/ACRA3HowTo#Can_I_send_reports_for_caught_exceptions_?_or_for_unexpected_app

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Well that is almost not an option to not use query strings in a SMS. One work around would be to use a link shortener prior to sending out the SMS from our SMS gateway. (Given that the link shortening service does not crawl the site prior to shortening it) Or to rather make the quer part of the

[android-developers] Re: Android 3.0 questions

2011-02-05 Thread chcat
Why did you mention Honeycomb ? I saw pretty much only Android 3.0/ Gingerbread combination, like http://www.unwiredview.com/2010/06/30/android-3-0-gingerbread-details-1280x760-resolution-1ghz-minimum-specs-mid-oct-release/ I use Nexus One phone, not tablet -V On Feb 4, 11:46 am, Marcin

[android-developers] Re: Android 3.0 questions

2011-02-05 Thread chcat
Why did you mention Honeycomb ? I saw pretty much only Android 3.0/ Gingerbread combination, like http://www.unwiredview.com/2010/06/30/android-3-0-gingerbread-details-1280x760-resolution-1ghz-minimum-specs-mid-oct-release/ I use Nexus One phone, not tablet -V On Feb 4, 11:46 am, Marcin

Re: [android-developers] Re: Android 3.0 questions

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 7:19 AM, chcat vlyamt...@gmail.com wrote: Why did you  mention Honeycomb ? I saw pretty much only Android 3.0/ Gingerbread combination, like http://www.unwiredview.com/2010/06/30/android-3-0-gingerbread-details-1280x760-resolution-1ghz-minimum-specs-mid-oct-release/ You

[android-developers] Re: Scheduling ideas

2011-02-05 Thread Neilz
Ok, one problem with this alarm service. I schedule it for some time in the morning, and when I get up and check the phone, the alarm didn't get called, because it thinks there's no network connection. This is a call I make deliberately (I always check there's a connection before making the

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Marcin Orlowski
On 5 February 2011 13:40, Neilz neilhorn...@gmail.com wrote: Ok, one problem with this alarm service. I schedule it for some time in the morning, and when I get up and check the phone, the alarm didn't get called, because it thinks there's no network connection. Alarm manager makes does not

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Kostya Vasilyev
05.02.2011 15:40, Neilz пишет: Ok, one problem with this alarm service. I schedule it for some time in the morning, and when I get up and check the phone, the alarm didn't get called, because it thinks there's no network connection. I'm sure the alarm did get called, as the AlarmManager

Re: [android-developers] Re: Honeycomb + Motodev's Xoom add-on - does not work

2011-02-05 Thread Marcin Orlowski
On 4 February 2011 21:30, Eric Cloninger er...@motorola.com wrote: Hi, Are you running the emulator at full scale? We are seeing some problems with the emulator crashing when the XOOM addon is used in full scale with the Honeycomb system image. Try adding a launch parameter of -scale 0.6 or

[android-developers] Re: Scheduling ideas

2011-02-05 Thread Neilz
Hi Kostya. Yes, the alarm gets called... it's just my own call which stops it doing it's task. For example: if(isNetworkAvailable(mContext)){ // do stuff... } public static boolean isNetworkAvailable(Context context) { ConnectivityManager connMgr = (ConnectivityManager)

[android-developers] Re: How to connect mysql with android

2011-02-05 Thread DanH
I was wondering when you'd check in. On Feb 5, 3:29 am, Tim t...@mobiforms.com wrote: Android does indeed support direct connectivity to most databases including MySQL.  Android is fully JDBC compliant and all you need to do is find and embed the correct JDBC driver inside your Android app.

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Kostya Vasilyev
Neil, That's pretty much how I test too, except my code lacks a check for isConnected, only for null. This is what I get in my app's log: NetworkInfo: type: MOBILE[EDGE], state: CONNECTED/CONNECTED, reason: apnSwitched, extra: internet.mts.ru, roaming: false, failover: false, isAvailable:

[android-developers] Re: Emulator with disabled camera still has camera?

2011-02-05 Thread blindfold
It looks like the emulator currently only supports one default hardware configuration for hasSystemFeature() http://code.google.com/p/android/issues/detail?id=11682 which indeed is inconvenient for emulating/testing app behavior for different hardware configurations. On Feb 4, 8:42 pm, Manfred

[android-developers] Re: MediaStore insertImage quality

2011-02-05 Thread Koji Ohno
This is a self reply. It has been solved by 1.Copy original jpeg file to destination directory. 2.Register image with ContentResolver::insert Thank you --- Koji Ohno Apps https://market.android.com/developer?pub=Koji+Ohno 2011/2/4 Koji Ohno s936...@gmail.com: Hi I have been trying to save

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Mark Murphy
You don't read in a byte vector. You read in a string. You convert the string to a long. You really need to back off of Android development for a while and learn Java. On Sat, Feb 5, 2011 at 9:08 AM, MobileVisuals eyv...@astralvisuals.com wrote: I tried the printwriter and I can use it to write

[android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread MobileVisuals
I tried the printwriter and I can use it to write the information as a String. But how can I read this information to extract it as a long? I tried in = new FileInputStream(fileLocation); in.read(readData); //readData is a byte vector String readString=new String(readData); but this does not

[android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread MobileVisuals
I saw your posting about the DataOutputstream now, so I try that instead of PrintWriter. I know that these files can be changed by users, but most people don'tknow how to do that. Do you know a better idea for a trial version? I don't have time for a server based solution. On Feb 5, 9:52 am,

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Kostya Vasilyev
The very least you can do is use application-specific storage for your timestamp value. The memory card is accessible and writable by anyone, including other applications and the user, and storing the timestamp as text is practically begging for someone to mess with it. I'd suggest you use

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Marcin Orlowski
On 5 February 2011 15:35, Kostya Vasilyev kmans...@gmail.com wrote: The memory card is accessible and writable by anyone, including other applications and the user, and storing the timestamp as text is practically begging for someone to mess with it. Not fully agreee. If you do this right

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

2011-02-05 Thread zenperttu
Hi! Thanks for your answer. Unfortunately setting editable=false does not do the trick. When I'm moving the focus via hard keys from a normal EditText to the View where I'd like not to have soft keyboard shown it still stays on the screen. ps. Sorry I didn't answer earlier, I couldn't find my

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Kostya Vasilyev
05.02.2011 17:46, Marcin Orlowski пишет: On 5 February 2011 15:35, Kostya Vasilyevkmans...@gmail.com wrote: The memory card is accessible and writable by anyone, including other applications and the user, and storing the timestamp as text is practically begging for someone to mess with it.

[android-developers] Re: Scheduling ideas

2011-02-05 Thread Neilz
Yes, looking at the log output, it seems the device disables the wireless connection after a few minutes while the phone's sleeping, to save resources I suppose. So I'll just have to code around that, and reset the alarm to try again until the connection is back. On Feb 5, 1:29 pm, Kostya

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread kernelpanic
You didn't mention which Galaxy S phone or if it's all of them. FWIW, I've had no issues sending this type of URL through an SMS gateway to the Samsung Epic Galaxy class phone - works as expected. I do question the validity of the spaces in the query and suspect that is the issue here. I can

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 10:22 AM, Neilz neilhorn...@gmail.com wrote: Yes, looking at the log output, it seems the device disables the wireless connection after a few minutes while the phone's sleeping, to save resources I suppose. So I'll just have to code around that, and reset the alarm to

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 10:25 AM, kernelpanic j.m.roya...@gmail.com wrote: I do question the validity of the spaces in the query and suspect that is the issue here. :: smacks forehead :: Yeah, I never noticed that. Looking at the regex that Linkify uses, it will not honor spaces in query

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Marcin Orlowski
On 5 February 2011 16:08, Kostya Vasilyev kmans...@gmail.com wrote: A secret file location can be easily discovered by someone who is able to run strace (== rooted firmware), which then can be shared, or exploited by an unlocker application. If anyone start sniffing with strace then

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Kostya Vasilyev
BTW, it's been suggested to use a link shortening service - that would break intent filters, if they are used to launch the application. What would work, is to use URL rewriting, so rather than using: http://www.site.com/page?param=value one would use something like:

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Kostya Vasilyev
Interesting. I take it by wireless you mean cellular? My HTC Hero has an option for always on cellular data connection - I guess it's specific to HTC phones, as neither my Samsung Galaxy S or Motorola Milestone have that. Is your phone made by HTC by any chance? If so, perhaps you could

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

2011-02-05 Thread outofcoffee
LVL doesn't work for me on 2.3 either. LogCat output: 01-27 00:21:46.455: INFO/LicenseChecker(1067): Binding to licensing service. 01-27 00:21:46.465: WARN/ActivityManager(76): Unable to start service Intent { act=com.android.vending.licensing.ILicensingService }: not found 01-27 00:21:46.465:

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Kostya Vasilyev
Not sure if there are any spaces. The SMS content is: http://www.site.com?param=value Test 2 It's not clear whether the Test 2 is part of the URL. I would think not, because spaces in URLs are always encoded as %20 or +. I suspect the issue is that the ?param=value is not highlighted, just

[android-developers] Re: Scheduling ideas

2011-02-05 Thread Neilz
No I'm testing on a Nexus... But I can't be responsible for user's individual settings, so I'll just have to assume that in some cases the network will not be available during the night. Unless there's a command to explicitly wake up the connection? On Feb 5, 3:42 pm, Kostya Vasilyev

[android-developers] Issue 13044: Android Browser does not correctly support XMLHttpRequest streaming

2011-02-05 Thread kypriakos
Has this issue been resolved or are there plans to resolve it? It seems that the issue that I have with the server response not being read by the Android's native browser when I call a remote web service could be related to this 4K buffering on the browser's side. Has anyone else experienced this

[android-developers] Re: In app billing...

2011-02-05 Thread Maps.Huge.Info (Maps API Guru)
I believe being able to provide refunds is important. When you go to a real-world store Since a user upgrading to a pro version isn't buying anything tangible, it's more like going into a donut shop, buying a donut and eating it. How many consumers ask for refunds at that point? Under some

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Kostya Vasilyev
05.02.2011 18:47, Neilz пишет: No I'm testing on a Nexus... Ok. But I can't be responsible for user's individual settings, so I'll just have to assume that in some cases the network will not be available during the night. Unless there's a command to explicitly wake up the connection? Well,

[android-developers] avcodec_decoder_find problem

2011-02-05 Thread cervello
I'm trying to decode a video but in my code I think there is a problem about avcodec_find decoder().. I control it with log_message and on logcat there is here1 but there isn't here2 .. So I think there is a problem with avcodec_find_decoder... Can anyone any idea?? Please help me, Thanks And how

[android-developers] Re: Android 3.0 questions

2011-02-05 Thread chcat
Mark, Thanks for the clarification. I am interested in adaptive http live streaming, that is supposed to be one of the great new features in Android 3.0. I'd have to get some sort of live media streaming from Nexus One phone within next 6months. I wouldn't want to try to re- invent the wheel if

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread kernelpanic
yeah that's true As Mark said, if you do the same test with %20 - it does include the ? sc= portion in the link may need a CR/LF in there to force the separation between the link and the text On Feb 5, 9:46 am, Kostya Vasilyev kmans...@gmail.com wrote: Not sure if there are any spaces. The

Re: [android-developers] Re: In app billing...

2011-02-05 Thread Kostya Vasilyev
05.02.2011 18:59, Maps.Huge.Info (Maps API Guru) пишет: I believe being able to provide refunds is important. When you go to a real-world store Since a user upgrading to a pro version isn't buying anything tangible, it's more like going into a donut shop, buying a donut and eating it. How many

Re: [android-developers] Re: Android 3.0 questions

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 11:08 AM, chcat vlyamt...@gmail.com wrote: Any idea if that part is functional in  Gingerbread Considering that it is not in Gingerbread, I doubt that it is functional. or when Honycomb might be available for Nexus? Nobody knows. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Downloading Application to phone

2011-02-05 Thread Kevin Brooks
I am getting an error device not found On 1/5/2011 11:53 AM, Mark Murphy wrote: adb -d install path/to/your.apk On Wed, Jan 5, 2011 at 12:51 PM, Kevin Brooksbear35...@gmail.com wrote: How can I download one of my apps from my computer directly to my phone? -- You received this message

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread kernelpanic
just to add more food for thought - there may be a problem here - there are definitely some differences Using this as a test URL http://www.test.com?id=123abc If I send it to the Epic from another phone - it does NOT consider the query portion (?id=123abc) as part of the link if I send it to

Re: [android-developers] Downloading Application to phone

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 11:21 AM, Kevin Brooks bear35...@gmail.com wrote: I am getting an error device not found Run adb devices. If your device is not listed, then: -- on Windows, you need to get the right driver -- on Linux, you may need to fuss with udev rules or the equivalent for your

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

2011-02-05 Thread Marcin Orlowski
Same code works on version 2.2 of the Google API emulator, but not 2.3 of the Google API emulator. It's known, confirmed issue: https://groups.google.com/group/android-developers/msg/69ad5f4a5ec9f3e9 If you want to test LVL use 2.2 emulator instead. -- You received this message because you

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

2011-02-05 Thread TreKing
On Sat, Feb 5, 2011 at 1:34 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: Sorry i have read your other posts also you keep replying in the same tone anyways It is very difficult to convey tone in emails / posts. Tone is usually inferred by the reader. This perceived tone is often wrong.

Re: [android-developers] Re: Android beginner

2011-02-05 Thread TreKing
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 application and successfully upload it to the Android Market, you have the technical prowess required to navigate

[android-developers] Re: OpenJDK on Android

2011-02-05 Thread koala
Thanks Daniel Your response is more in line of what i was expecting... On Feb 4, 6:18 pm, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: Koala, Try this for starters:http://stackoverflow.com/questions/4491720/why-android-is-built-on-a-... and follow various pointer that appear

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Yes test 2 is not part of the query. It was just there to identify the message from our SMSC. Sorry for the confusion. And yes the problem is just that it just highlights http://www.site.com as part of an url. On Feb 5, 5:46 pm, Kostya Vasilyev kmans...@gmail.com wrote: Not sure if there are any

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Thanks fot the tip. But in this case the goal is to provide users with an unique hash and to validate their handsets to get access to a newspapers standing subscriber-feed. Thus the parameter is intended for one time use. The link is retrieved from our SMSC by sending a keyword to a known

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
Interesting notice that there is a difference. From what we have seen so far, we haven't noticed a difference sending the URL from one handset or from our SMSC. Worth mentioning that this is the case of Finish operators. I don't own a Samsung Galaxy phone myself, but the customers that have

[android-developers] Re: In app billing...

2011-02-05 Thread Maps.Huge.Info (Maps API Guru)
It's the right to use the software in a certain way, to repeatedly... In my business, I have a stated policy of No refunds under any circumstances. I've had this policy for over 30 years and it has served me well. I have the policy stated in several places and so far, it hasn't been a problem.

Re: [android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Kostya Vasilyev
05.02.2011 20:19, Jan Westin пишет: Thanks fot the tip. Welcome. But in this case the goal is to provide users with an unique hash and to validate their handsets to get access to a newspapers standing subscriber-feed. Thus the parameter is intended for one time use. So what? URL rewriting

[android-developers] Re: URL query string bug in SMS messages

2011-02-05 Thread Jan Westin
True, I'll have to look into that back at work. In this case it happens to be running on a IIS platform. Thanks for the insight. //Jan On Feb 5, 7:35 pm, Kostya Vasilyev kmans...@gmail.com wrote: 05.02.2011 20:19, Jan Westin пишет: Thanks fot the tip. Welcome. But in this case the goal

[android-developers] Will this action bar navigation mode be there: NAVIGATION MODE DROPDOWNLIST

2011-02-05 Thread Satya Komatineni
I see this navigation mode in the API however not in the javadoc that is downloaded with honeycomb preview. Any thoughts which is more recent? Thanks Satya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: In app billing...

2011-02-05 Thread Kostya Vasilyev
That's interesting. Thanks for the info. 05.02.2011 20:33, Maps.Huge.Info (Maps API Guru) пишет: It's the right to use the software in a certain way, to repeatedly... In my business, I have a stated policy of No refunds under any circumstances. I've had this policy for over 30 years and it has

[android-developers] Re: Will this action bar navigation mode be there: NAVIGATION MODE DROPDOWNLIST

2011-02-05 Thread Satya Komatineni
Looks like the value for both NAVIGATION_MODE_LIST NAVIGATION_MODE_DROPDOWN_LIST appears to be the same. The only affect of setting one mode or vs the other, (betweent these two modes), is wether to show the titles or not. I suppose those can be done through display options setting. Satya On

Re: [android-developers] Downloading Application to phone

2011-02-05 Thread Kevin Brooks
Thanks that got it. On 2/5/2011 10:34 AM, Mark Murphy wrote: On Sat, Feb 5, 2011 at 11:21 AM, Kevin Brooksbear35...@gmail.com wrote: I am getting an error device not found Run adb devices. If your device is not listed, then: -- on Windows, you need to get the right driver -- on Linux, you

[android-developers] Is /system/bin/dalvikvm reliable on all Android devices?

2011-02-05 Thread Jin Chiu
Can I rely on dalvikvm to be reliable on all Android devices? I would like to use it to send an intent from a native component, which due to legacy design, does not have access to a JNI context. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: In app billing...

2011-02-05 Thread Kevin Duffey
So I have a few thoughts on this subject. I have been hoping ever since apple introduced this feature for iPhone/iPad that Google would hurry up and add this. I know of several developers that are making a huge sum more with in-app virtual good purchases than their pro version ever sold. Because

[android-developers] Re: avcodec_decoder_find problem

2011-02-05 Thread emymrin
Try to instrument avcodec_open and anything that it calls with __android_log_print to get an idea about what is wrong. On 5 фев, 19:03, cervello eceooz...@gmail.com wrote: I'm trying to decode a video but in my code I think there is a problem about avcodec_find decoder().. I control it with

Re: [android-developers] Re: Android 3.0 questions

2011-02-05 Thread Kevin Duffey
Supposedly Motorola Xoom is coming out Feb 17 with Android 3.0. How that is going to work out we'll find out Feb 17. I can't imagine Google would allow a half baked 3.0 go out the door just for Motorola to meet it's desired ship date. On Sat, Feb 5, 2011 at 8:12 AM, Mark Murphy

[android-developers] Re: Will this action bar navigation mode be there: NAVIGATION MODE DROPDOWNLIST

2011-02-05 Thread Satya Komatineni
Here is some sample code, images of various actionbar modes, and a downloadable sample project. http://www.satyakomatineni.com/item/3624 On Sat, Feb 5, 2011 at 1:21 PM, Satya Komatineni satya.komatin...@gmail.com wrote: Looks like the value for both NAVIGATION_MODE_LIST

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-05 Thread mot12
Update: My fantastically helpful DroidX user reports that the stripped down version works without a glitch. So there's hope. Unless it is some side-effect like a memory issue, I hope to establish cause and effect soon and will report here in case anybody else runs into something similar. -- You

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-05 Thread mot12
No, this particular user didn't. On Feb 5, 5:38 am, String sterling.ud...@googlemail.com wrote: Do the users experiencing the problem have one of those other apps installed? The ones you're sending the intent to on exit. If so, it may be that it's this app causing the problem, not you.

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-05 Thread mot12
No, this particular user didn't. On Feb 5, 5:38 am, String sterling.ud...@googlemail.com wrote: Do the users experiencing the problem have one of those other apps installed? The ones you're sending the intent to on exit. If so, it may be that it's this app causing the problem, not you.

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-05 Thread mot12
No, this particular user didn't. On Feb 5, 5:38 am, String sterling.ud...@googlemail.com wrote: Do the users experiencing the problem have one of those other apps installed? The ones you're sending the intent to on exit. If so, it may be that it's this app causing the problem, not you.

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

2011-02-05 Thread nivedita arora
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 length 4 -7.i have to check if those words are valid english words or not.i was earlier trying to implement database containing 4 tables each having

Re: [android-developers] Re: In app billing...

2011-02-05 Thread Justin Giles
Ok, you two. Now I'm hungry for a donut while I'm doing my laundry! On Sat, Feb 5, 2011 at 10:10 AM, Kostya Vasilyev kmans...@gmail.com wrote: 05.02.2011 18:59, Maps.Huge.Info (Maps API Guru) пишет: I believe being able to provide refunds is important. When you go to a real-world store

[android-developers] converting to regular java

2011-02-05 Thread bob
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 Android games for PC and Mac and Linux easily? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-05 Thread AndroidDevTime
If the widget initialization requires some calls to registerReceiver() passing a null pointer to get the values where is the best place to be doing this. In my case, I am maintaining Application state in an Application subclass. In a sense my whole widget application has a state. The state

Re: [android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 5:19 PM, AndroidDevTime androiddevd...@gmail.com wrote: Where should the application state for a Widget be maintained?  In the Application subclass or in the Widget itself. Neither. Ideally, an app widget has no state outside of data you maintain for your application as

[android-developers] How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
I have an Widget Application that also has Activities, and a heavily used Service full of functions. I would like to keep a global status for the application. This is app/widget specific state like say STARTED, LEVEL1, LEVEL2 etc, so since the status is referenced in the widget, the service, and

[android-developers] How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
I have an Widget Application that also has Activities, and a heavily used Service full of functions. I would like to keep a global status for the application. This is app/widget specific state like say STARTED, LEVEL1, LEVEL2 etc, so since the status is referenced in the widget, the service, and

[android-developers] Re: converting to regular java

2011-02-05 Thread DanH
Well, someone could always come up with a port of the Android emulator to native Windoze/Mac/Linux, and then it would be easy. Otherwise, the UI, as usual, is the bottleneck. On Feb 5, 3:19 pm, bob b...@coolgroups.com wrote: How hard is it usually to convert an Android app to regular Java that

Re: [android-developers] How to Keep Widget Application Status/State

2011-02-05 Thread Kostya Vasilyev
You can use a lazy initialize Java Singleton, where you pass in a context in case one is needed to recreate state. If you need to keep a context reference, make sure to call getApplicationContext and keep that instead, so you don't run into object lifetime issues and leak memory (in case that

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
Ok. Lets say that it goes into a static singleton, and say the status is level2 and the application/widget gets shutdown. I suppose I would need to implement a saveState() method on the singleton, and detect this shutdown somewhere so I could recover the correct state? I don't think there is

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java Singleton, where you pass in a context in case one is needed to recreate state. Are you referring to keeping a Context reference inside the singleton? If you need to keep a context reference,

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: How to Keep Widget Application Status/State

2011-02-05 Thread AndroidDevTime
What is the advantage of using lazy initialize Java Singleton vs. using subclass of application as the Singleton itself? Since we already have getApplication() available in most places On Feb 5, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can use a lazy initialize Java

[android-developers] Re: Where to put a broadcast receiver for a widget

2011-02-05 Thread AndroidDevTime
On Feb 5, 2:33 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Feb 5, 2011 at 5:19 PM, AndroidDevTime androiddevd...@gmail.com wrote: Where should the application state for a Widget be maintained?  In the Application subclass or in the Widget itself. true, but what I was

[android-developers] Looking for L10nDemo sample

2011-02-05 Thread Eric Cloninger
The localization draft article at http://groups.google.com/group/android-developers/web/localizing-android-apps-draft is a nice reference. There is a sample connected to the article, but I can't seem to get it. I get error messages when I try to access L10nDemo.zip. The other files that are

[android-developers] Application Shutdown

2011-02-05 Thread AndroidDevTime
I would like to handle application shutdown gracefully. Whether the user ends the application or the system decides the kill the process, I want to know the best place to put hooks in the application to detect and handle this. I know that application level components have lifecycle methods the

Re: [android-developers] Application Shutdown

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 8:57 PM, AndroidDevTime androiddevd...@gmail.com wrote: I would like to handle application shutdown gracefully. There is no such concept as application shutdown in Android. Whether the user ends the application or the system decides the kill the process, I want to know

[android-developers] Re: Application Shutdown

2011-02-05 Thread Hari Edo
Save data when the user's no longer interacting with it. And even when they are. As you point out, there are no guaranteed callbacks. The system assumes that if you're idle, you can be killed. On Feb 5, 8:57 pm, AndroidDevTime androiddevd...@gmail.com wrote: I would like to handle application

[android-developers] Re: webview + scrolling

2011-02-05 Thread JAlexoid (Aleksandr Panzin)
WebView is not final class, so yes you can extend from WebView. On 5 фев, 12:31, sagar masuti sagar@gmail.com wrote: Hi Mark, I have implemented a class named WidgetView.java which extends from FrameLayout. This acts as a container for Webview.In my class I handle the touch events

[android-developers] Re: Changing audio path to earpiece from speakerphone

2011-02-05 Thread Indicator Veritatis
I have seen this question answered before in this group. Do a search on it. I think the answer was 'no'. The reason it cannot be done (or at least cannot be done simply) is that the phone's in-call audio and its multi-media audio are considered separate paths, the former is carefully guarded

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

2011-02-05 Thread Traveler
Have you considered Sqlite? I'm using it in a speeling app I'm developing. Jerry On Feb 5, 3:36 pm, nivedita arora vivaciousnived...@gmail.com wrote: 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

[android-developers] Re: Application Shutdown

2011-02-05 Thread AndroidDevTime
Ok. In the particular case of a global (application level) shared static variable accessed via a singleton, that I want to be able to recover. Should I have this store this every time it gets updated in a single method call. for example public synchronized Singleton{ // derived from Application

[android-developers] Re: Application Shutdown

2011-02-05 Thread AndroidDevTime
Also what is the earliest point/hook in the code where I can begin to store in SharedPreferences? Can I access in Application.create()? On Feb 5, 6:03 pm, Hari Edo hari@gmail.com wrote: Save data when the user's no longer interacting with it.  And even when they are.  As you point out,

  1   2   >