Re: [android-developers] Re: In-App payment options

2010-12-19 Thread Tauno Talimaa
Just to clarify, Rovio is using in-app payments from Fortumo
(http://fortumo.com/in-app-payments) - and that's available to 3rd
parties already right now :)


On Fri, Dec 17, 2010 at 5:32 PM, JP joachim.pfeif...@gmail.com wrote:
 Also check out Rovio. They're building their own in-app payment system
 they call Bad Piggy Bank. I read somewhere they wanted to make this
 available to third parties, but that'll take them some time to take
 the market I'm sure.

 On Dec 16, 7:47 am, Xavier xpl...@gmail.com wrote:
 Thanks JP, never heard of them before, I will take a look. The Android
 integrations looks pretty good.

 On 13 dic, 02:29, JP joachim.pfeif...@gmail.com wrote:

  There's probably a few options, including these guys:http://www.boku.com/
  I ran into one of their staff a couple of weeks ago and asked what
  their position on distributing in-app payment based apps in Android
  Market was. That that was walking a thin line was acknowledged but
  basically they consider it OK to distributebokuin-app-payment based
  apps in Android Market. I am not so sure if that holds, but OTOH
  Android Market might be losing out in the long run if they don't
  support engagement based monetization models. At least where things
  stand today, not many starting out dare not to have an engagement
  angle to their monetization model. That's my perception anyways, hope
  this helps.

  On Dec 11, 11:14 am, Xavier xpl...@gmail.com wrote:

   Hi,

   Imagine an app distributed outside the Google Market, so no
   restrictions for that. What possibilities do I have to integrate some
   method of payments inside it? (Paypal is not an option) I guess what I
   should be looking for is some kinf of API from a credit card merchant?

   Could someone point me on several directions I could begin look at?

   X.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Where are ldpi version of built-in icons

2010-11-21 Thread Tauno Talimaa
I don't see xhdpi mentioned anywhere in the documentation - I just
found a commit to AOSP from with the comment Merge xhdpi into
froyo. Would it be possible to update the documentation to also
mention this density If froyo is indeed supporting this?
I can see mainly these following pages that describe the density
specific folders:
http://developer.android.com/guide/topics/resources/providing-resources.html#DensityQualifier
http://developer.android.com/guide/practices/screens_support.html

2010/11/22 Dianne Hackborn hack...@android.com:
 The closest matching density is selected, and it is scaled appropriately to
 get an image for the actual density.  This of course only works for images.
  (For other resource types, the closest matching density is picked...  and
 then used without any change.  Probably don't want to do that.)
 For anyone targeting 1.6 or later, I would suggest putting all bitmaps in
 one of the density qualified directories
 (drawable-ldpi, drawable-mdpi, drawable-hdpi, drawable-xhdpi,
 or drawable-nodpi), since it is important to know the density associated
 with the bitmap instead of treating it as raw pixels.
 For compatibility, a bitmap in a drawable directory (with no explicit
 density) is assumed to be mdpi.
 2010/11/21 Kostya Vasilyev kmans...@gmail.com

 If you have none of the alternate versions for a drawable, then you don't
 have that drawable at all, agreed?

 So the only question is, is it only drawable that can be subject to
 automatic scaling, or does it work for e.g. drawable-hdpi to drawable-ldpi
 conversion.

 I *think* it's the latter, at least for Android 2.x, but I am not sure.

 --
 Kostya Vasilyev -- http://kmansoft.wordpress.com

 22.11.2010 0:39 пользователь jotobjects jotobje...@gmail.com написал:



 On Nov 21, 9:34 am, Kostya Vasilyev kmans...@gmail.com wrote:
  What happens is that Android aut...

 That would be good.  Does anybody know where that is documented?

 This page says - If no matching resources are available, the platform
 loads the default resources and scales them up or down as needed


  http://developer.android.com/guide/practices/screens_support.html#support

 It doesn't say (that I have noticed) what happens if there is no
 matching resource AND no default...  Where is that specified?

 
  Works pretty well: hdpi drawables, on the other hand, often look better
  if created by hand (n...

 --

 You received this message because you are subscribed to the Google
 Groups Android Developers group...

 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: how to detect if a phone is running HTC sense UI

2010-11-02 Thread Tauno Talimaa
My reasons why I want to detect Sense UI (+ actually also other custom
UI's) is that they have not implemented all of the nice shiny features
that contact sync provides. They are not displaying the presence
information in their default contacts app (People) and also are
totally ignoring custom data rows there.
As the app I'm developing relies heavily on these two features,
there's no point in giving the end-users something that's
half-working. I'd rather disable some features for all Sense UI
devices (+ also other hacked-quickly-together OEM customizations).


Tauno

On Tue, Nov 2, 2010 at 2:50 AM, Dianne Hackborn hack...@android.com wrote:
 On Mon, Oct 4, 2010 at 7:24 AM, Denis Souza denis.so...@gmail.com wrote:

 1) The call log won't allow updates. It strangely allows inserts but
 even though it lets you insert the phone number dialed it won't allow
 you to also insert the display name (if you do it stays as unknown
 and looks really awkward). I opened a discussion about this a while
 back and didn't realize back then that it only happened on Sense UI
 phones. Some people argued that you shouldn't touch the call log (even
 though there's nothing about that in the documentation). On the
 emulator and on non-Sense UI devices it works flawlessly (at leas on
 all of those that I've tested so far). My app need this to keep the
 original dialed number in the call log. In this case, when running
 Sense UI it's better not to touch the call log that to touch it and
 have it look awkward.

 Given that the CallLog is I believe a public API, the manufacturer breaking
 it makes it not CTS compatible and they need to fix it.  You should very
 much treat this as a bug with HTC's device and push to have that fixed.  One
 thing you could do is file a bug in the bug tracker with sample code showing
 the problem.  Even better would be to contribute a patch to CTS that ensures
 the API is working correctly, so this won't break in the future.


 2) In particular HTC Desire with Android 2.2 won't allow you to change
 the number being dialed.
 (see thread:

 http://groups.google.com/group/android-developers/browse_thread/thread/1e23230cfaae5038/3fd980598e78c479?lnk=gstq=desire+2.2)
 I do admit that in this case I'm not completely sure it's a Sense UI
 problem (I've seen it happen on Motorola devices but it was an easy
 fix, removing the priority setting from the Intent). I also had
 reports from Desire 2.2 users that had this working and one day, it
 just stopped to never work again.

 Are you talking about the API to intercept outgoing calls?  If so, again
 it's a public API that if broken makes the device not CTS compatible.  I am
 surprised about this one since Google Voice relies on it so it seems like I
 would have already heard about any significant issue in this area.
 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: how to detect if a phone is running HTC sense UI

2010-11-02 Thread Tauno Talimaa
I totally agree personally :)
But it's still kind of a gray area for the OEM's. Some OEM's with whom
I've had contact, say that the devices are totally compatible as
a) They are not failing the CTS (of course as this is a visual thing
and can't be tested automatically by CTS)
b) Apps that use these API's are not crashing
c) It's nowhere specified as a hard requirement that the default
contact displaying application (People for HTC Sense for example) on
the device must display all of the data from the contacts db to the
end user (custom rows, presence etc..)
d) It's a design decision not to show some information to the end user.

So currently this leaves us with these basic options:
1) disable contacts integration completely
2) disable it for some some UI implementations (Sense etc..)
3) leave the feature enabled and live with the It's not working on my
XXX YYY device negative comments

Anyway, what's the best approach to handle such issues? Take it up
directly with the OEM's or file bugs under b.android.com?


On Tue, Nov 2, 2010 at 9:55 AM, Dianne Hackborn hack...@android.com wrote:
 On Tue, Nov 2, 2010 at 12:31 AM, Tauno Talimaa tau...@gmail.com wrote:

 My reasons why I want to detect Sense UI (+ actually also other custom
 UI's) is that they have not implemented all of the nice shiny features
 that contact sync provides. They are not displaying the presence
 information in their default contacts app (People) and also are
 totally ignoring custom data rows there.
 As the app I'm developing relies heavily on these two features,
 there's no point in giving the end-users something that's
 half-working. I'd rather disable some features for all Sense UI
 devices (+ also other hacked-quickly-together OEM customizations).

 I would actually consider those basic features that by not implementing they
 are not a compatible device.  Presence information and custom data rows is,
 after all, part of the official SDK.
 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: GK:How to give conditions in android XMLs

2010-10-27 Thread Tauno Talimaa
Just a small correction to this. If you just specify the MNC, then the
strings will be used for Verizon only in the US. In other countries
they would be used for other operators who have the same MNC value
(for example strings in res/values-mnc005/strings.xml would be
displayed in Estonia for the operator AS Bravocom Mobiil)

So if you want to make sure that some strings are used JUST in Verizon
and nowhere else, then you must put them in the following directories:
res/values-mcc310-mnc004/strings.xml
res/values-mcc310-mnc005/strings.xml
res/values-mcc310-mnc012/strings.xml



On Wed, Oct 27, 2010 at 4:05 AM, Dianne Hackborn hack...@android.com wrote:
 You can actually use the mnc configs to have different strings for different
 carries.  For example, strings in these directories will be for Verizon:
 res/values-mnc004/strings.xml
 res/values-mnc005/strings.xml
 res/values-mnc012/strings.xml

 There are lots of caveats with this though:
 (1) This configuration is based on runtime information from the network.  It
 won't be available until connected to the cell network, and will change
 appropriately if you change the SIM in the phone.
 (2) It is fragile.  Obviously there are three different MNCs for Verizon.
  There may be more in the future.
 (3) What happens on a phone with multiple SIMs?  Not defined.  If only one
 is active at a time, the configuration should change to match the currently
 active one.
 (4) It will probably, at some point, cause you pain.
 On Tue, Oct 26, 2010 at 11:35 AM, DanH danhi...@ieee.org wrote:

 Are you sure they don't simply mean that they want different XML files
 for different environments/devices?  There is a file suffix convention
 that lets you specify different files for different environments, to
 allow a single Android build to be targeted to several different
 devices simultaneously.

 On Oct 25, 10:38 pm, Jack Ganesh ganesh...@gmail.com wrote:
  Hi All.,
 
  My appication is used across different devices. For all device (SPH-
  D800,MOTO-Droid. etc) i force to make use of one string.xml and one
  android manefiest file for my application.
 
  Can any please tell me how can i make the conditions inside the all
  xml file.
 
  Thanks in advance  ! !
 
  Thanks.,
  Ganesh Kumar R.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ClassNotFoundException crash reports from Market

2010-09-07 Thread Tauno Talimaa
The user messages are not really helpful sadly :(
closed
fails to install properly on my Droid Motorola (tested it on a Droid
myself - tried Android 2.1 and 2.2 and it worked just fine)
wont let me open
etc..


On Tue, Sep 7, 2010 at 6:04 AM, TreKing treking...@gmail.com wrote:
 On Mon, Sep 6, 2010 at 6:28 AM, Tauno Talimaa tau...@gmail.com wrote:

 I'm seeing some strange crash reports in Android Market and I can't really
 tell how this could be caused by our application.

 I have a single report of java.lang.VerifyError for one of the Activities
 in my app that's declared in the manifest.
 I also have one that failed to find the GeoPoint class that's in the Google
 Maps library.

 Seems like some crazy sh*t happens on user devices.

 Do you have any reasonable user messages?
 Does it say what platform and and Android version? (Mine's just Other, so
 useful!)

 -
 TreKing - Chicago transit tracking app for Android-powered devices

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: ClassNotFoundException crash reports from Market

2010-09-07 Thread Tauno Talimaa
yeah, that sounds reasonable for GeoPoint - but in my case I'm not
using the MapsAPIs at all - Android just can't find my Application
class for some reason :/

On Tue, Sep 7, 2010 at 12:36 PM, Pent tas...@dinglisch.net wrote:
 I also have one that failed to find the GeoPoint class that's in the Google
 Maps library.

 Maybe that's related to one that puzzled me too.

 A knowledgable user informed me that some ROMs just use a stub for the
 maps package,
 there isn't actually a library there.

 Hence your app loads OK but crashes when you try to use map classes
 apparently.

 Pent

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: ClassNotFoundException crash reports from Market

2010-09-07 Thread Tauno Talimaa
That can't be the problem in my case because people have reported it
on Droid but we've tested it on Droid from the day it came out till
the 2.2 update - and never seen a problem. Also there are a LOT of
Droid users of the app and it apparently happens just for 0.X% of
them :/


On Tue, Sep 7, 2010 at 6:42 PM, Yahel kaye...@gmail.com wrote:
 Hi all,

 I had both theses errors : ClassNotFound and  VerifyError.

 Turns out I was using a class and/or a function that was not available
 in the 1.5 framework.

 In my manifest I have :

 uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4/
 uses-sdk

 And in my project properties I have checked the 1.6 framework.

 With both of these it did not trigger compiler error since the
 function existed in the 1.6 framework.
 I just went in the properties, checked the 1.5 framework. Errors were
 detected by the compiler, I found a way around them, then checked back
 1.6 in the properties. It did the trick.

 Good luck.

 Yahel

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] ClassNotFoundException crash reports from Market

2010-09-06 Thread Tauno Talimaa

 Hi all,

I'm seeing some strange crash reports in Android Market and I can't 
really tell how this could be caused by our application. The reason is 
always ClassNotFoundException or NoClassDefFoundError.
The exact traces come in various flavors and they have happened for a 
total of ~100 times - here's one (reported 37 times):


java.lang.RuntimeException: Unable to instantiate application 
com.company.product.MyApplication: java.lang.ClassNotFoundException: 
com.company.product.MyApplication in loader 
dalvik.system.PathClassLoader[/data/app-private/com.company.product-1.apk]
at 
android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:649)
at 
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232)

at android.app.ActivityThread.access$3000(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: 
com.company.product.MyApplication in loader 
dalvik.system.PathClassLoader[/data/app-private/com.company.product-1.apk]

at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
at android.app.Instrumentation.newApplication(Instrumentation.java:942)
at 
android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:644)

... 11 more

We've tested the same .apk on a number of devices and we've never 
encountered issues like this - what could cause such issues in the first 
place - custom ROMs / broken devices / something that we're doing wrong? :/


Tauno

--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ClassNotFoundException crash reports from Market

2010-09-06 Thread Tauno Talimaa
 What your app do? Is it calling any other application for example? If so,
 ensure you do try/catch around startActivity() - users' device may not
 have it at all.

No, I don't start any external activities.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Reducing Permissions

2010-09-01 Thread Tauno Talimaa

 On 1.09.2010 11:36, Dianne Hackborn wrote:
On Mon, Aug 30, 2010 at 1:37 PM, Brad Gies rbg...@gmail.com 
mailto:rbg...@gmail.com wrote:



Now... I also want to use the camera (optional) and vibrate
(optional but most users will want it) so I have to add : 



uses-permission android:name=android.permission.CAMERA /
uses-permission android:name=android.permission.VIBRATE /


Here again, vibrate is a normal permission, so it will not be seen 
unless the user wants to dig into it.  (And seriously, makes your 
phone vibrate.  I think the vast majority of users, if they *do* 
explicitly go to see it, will have no trouble figuring out that they 
are okay with it.)


What's the point of the VIBRATE permission anyway? I can't imagine a 
case where the user decides to not install some application because it 
has the VIBRATE permission - so why is there a requirement for apps to 
declare this permission?


--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Can Android 2.X connect to 3G and Wifi data networks simultaneously?

2010-09-01 Thread Tauno Talimaa
 Indeed but imagine a case where you have two options (after spending 
quite a lot of resources on a project already):

a) Don't release your software at all.
b) Release your app and use hidden constants( that do work on current 
devices) but risk with the fact that your application will break in the 
future and you have to fix it again.

Which one would you choose?

Btw, the operator requirement that apps can only use 2g/3g networks and 
not WiFi, comes up quite often when your application has anything to do 
with some carriers around the world.
The sad part is that sometimes this comes as a surprise to app 
developers because the operator mentality is We didn't tell you about 
this in the beginning because we thought that it's a trivial change in 
your app anyway - the same app can do this on platform X so it has to be 
able to do this also on Android! And as far operators are concerned, 
NO is not an answer :)



On 1.09.2010 13:44, Mark Murphy wrote:

My point is that it is not in the Android SDK and therefore is not safe to use.

On Wed, Sep 1, 2010 at 4:12 AM, Jensdunkingbikk...@gmail.com  wrote:

Yup, i usually don't commit the exact name of hidden constants to
memory, the value of that constant is however defined as enableHIPRI
- and should produce the desired effect of enabling explicit
connection routing over 3G.


--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-08-07 Thread Tauno Talimaa
It's super slow for me also - sometimes the content assist window will 
hang for up to ~30s (in Eclipse 3.5, it takes just a few hundred ms max) 
meaning that 3.6 is not usable for Android development at the moment (if 
there are no workarounds..).
I've found the following bug for Eclipse regarding this: 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317979 but I have no idea 
if it's an Eclipse bug or an ADT  bug that just happens to be triggered 
by Eclipse 3.6 for some reason. Maybe Xavier wants to enlighten us ? :)



On 7.08.2010 2:16, Zsolt Vasvari wrote:

This happens with me also, only sometimes.  I don't know if this is
Helios or the Android stuff, but developing with Helios has more
nagging issues than Galileo has.

On Aug 6, 10:00 pm, Evan Ruffevan.r...@gmail.com  wrote:
   

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, gDevsab...@gmail.com  wrote:



 

CodeAssistveryslow
   
 

any soluation for that?- Hide quoted text -
   

- Show quoted text -
 
   


--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Best Approach to implementing Polling in Android

2010-07-12 Thread Tauno Talimaa
Just a note that C2DM is a Google service and is available on devices 
that are shipping with Google Market.
Depending on your requirements you might need to support also some other 
polling mechanism even when implementing C2DM for some devices.



On 12.07.2010 16:06, Mark Murphy wrote:

On Mon, Jul 12, 2010 at 8:30 AM, Samuhsamuh.va...@gmail.com  wrote:
   

MarkDo not not to poll frequently.
I am supposed to poll the server to update the client of the changes
in (almost/near) real time. The interval suggested was five minutes.
Is this too frequent?
 

Five minutes is so-so. I would make it configurable:

http://www.androidguys.com/2010/03/29/code-pollution-background-control/

   

MarkNo, you have to re-create your alarm schedule on a reboot.
So I will  capture the BOOT_COMPLETE broadcast and setup a new
schedule.
 

Yes.

   

This application was originally written for iPhone and there it uses
their Push Notification Service to keep the data on the device up-to-
date. I am supposed to port this application on Android so I am not
sure of the approach to take.
 

In a year, C2DM will be the right answer. For today, AlarmManager
polling should suffice.

   


--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en