[android-developers] Changing the style attribute of a button according to its state

2010-03-29 Thread LambergaR
I know you can change buttons background by creating a simple XML file, like this: ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_window_focused=false android:state_enabled=true

[android-developers] Re: Eclipse Crashes

2010-01-11 Thread LambergaR
Anyone found a solution? This issue is quite annoying from time to time :) On Dec 14 2009, 6:28 am, Mike michaeldouglaskra...@gmail.com wrote: I'm using Ganymede with the latest release of the Android SDK (2.0.1) and I'm experiencing a similar problem.  I'm pretty sure I noticed this issue

[android-developers] Re: Android Market Anti-Piracy

2009-11-30 Thread LambergaR
implementation = authentication :) On Nov 30, 1:56 pm, LambergaR martin.s...@gmail.com wrote: You could implement an oauth-ish implementation. Basically, that would mean: - user has to register on-line and purchase the application - at the first application run, user is redirected to web

[android-developers] Re: Android Market Anti-Piracy

2009-11-20 Thread LambergaR
Here we are talking about an EU legislation that is valid in all EU states, but similar laws exist in US and other countries. Keeping and processing some person data without their knowledge and allowance is simply not allowed - and I definitely think that IMEI is something that can identify me as

[android-developers] Re: Android Market Anti-Piracy

2009-11-20 Thread LambergaR
In actuality IMEI number can be used identify the user. Directive 95/46/EC article 2 paragraph a clearly states: 'personal data' shall mean any information relating to an identified or identifiable natural person ('data subject'); an identifiable person is one who can be identified, directly or

[android-developers] Re: Android Market Anti-Piracy

2009-11-20 Thread LambergaR
You can report the user to some sort of LEGAL authority and they can get and process users data. You (as a person that is not an law officer) are not allowed to store and process any personal data without my explicit permission. So, you can report the user to police but if you are using any data

[android-developers] Re: Android Market Anti-Piracy

2009-11-20 Thread LambergaR
@nEx.Software: Coding this kind of protection is trivial :) Effects on the other hand are not @AlexK: You can have that kind of history only if the employees are informed that it exists and he agrees with it. You can require that by including it in your employment contract if you wish. The

[android-developers] Re: Android Market Anti-Piracy

2009-11-20 Thread LambergaR
As I have said, it might be legal to store some content for your company use (though I am pretty sure that this is included somewhere in the EULA) but I don't think it is legal to publicly share it. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
There are a few things I would like to point out. First of all, I think, that Google (or the OHA) are not there to support some lazy developers that are not able to implement some simple web activation mechanism. Java apps ware (and will be) subject to reverse engineering. Android platform is open

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
And BTW ... why do you force user to give you their personal data when they try to get their device checked? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
@nEx.Software: How can this make any sense? And, even if you do use this wannabe anti-piracy software, you will still have to provide some sort of mechanism to discover all the phones with illegal software installed, get their IMEIs and report them to some trustworthy company so they can process

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
Which law do you break by gathering personal data without informing the user? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Android Market Anti-Piracy

2009-11-19 Thread LambergaR
http://europa.eu/legislation_summaries/information_society/l14012_en.htm -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Using custom collection of words to be used as SoftKeyboard candidates

2009-09-29 Thread LambergaR
Hello all! Is there a way to use custom list of words as SoftKeyboard candidates? Not to add them to user dictionary but to specify them specifically for this application. Would appreciate any help! Thanks, Martin --~--~-~--~~~---~--~~ You received this message

[android-developers] Text with different FILL and STROKE colours

2009-09-15 Thread LambergaR
Hi all! Is there a simple way to draw some text with different fill and stroke colours? Thanx! Martin --~--~-~--~~~---~--~~ 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: Use external fonts in android

2009-09-15 Thread LambergaR
I managed to load .ttf fonts without a problem. Maybe you should try loading a different font? On Sep 15, 2:55 pm, mudit mudit.a...@gmail.com wrote: hello.. i want to use external fonts in my app. i have tried adding new fonts using asset managers but it did not work. Typeface face; face

[android-developers] Re: Text with different FILL and STROKE colours

2009-09-15 Thread LambergaR
and fill, and draw the text again. Rud mysticlakesoftware.com On Sep 15, 7:38 am, LambergaR martin.s...@gmail.com wrote: Hi all! Is there a simple way to draw some text with different fill and stroke colours? Thanx! Martin --~--~-~--~~~---~--~~ You

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-08-24 Thread LambergaR
Thank you very much for all the responses. I finished up simply using inputMethodManager.toggleSoftInputFromWindow ( this.getWindowToken (), InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY ); the problem was actually quite easy to solve!

[android-developers] Re: Dialog windowBackground makes parent window go black

2009-08-24 Thread LambergaR
I think that the easiest way to solve this problem is to set the theme in your manifest file to Theme.Dialog and then simply say requestWindowFeature ( Window.FEATURE_NO_TITLE ); custom = new Custom(getApplicationContext ()); setContentView ( custom ); Works like a charm! :) On 22 avg., 07:37,

[android-developers] Re: Dialog windowBackground makes parent window go black

2009-08-11 Thread LambergaR
Hi! I am facing a similar problem. All I want to do is remove the title from an Activity that I am trying to show as a Dialog. Could you please post some more details on how you managed to solve the problem? I am using the following code to modify the Dialog theme: ?xml version=1.0

[android-developers] Displaying virtual keyboard in a custom View

2009-07-28 Thread LambergaR
Hello all! I am building a custom view and would like to pragmatically display the default on-screen input method (if any) when certain conditions are met. Due to some specific features of the view I am not able to reuse the TextView and EditText views with all the functionality already present.

[android-developers] Re: Displaying virtual keyboard in a custom View

2009-07-28 Thread LambergaR
There is a small typo in my post, obviously I would like to display the on-screen keyboard programmatically and not pragmatically :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Updated to 1.5 and R.java is not regeneratated

2009-05-08 Thread LambergaR
I am having the same problem. Richards solution doasnt help either. Any advice? On 5 maj, 00:13, Jinru He mikehe1...@gmail.com wrote: Hi, Xavier, I encounter the same problem. and I am pretty sure that I didnot have thegenfolderbefore updating to ADT 0.9 How can i solve this problem?

[android-developers] Managing Views programmatically

2009-03-31 Thread LambergaR
Hi all! I would like to dynamically build a view that would display a certain number of 'rows'. Here is a piece of code I wrote, but it is not working: - CODE --- LinearLayout layout = new LinearLayout(context); status_response response =

[android-developers] Re: Managing Views programmatically

2009-03-31 Thread LambergaR
Hope you wont be mad because I'm giving this discussion a bump ... but I'd really need an answer =) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Contact change broadcast

2009-03-15 Thread LambergaR
No idea how to solve those two problems? On 11 mar., 17:18, LambergaR martin.s...@gmail.com wrote: Hello all! Is there a broadcast message dispached when a contact is changed or added in Android's native contact book? If not, what would be the most efficient way to check for changes

[android-developers] Contact change broadcast

2009-03-11 Thread LambergaR
Hello all! Is there a broadcast message dispached when a contact is changed or added in Android's native contact book? If not, what would be the most efficient way to check for changes? Secend of all, what would be the most efficient method for sending a file (image) using HTTP POST request?