[android-developers] The Subject this: 122

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 4

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 79

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 196

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 0

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 324

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 228

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 29

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 239

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 354

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 265

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 331

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 69

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] The Subject this: 326

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread hackbod
oa. Estamos tentando executar um update no evento AfterPrint do detalhe em um relatório no RB10 porém quando é executado ocorre o erro 'Cursor not returned from query'. Fizemos algumas pesquisas no Grupo e Google sem sucesso. Alguém poderia ajudar a solucionar esta pane? O código que estamos uti

[android-developers] Your one Look here

2009-11-09 Thread hackbod
http://www.aboutvoipsms.blogspot.com -- 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...@googl

[android-developers] Re: Extract some information from an APK file

2008-11-20 Thread hackbod
Have a look at the aapt command -- it has a variety of dump sub- commands for printing individual information from the .apk. Not all of this information may currently be (easily) available through the command, so if you need more you can get the open source release and extend the command to dump

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread Dianne Hackbod
On Wed, Nov 19, 2008 at 10:39 AM, dar <[EMAIL PROTECTED]> wrote: > > Interesting, I noticed this line in the documentation just now, from > > http://code.google.com/android/reference/android/content/SharedPreferences.html > > "Note: currently this class does not support use across multiple > proce

[android-developers] Re: Adding self to menus on other applications

2008-11-19 Thread Dianne Hackbod
fic problems here regarding to managing the UI? > Aren't menu items beyond six items shown as a scrollable list, anyway? > > Peli > > On Nov 18, 10:36 pm, "Dianne Hackbod" <[EMAIL PROTECTED]> wrote: > > Note that this only works with applications that want to

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread Dianne Hackbod
On Wed, Nov 19, 2008 at 8:55 AM, Eric B <[EMAIL PROTECTED]> wrote: > What I'm taking from this is that if my BroadcastReceiver, which runs > off an AlarmManager, is accessing the preferences and the user then > opens the PreferenceActivity in a separate process the behavior is > undefined and most

[android-developers] Re: SharedPreferences problem

2008-11-19 Thread Dianne Hackbod
both in the same process (they both run from the same app), but is > this causing the problem? What's curious to me is that I can't > reproduce the problem myself on the G1. > > On Nov 18, 9:36 pm, "Dianne Hackbod" <[EMAIL PROTECTED]> wrote: > > SharedPr

[android-developers] Re: geolocation API in Android's web browser

2008-11-18 Thread Dianne Hackbod
On Tue, Nov 18, 2008 at 8:03 PM, Sean Sullivan <[EMAIL PROTECTED]>wrote: > It appears that Google Gears for Mobile is coming to the Android > platform. Gears is already in 1.0, though currently only available in the web browser application. -- Dianne Hackborn [EMAIL PROTECTED] --~--~-

[android-developers] Re: How to save EditText styles

2008-11-18 Thread Dianne Hackbod
We don't currently have a general flat rich text format for android. You can use android.text.TextUtils.htmlEncode and android.text.Html for converting to/from HTML, but those may not be able to represent all of the style information in your text view. On Tue, Nov 18, 2008 at 8:16 PM, loty <[EMAI

[android-developers] Re: new idea!

2008-11-18 Thread Dianne Hackbod
Did you remove the blue/clear plastic from the back of the window covering the camera? It's not that bad a camera. On Tue, Nov 18, 2008 at 12:18 PM, Hong <[EMAIL PROTECTED]> wrote: > > the camera on G1, even with auto-focus, takes a horrible picture. > you will need very clear and distinct featu

[android-developers] Re: Adding self to menus on other applications

2008-11-18 Thread Dianne Hackbod
Note that this only works with applications that want to participate in the mechanism, and pretty much none of the built-in applications do this. We moved away from this approach because managing the UI for an arbitrary number of additional items is a challenge. Our preference these days is for t

[android-developers] Re: AlarmManager not always waking device (using RTC_WAKEUP)

2008-11-18 Thread Dianne Hackbod
Fwiw, I am not aware of any issues with the alarm itself not waking up the phone. Typically bugs in this area are a result of applications not holding wake locks the entire time needed. Note that the behavior when not holding a wake lock can change significantly between devices, depending on thin

[android-developers] Re: Change focus color from orange to...

2008-11-18 Thread Dianne Hackbod
es of things will result in ugly results later on. On Tue, Nov 18, 2008 at 3:24 PM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > > Ah oh well. What other options do we have, provide bitmaps for every > control we'd like to modify? > > Thanks > > On Nov 18, 2:51

[android-developers] Re: SharedPreferences problem

2008-11-18 Thread Dianne Hackbod
SharedPreferences should be completely thread safe. Also, all of the normal calls the system makes to your components happen in the same main thread of the process, so except for special cases (as described in the app model doc) you shouldn't be dealing with multithreading. Are all of these compo

[android-developers] Re: Referencing an entry from colors.xml?

2008-11-18 Thread Dianne Hackbod
Don't do the '+'. Just reference it with '@colors/clr_edit_hilite'. On Tue, Nov 18, 2008 at 3:30 PM, Diego Torres Milano <[EMAIL PROTECTED]>wrote: > > > > On Nov 18, 4:00 pm, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I defined a colors.xml file in my "values" folder, with the

[android-developers] Re: Tips for Orientation

2008-11-18 Thread Dianne Hackbod
Yes, you use exactly what I wrote. On Tue, Nov 18, 2008 at 1:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > Hi, > > Will this setting make the screen change to lanscape using the > accelerometer? If so, where do I put this setting? > > Thanks > > On

[android-developers] Re: About running two different applications with the same code base

2008-11-18 Thread Dianne Hackbod
On Tue, Nov 18, 2008 at 12:02 PM, magicpig <[EMAIL PROTECTED]> wrote: > > > > > I am wonder whether we can runtwoseparated apps with > thesamecodebase. Thesetwoapps aredifferentby a flag. > > > > Here are some questions: > > > > 1) Where to set the flag? Is it possible for an appl

[android-developers] Re: Change focus color from orange to...

2008-11-18 Thread hackbod
Sorry, these are all bitmaps so there is no way to change an individual color. On Nov 18, 7:40 am, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > Hi, > > The default android theme places an orange border around edit controls > when they are focused. > > Is there a way to change that to a differen

[android-developers] Re: how to use TouchDelegate

2008-11-17 Thread hackbod
It is pretty broken, I would recommend against using it. On Nov 17, 12:51 pm, Huebi <[EMAIL PROTECTED]> wrote: > I have tried to use the TouchDelegate class but couldn't figure out > how to really do it. It is terribly documented. Has anyone succeeded > with it? I want to extend the touchable reg

[android-developers] Re: How to make a Service run ONLY when no other app is running?

2008-11-17 Thread hackbod
To auto-stop when the user launches another app (I assume from your own), you can just look at the pause or stop call of your own activities. For starting when other apps are "closed", there is no way to do this, it really isn't in the Android application model. It is completely normal for a use

[android-developers] Re: Replacing standard default applications

2008-11-17 Thread hackbod
Sorry, if your issue is the user being able to decide between your application and another, then yes the current system design is very much around the idea is in control of the applications, not the other way around. Note that the use -can- specify when making that selection that the application

[android-developers] Re: Adding new menu items to the Browser

2008-11-17 Thread hackbod
Correct, I don't believe the browser currently supports this kind of thing. On Nov 15, 1:34 pm, dalelane <[EMAIL PROTECTED]> wrote: > RE: Adding yourself to menus on other applications (http:// > code.google.com/android/kb/commontasks.html#addmenuitems) > > I've tried to add a new Activity that c

[android-developers] Re: The difference between "Runtime.getRuntime().freeMemory();" and "ActivityManager.MemoryInf.availMem"

2008-11-17 Thread hackbod
The first is about the the VM in the local process, the second is a rough measure of the memory situation in the overall system: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#freeMemory() http://code.google.com/android/reference/android/app/ActivityManager.MemoryInfo.html#availM

[android-developers] Re: Deployment of native C library

2008-11-17 Thread hackbod
Sorry, currently native code is not supported in the SDK. On Nov 16, 8:05 pm, adlaiti <[EMAIL PROTECTED]> wrote: > I have a Java application that uses JNI to call a native C library > (.so). > This application works fine with an older version of the SDK and > emulator. > The library was copied to

[android-developers] Re: my question...

2008-11-17 Thread hackbod
http://code.google.com/android/reference/android/app/Instrumentation.html#sendKeySync(android.view.KeyEvent) On Nov 17, 12:44 am, Yorgen Valune <[EMAIL PROTECTED]> wrote: > Hi, > I'm looking for a code that can replace the following code since its no more > existing: > > /** This function a

[android-developers] Re: Where can I find MapActivity source as well as the whole package com.google.android.maps?

2008-11-15 Thread hackbod
Sorry, maps is proprietary to Google and not available as open source. On Nov 14, 9:06 pm, Obormot <[EMAIL PROTECTED]> wrote: > Hi, everyone. > > I'd like to learn how the routing is implemented in the default > MapActivity used to display google maps. > Unfortunately, I don't see the source anyw

[android-developers] Re: G1- No animated transitions between activies

2008-11-14 Thread hackbod
On Nov 13, 2:21 pm, ksmith44 <[EMAIL PROTECTED]> wrote: > Regardless, is there a way to programmatically turn the transitions on > in my code so that it will work on the G1? For a specific application, no. --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: disable home button

2008-11-14 Thread hackbod
On Nov 14, 12:08 pm, zl25drexel <[EMAIL PROTECTED]> wrote: > you guys did not open-source everything. it's pretty hard to figure > out how things work using a cripple code base. What exactly is missing that would help you? --~--~-~--~~~---~--~~ You received this m

[android-developers] Re: how to inject a KeyEvent

2008-11-14 Thread hackbod
On Nov 13, 4:42 pm, dreamerBoy <[EMAIL PROTECTED]> wrote: > What gave me hope is that there was an injectKeyEvent method on > WindowManager in the last API release.   > See:http://www.anddev.org/throwing-simulating_keystrokes_programatically-... That was never in the SDK; that is a private API th

[android-developers] Re: RC30: any way to access database on device?

2008-11-14 Thread hackbod
On a production device, you can change your app to make the database world readable, and then you can pull it in the same way. We definitely need to have a way to make it easier to get to your files; we've talked about using the "debuggable" attribute to also allow you to su to that app's uid to

[android-developers] Re: how to inject a KeyEvent

2008-11-13 Thread hackbod
Fwiw, there has never been a public API to inject a key event, except for the official API is on the Instrumentation class (which still exists). As far as I know we don't right now have an API to get an Instrumentation object when not running an instrumentation test, though. I am a little confus

[android-developers] Re: G1- No animated transitions between activies

2008-11-13 Thread hackbod
The emulator and device are exactly the same in this regard. By default the activity transitions are not turned on; you must have run something (like Dev Tools) on the emulator that give you the option to turn them on. The reason they aren't on by default is that there were still a few issues wi

[android-developers] Re: disable home button

2008-11-13 Thread hackbod
On Nov 12, 6:38 am, zl25drexel <[EMAIL PROTECTED]> wrote: > please, put that API to replace the lock screen, i will be more than > happy to use that instead of my little hack. Yes this would be nice to have, but at this point it is a lower priority for the core android team than a lot of other th

[android-developers] Re: why there are two DRM implementation in Android

2008-11-13 Thread hackbod
Could you please move this to one of the open source groups? This group is for discussion of application development with the SDK. Thanks. On Nov 13, 1:16 am, "Zhihong GUO" <[EMAIL PROTECTED]> wrote: > 2008/11/13 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > > > > The only DRM in use at this time is

[android-developers] Re: Before publish: "Deactivate any calls to Log methods in the source code" - How ?

2008-11-13 Thread hackbod
You should make a static final boolean DEBUG = true variable in your source that is checked before calling any of the logs. Setting it to false will remove all of the code that checks it. On Nov 13, 1:21 am, Derek <[EMAIL PROTECTED]> wrote: > Hi, > > In Android documentation > at:http://code.go

[android-developers] Re: unable to import android.provider.Contacts.Presence

2008-11-12 Thread hackbod
Generally things are hidden from the SDK because they are not yet ready to be maintained as a public API. For example, the people doing the presence features may not be ready to write that schema in stone. On Nov 12, 1:07 pm, Sean Sullivan <[EMAIL PROTECTED]> wrote: > I am using Android SDK 1.0

[android-developers] Re: Service to Activity communication

2008-11-12 Thread hackbod
1. If you know the two components are running in the same process, just follow the LocalService sample code to directly call between the two. 2. You can create a PendingIntent to deliver a result to an activity. That PendingIntent can be given to the service either as one of the extras in the Int

[android-developers] Re: disable home button

2008-11-11 Thread hackbod
d to make yourhomeactivity the > > preferredhomeactivity, that way your app will stay on when thehomebuttonis > > pressed by the user. > > > remember remove that preference when your activity is stopped. > > > Jay > > > On Nov 11, 12:33 pm, hackbod <[EMAIL PROTECT

[android-developers] Re: Signing Apps for a external testing group

2008-11-11 Thread hackbod
The certificate is only checked at install time, so if you create a certificate that expires in 60 days that only prevents that .apk from being installed after 60 days; any current installs will continue to work. And anyway, if someone wants to continue to use your app, they can just take your .a

[android-developers] Re: InCallScreen is not public

2008-11-11 Thread hackbod
The in call screen is an implementation detail. You need to use Intent.ACTION_CALL and let the system find the proper activity to launch. (In fact the InCallScreen isn't even part of the frameworks, it is part of the implementation of the phone app, so it would be impossible to make public.) On

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-11 Thread hackbod
On Nov 11, 11:35 am, dreamerBoy <[EMAIL PROTECTED]> wrote: > Actually, thank you - you WERE correct - onCreate is NOT being called > for this Activity. > > I tried doing a wait() for 5  - then 30 seconds on the onCreate > callback being called - the wait timed out...  Hmmm how to force > an Ac

[android-developers] Re: Problem with Service Permission

2008-11-11 Thread hackbod
.xyz.client/ > com.abc.xyz.client.ClientActivity}: java.lang.SecurityException: Not > allowed to start service Intent > { action=com.abc.xyz.service.BackgroundService } without permission > android.permission.ACCESS_BACKGROUND_SERVICE > > I think I am missing something with the declaration of permission in > the mani

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-11 Thread hackbod
kind of functionality. > > > Thanks again. > > > On Nov 11, 3:51 am, hackbod <[EMAIL PROTECTED]> wrote: > > > > It does wake it up, but you are going to need to hold a wake lock to > > > keep the device awake after your intent receiver return

[android-developers] Re: disable home button

2008-11-11 Thread hackbod
It didn't, it is a huge hack where it restarts itself when the user tries to leave it. It's a cute hack for the toddler lock, but far from something any normal application should do. (And seriously, the system -should- detect this and kill an app that is doing it. I would consider the fact that

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-11 Thread hackbod
It does wake it up, but you are going to need to hold a wake lock to keep the device awake after your intent receiver returns. On Nov 10, 11:14 pm, g1bb <[EMAIL PROTECTED]> wrote: > Hello, > > I've been trying to use AlarmManager.RTC_WAKEUP to wake up my device > while it's sleeping, and then pla

[android-developers] Re: Anybody analyzing media player library

2008-11-11 Thread hackbod
This should go on android-platform or one of the other related groups; this group is for application development with the SDK. On Nov 11, 2:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > Anybody trying to understand how the media player works? > How the media player library(e

[android-developers] Re: Problem with Service Permission

2008-11-11 Thread hackbod
The Intent you are making to bind to the service is trying to find a component in your own .apk, not the other. The last permission error you mention is because you need to explicitly request to use even your own permissions. On Nov 10, 9:31 pm, Raktim Das <[EMAIL PROTECTED]> wrote: > Hi, > I am

[android-developers] Re: detecting touch capabilities

2008-11-10 Thread hackbod
getResources().getConfiguration(). Of course, right now all Android phones and the emulator have touch support, so any code you write using this would be dead, untested code, so is probably not something you want to do. On Nov 10, 7:15 pm, joebowbeer <[EMAIL PROTECTED]> wrote: > How to programma

[android-developers] Re: Question regarding StopSelf method that a Service can call

2008-11-10 Thread hackbod
Services don't go on the task list, so I'm not sure what you are talking about. If you mean its processes is running, then yes, it probably is, until the system needs it for other things. See the application lifecycle doc for more info on this. On Nov 10, 6:03 pm, Anshul <[EMAIL PROTECTED]> wro

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-10 Thread hackbod
Probably you are calling this before Activity.onCreate(), which is where the mInstrumentation field is set. Note that calling into an activity from a Service like this is pretty sketchy -- you will need to be very very careful about activity lifecycle and updating the service as the activity chan

[android-developers] Re: Two Notifications

2008-11-10 Thread hackbod
The notification manager doesn't support multiple items per icon (though it will do some collapsing of icons if it runs out of room). There is generally very little space available, both for icons and their items in the list, so I wouldn't consider this a good UI design. Perhaps think about doing

[android-developers] Re: disable home button

2008-11-10 Thread hackbod
Apps shouldn't be able to do this. What toddler lock is doing is very, very evil, and arguably the system should detect that and deal with it. The home key is the user's one, always working, way to get out of the current application. On Nov 10, 3:18 pm, zl25drexel <[EMAIL PROTECTED]> wrote: > a

[android-developers] Re: Notifications

2008-11-10 Thread hackbod
Make your activity's launch mode singleTop and you will get the intent in onNewIntent(). If it could have other activities running on top of it, consider using the CLEAR_TOP flag. See the section here on Launch Modes and Launch Flags for more discussion on interacting with notifications: http:/

[android-developers] Re: repo init

2008-11-10 Thread hackbod
Hi, this discussion would be better done in android-platform. This group is for using the SDK. On Nov 10, 8:37 am, Kathryn <[EMAIL PROTECTED]> wrote: > I'm having the same problem, and I believe it's an issue with port > 9418 as I can't telnet into 199.6.1.176 (one of the specified IP's > result

[android-developers] Re: Thread instead of Service, is it safe ?

2008-11-10 Thread hackbod
Correct, use a Service, your process can be killed any time after Activity.onPause() returns if there isn't another Activity, Service, etc active in it. On Nov 10, 1:26 am, Derek <[EMAIL PROTECTED]> wrote: > Hi, > > I've an Activity A that starts a Thread T which download a file > through HTTP. I

[android-developers] Re: How shall I need design my application when the device be rotated?

2008-11-08 Thread hackbod
Please don't just do that. As Christine said, in most cases letting the system handle it is the best thing to do, and then you can have any of your resources vary based on orientation or whether the keyboard is visible without having to do anything. As far as canceling the "auto-adjustment" I'm

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-08 Thread hackbod
The compass auto-calibrates itself as it is used, but coming near a magnet can uncalibrate it so it won't give good data until getting calibrated again. To help it along, you can hold the phone and move it around in figure eights. That is not a joke. :) On Nov 6, 11:23 am, "[EMAIL PROTECTED]" <

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-08 Thread hackbod
the custom > parcelable is not in the same package as the interfaces that are > trying to use it. > > tone > > On Nov 8, 2:03 am, hackbod <[EMAIL PROTECTED]> wrote: > > > Well, you need to have the source .aidl file in the sources of the app > > that is using it,

[android-developers] Re: ::Help me Please....!!!!

2008-11-08 Thread hackbod
Android's UI is event driven, so if you block that thread it will stop doing things. Use a Handler to schedule a message in the future at which you will turn off the pressed state. On Nov 8, 3:13 am, Imran <[EMAIL PROTECTED]> wrote: > Hi > >  In my Application i have scenario where the Button Sh

[android-developers] Re: Android Crash! Crash!! Crash!!! No more boot up successfully!!!!

2008-11-08 Thread hackbod
You can use adb to pull all of your app's files out of its data directory and before wiping then put them back later. On Nov 8, 9:35 am, Nickname <[EMAIL PROTECTED]> wrote: > Man, I know wipe-data will work. But I got much test data manually > typed in during prior numerous executions of my app.

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-07 Thread hackbod
st it. On Nov 7, 9:02 pm, DulcetTone <[EMAIL PROTECTED]> wrote: > Hi, hackbod. > Can you be more explicit in this? > > tone > > On Nov 7, 11:53 pm, hackbod <[EMAIL PROTECTED]> wrote: > > > You'll need to make the so

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-07 Thread hackbod
You'll need to make the source .aidl files available for them to import. On Nov 7, 3:21 pm, DulcetTone <[EMAIL PROTECTED]> wrote: > I have a custom Parcelable which I have gotten working internally in > the project in which it is compiled. > > That project is then exported as a JAR in Eclipse, an

[android-developers] Re: Does AlarmManager wake up to do scheduled work when phone is asleep?

2008-11-07 Thread hackbod
It depends on whether you are using a wakeup alarm or not -- there are currently four kinds of alarms define, two of which wake up the device. On Nov 7, 8:37 pm, j <[EMAIL PROTECTED]> wrote: > According to API doc for AlarmManager.set : > "Alarm intents are delivered with a data extra of type int

[android-developers] Re: modal dialogs

2008-11-07 Thread hackbod
More than being accepted, it's the only way. If you do blocking operations in the main thread, you will soon give the user an "Application Not Responding" dialog and they will kill you. Now you -can- create another thread and run a dialog window thread... but any thread running UI has the same "

[android-developers] Re: Arabic support

2008-11-07 Thread hackbod
Android currently only supports English. On Nov 7, 2:49 pm, "meetmas.com" <[EMAIL PROTECTED]> wrote: > Please help me > i have 2 probleams > 1. i don't know how can i connect my mobile to pc > 2.can anyone help me please to install arabic language on my Android > G1 (( t-mobile)) > i realy ne

[android-developers] Re: Intercept Call

2008-11-07 Thread hackbod
http://code.google.com/android/reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL On Nov 6, 5:57 am, "BrunoZP.com" <[EMAIL PROTECTED]> wrote: > Hi, > > How can I intercept a user call, change it number and dial again ? > Any example code ?? > > For example: The user dial 32546048 and

[android-developers] Re: Updating the software on real device

2008-11-07 Thread hackbod
Sorry, you can't flash a regular production G1 with an unsigned system image. Also discussion like this should go in one of the open source groups, like android-platform. On Nov 7, 7:12 am, "lc.west" <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I am able to compile the android source code and u

[android-developers] Re: Do not understand the Android contribution scheme

2008-11-07 Thread hackbod
This kind of discussion would be better in one of the open source platform groups like android-platform. On Nov 7, 9:31 am, Anders Rundgren <[EMAIL PROTECTED]> wrote: > I'm working with pretty advanced stuff using XML schemas etc. > Such support is not to be found in the current docs. > > But in

[android-developers] Re: Does /proc/meminfo show the correct memory info?

2008-11-07 Thread hackbod
This is the amount of RAM available to the kernel and higher-level system as regular memory. The rest is used for various other things like the radio image, frame buffers and surfaces, etc. On Nov 7, 8:45 am, Brendon <[EMAIL PROTECTED]> wrote: > I'm working on a System Monitor app (first version

[android-developers] Re: Icons - Recommended size, format, etc?

2008-11-07 Thread hackbod
But please make it 48x48. Otherwise it's just wasting time and space, and if a lot of apps start doing larger sizes it will have a noticeable impact. The app icon size is 48x48. On Nov 7, 9:44 am, Romain Guy <[EMAIL PROTECTED]> wrote: > Hi, > > Home currently displays icons at 48x48, so yo

[android-developers] Re: how to kill activity in android

2008-11-06 Thread hackbod
You can do it programmatically in your app with I believe Process.killSelf(). You can do it from the shell by using ps to get the pid of your process and then using the kill command on that, however this will only work in the emulator where you can get a root shell. On Nov 6, 6:02 pm, forrestxu

[android-developers] Re: TextView.SavedState example?

2008-11-06 Thread hackbod
A static variable is almost certainly not going to do what you want -- one of the big reasons for all of this is to be able to restore state if the process is killed, and if you are putting stuff in a static variable then that will all go away with the process when it is killed. Unfortunately it

[android-developers] Re: sdk activity life cycle picture inaccurate?

2008-11-06 Thread hackbod
You can use "adb logcat -b events" to see the event log for what the activity manager is doing to try to understand what is going on. Also "adb shell dumpsys activity" will show you the current state of the activity stack (at the top of the output). My guess is that you are getting a second inst

[android-developers] Re: adb shell permissions on real G1 device

2008-11-06 Thread hackbod
Unfortunately there is no way to get to app-private files from the shell in 1.0. You can create those files as word readable though. On Nov 6, 11:18 am, "Bradley Kite" <[EMAIL PROTECTED]> wrote: > Hi there, > > Yes there is a reason. I'm working on an application that requires > wifi access and

[android-developers] Re: Extend a EditText to create an editable view performing operation onKeyDown

2008-11-06 Thread hackbod
You need to implement the constructor used for inflating from XML -- look at the View constructors for the appropriate one. Also generally this kind of thing is better done by attaching listeners (of which TextView offers a whole host) rather than subclassing. On Nov 6, 11:38 am, polo777 <[EMAIL

[android-developers] Re: How to set up as a straight vertical display

2008-11-06 Thread hackbod
Fwiw, if this is a constant value, it is better to set it in your manifest with android:screenOrientation. On Nov 6, 12:20 am, songs <[EMAIL PROTECTED]> wrote: > You probably want to put the following in your activity's onCreate: > >    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORT

[android-developers] Re: Thread Question

2008-11-05 Thread hackbod
ense. > So, my my main process is also considered a thread? > > True --- False > > I write a simple HelloWorld.java program. > This program has 1 thread, the main flow of execution. > > ? > > Thanks, > Josh > > On Nov 5, 7:26 pm, hackbod <[EMAIL PROTECTED]&

[android-developers] Re: Change active AlarmManager event

2008-11-05 Thread hackbod
Well you can unschedule the old alarm and schedule a new one. On Nov 5, 6:46 pm, "hve.dk" <[EMAIL PROTECTED]> wrote: > Is it possible to change a repeating AlarmManager event - after the > Activity, that scheduled the intent has finished. I like to change > both the time for next event and the in

  1   2   3   4   5   6   >