Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread jc
On Tuesday, June 26, 2012 10:40:28 AM UTC-5, MagouyaWare wrote: There is no state mentioned in manifest for the upgraded component, it should be in Disabled state until user enables it or Factory reset of phone is done. Why? I didn't read it that way. I agree that it is not well-defined,

[android-developers] Re: How can I keep my database on an SD card and use ORMLite?

2012-06-22 Thread jc
http://lmgtfy.com/?q=ormlite+sdcard+database On Thursday, June 21, 2012 9:32:06 PM UTC-5, Italo Mendonça Rocha wrote: I use ORMLite to work with my database, and I faced with problem how keep database on sd card. Can anyone help me with this? -- You received this message because you are

Re: [android-developers] Re: How apply a theme in a fragment?

2012-06-13 Thread jc
This includes the key steps and should work to do what you want: @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // create ContextThemeWrapper from the original Activity Context with the custom theme Context context = new

[android-developers] Re: Passing parameter in intent.

2012-02-13 Thread jc
On Feb 13, 5:36 am, Put_tiMe putt...@gmail.com wrote: I'm trying to send a parameter to an activity. But the problem is that in the activity's 'onCreate' callback, the 'Bundle' parameter is always null. Intent aintent = *new* Intent(android.content.Intent.*ACTION_VIEW*); *try *{ aintent =

[android-developers] Credit card swiper with API

2012-01-11 Thread JC
are tied to a service or gateway. Any suggestions will be appreciated. Thank you, JC -- 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

[android-developers] Re: Clarification on DPI

2012-01-01 Thread jc
On Dec 29 2011, 10:06 pm, Jonathan jlani...@gmail.com wrote: And how in the world do they get a 2/3 scaling factor? HDPI density is 240 dpi, see http://developer.android.com/reference/android/util/DisplayMetrics.html#DENSITY_HIGH if dp = px / (dpi/160) and dp = px * scaling factor then scaling

[android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-12-15 Thread JC
Hello all, I understood that why it is not allowed. So if one have achieve same, what is another method for implementation? Can we pass AudioTrack object created in JAVA to native and do audiotrack.write in C ? Thanks in advance, Jay On Oct 27, 4:59 am, HamdiHamZ hamdi.zr...@gmail.com wrote:

[android-developers] Re: DataBaseHelpers and multiple tables?

2011-12-09 Thread jc
On Nov 2, 3:06 pm, petter petter.gus...@gmail.com wrote: Most of the DataBaseHelper examples I've seen only have a single table (e.g.http://www.vogella.de/articles/AndroidSQLite/article.html). Are there any guidelines for making DataBaseHelpers where the database have multiple tables? The

[android-developers] Re: How to know MIME TYPE from RTSP/RTP link?

2011-03-29 Thread JC
Any update please? On Mar 28, 11:05 am, JC jay.chadderw...@gmail.com wrote: Hello All, Is it possible to know/detect that RTP/RTSP link is streaming audio link or streaming video link? Please post some of working examples of RTP/RTSP links !! In anroid 2.3.3(level 10

[android-developers] How to know MIME TYPE from RTSP/RTP link?

2011-03-28 Thread JC
/2.2 Thanks, JC -- 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

[android-developers] Re: Task killer kills my application but android restarts my service, which i dont want

2011-02-09 Thread JC
just need to handle this case correctly, as it will happen even without a task killer I don't know what you are actually trying to do in order to say what handle correctly means. On Mon, Feb 7, 2011 at 8:09 PM, JC jay.chadderw...@gmail.com wrote: Thanks Hackbon, I am running on 2.2

[android-developers] Task killer kills my application but android restarts my service, which i dont want

2011-02-07 Thread JC
Hello All, I have service running in background and notification is shown in GUI. When i do force close from application=manage application, my service, application and icon in notification bar goes off. But when i kill my application via TaskKiller application, my service stopped and then

[android-developers] Re: Task killer kills my application but android restarts my service, which i dont want

2011-02-07 Thread JC
hack...@android.com wrote: Yes if another process is bound, the service will be restarted. As of 2.2 a task killer simply can't do what you are asking.  The force stop button in Manage Applications will do this. On Mon, Feb 7, 2011 at 2:00 AM, JC jay.chadderw...@gmail.com wrote: Hello All

[android-developers] Re: Android:: Service::OnDestroy being called late..

2010-12-22 Thread JC
Thanks again Mark. I am exploring all 3 option one by one by searching examples on google. I will update here on status. Thanks JC On Dec 22, 1:00 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Dec 22, 2010 at 2:13 AM, JC j...@oriolesoftware.com wrote: thanks mark, I am starting

[android-developers] Re: Android:: Service::OnDestroy being called late..

2010-12-21 Thread JC
(Message msg) { // handling message from thread } } Thanks in advance. JC On Dec 21, 2:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Dec 21, 2010 at 1:00 AM, JC j...@oriolesoftware.com wrote: Yes i realize that too. that Service::OnCreate and OnDestroy is called after Activity

[android-developers] Re: Android:: Service::OnDestroy being called late..

2010-12-20 Thread JC
, 2010 at 1:15 AM, JC j...@oriolesoftware.com wrote: Hello all, I have service with thread, From activity I am calling start service(from Activity::onDestroy()) and stop service (activity::onCreate()). StopService() returned instantly but my Service::OnDestroy called after so many time

[android-developers] Android:: Service::OnDestroy being called late..

2010-12-19 Thread JC
Hello all, I have service with thread, From activity I am calling start service(from Activity::onDestroy()) and stop service (activity::onCreate()). StopService() returned instantly but my Service::OnDestroy called after so many time, pretty late, Why? How to make Service::OnDestroy called

[android-developers] Re: Need your help to clarify CTS 2.2_r3 failure test case issues on Froyo.

2010-12-07 Thread JC
Any idea? I really need your help to clarify this issue. Thanks in advance~~ On Nov 26, 5:30 pm, JC jc...@pegatroncorp.com wrote: Hi all, I'm run defaultCTStest plan on emulator and my device but it always gets failure on those two test cases of CtsTextTestCases test package: (1

[android-developers] Need your help to clarify CTS 2.2_r3 failure test case issues on Froyo.

2010-11-29 Thread JC
. But it could be passed sometimes. The same situation could be found on second test case. JC -- 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

[android-developers] Having too many errors when compiling applications

2010-11-22 Thread JC Dev
OS: WIN7 Tools: Eclipse IDE for Java Developers (Version: Helios Service Release 1) Environment: I followed every single step on the official developer website. I had no problem when playing with the first tutorial Hello Android. In the second tutorial, it tells some Views I can use in Android,

[android-developers] Want sound outside android application

2010-09-24 Thread JC
bring it back to visible if icon is clicked from menu. 2. Services.. Please guide me to example how to use service to achieve this!! Is there any other options? Thanks in advance, JC -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Simple Context Menus

2010-09-24 Thread JC
hello rb, You also need to override following method along with onCreateOptionsMenu(). @Override public boolean onOptionsItemSelected(MenuItem item) { } HTH JC On Sep 24, 3:42 pm, Brion Emde brione2...@gmail.com wrote: You should look at the Context menu examples in this article:http

[android-developers] Need help developing an app

2009-11-18 Thread jc
I'm looking to have an app developed for my business. How would I go about doing this? -- 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,

[android-developers] Is a five-way navigation key a mandatory requirement?

2009-06-24 Thread JC
Dear sir, I learnt that there is a recommended minimum device requirements for Android device, however if I want to develop a device without five-way navigation key, is this allowed? BR, JC --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Is five-way navigation key a mandatory requirement?

2009-06-24 Thread JC
Dear sir, I learnt that there is a recommended minimum device requirements for Android device, however if I want to develop a device without five-way navigation key, is this allowed? BR, JC --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Is a five-way navigation key a mandatory requirement?

2009-06-24 Thread JC
Dear sir, Any potential risk or problem may have if I remove five-navigation key? My understanding is some games might need five-navigation key, what else applications may be affected? thanks. BR, JC David Turner wrote: On Wed, Jun 24, 2009 at 5:57 AM, JC jameschen...@gmail.com wrote

[android-developers] Re: Is a five-way navigation key a mandatory requirement?

2009-06-24 Thread JC
Dear sir, Actually I meant if there is no five-navigation key or trackball, only reserve 5 app keys, any potential risk or problem may have? thank you for answering. BR, JC Delta Foxtrot wrote: 2009/6/25 JC jameschen...@gmail.com Dear sir, Any potential risk or problem may have if I

[android-developers] Animating ListView through api

2009-06-08 Thread jc
Hi, Is there an easy way to make the call 'setSelectionFromTop' of ListView animated? I basically want to simulate a fling up to a desired selection and position. Any tips? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] how to change google login service

2009-02-16 Thread jc
my G1 is firmware 1.1. i cannot find dev tools, which is supposed to allow users to change the basic setting of login id password. i'm wondering how to change them for gmail, calendar and contact in default data sync. thanks. --~--~-~--~~~---~--~~ You received