Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Kostya Vasilyev
You should report this at b.android.com. -- Kostya 06.08.2010 2:06, samspade79 пишет: A problem I had the other day was an app that once downloaded subscribed you to SMS alerts @ $2.99 a month. I'm not sure how it could do this without some kind of user confirmation but it was very alarming. O

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Kostya Vasilyev
You should report this at b.android.com. -- Kostya 06.08.2010 2:06, samspade79 пишет: A problem I had the other day was an app that once downloaded subscribed you to SMS alerts @ $2.99 a month. I'm not sure how it could do this without some kind of user confirmation but it was very alarming. O

[android-developers] Help regarding Facebook SDK for Android

2010-08-06 Thread Amit
Hi All, I have used the Facebook SDK for android to integrate some social networking features in my application. Currently to perform the wall post i have loging to face book, allow my application and then type the text and then click on the post. Is there a way by which, after the successful lo

Re: [android-developers] Re: how to get the screen size in inches...

2010-08-06 Thread Kostya Vasilyev
96 dpi is certainly wrong for Moto Droid / Milestone. Try using Canvas.getDensity(). -- Kosyta 06.08.2010 5:14, sdphil пишет: bump On Aug 4, 2:12 pm, sdphil wrote: I am trying to determine the physical size of a screen in inches. Normally, I could do something like this: Display

[android-developers]

2010-08-06 Thread saurabh sinha
Today I am in USA I started my career in india with android now in U.S well settle thanks to android mobile application -- 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.c

Re: [android-developers] Re: how to get the screen size in inches...

2010-08-06 Thread Dianne Hackborn
Yes the current software on Droid reports the wrong value. Hopefully this is fixed soon. :) On Fri, Aug 6, 2010 at 12:24 AM, Kostya Vasilyev wrote: > > 96 dpi is certainly wrong for Moto Droid / Milestone. > > Try using Canvas.getDensity(). > > -- Kosyta > > 06.08.2010 5:14, sdphil пишет: > >

[android-developers] Re: AutoMMS code

2010-08-06 Thread Nikhil
Can someone please confirm whether clicking the send button be automated or not and also removing the list of options which asks me to select either of the options like messaging, email, picasa, etc. Regards, Nikhil On Aug 3, 11:46 am, Nikhil wrote: > Anyone, any idea? > > On Jul 27, 9:54 am,Nik

Re: [android-developers] To get Responce is date

2010-08-06 Thread { Devdroid }
On 5 August 2010 08:20, Ashish Panchiwala wrote: > Hi, >   One of my application need to know a new day is coming, that is, > if the clock of phone changed from 23:59 to 00:00, my application will > do some logic. I tried to  use android.intent.action.DATE_CHANGED, but > based on my test, this eve

Re: [android-developers] Re: Eclipse library project problems

2010-08-06 Thread { Devdroid }
On 6 August 2010 01:30, sm1 wrote: > I have a similar problem: the library classes are not visible from the > main project. [...] > Tried all kinds of permutations for the last 2 weeks. Read the doc and > the example many times. Read all the threads on the subject in this > group. Ran out of ideas

Re: [android-developers] A general purpose development phone

2010-08-06 Thread { Devdroid }
On 5 August 2010 16:11, Chris Stewart wrote: > I've had some awkward issues with the emulator lately. I did not say it's perfect. We also spotted some crashes on device while the same code worked fine on emulator. But as a starting point it may be cheapest solution (unless insufficient :) -- Yo

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread a1
This will not change anything, the biggest problem with spam is that, well, they spam all categories, so adding additional category is pointless. I think that there should be a publisher fee for each app, this will stop spam for sure. -- Bart Janusz (Beepstreet) On 6 Sie, 07:42, metal mikey wrot

[android-developers] Re: Android Market strips "Move to SD card" attribute -- what am I doing wrong?

2010-08-06 Thread String
Given that forward-locking/copy-protection has been effectively deprecated by LVL, I doubt that the docs will be changed, although it would be nice in the interim. I would note that this is documented on the LVL page: "A limitation of the legacy copy-protection mechanism on Android Market is that

Re: [android-developers] Re: Problem in SimpleDateFormat MMM return month number

2010-08-06 Thread { Devdroid }
On 5 August 2010 14:53, DanH wrote: > Has anyone tried doing Locale.setDefault to circumvent this problem? The problem is when you do not care what locale are set and simply want to use system-wide, not any particular one. Calling setDefault is same like passing locale to SimpleDateFormater const

[android-developers] Re: UPnP C Library

2010-08-06 Thread msnkm
Hi, Thanks for the inputs. I have got a library,can anyone provide documentation for porting the library to andriod --Kiranmai On Aug 4, 8:45 am, Kostya Vasilyev wrote: > Kiranmai, > > By no means an UPnP expert, but I am aware of this: > > http://miniupnp.free.fr/ > > It's certainly working c

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread { Devdroid }
On 6 August 2010 11:22, a1 wrote: > This will not change anything, the biggest problem with spam is that, > well, they spam all categories, so adding additional category is > pointless. I think that there should be a publisher fee for each app, > this will stop spam for sure. That's silly idea an

[android-developers] start AlertDialog from AppWidgetProvider

2010-08-06 Thread Stephen
Anyone know if it is possible to add AlertDialog within a AppWidgetProvider class? Here is the code I am working on where I start the AlertDialog on onEnabled function call. @Override public void onEnabled(Context context) { super.onEnabled(context); Log.v(TAG,"onEnabledWi

Re: [android-developers] Automatic boot

2010-08-06 Thread { Devdroid }
On 5 August 2010 17:15, Urizev wrote: >  I am trying to find out how set my phone to be boot automatically > when a battery is inserted like a computer which turns on when power > is back. Does anyone knows anything about it? Is it about the software > or hardware? Mine boots (and so did all I s

Re: [android-developers] start AlertDialog from AppWidgetProvider

2010-08-06 Thread Mark Murphy
On Fri, Aug 6, 2010 at 6:16 AM, Stephen wrote: > Anyone know if it is possible to add AlertDialog within a > AppWidgetProvider class? Use a configuration activity if you need a UI when the app widget is being added: http://developer.android.com/guide/topics/appwidgets/index.html#Configuring --

[android-developers] Re: start AlertDialog from AppWidgetProvider

2010-08-06 Thread Stephen
Oh, that can start a AlertDialog in Home screen. I will give it a go. Thx Regards, Stephen On 8月6日, 下午6時19分, Mark Murphy wrote: > On Fri, Aug 6, 2010 at 6:16 AM, Stephen wrote: > > Anyone know if it is possible to add AlertDialog within a > > AppWidgetProvider class? > > Use a configuration act

[android-developers] Re: Apps can't find in all deivce's market

2010-08-06 Thread Alessandro Pellizzari
Il Thu, 05 Aug 2010 19:30:04 -0700, Jammy ha scritto: > and with publish option Copy Protection = ON(Helps prevent copying of Copy protection gives you very little real protection, and has the drawbacks that many devices can't find your app in the Market, and the app takes double the space on t

[android-developers] Re: Power Consumption and SQLite

2010-08-06 Thread Alessandro Pellizzari
Il Thu, 05 Aug 2010 09:33:24 -0700, mboehmer ha scritto: > does SQLite have any big impact on power consumption? I am just thinking > about storing data in a List or Map or in a database. I have a lot of > inserts and queries, several a second. Any ideas on this? SQLite has a high overhead per tr

[android-developers] Did you check out the Nokia X6?

2010-08-06 Thread James Baker
The Nokia X6-00 is a S60 5th Edition device with a responsive capacitive touch screen and tactile feedback. The device has a 3.2“, bright nHD (640 x 360 pixels and 16:9 aspect ratio) display with homescreen featuring Contacts Bar and media bar. Other features include a 5 megapixel Auto Focus camera

[android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread Jeroen Kransen
...and it is NOT an Android phone On 6 aug, 12:58, James Baker wrote: > The Nokia X6-00 is a S60 5th Edition device with a responsive > capacitive touch screen and tactile feedback. The device has a 3.2“, > bright nHD (640 x 360 pixels and 16:9 aspect ratio) display with > homescreen featuring Co

[android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread Jeroen Kransen
... and it is NOT an Anrdoid phone On 6 aug, 12:58, James Baker wrote: > The Nokia X6-00 is a S60 5th Edition device with a responsive > capacitive touch screen and tactile feedback. The device has a 3.2“, > bright nHD (640 x 360 pixels and 16:9 aspect ratio) display with > homescreen featuring C

[android-developers] Static variables and NullPointerExceptions...

2010-08-06 Thread Michael A.
I am seeing a lot of NullPointerException in my code at the moment from public static variables. I use these variables to store, e.g., my image library (used in Activities throughout my code). All of them are initialized in the OnCreate of my apps Base activity, and I check that they are initializ

[android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread DanH
I'm thinking the X6 was the one where someone succeeded in installing the latest version of Android. On Aug 6, 6:29 am, Jeroen Kransen wrote: > ...and it is NOT an Android phone > > On 6 aug, 12:58, James Baker wrote: > > > The Nokia X6-00 is a S60 5th Edition device with a responsive > > capaci

[android-developers] Re: Problem in SimpleDateFormat MMM return month number

2010-08-06 Thread DanH
Right. What I was suggesting was to try setting locale in order to test the hypothesis that lack of a locale is causing the symptoms, vs, eg, something broken in the date formatter logic. And it would provide a circumvention for those who need one. On Aug 6, 4:37 am, "{ Devdroid }" wrote: > On

Re: [android-developers] Static variables and NullPointerExceptions...

2010-08-06 Thread Dianne Hackborn
If the app is killed, the next time the user returns to it only the visible activities at that point will be re-started; not the entire activity stack. On Fri, Aug 6, 2010 at 4:48 AM, Michael A. wrote: > I am seeing a lot of NullPointerException in my code at the moment > from public static var

[android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread String
I'm thinking "James Baker" is a troll. On Aug 6, 1:05 pm, DanH wrote: > I'm thinking the X6 was the one where someone succeeded in installing > the latest version of Android. > > On Aug 6, 6:29 am, Jeroen Kransen wrote: > > > > > ...and it is NOT an Android phone > > > On 6 aug, 12:58, James Bak

Re: [android-developers] Problem with reading contacts on Samsung Galaxy Europa

2010-08-06 Thread Alok Kulkarni
yeah it is only happening on that deviuce. But i have found a different solution to it which i will put up here tomorrow. On Wed, Aug 4, 2010 at 12:51 PM, dan raaka wrote: > Is this happening only on Europa ? > > -Dan > > > On Wed, Aug 4, 2010 at 12:26 PM, Alok Kulkarni wrote: > >> Hi , i am us

[android-developers] Larger screen support

2010-08-06 Thread jsdf
Hi all, We need to build support for screens larger than WVGA (480x800) and FWVGA (480x854). For example, let's say there is a device that supports 1024x768. Ideally, I would like to use Android's res folder structure (e.g. res/layout-large) to automatically provide a different layout for even la

[android-developers] Re: Forwarding ranges of ports to the Android emulator

2010-08-06 Thread Luca Carlon
Unfortunately no. No news. I'm still not able to work with applications which uses extensively the network with the emulator. I think this is really a limitation. On Jul 21, 1:41 am, FaTZ wrote: > It's amazing that this is a problem for alot of people out there but > there doesn't seem to be a re

Re: [android-developers] Best way to scale for different screen resolutions/dimensions?

2010-08-06 Thread TreKing
On Thu, Aug 5, 2010 at 8:24 PM, powerdroid wrote: > What I'm trying to accomplish is support for devices that have > varying screen dimensions and resolutions from the same code base, with > each device being scaled properly.. > Tip: Search the official documentation and the group first, especial

[android-developers] Support for JUint Annotation

2010-08-06 Thread nikki
hi group Do android support JUnit4 annotations like @Test...? -- 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-de

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread String
On Aug 6, 11:14 am, "{ Devdroid }" wrote: > On 6 August 2010 11:22, a1 wrote: > > > pointless. I think that there should be a publisher fee for each app, > > this will stop spam for sure. > > That's silly idea and would hurt legitimate developers. Well, *something* needs to be done. Some possib

[android-developers] get all applications supporting a specific format.

2010-08-06 Thread mmkr
HI all, Is there any way i can get all the applications installed on the device that support a specific format. Like if i have a docx file and 3 applications on the device that support it, can i get those 3 application names so that the user can choose which one to launch. Thanks in advance

Re: [android-developers] Is it possible to apply a frame animation to a Custom Button or Toast View

2010-08-06 Thread TreKing
On Thu, Aug 5, 2010 at 11:42 PM, justinl wrote: > Does anyone know if it is possible to apply a frame animation (using\ an > AnimationDrawable) onto a custom button or a toast view? > I have no idea, but "is it possible" questions are usually easily answered on your own by "try and see". -

[android-developers] Re: Best way to scale for different screen resolutions/dimensions?

2010-08-06 Thread Warren
Check out onMeasure() and onLayout(). Those functions are called while views are being positioned, etc. On Aug 6, 7:51 am, TreKing wrote: > On Thu, Aug 5, 2010 at 8:24 PM, powerdroid wrote: > > > What I'm trying to accomplish is support for devices that have > > varying screen dimensions and re

Re: [android-developers] Problem in SimpleDateFormat MMM return month number

2010-08-06 Thread Thierry Legras
Thanks for this workaround that shoud be acceptable for my application which is useful only france! I fear this kind of bug has few chances to be fixed in htc desire firmware as updates are rare and monolythics. Thierry. Le 5 août 2010 14:16, "{ Devdroid }" a écrit : On 3 August 2010 13:30, Mark

[android-developers] How does Android handle Simplified vs. Traditional Chinese localization?

2010-08-06 Thread Mark Carter
I've configured my app with both Simplified and Traditional Chinese localization by using values-zh-rCN and values-zh-rTW folders. How does Android use that region component? For example, what about users living in, say, Singapore (where Simplified is used) and Hong Kong (where Traditional is use

[android-developers] how to check whether insterted SD Card is full or not

2010-08-06 Thread pradeep
Hi All, Could you please let me know if there is any API to check whether inserted SD Card is full . If it has free space, then how to know how much free space is left. Thanks in advance Pradeep -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

Re: [android-developers] Re: NullPointerException inside SSLEngine

2010-08-06 Thread Kostya Vasilyev
I know Android uses Apache Harmony for a lot of things, including SSLEngine, but since I was their decision, I consider it to be an issue in Android. Found this SSLEngine test case inside Android source tree: http://www.netmite.com/android/mydroid/donut/dalvik/libcore/x-net/src/test/java/tests

[android-developers] Re: eclipse HELIOS (3.6) Code Assist very slow

2010-08-06 Thread Evan Ruff
After upgrading to Helios, my code assist is dog slow as well. I am currently experimenting with the location of Eclipse (was on D, moving to C) as well as the memory args... E On Jul 8, 7:27 am, gDev wrote: > CodeAssistveryslow > > any soluation for that? -- You received this message because

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 5:14 AM, { Devdroid } wrote: > On 6 August 2010 11:22, a1 wrote: > > This will not change anything, the biggest problem with spam is that, > > well, they spam all categories, so adding additional category is > > pointless. I think that there should be a publisher fee for ea

[android-developers] Re: ListView as part of a Activity

2010-08-06 Thread Warrior
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button = (Button) findViewById(R.id.ok); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Alessandro Pellizzari
Il Fri, 06 Aug 2010 09:05:32 -0500, TreKing ha scritto: > Actually, I think it's a great idea. What hurts legitimate developers > (and users, and the Android platform in general) is this rampant, > uncontrolled garbage in the Market. Start charging to submit an app and > you hurt the spammers far

[android-developers] NullPointerException with OnTouch

2010-08-06 Thread ArcDroid
Hello, I have been getting some NullPointerExceptions ( $7.onTouch() ) and I am not sure how to fix it. I am using the same logic in other programs without an issue. Any help is appreciated. Thanks, Jake -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread a1
On 6 Sie, 16:25, Alessandro Pellizzari wrote: > Il Fri, 06 Aug 2010 09:05:32 -0500, TreKing ha scritto: > > > Actually, I think it's a great idea. What hurts legitimate developers > > (and users, and the Android platform in general) is this rampant, > > uncontrolled garbage in the Market. Start

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 9:25 AM, Alessandro Pellizzari wrote: > If I want to write a useful free or open source app without ads, I > am blocked by the cost. > Um ... you're already "blocked" by the cost ... Follow along with me now: currently, you have to pay $25 to sign up as a developer, yes? So

[android-developers] Re: Static variables and NullPointerExceptions...

2010-08-06 Thread Michael A.
Hmm... does this mean there are three scenarios I need to consider? 1. App is put in background. Resumed later in the same state. 2. App is killed. Resumed later in the same state. 3. App is killed. Resumed later from scratch. I thought only 1. and 3. were possible scenarios. How can I provoke sc

[android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread Jeroen Kransen
That's for sure ;-) On 6 aug, 14:45, String wrote: > I'm thinking "James Baker" is a troll. > > On Aug 6, 1:05 pm, DanH wrote: > > > I'm thinking the X6 was the one where someone succeeded in installing > > the latest version of Android. > > > On Aug 6, 6:29 am, Jeroen Kransen wrote: > > > > ..

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Maps.Huge.Info (Maps API Guru)
I like the cost to submit idea. It should be extra beyond the signup fee. $10 per app would be very reasonable. The money could be used for the developer seeding program. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Jonas Petersson
On 08/06/2010 04:51 PM, TreKing wrote: On Fri, Aug 6, 2010 at 9:25 AM, Alessandro Pellizzari mailto:a...@amiran.it>> wrote: If I want to write a useful free or open source app without ads, I am blocked by the cost. Um ... you're already "blocked" by the cost ... Follow along with me now:

Re: [android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread Kostya Vasilyev
Maybe they hope someone could make it run Android. If that's the case - wrong list, should've posted to android-porting :) -- Kostya 06.08.2010 19:06, Jeroen Kransen пишет: That's for sure ;-) On 6 aug, 14:45, String wrote: I'm thinking "James Baker" is a troll. On Aug 6, 1:05 pm, DanH

[android-developers] Re: Static variables and NullPointerExceptions...

2010-08-06 Thread DanH
I'm a little curious. A static should only be reset when a class (not object) goes away . A class can only go away when its class loader and all classes referencing it go away. This is independent of when individual objects get created (except that you can't create an object unless it's class is

[android-developers] Eclipse Helios running SLOW

2010-08-06 Thread Evan Ruff
Hey guys, Just upgraded to 3.6 after this whole Sun/Oracle JVM fix/debacle and I notices that 3.6 EE runs super, duper slow. So slow to the point that code assist is unusable. Here are some changes I made to the config to make it operate a lot better: eclipse.ini: replace the end with this: -Dosg

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Alessandro Pellizzari
Il Fri, 06 Aug 2010 07:49:47 -0700, a1 ha scritto: > On 6 Sie, 16:25, Alessandro Pellizzari wrote: >> If I want to write a useful free or open source app without ads, I am >> blocked by the cost. > > How? You have to pay register fee anyway, so lets set registering fee to > 10$ and add 10$ publ

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Mike dg
> I used to have ad supported app on market, and from what I can tell, > there is not even a slight possibility to generate such revenue from > this crap (50k active user base generated 10$/day revenue on 4.5* > rated app). Also note that you have to have this money upfront which > is also a big "

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 10:17 AM, Alessandro Pellizzari wrote: > 25$ is a one time fee. I could then publish 10 apps. > I think the likelihood of a single developer publishing 10 useful apps is very small. > Reading this thread, I understood that one spammer already has 3 or > 4 accounts on the

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Maps.Huge.Info (Maps API Guru)
Any system that's based on number of downloads or user ratings can easily be fooled. I see apps in the market with 50,000+ downloads that appeared in a matter of days. I know from watching the market that the only way an app can achieve that many downloads is if it has been promoted by a major orga

[android-developers] Re: Static variables and NullPointerExceptions...

2010-08-06 Thread Michael A.
You are right, my example is a bit confusing. lib in OtherActivity should be MainActivity.lib. Regards, Michael A. On Aug 6, 5:11 pm, DanH wrote: > I'm a little curious.  A static should only be reset when a class (not > object) goes away .  A class can only go away when its class loader > and

[android-developers] Re: Static variables and NullPointerExceptions...

2010-08-06 Thread DanH
Yep. The JVM is killed. When restarted later, only "OtherActivity" is instantiated (even though MainActivity is necessarily loaded, in order to provide access to its statics). So the "OnCreate" never runs for "MainActivity". If the desire is to maintain this same basic pattern, the initializati

[android-developers] Quick Multi-Widget Taps

2010-08-06 Thread Pent
I have an activity with a list and some buttons. Tapping an item on the list starts a new activity (for result). If you tap an item on the list then quickly tap a button straight after, the sub-activity is started but the button press is also registered and acted on, often leading to weird states

[android-developers] Re: License Verification Library: ServerManagedPolicy, no connectivity = dontAllow?

2010-08-06 Thread BoD
Anyone? Thanks! BoD On Aug 6, 12:18 am, BoD wrote: > Hi, > > I'm still experimenting with the LVL and I noticed that, with the > recommended strategy (ServerManagedPolicy), in case of no > connectivity, the callback's dontAllow() method is called. > > This seems a bit odd to me and I wanted to

[android-developers] Re: Did you check out the Nokia X6?

2010-08-06 Thread DanH
Actually, I guess it was the N900 where Froyo was ported. (Not by Nokia, of course, but by hackers.) On Aug 6, 7:05 am, DanH wrote: > I'm thinking the X6 was the one where someone succeeded in installing > the latest version of Android. > > On Aug 6, 6:29 am, Jeroen Kransen wrote: > > > ...and

Re: [android-developers] how to check whether insterted SD Card is full or not

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 8:23 AM, pradeep wrote: > Could you please let me know if there is any API to check whether inserted > SD Card is full . If it has free space, then how to know how much free > space is left. > The SD card is a Java File like any other. Knowing this, doing this http://tinyu

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 10:51 AM, Maps.Huge.Info (Maps API Guru) < cor...@gmail.com> wrote: > It would also be a good idea to charge $1 to update as well. Any real > developer > could afford $1 to update the app, those who choose to update solely > to bring their app to the top of the "just in" lis

[android-developers] Re: License Verification Library: ServerManagedPolicy, no connectivity = dontAllow?

2010-08-06 Thread String
My experience so far is the same. It's not what's described in the docs: "ServerManagedPolicy is a flexible Policy that uses settings provided by the licensing server to manage response caching and access to the application while the device is offline (such as when the user is on an airplane)." I

[android-developers] Re: Support for JUint Annotation

2010-08-06 Thread A. Elk
Android uses JUnit 3. On Aug 6, 5:56 am, nikki wrote: > hi group > > Do android support JUnit4 annotations like @Test...? -- 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

[android-developers] Re: To get Responce is date

2010-08-06 Thread DanH
I wouldn't expect DATE_CHANGED to be broadcast when the clock turns midnight -- I'd presume it is only broadcast when the operator manually changes the date (or some program does it). Similar to TIME_SET. If you want to know when midnight turns over you probably need to set up a timer, just as yo

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread samspade79
Couple of points. Firstly, someone said a "real" developer cannot do more than a few apps. I disagree in some cases. I have many apps up because I have a variation on a theme. I have a sports app per team, so if you want Manchester Utd news, podcasts, etc, you download my Manchester Utd version. A

[android-developers] Re: Setting an Intent extra value that's an array of String and Integer

2010-08-06 Thread Herb Jellinek
Sam, You're absolutely right. I overlooked the fact that all arrays are Serializable. Since the elements are all Integer and String Objects, which are also Serializable, I don't need to do any conversion. I can just pass the array itself. >From the Java Language Spec, 3rd Edition, section 1

Re: [android-developers] Re: Static variables and NullPointerExceptions...

2010-08-06 Thread Dianne Hackborn
Actually 1 and 2 are the things to deal with; 3 is not really relevant. (It would be if the app had all of its activities finished before going in the background, then when coming back into the foreground the new activity instance doesn't have a saved state. So functionally the same starting the

[android-developers] Looking for a generic simple demo of getting mobile phone ID and their x, y position data

2010-08-06 Thread david foster
I am looking for a generic simple demo of getting mobile phone ID and their x, y position data and sending these to the server. Regards. David -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] how to check whether insterted SD Card is full or not

2010-08-06 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/6/10 18:21 , TreKing wrote: > On Fri, Aug 6, 2010 at 8:23 AM, pradeep > wrote: > > Could you please let me know if there is any API to check > whether inserted SD Card is full . If it has free space, then >

[android-developers] Programmatically expanding / collapsing items of an ExpandableListView

2010-08-06 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. This should be a very simple thing, but it's driving me crazy and currently one of the older bugs of my app. Given an ExpandableListView I want to collapse all the groups but the last one and expand the last one. The code below doesn't work (b

[android-developers] remove checkboxpreference in preferencescreen

2010-08-06 Thread booooooooooooo
hi everybody this is vinod i have a problem with my requirement pleas help me my problem is : i need to invisible checkboxpreference in run time ,how could i solve this one basically we have no option to invisible in checkboxpreference please help me any one rearding .. vinod -- You rece

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 12:07 PM, samspade79 wrote: > Firstly, someone said a "real" developer cannot do more than a few apps. > Please quote whomever said this, I'm not seeing it in the thread. The only reference I see to the word "real" is "Any real developer could afford $1 to update the app"

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread a1
> Reading this thread, I understood that one spammer already has 3 or 4 > accounts on the Market. This means he already paid 100 dollars to publish > apps. > > Developing an app costs much more that the 10 $ of publishing fee you > propose. Even the simplest would require at least a couple of hours

Re: [android-developers] Programmatically expanding / collapsing items of an ExpandableListView

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 12:28 PM, Fabrizio Giudici < fabrizio.giud...@tidalwave.it> wrote: > The code below doesn't work (basically seems to do things at random). > What does "it does things at random" mean? I would not collapse all but the last group. I would collapse them all to make sure they'

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread samspade79
You're right I must have been dreaming. I thought I saw someone say that though. I don't know how google could push paid apps but is it a coincidence the ratio of paid to free is massively higher on apple? I personally wouldn't mind a moderated market place. I know apple aren't popular here but no

[android-developers] Video Buffering Problems

2010-08-06 Thread none
Is there a way to change the buffer size in the media player on Android? I'm trying to stream video to mobile devices over rtsp. It works fine, but on android v1.6+ the buffer overflows leading to degraded video quality. Is there any way to configure the media player to use a bigger buffer, or ta

[android-developers] Re: Android Market Licensing: Now Available!

2010-08-06 Thread gb105
As stated earlier obfuscating the app doesn't help much. It's easy to find the license check in the byte code and change it, so the app is not really protected. There is still much work left for the developer to find a solution to prevent the app from working if it is not signed with the original d

[android-developers] Re: Static variables and NullPointerExceptions...

2010-08-06 Thread Michael A.
Killing the app while it was in the background did the trick when I restarted (weird that I never encountered this when using Taskiller on an actual device). Ah well - one more test to deal with. Thanks for the explanation. Since I need the application context, extending android.app.Application is

Re: [android-developers] NullPointerException with OnTouch

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 9:26 AM, ArcDroid wrote: > I have been getting some NullPointerExceptions ( $7.onTouch() ) and I am > not sure how to fix it. > OK. > I am using the same logic in other programs without an issue. > Which is what? Or should we start guessing? > Any help is appreciated.

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread a1
> I don't know how google could push paid apps but is it a coincidence > the ratio of paid to free is massively higher on apple? Because developers from only 9 countries can sell apps? > I personally wouldn't mind a moderated market place. I know apple aren't > popular > here but no one can deny

[android-developers] Re: Android testing: can't programmatically press buttons, etc...

2010-08-06 Thread A. Elk
Can you attach some code snippets from your test app? Are you using clickView() or tapView()? You must call setActivityInitialTouchMode(true) before you do a startActivity(). Seems that you're doing this if you call it in setUp(), although I could be wrong. Unfortunately, I'm not familiar with Ro

[android-developers] Re: Memory Limit 16 MB per Process or Application?

2010-08-06 Thread Streets Of Boston
It is per Linux-process. And the limit is 16Mbyte for 1st generation Android phones and 24Mbyte for 2nd generation phones. I also got around a memory issue by specifying different process- affinities for different activities. But don't over-use it, though. Don't start using tons of processes... y

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Jonas Petersson
On 08/06/2010 08:15 PM, samspade79 wrote: On Fri, Aug 6, 2010 at 12:07 PM, samspade79 wrote: Firstly, someone said a "real" developer cannot do more than a few apps. Please quote whomever said this, I'm not seeing it in the thread. You're right I must have been dreaming. I thought I saw someo

[android-developers] Re: LiveFolders.ICON_BITMAP

2010-08-06 Thread dipu
Fetching icon bitmap(essentially byte array) from sql column and showing it in LiveFolder works just fine. Take a sample project for LiveFolder and add code lines similar to the following. liveFolderProjectionMap.put(LiveFolders.ICON_BITMAP, MyDbTableColumns.ICON+ " AS " +

[android-developers] How to destroy a thread with blocked call

2010-08-06 Thread cas
Hi Here is a thread example in Android SDK sample (BluetoothChat) while (true) { try { // Read from the InputStream bytes = mmInStream.read(buffer); // Send the obtained bytes to the UI Activity

[android-developers] Custom Widget - attributes in the layout xml files

2010-08-06 Thread Kumaravel Kandasami
Hi I have defined custom views in the various layout .xml files. However, all the layouts are using the Linear Layout - put the content would vary. I would like to create my own widget tag something like , I would like to pass the layout as a param to the How to define new attributes to the

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread jsdf
For what it's worth, BlackBerry App World has a form of this. You pay $200, and are given ten "submissions", after which you need to renew for another $200. Each "submission" triggers a manual review process. While I don't agree with the high price/submission or the manual review process, I do t

[android-developers] New open source UPnP/DLNA library available

2010-08-06 Thread cbauer
Some developers asked for such a library in the past and instead of replying individually on each thread, I thought I'd announce it here: http://www.teleal.org/projects/cling/ Cling is a complete, clean, and very flexible Java implementation of the UPnP Device Architecture specification. Addition

[android-developers] Re: Video Buffering Problems

2010-08-06 Thread DanH
Overflows or underflows? On Aug 6, 1:25 pm, none wrote: > Is there a way to change the buffer size in the media player on > Android? I'm trying to stream video to mobile devices over rtsp.  It > works fine, but on android v1.6+ the buffer overflows leading to > degraded video quality.  Is there a

[android-developers] Re: License Verification Library: ServerManagedPolicy, no connectivity = dontAllow?

2010-08-06 Thread BoD
Isn't it strange that if the device is offline, this gives the same reply as if the application is not authorized?! And the code can't distinct these two cases? In effect I don't see how you are supposed to use this policy. If you receive dontAllow the first time, what are you supposed to do? BoD

[android-developers] Camera button press fails to invoke BroadcastReceiver

2010-08-06 Thread Manish Sharma
Hi, I am trying to capture the camera button press event and get the image in my app. I have a broadcast receiver in my manifest with intent filter having action as defined below: but when the camera button is pressed in emulator, the CameraClickBroadcastReceiver.onReceiver() method is not

Re: [android-developers] Programmatically expanding / collapsing items of an ExpandableListView

2010-08-06 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/6/10 20:12 , TreKing wrote: > On Fri, Aug 6, 2010 at 12:28 PM, Fabrizio Giudici > > wrote: > > The code below doesn't work (basically seems to do things > at random). > > > What does "it does things

[android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread Al
I really like the idea of charging per app. I can't bear to go through the 'Just In' category, it's the same crap over and over again. jsdf wrote: > For what it's worth, BlackBerry App World has a form of this. You pay > $200, and are given ten "submissions", after which you need to renew > for a

[android-developers] Re: NullPointerException with OnTouch

2010-08-06 Thread ArcDroid
sorry, here is the code a5_button.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent e) { MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.pop); if (e.getAction() == MotionEvent.ACTION_DOWN) {

  1   2   >