[android-developers] native c++ api

2010-08-08 Thread jsm
Can google provide a native c++ api to develop for Android, not the NDK which uses Java/JNI to invoke c++ classes? Its primarily for performance related requirement. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Want a background Service to show Toasts on Device Screen

2009-03-21 Thread jsm
The approach I took was to set the UI handler to the service, then pass the message via that handler and then UI displays it using Toast. I don't know if this is the most efficient , but it works. Dianne Hackborn wrote: > Yes toasts can be shown by anyone; that is one of their main purposes. > >

[android-developers] set max zoom level in map

2009-02-03 Thread jsm
For privacy reasons, is it possible to set the maximum zoom in level to some fixed level? I am using map view and getting the zoom view to display the zoom controls but i would like to control the zoom in level. Is this possible? --~--~-~--~~~---~--~~ You received t

[android-developers] Re: MapsApplication missing from source code?

2009-01-28 Thread jsm
gt; JBQ > > > > On Wed, Jan 28, 2009 at 8:39 AM, jsm wrote: > > > Why is that closed? I mean the reasoning behind closing that app. > > > On Jan 28, 9:30 pm, Disconnect wrote: > >> Its closed source, just like gmail, contact/email sync, market, mp3 store, >

[android-developers] Re: MapsApplication missing from source code?

2009-01-28 Thread jsm
he framework. And - for tmob > users - the myfaves app. > > On Wed, Jan 28, 2009 at 11:24 AM, jsm wrote: > > > Why is the com.google.android.apps.maps.MapsApplication missing from > > the open source project site? > > Is it closed source? &g

[android-developers] MapsApplication missing from source code?

2009-01-28 Thread jsm
Why is the com.google.android.apps.maps.MapsApplication missing from the open source project site? Is it closed source? Can someone from google clarify please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: ADC Top 10 Winner Looking for New ADC 2 Teammates

2009-01-28 Thread jsm
What is the advantage of teaming up with you rather than going themselves? On Jan 28, 11:52 am, Chris wrote: > Our team, Life360, is looking to add to our group for the upcoming > ADC2. > > If you are an Android fanatic and want a jumpstart on the next > competition shoot me an email. > > We hav

[android-developers] Re: How to deploy large DB with my APK

2009-01-22 Thread jsm
Even if you had the import feature, the user would still need to get the 800k data...from somewhere either online or from the device? Sorry if I did not understand your problem... On Jan 22, 6:59 am, Svend Erix wrote: > Thanks for the clear answer - yes the restriction mentioned is > important

[android-developers] Re: stopSelf() question

2009-01-08 Thread jsm
I am also calling removeUdates just before stopself() myLocationManager.removeUpdates(onLocationChange); On Jan 9, 10:48 am, jsm wrote: > Additional info: > >  I have a a class private final LocationListener onLocationChange = > new LocationListener() > in the service listen

[android-developers] Re: stopSelf() question

2009-01-08 Thread jsm
Additional info: I have a a class private final LocationListener onLocationChange = new LocationListener() in the service listening to location updates. Would this cause it to ANR while stopself() On Jan 8, 1:17 pm, jsm wrote: > I am enclosing the anr file related to my package. If anyb

[android-developers] Re: stopSelf() question

2009-01-08 Thread jsm
hed=0/0 handle=1087536 at dalvik.system.NativeStart.run(Native Method) "HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=0 obj=0x42532a38 | sysTid=190 nice=0 sched=0/0 handle=1086968 at dalvik.system.NativeStart.run(Native Method) - end 18

[android-developers] Re: stopSelf() question

2009-01-07 Thread jsm
pSelf() at all -- you may have some code in a > > completely different location that is blocking the main thread, and the > >stopSelf() call just happens to cause the system to try to interact with > > your app, find it isn't responding, and result in an ANR. > > > On Tue,

[android-developers] stopSelf() question

2009-01-06 Thread jsm
I have two doubts - When I call stopself() in the service, it raises an ANR (Force close or Wait) I am calling this in a seperate thread as shown in my service: ... quitServer(){ Thread thrm = new Thread(null, mTask, "MYService"); thrm.start(

[android-developers] Re: Device id

2008-12-31 Thread jsm
First of all thanks for your solution and your time. My point is this hex can be spoofed by anyone or app...I need to validate the hex number against a valid g1 hexcodes. I hope you understand the problem. On Jan 1, 1:04 am, Mark Murphy wrote: > jsm wrote: > > Whats the point of get

[android-developers] Re: Device id

2008-12-31 Thread jsm
Whats the point of getting this number if it cant be validated? On Jan 1, 12:18 am, Mark Murphy wrote: > jsm wrote: > > Follow up question. How do I validate this number? It could be any > > 64bit hex. > > You don't validate this number. > > >>>>

[android-developers] Re: Device id

2008-12-31 Thread jsm
EAD_PHONE_STATE" /> in your > > AndroidManigest.xml. > > > On 31 déc, 08:24, jsm wrote: > >> I have an application where I need to check whether the user is using > >> the actual device not a emulator or others.  I have seen the API where > >>

[android-developers] Device id

2008-12-30 Thread jsm
I have an application where I need to check whether the user is using the actual device not a emulator or others. I have seen the API where there is device id method from phone service. I need a generic way to check if the user is on the real device. For example if he has downloaded the app from

[android-developers] Re: Error using XMPP using Smack API 3.0.4

2008-10-23 Thread jsm
I can see both files exists in the system/etc/security folder, ccerts.bks 44204 bytes, otacerts.zip 1107, both permisssion have (-rw- r--r--) On Oct 23, 8:34 pm, Anders Rundgren <[EMAIL PROTECTED]> wrote: > I hope this can be of some help > > # ls /system/etc/security > ls /system/etc/security >

[android-developers] Error using XMPP using Smack API 3.0.4

2008-10-17 Thread jsm
I was trying out the smack API for connecting to gtalk. I was able to connect but had two errors. Anybody have any ideas on resolving this error? First error is something regarding Keystore as shown below: --error 1 - 10-18 08:40:10.884: WARN/System.err(266): j