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

2011-02-05 Thread Kostya Vasilyev
First, it's initialized on demand, which itself has two benefits: you're not wasting time doing something unnecessary; you're not doing a bunch of stuff at application startup time, so it's more responsive. Second, it's cleaner (at least to my eyes). Compare: DataCache dc = ((MyApplication)get

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

2011-02-05 Thread Dianne Hackborn
It is nothing complicated. It is just the last Intent that was sent with sendStickBroadcast() that matches the IntentFilter you are using. (If there are multiple matches, it is randomly one of them.) That said, I would generally discourage third party apps from using sticky broadcasts. You can

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

2011-02-05 Thread Dianne Hackborn
NO shell commands are part of the SDK. Third party apps should not rely on being able to launch any shell commands. Further -- anything you do here is going to end up relying on private APIs, because a VM created from the raw dalvik command does not have any association with the running framework

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

2011-02-05 Thread Dianne Hackborn
Can I first ask, what are you trying to accomplish? What is the purpose of having an editable text view if the user can't actually put text into it? On Tue, Feb 1, 2011 at 10:29 AM, zenperttu wrote: > Hi! > > I would like a way to turn off showing the current soft keyboard for > an EditText. I

[android-developers] Re: Copy protection

2011-02-05 Thread mmtbb
LVL is so easily bypassed that it doesnt seem to make any sense to use it as it stands. I hope google creates a fix to this soon. On Jan 18, 7:03 pm, TreKing wrote: > On Mon, Jan 17, 2011 at 10:03 AM, mmtbb wrote: > > Have there been any improvements to this lately? > > If my "improvements" you

[android-developers] Re: How to create an app as a service and make it invisible to the user?

2011-02-05 Thread Doug
On Feb 3, 4:00 pm, Christian Chabtini wrote: > Hey doug, > > well, i want to create an app similar to mobistealth, mobile spy and > many others apps that i saw for iphones,android phones. > i am very curious how they accomplished that!!! Are you under the impression that Mobistealth operates

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

2011-02-05 Thread love mountain
ok please leason to me now i know like your about ok what is you live what is you name what is you work your about i don't no so sorry i see your bey bey On Sat, Feb 5, 2011 at 10:53 PM, zenperttu wrote: > Hi! Thanks for your answer. Unfortunately setting editable="false" > does not do the tri

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

2011-02-05 Thread username at localhost
The android Compatability Defination Document has no requirements on any native executables being present. However, in practice they are because nobody has any reason to remove them. I'd suspect that the /system/bin/am utility would be a slightly safer bet, seeing as it is basically a command line

[android-developers] Gmail application bottom button type UI

2011-02-05 Thread javaxmlsoapdev
I have a custom list view displaying contacts from the phone book with checkbox on each name row. when user checks on an item I need to display "Done" button at the bottom of the screen. My custom Activity extends ListAcvitity through adapter populates each row with the checbox. Custom layout as b

[android-developers] Gmail application bottom button type UI

2011-02-05 Thread javaxmlsoapdev
I have a custom list view displaying contacts from the phone book with checkbox on each name row. when user checks on an item I need to display "Done" button at the bottom of the screen. My custom Activity extends ListAcvitity through adapter populates each row with the checbox. Custom layout as b

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

2011-02-05 Thread cellurl
You might consider starting with an example. I once started with some code from Progmatic Bookshelf called "Translate". You should try it. I found it, its in this zip file under /code/ Translate. It connects to wikipedia and does word searching perhaps similar to what you require. http://www.prag

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

2011-02-05 Thread DanH
A trie would be most efficient, but probably a pre-built Sqlite file would be (much) simpler to implement. On Feb 5, 2:36 pm, nivedita arora 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: Can registerReciver(null,Intent) provide latest broadcast value

2011-02-05 Thread AndroidDevTime
ok, so I can use sendStickyBroadcast(). Just wondered how much I know about the delivery of the latest broadcast that I get back this way. Is there any way to know if it was processed? or do I need to send a confirmation broadcast? What do I know for sure about the broadcast that i get back fr

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

2011-02-05 Thread Paul
I'm not really crazy about the whole In App Billing thing. I'm selling a paid app pretty successfully (so I guess kind of biased). Now here comes in App billing, so everybody and their brother can offer a free version of anything, then get people to "buy up" or unlock features through In App Billin

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

2011-02-05 Thread Dianne Hackborn
It only works for a broadcast that is sent with sendStickyBroadcast(). On Sat, Feb 5, 2011 at 7:08 PM, AndroidDevTime wrote: > I have seen registerReceiver(null, Intent) can be used to get last > System level broadcast values such as battery level. Does this also > work for custom application In

[android-developers] Re: Looking for L10nDemo sample

2011-02-05 Thread Eric Cloninger
It appears the "Hello, L10n" sample supersedes the L10nDemo sample and it's described in the tutorials. I'll run through it from there. Cheers! -E On Feb 5, 7:56 pm, Eric Cloninger wrote: > The localization draft article > athttp://groups.google.com/group/android-developers/web/localizing-andr

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

2011-02-05 Thread AndroidDevTime
I have seen registerReceiver(null, Intent) can be used to get last System level broadcast values such as battery level. Does this also work for custom application Intents? Lets say I have an application Intent called SetOrder and I broadcast this Intent. Using registerReceiver(null, SetOrder) c

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

2011-02-05 Thread ThomasWrobel
On my PreferenceActivity onCreate I tried adding a ; this.findPreference("WaveID_BillBoard_Scaleing").setKey(value +"_BillBoard_Scaleing"); ... ... (other similiar lines) ... Where "value" was a string passed to the intent. My intention was to be able to create an arbitary number of different pr

[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 wrote: > Save data when the user's no longer interacting with it.  And even > when they are.  As you point out, there are no guarant

[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: 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 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 words of length 4 -7.i >

[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 agains

[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 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 > according to my spe

[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 wrote: > I would like to handle application shutdown gracefully.  W

Re: [android-developers] Application Shutdown

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 8:57 PM, AndroidDevTime 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 the best place to

[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 co

[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 as

[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 wrote: > On Sat, Feb 5, 2011 at 5:19 PM, AndroidDevTime > 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 thinking is an app widget that is reflectin

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

[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 wrote: > You can use a lazy initialize Java Singleton, where you pass i

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

2011-02-05 Thread AndroidDevTime
On Feb 5, 3:03 pm, Kostya Vasilyev 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, make sure to c

[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 any

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 Cont

[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 wrote: > How hard is it usually to convert an Android app to regular Java that > will run on a

[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

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 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 a whole, which hopef

[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 depen

[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.

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 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 >>> Sinc

[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 a

[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 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. You're just triggering it. > > S

[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 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. You're just triggering it. > > S

[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 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. You're just triggering it. > > S

[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 r

[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 wrote: > Looks like the value for both > > NAVIGATION_MODE_LIST > NAVIGATION_MODE_DROPDOWN_LIST > > appears t

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 wrote: > On Sat,

[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 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 log_message and on >

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 it

[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" grou

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 Brooks 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 wi

[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 S

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 ha

[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

[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 wrote: > 05.02.2011 20:19, Jan Westin пишет: > > > Thanks fot the tip. > > Welcome. > > > But in this case the goal is to pro

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 i

[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

[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 repor

[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 shortcod

[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 wrote: > Not sure if there are any spaces. > > The S

[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 wrote: > Koala, > > Try this for > starters:http://stackoverflow.com/questions/4491720/why-android-is-built-on-a-... > > and follow various pointer that appear there (like the video from

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 thr

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

2011-02-05 Thread TreKing
On Sat, Feb 5, 2011 at 1:34 AM, Robin Talwar wrote: > 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. > my bad i dint mention

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 a

Re: [android-developers] Downloading Application to phone

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 11:21 AM, Kevin Brooks 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 distro -- on OS X...um

[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 th

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 Brooks wrote: How can I download one of my apps from my computer directly to my phone? -- You received this message because you are subscri

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

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 11:08 AM, chcat 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) http://commonsware.

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 man

[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 wrote: > Not sure if there are any spaces. > > The SMS content is: "

[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] 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

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] 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 som

[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: 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 wrote: > In

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 highlight

[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: ER

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 ch

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: http://www.site.com/page/

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 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 definitely such "prot

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 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 parameters, but it should

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Mark Murphy
On Sat, Feb 5, 2011 at 10:22 AM, Neilz 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 try again until the

[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 sen

[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 Vasilyev

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 Vasilyev 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

[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 po

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 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 way, it will someho

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 S

[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, Kosty

[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 wo

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 wrote: > I tried the printwriter and I can use it to write the information as a >

[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 : > Hi > > I have been trying to save some image to a

[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 Mos

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: t

  1   2   >