Re: SDK
In eclipse u can fidn some widget list when th res/layout/main.xml of the project is opened.. in layout mode. Look for drawdroid tutorials in google which will help us understand the xml of android.. I did it this way and hope will help u too. 2009/5/14 kuladeephariku...@gmail.com kuladeephariku...@gmail.com Hi, I amm new to this group. I was going through the source code of the Android SDK.I just wanted to know whether we can get any information or documentation about the XML UI? I mean to say How android is manipulating XML data UI Widgets and communicationbetween the varioous classes. Thanks in advance, Kuladeep -- Cheers (: Naveen Krishna Ch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Communication between 2 services
2009/5/7 tek tek.bas...@gmail.com I just did this same thing, reason being is the main service holds just a little bit of info (list of strings) while the various other services house the controllers for the various UI components. This is very easy to accomplish, simply do as you would normally do with activity - service communication. Connect your Activity to the 2nd layer service, then connect that 2nd layer to the final background service. Seems to work just fine. The Service class has bindService and unbindService methods, simply utilize those. Hope this helps! Hi tek, I could acomplish the same thing 3 days back. i started the core service with boot completed, and the 2nd service is triggered with an activity. This was working. Thanks Tek.. On Apr 22, 5:33 am, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Hi Dianne, thanks for your quick reply, 2009/4/22 Dianne Hackborn hack...@android.com Since this is just about using the normal SDK APIs, as far as I can tell, you should ask on android-developers. Also there are a number of examples in ApiDemos of this kind of thing, in particular the remote service examples. I have gone through the Service related things in ApiDemos. But, haven't come across something like Activity - Service - Service - Stub. Every thing is a Activity - Service - stub concept. However, i will try in developers community also. On Tue, Apr 21, 2009 at 10:06 PM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Hi guys, I am working on an application stack which requires some sort of communication between 2 services. Now the frame work supports Activity binding to Service. Activity - Service - ServiceStub(generated by AIDL) Is there any work to support Activity binding to service this instead bind to another service. Activity - Service - coreService - ServiceStub(generated by AIDL) Any help is appreciated, -- Cheers (: Naveen Krishna Ch :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Cheers (: Naveen Krishna Ch :) -- Cheers (: Naveen Krishna Ch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Communication between 2 services
Hi Dianne, thanks for your quick reply, 2009/4/22 Dianne Hackborn hack...@android.com Since this is just about using the normal SDK APIs, as far as I can tell, you should ask on android-developers. Also there are a number of examples in ApiDemos of this kind of thing, in particular the remote service examples. I have gone through the Service related things in ApiDemos. But, haven't come across something like Activity - Service - Service - Stub. Every thing is a Activity - Service - stub concept. However, i will try in developers community also. On Tue, Apr 21, 2009 at 10:06 PM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Hi guys, I am working on an application stack which requires some sort of communication between 2 services. Now the frame work supports Activity binding to Service. Activity - Service - ServiceStub(generated by AIDL) Is there any work to support Activity binding to service this instead bind to another service. Activity - Service - coreService - ServiceStub(generated by AIDL) Any help is appreciated, -- Cheers (: Naveen Krishna Ch :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Cheers (: Naveen Krishna Ch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Issues while loading native .so files from JNI
Hi APT/MMF, I have a similar need and i could make it work. abc.so and jni.so in my case. during the android build of jni.so i gave the abc.so as depended shared libray in the Android.mk of jni. And in Java application i loaded the jni.so and it is working. I wish this would help u too 2009/4/22 MMF android...@gmail.com Hi All, I am facing a problem while loading .so libs from my App. Here is the story: I have two native libs say *abc.so* and *xyz.so*. I have written a JNI component (say *jni.so*) which is calling APIs from abc.so and xyz.so. Now from the application (Java) when I do system.loadlibrary(jni.so) I get an error as cannot find library. But when I remove the dependencies of abc.so and xyz.so from jni.so (say I just have some dummy functions in my jni.so) and try to load jni.so from App, it works fine. Can someone please let me know what could be problem? Thanks APT -- Cheers (: Naveen Krishna Ch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Issues while loading native .so files from JNI
2009/4/22 MMF android...@gmail.com Hi Naveen, Thanks for the reply. I have already mentioned both abc.so and xyz.so as dependencies libs for jni.so. I suppose without mentioning this my jni.so itself would not get generated. But still I get the mentioned error. I think there something more to it than just mentioning the dependencies. Then i guess that missing thing is pushing the jni.so lib to emulator with adb push .. Are u using the Eclipse + Android SDk or u also have the Android Sources Thanks APT On Wed, Apr 22, 2009 at 5:45 PM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Hi APT/MMF, I have a similar need and i could make it work. abc.so and jni.so in my case. during the android build of jni.so i gave the abc.so as depended shared libray in the Android.mk of jni. And in Java application i loaded the jni.so and it is working. I wish this would help u too 2009/4/22 MMF android...@gmail.com Hi All, I am facing a problem while loading .so libs from my App. Here is the story: I have two native libs say *abc.so* and *xyz.so*. I have written a JNI component (say *jni.so*) which is calling APIs from abc.so and xyz.so. Now from the application (Java) when I do system.loadlibrary(jni.so) I get an error as cannot find library. But when I remove the dependencies of abc.so and xyz.so from jni.so (say I just have some dummy functions in my jni.so) and try to load jni.so from App, it works fine. Can someone please let me know what could be problem? Thanks APT -- Cheers (: Naveen Krishna Ch :) -- Cheers (: Naveen Krishna Ch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Unable to run develop Android with Eclipse
i think u might have to link the eclipse with android sdk u can do tht by going to help- software updates- under add site add the local archive browse to point it to ur adt unzipped then right click install and restart ur eclipse now u might get ur preferences thing 2009/4/19 ajk azamjalalk...@gmail.com Hi all, Please bear with me and help me out. I have followed all the steps required to develop Android applications on my Windows..using Eclipse 3.4 (Ganymede). - Installed Java SDK 5.0 - Downloaded Eclipse 3.4 - Downloaded Android SDK 1.1_r1 - Got the ADT plugin for Eclipse by HelpSoftware Update http://dl-ssl.google.com/android/eclipse/ - Restarted Eclipse... **Problem** - Go to Windows Preferences I should see Android in the left panel so I can set the paths. For some reason I do not see thisI dont see Android in the left panel... I have tried everythingbut cant figure it out. Initially, I thought this could be because the Envoirment variables are not set correctly. In these forums its suggested to set the Path variable to point to Android-sdk-windows-1.1_r1/tools. When I do this and try to start Eclipse...it says cannot find java virtual machine so then I have set the path variable as such Path: C:\Windows\System32\;C:\Documents and Settings\Administrator\My Documents\Dev\android-sdk-windows-1.1_r1\tools Still I can't see Android in the Eclipse preferences... please suggest what can be done to fix this...Thank you so much in advance... Thanks, Azam -- Cheers (: Naveen Krishna Ch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---