[android-developers] Re: How to intercept SMS without loading SMS to UI?

2009-03-13 Thread Kenny
I didn't know how to get it on top of SDK. Any activity can override BroadcastReceiver::onReceive() or IntentReceiver::onReceiveIntent() to know incoming SMS. I didn't know how to stop Mms activity getting the SMS_RECEIVE intent. Any idea if we use internal JAVA API (not in SDK though)? Kenny

[android-developers] Re: Keystores

2009-03-16 Thread Kenny
Not helping you, but I wonder what keystore is for? where to get some docs? thank you very much, Kenny On Mar 14, 5:18 am, linkmaster_6 linkmast...@gmail.com wrote: Hello yes i have forgotten the password to my keystore and was wondring if there was anyway to retrieve

[android-developers] Re: How to know SMS and Contacts update?

2009-03-16 Thread Kenny
to ContentObserver::onChange(). Then I will query database to see if SMS/Contacts were just added/updated. If this is doable, really wish to get some sample code. Kenny On Mar 15, 12:09 pm, Kenny Yu yxw...@gmail.com wrote: Where SMS/Contacts are added/updated/deleted, how can I write an App- Service

[android-developers] Re: How to add SMS to inbox in android programmatically?

2009-03-16 Thread Kenny
Did you ever try to open SMS database to insert the sent SMS record? You should use message provider to insert a database record. But I am not sure how to let SMS inbox UI notified. Need to study. Kenny On Mar 13, 5:09 pm, senthil senthil...@gmail.com wrote: HI, Iam sending the sms by using

[android-developers] Re: Contact change broadcast

2009-03-16 Thread Kenny
I'm looking for a way to know the contact update. android.database.ContentObserver may be feasible. But I don't know the exact implementation yet. Need to find sample code. You? Kenny On Mar 16, 5:59 am, LambergaR martin.s...@gmail.com wrote: No idea how to solve those two problems? On 11

[android-developers] Re: Intercepting outgoing sms

2009-03-16 Thread Kenny
Sms should have provider, through which you may put your SMS to database, I think. But the topic was about intercepting/redirecting being-sent SMS. Is it resolved? On Mar 16, 12:52 pm, Seer gilligan.ch...@gmail.com wrote: ok i have written an app for sending the sms over the web but how do i

[android-developers] Re: Scheduling a repeating task and being notified

2009-03-16 Thread Kenny
Besides sendBroadcast( ), how about sentIntent( )? Are your service and receiver in the same Dalvik JVM process? Kenny On Mar 16, 6:16 pm, BoD bodl...@gmail.com wrote: Replying myself, for future reference. For the scheduling part I used AlarmManager and a Service as mentioned before

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Kenny
... Is this PendingIntentsendIntent interceptable? Not sure if the PendingIntent has extra data of SMS contents. Seer, let me know your insight. Kenny On Mar 17, 12:54 pm, Seer gilligan.ch...@gmail.com wrote: So if that is not the way you are meant to services such as alternate SMS gateways, what is?  Using

[android-developers] Re: Intercepting outgoing sms

2009-03-17 Thread Kenny
I think check database seems not feasible. Seer, I posted a rely to you about SMSDispatcher class. Take a look, there may be certain intent sent there. Kenny On Mar 16, 9:44 pm, Kenny yxw...@gmail.com wrote: Sms should have provider, through which you may put your SMS to database, I think

[android-developers] Re: How to add SMS to inbox in android programmatically?

2009-03-17 Thread Kenny
Thanks for your update. So you exactly have done two things: 1. Call SmsManager::sendTextMessage( ) 2. Put the sent SMS to its database via ContentResolver::insert( ) Kenny On Mar 17, 6:42 am, Seer gilligan.ch...@gmail.com wrote: i have been trying to do the same thing and just worked it out

[android-developers] Re: Scheduling a repeating task and being notified

2009-03-18 Thread Kenny
understanding. Feel free to correct me please. Kenny On Mar 17, 1:00 am, BoD bodl...@gmail.com wrote: They are in the same application. The Service is started by the AlarmManager, so I'm not sure about what you mean by the same 'Dalvik process'. I'm also not sure of what you mean by sent(d?)Intent

[android-developers] Re: Creating Android.Jar File

2009-03-19 Thread Kenny
from device directory, make sdk will generate android.jar to ./out/ host/linux-x86/sdk/android-sdk_eng.user_linux-x86/... Kenny On Mar 18, 9:55 pm, Rajendrakumar C rajendran.b...@gmail.com wrote: Hi all, I downloaded the android source code.. Can any one tell me how to make our own jar

[android-developers] Re: Understand Broadcast and Intent with Dalvik process

2009-03-19 Thread Kenny
... If android.process.acore gets an intent broadcast or PendingInent::send (), can com.android.phone get the intent? Note they are in two Linux processes with PID 80 and 83. Kenny On Mar 17, 10:06 pm, Kenny Yu yxw...@gmail.com wrote: Does anyone know if sendBroadcast(intentA) will bring intents to all Dalvik processes

[android-developers] Re: Scheduling a repeating task and being notified

2009-03-20 Thread Kenny
Where to find RemoteCallbackList sample code? On Mar 19, 10:03 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I did something similar, however, i did not use a BroadcastReceiver to get callbacks back from the service. Instead i used the RemoteCallbackList class:  

[android-developers] Re: Deleting Incoming SMS???

2009-03-20 Thread Kenny
I was looking for the solution too. It seems impossible to intercept TEXT SMS. It will go to Inbox definitely. Kenny On Mar 20, 10:30 pm, Gulfam gulfa...@gmail.com wrote: My problem is same as MattBruce said. On Mar 20, 7:28 pm, Gulfam gulfa...@gmail.com wrote: Hi all, I am also facing

[android-developers] Re: Creating Android.Jar File

2009-03-20 Thread Kenny
http://groups.google.com/group/android-developers/browse_thread/thread/0f9c17b789e2e602# may be your question answered. But I suggest to put the class file to the android.jar with JAR tool manually. I feel it feasible, haven't tried. Kenny On Mar 20, 7:42 pm, AndRaj rajendran.b...@gmail.com

[android-developers] Re: Capturing HEADSET_PLUG (android.intent.action.HEADSET_PLUG)

2009-04-22 Thread Kenny
This code is good. But can I put it to AndroidManifest.xml? In case the receiver has not run, I think AndroidManifest.xml is the way to register the receiver class. Thanks, Kenny On Apr 2, 10:19 pm, Henning Schaefer henning.schae...@gmail.com wrote: Sure... you need to implement two classes

[android-developers] API to change network settings (2G networks only)

2009-01-30 Thread Kenny
, Kenny --~--~-~--~~~---~--~~ 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

[android-developers] App launch broadcast message

2009-02-23 Thread Kenny
Is there a message for the broadcast receiver about when an app is being launched? if not is there a way to intercept it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: ADC2 First Round Complete?

2009-10-18 Thread Kenny
Um... still no news eh. How many of you want to bet that the finalists are already contacted and we are in the Summer of Slience equivalence of ADC1? On Oct 7, 12:13 pm, Lance Nanek lna...@gmail.com wrote: I recall an email sent during the first challenge where winners of the first round were

[android-developers] New TypeName for NetworkInfo

2010-02-03 Thread Kenny
Has anyone notice that Android 2.1 (or may be even earlier) has additional Network Type? Namely: ConnectivityManager.MOBILE_MMS 2 ConnectivityManager.MOBILE_SUPL 3 ConnectivityManager.MOBILE_DUN 4 ConnectivityManager.MOBILE_HIPRI 5 In addition to the original types in the document. MOBILE 0

[android-developers] Re: sharing database across applications

2009-08-16 Thread Kenny
How to make a custom content provider? Can you give me an example? Now I am trying to extend ContactsProvider, because it can't give me the approach to the last modified contact record. So I wonder if I can create a custom contact provider. Or anyone knows how to find out the last modified

[android-developers] Re: How to override ContactsProvider like GoogleContactsProvider

2009-08-28 Thread Kenny
Reason? It sounds like very limited room for 3rd party developers to do something. On Aug 22, 12:56 am, Dianne Hackborn hack...@android.com wrote: Sorry, you can't do this. On Thu, Aug 20, 2009 at 11:14 PM, Kenny Yu yxw...@gmail.com wrote: To develop an APK, I want to modify or expand

[android-developers] Canvas.drawArc

2008-03-26 Thread Kenny
Hi, Has anyone successfully use the drawArc function? or is that part of the SDK not ready yet? Kenny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: startSearch

2008-04-07 Thread Kenny
Just for clarity... this page may help. http://code.google.com/android/reference/android/app/SearchManager.html Kenny On Mar 30, 2:51 pm, ScottG [EMAIL PROTECTED] wrote: To answer my own question, put the following in the AndroidManifest description of the main activity

[android-developers] More than one searchable per activity

2008-04-07 Thread Kenny
, but only the last defined tag showed up in the search bar. Kenny --~--~-~--~~~---~--~~ 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

[android-developers] How to add new javascript function to webit in android

2009-07-20 Thread kenny
I'd like to add new javascript function to webkit in android, What do you think I should do? Is there a kind of interface like xpcom in gecko? If we use gecko based browser (like firefox), we can write some xpcom component to extent browser's javascript function. I've found some example in

[android-developers] Re: developer needed to write a theme application

2008-12-09 Thread Kenny Yu
I've been working on Motorola MING's and V8 Skinning, studying Android. Let me know your expectation and requirements. Kenny On Dec 9, 3:07 am, androidinsider [EMAIL PROTECTED] wrote: Greetings, Android Insider is looking for a developer to create a theme application that switches between

[android-developers] No way to see real Debug and Test Settings on the Device

2008-12-11 Thread Kenny Yu
http://code.google.com/intl/en/android/intro/develop-and-debug.html#additionaldebugging I can't find the exact this section within emulator, DDMS+Eclipse menus and even ADB. No entry! Can anyone give a favor to tell me howt to set Goldfish emulator like the above URL?

[android-developers] Re: Where could I get an ADT 0.9.0?

2008-12-27 Thread Kenny Yu
I built cupcake, which has been merged to master HEAD. The ADT is quite OK. Can you share more info? Kenny On Dec 26, 11:35 am, yukinoba ckmagic...@gmail.com wrote: To dear all, Does anyone have the cupcake? The SDK in there is not applicable to the ADT plugin (Android Development Tools

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Kenny Yu
On Dec 30, 4:05 am, Wah mobic...@gmail.com wrote: I followed the instruction here to download Android SDK android-sdk- linux_x86-1.0_r2http://code.google.com/android/download.html I also followed the instruction here to download the latest source code

[android-developers] Re: jdb attach error

2008-12-30 Thread Kenny Yu
It seems certain JAR file was not seen in your classpath? Eclipse+ADT does this very well. Did you try it? Kenny On Dec 29, 1:40 pm, firstbread xue...@leadcoretech.com wrote: Hi all I got a problem when I try to debug Android with jdb. The following is my steps 1、use am -e debug true

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Kenny Yu
On Dec 30, 4:05 am, Wah mobic...@gmail.com wrote: I followed the instruction here to download Android SDK android-sdk- linux_x86-1.0_r2http://code.google.com/android/download.html I also followed the instruction here to download the latest source code

[android-developers] Re: How to write code to uninstall apk from device/emulator?

2009-01-04 Thread Kenny Yu
Simply put the cmd to Java function: system(adb uninstall apt_name); I mean your code should invoke the commands exactly as 'adb' does. Kenny On Jan 3, 8:52 am, Dr. Tingrong Lu lutingr...@hotmail.com wrote: Hi, How to write code to uninstall apk from device/emulator? Could anyone drop

[android-developers] How to intercept SMS without loading SMS to UI?

2009-03-11 Thread Kenny Yu
as it doesn't exist. No notification, no update to Inbox UI. 4. Power cycle the Android phone, the SMS is not seen at Notification or message Inbox Can any one help with the solution? Or which API shall we look into? Kenny --~--~-~--~~~---~--~~ You received this message

[android-developers] How to know SMS and Contacts update?

2009-03-14 Thread Kenny Yu
Where SMS/Contacts are added/updated/deleted, how can I write an App- Service to know the contents change? The changes are possibly caused by App activities or SYNC activity, or any else. Any content observer or intents I should look into? Welcome your design suggestion. Kenny

[android-developers] Understand Broadcast and Intent with Dalvik process

2009-03-17 Thread Kenny Yu
Dalvik VMs (Linux processes). Same question to sendIntent(intentB). In terms of docs, sendIntent( ) can address certain class to receive the intent. Is this behavior across processes? Kenny --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] How to override ContactsProvider like GoogleContactsProvider

2009-08-21 Thread Kenny Yu
/browse_thread/thread/e149bc0212b52f8a/83f2f6070b57c69f#83f2f6070b57c69f was the idea. Just curious how to make a customized provider for Android ContactsProvider. Kenny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Calendar Weekly View - Android 1.6 and 2.0

2010-01-07 Thread Kenny Hayes
Noticed that Android 2.0 allows you to see the text in the Calendar's Event's Name in the WEEKLY View. Is it possible in 1.6 as well? Currently just a colored block and no text. Have to actually click each event one by one to bring up the Event's Name. But would like to see the entire week and

RE: [android-developers] How does Android determine whether to move the layout up when showing the softkeyboard?

2010-09-07 Thread Kenny Chaffin
I'm brand new at this, but was just reading about this in The Busy Coders Guide... You can force Pan or Resize in you layout activity using: activity android:name=.IMEDemo2 android:label=@string/app_name android:windowSoftInputMode=adjustResize or I presume adjustPan Kenny A. Chaffin KAC

[android-developers] How to deal with the SQLite resource that is too large?

2010-12-06 Thread Kenny Chang
My project has 3 SQLite database files, and each of them is larger than 2M. You know, the limit is beyond 1M in apk file. So how to make my database files setup when the apk is installing? And I don't want the way of downloading the database file by network. -- You received this message because

[android-developers] How to destroy an activity immediately?

2010-12-10 Thread Kenny Chang
I try to call finish() in an activity in order to destroy the activity to free resources. But the Logcat shows it doesn't work immediately to call onDestroy instead of calling onPause and after a few seconds onDestroy is called. What I want is destory and finish the activity just after I call

[android-developers] Re: How to destroy an activity immediately?

2010-12-11 Thread Kenny Chang
, Kenny Chang eric-...@163.com wrote: I try to call finish() in an activity in order to destroy the activity to free resources. But the Logcat shows it doesn't work immediately to call onDestroy instead of calling onPause and after a few seconds onDestroy is called. What I want

[android-developers] Re: How to destroy an activity immediately?

2010-12-13 Thread Kenny Chang
and that includes destroying any activities (your first one), still hanging around.  So I don't think you need to worry about this stuff at all. On Dec 11, 8:13 pm, Kenny Chang eric-...@163.com wrote: The first activity is the welcome activity, which lets users choose a choice to start a new

[android-developers] Re: How to destroy an activity immediately?

2010-12-13 Thread Kenny Chang
you need to worry about this stuff at all. On Dec 11, 8:13 pm, Kenny Chang eric-...@163.com wrote: The first activity is the welcome activity, which lets users choose a choice to start a new activity. If the second activity go straight to onDestroy, the heap resources that the second

[android-developers] How to imitate multi-touch by emulator

2011-01-04 Thread Kenny Chang
I want to test my multi-touch program, but I don't know how to do. -- 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] Can not decode high resolution picture

2011-01-04 Thread Kenny Chang
How to open a high resolution png picture, the picture is 4000x3000,but it crashed when it was decoded. -- 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

[android-developers] Unable to open sync connection

2010-10-25 Thread Kenny Chang
The console shows [2010-10-24 16:37:10 - ChinaSubway] -- [2010-10-24 16:37:10 - ChinaSubway] Android Launch! [2010-10-24 16:37:10 - ChinaSubway] adb is running normally. [2010-10-24 16:37:11 - ChinaSubway] Performing com.com2us.Activity.SubwayMapActivity activity launch

[android-developers] Re: Global Variables

2011-03-09 Thread Kenny Riddile
On 3/9/2011 3:41 PM, David Williams wrote: All, What is the best way of going about setting up global variables? There will be like 5-6 global variables that I would like to set when my app is launched that are then available for any code anywhere in my app. I did something similar to this

[android-developers] Re: Global Variables

2011-03-09 Thread Kenny Riddile
On 3/9/2011 4:26 PM, TreKing wrote: On Wed, Mar 9, 2011 at 3:15 PM, David Williams dwilli...@dtw-consulting.com mailto:dwilli...@dtw-consulting.com wrote: That said, why avoid them like the plague? Global variables are one of those things, like Singletons, that on the surface seem to make

[android-developers] Re: Global Variables

2011-03-10 Thread Kenny Riddile
On 3/9/2011 7:35 PM, TreKing wrote: On Wed, Mar 9, 2011 at 4:30 PM, Kenny Riddile kfridd...@gmail.com mailto:kfridd...@gmail.com wrote: Assuming the singleton is modifiable via its interface, then for all intents and purposes, yes, they are. Again, no. Singleton is a design pattern

[android-developers] Re: Global Variables

2011-03-10 Thread Kenny Riddile
On 3/10/2011 10:41 AM, TreKing wrote: Hmm, perhaps this is semantics at this point. I don't think a singleton is a global, as it's usually a private member that is statically accessible. However, there is global access, of course. If it's a single piece of state that's accessible globally,

[android-developers] Re: Scope of Singletons

2011-03-23 Thread Kenny Riddile
On 3/23/2011 12:37 PM, Jake Colman wrote: I use the following standard paradigm for singletons: private static MyClass instance = null; public static MyClass getInstance() { if( instance = null ) instance = new MyClass(); return instance; } If my application gets killed by

[android-developers] Re: Spinner with added Text

2011-04-18 Thread Kenny Riddile
On 4/18/2011 1:13 PM, Kumar Bibek wrote: You cant do that with a spinner. Are you so sure? I believe spinners can be populated both manually and from a database. Just google android dynamic spinner content. Here's one:

[android-developers] How to install procrank on a Android Phone which hasn't it?

2011-10-19 Thread Kenny Xiong
I have my device updated to a ROM which don't have procrank. Can I install it myself? In another device, when I type adb shell procrank, it says permission denied. And I can't find procrank in /system/xbin or / system/extras. Where is it? I can't use linux command like which or find. I really need

[android-developers] Re: how to send a pdf file from android to wifi printer programatically?

2011-11-30 Thread Kenny Riddile
On 11/30/2011 4:38 AM, Hrishi wrote: Please bare if is repeated question... I am able to connect to wifi device (printer). Now i want to print a pdf file programatically using wifi connection. can someone tell me how to do it because i am not getting any way to do it. I am able to print text

[android-developers] Re: Finishing Activities

2011-06-28 Thread Kenny Riddile
On 6/28/2011 12:03 PM, Diogo Salaberri wrote: Hi.. I have a problem, whe I start my aplication the launcher activity is called HOME, and that HOME automatically call other activity called LOGIN. Now, I have to finish this aplication when I click on default back button overwriting onKeyDown. The

[android-developers] Re: word wrapping

2011-09-13 Thread Kenny Riddile
On 9/13/2011 4:22 PM, bob wrote: Is there a way to make Eclipse do word wrapping? Do you all use word wrapping or no? You mean word wrapping your source code? I've never seen anyone want to or do that ever in my entire development career. -- You received this message because you are

[android-developers] Re: word wrapping

2011-09-13 Thread Kenny Riddile
it.) -- Tor On Tue, Sep 13, 2011 at 1:28 PM, Kenny Riddilekfridd...@gmail.com wrote: On 9/13/2011 4:22 PM, bob wrote: Is there a way to make Eclipse do word wrapping? Do you all use word wrapping or no? You mean word wrapping your source code? I've never seen anyone want to or do that ever in my

[android-developers] Re: retrieve resource string from plain class

2011-09-14 Thread Kenny Riddile
On 9/14/2011 3:41 PM, John Goche wrote: Hello, I would like to retrieve the value of a resource string from a plain class that does not have a Context superclass. Is this possible? I see the API: http://developer.android.com/guide/topics/resources/string-resource.html which do not list

[android-developers] License Check fails for 5-10% of legit users

2011-09-19 Thread Kenny Wyland
using a ServerManagedPolicy, I'm essentially using the example code from the dev website. Does anyone have an example of a policy which handles some local caching and such? Kenny -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Kenny Wyland
but it wouldn't refund any of the money. So, that sucks. How can I run test purchases with my real skus without getting constantly charged on my credit card? Kenny -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Kenny Wyland
If you cancel the card is not charged at all. You can only refund after it has been charged. Charging takes at least a couple of hours, so if you cancel before that there is no credit card transaction. The only problem is that if you do this too often, your test account may be

Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Kenny Wyland
It's the same for both. While the 'Charge' dot in Checkout is gray, the credit card has not been charged and you can cancel. Once it turns green, it has been charged and you have to refund. When I was making the purchase as the user, it explicitly told me that I would not have an