[android-developers] Re: what is wrong with AppWidgetManager.getAppWidgetIds()?

2010-10-20 Thread Jerome Deng
in the manifest. If it doesn't, you'll get an empty list > (ids.length = 0, the loop won't execute). > > Not sure what you mean by "which widget coming". > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com > > 21.09.2010 11:56 пользователь "J

[android-developers] Re: Apps running cuncurrently

2010-09-21 Thread Jerome Deng
If there is less memory available, the resource used by the paused apps will be recycled by Davilk VM. When you open the first app again, it will be relaunched. But not all previously opened apps must restarted, as they may be still in paused state. On Sep 21, 2:10 pm, parag wrote: > hi folks, >

[android-developers] Re: How to set permission in content providers

2010-09-21 Thread Jerome Deng
Try to add below lines to your app2's manifest file: On Sep 21, 2:57 pm, Sohan badaya wrote: > Hi All, > > I have a doubt regarding content provider.My doubt is > I create a app1 that creates ContentProvider and in second > application(app2) i am using app1's contentprovider methods(lik

[android-developers] what is wrong with AppWidgetManager.getAppWidgetIds()?

2010-09-21 Thread Jerome Deng
Hi guys, I have searched many topics about AppWidgetManager.getAppWidgetIds(). But I don't get any compellent answers. In my code, I first get all widget ids by AppWidgetManager.getAppWidgetIds(provider), and then do a for loop as below: for (int id : ids) {...} However, I see the for loop never ex

[android-developers] Re: Why Monkey was stopped by "Error: RemoteException while injecting event." ?

2010-07-04 Thread Jerome Deng
> in Monkey logs. > You need to handle that exception in your code to resolve the error. > > Android Programmer. > > On Jun 28, 9:20 pm, Jerome Deng wrote: > > > I see every time when monkey stopped, the log file contains such info > > "System appears to

[android-developers] Re: Why Monkey was stopped by "Error: RemoteException while injecting event." ?

2010-06-28 Thread Jerome Deng
is is usually because the system process has > crashed. > > > > > > > > On Mon, Jun 28, 2010 at 7:31 PM, Jerome Deng wrote: > > Hi buddies, > > I am doing monkey test for my APP, and I meet RemoteException many > > times. I don't know why remote-invo

[android-developers] Why Monkey was stopped by "Error: RemoteException while injecting event." ?

2010-06-28 Thread Jerome Deng
Hi buddies, I am doing monkey test for my APP, and I meet RemoteException many times. I don't know why remote-invocation errors occurs. Has anyone experienced such exception? Monkey Log snippet: :Sending Pointer ACTION_MOVE x=-1.0 y=-3.0 :Sending Pointer ACTION_DOWN x=322.0 y=77.0 :Sending Pointer

[android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-11 Thread Jerome Deng
is adopted. On 3月11日, 下午12时27分, Dmitri Plotnikov wrote: > There is basic API documentation > here:http://developer.android.com/reference/android/provider/ContactsContr... > > 2010/3/10 Jerome Deng > ^_^Oh, fail to connect to > android developer site in China if don't use &

[android-developers] Re: Looking to becoming a developer part time

2010-03-10 Thread Jerome Deng
SDK is the best assistant. On 3月10日, 上午3时36分, TreKing wrote: > On Mon, Mar 8, 2010 at 1:12 PM, omnilaw wrote: > > I plan on spending a little time a night trying > > to learn the programming needed and get familiar with the SDK once I'm > > up to speed but wasn't sure where to start. > > Do you

[android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-10 Thread Jerome Deng
^_^Oh, fail to connect to android developer site in China if don't use proxy. Thanks brain. You are right, there is no document about this. Any one can help interpret with details? On 3月9日, 上午8时29分, brian wrote: > +1 - the documentation in this area needs some work. To do the > simplest thing

[android-developers] what is the detailed relation between contacts and raw_contacts?

2010-03-08 Thread Jerome Deng
Hi, Any one can help interpret the relation between the table "contacts" and "raw_contacts"?Is it one-to-one or one-to-many relation?I am puzzled because the SDK seems indicate it is one-to-many relation but after I checkout all data from the database table,I found it is one-to-one relation. And i