[android-developers] Writting and AIDL between a service and an applciation.
Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Problem to communicate with a service from an application
Hi, i have some problem to communicate with a service from an Android application. The service is in a first package package com.myService and the application in another on package com.myApplication. My service work and start well but my next step is to add an AIDL interface to external applications. I have tried to follow the recomandation described here : http://developer.android.com/guide/developing/tools/aidl.html, but i have still the following error (given in the log service): W/ActivityManager( 568): Unable to start service Intent { action=com.MyApplication.IBootstrapService }: not found My AIDL defined in both packages is : interface IMyservice { String GetVal1(); String GetVal2(); // Get the status of the public API int getStatus(); } About the AndroidManifest.xml files : From the service : ?xml version=1.0 encoding=utf-8? package=com.Myservice android:versionCode=1 android:versionName=1.0 application android:label=@string/app_name service android:name=.Myservice / receiver android:name=.OnBootReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED / /intent-filter /receiver receiver android:name=.OnWiFiEnableReceiver intent-filter action android:name=android.net.wifi.WIFI_STATE_CHANGED / /intent-filter /receiver /application uses-sdk android:minSdkVersion=3/uses-sdk uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.ACCESS_NETWORK_STATE / uses-permission android:name=android.permission.ACCESS_WIFI_STATE / uses-permission android:name=android.permission.CHANGE_NETWORK_STATE / uses-permission android:name=android.permission.CHANGE_WIFI_STATE / /manifest From the application : ?xml version=1.0 encoding=utf-8? package=com.MyApplication android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/orange android:label=@string/app_name activity android:name=.MyApplication android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity /application uses-sdk android:minSdkVersion=3 / /manifest Why in each example, there is an application AND a service in the same package ? Is is mandatory to do this ? Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Method for flashing a device HTC G1 dev edition
Hi, I have just re-compile the android source code for the HTC G1 developement edition and i am looking for the procedure i can follow in order to reflash my device. Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Before to reflash my device how i can backup/extract the actual firmware image ?
Hi, Before to reflash my device, i wanna know if i can backup/extract the actual firmware image (may i) ? Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Can we download somewhere the firmware of the HTC G1 dev edition
Hi, In order to have a safe working image, i wanna know if there is a place wher i can download the firmware of the current HTC G1 dev edition ? Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how to know if we have a 2G or 3G sim card
Hi, i am looking for the information that can tell me if the sim/usim card inserted accept/support 2G and/or 3G ? I need this information in order to adapt some call to the sim card. If the sim card support only 2G network, an APDU will be call, then if the usim card is 3G another APDU will be called instead. Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : [android-developers] Re: Sharing data between an Android service and an application.
Hi, my service implement a security protocol that contain a certificate. My application (i have written too) I have heard aidl communication that can be used between a service and an application but don't know how to use it too. I need some more information about. Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Christine christine.kar...@gmail.com À : Android Developers android-developers@googlegroups.com Envoyé le : Lundi, 29 Juin 2009, 0h38mn 56s Objet : [android-developers] Re: Sharing data between an Android service and an application. Can you be more specific about the application that your service needs to communicate with? Is it your own application? On Jun 28, 11:11 pm, GAYET Thierry thierry_ga...@yahoo.fr wrote: Hi, in order to share data between one of my own Android service and an application i am looking for the best way to do this. I have seen the shared memory drivers inside the GNU Linux kernel, but no Java api. Maybe the specific Google IPC Blinder cad be used for my need ? What do you think about ? Thank you for giving me web link with sample code. Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : Re : [android-developers] Re: Sharing data between an Android service and an application.
Thanks for those informations. I will see about. I have planned to buy your book this week. Is there a date for printing the two other books from commonsware.com ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Mark Murphy mmur...@commonsware.com À : android-developers@googlegroups.com Envoyé le : Lundi, 29 Juin 2009, 14h00mn 14s Objet : Re: Re : [android-developers] Re: Sharing data between an Android service and an application. GAYET Thierry wrote: Hi, my service implement a security protocol that contain a certificate. My application (i have written too) I have heard aidl communication that can be used between a service and an application but don't know how to use it too. I need some more information about. A fair bit of documentation can be found here: http://developer.android.com/guide/developing/tools/aidl.html The SDK also contains sample code implementing AIDL: ApiDemos/src/com/example/android/apis/app/IRemoteServiceCallback.aidl ApiDemos/src/com/example/android/apis/app/IRemoteService.aidl ApiDemos/src/com/example/android/apis/app/ISecondary.aidl You can also find sample code for remote services from my _Android Programming Tutorials_ book page: http://commonsware.com/AndTutorials/ AIDL is also covered in the following print books: _Beginning Android_ (by yours truly) _Professional Android Application Development_ (by Reto Meier) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : Re : Re : [android-developers] Re: Sharing data between an Android service and an application.
Hi, yes when my application starts, i am getting one data buildin into the service. The data is not very big so i am interested with you solution. Do you have an example of using sharedpreferences to exchange data as you told me ? Furtheremore, what's the best way to manage the security around the data access. In other word i don't want that all apllications can access to the data located in the service. Is there such ACL (access control list) adapt for application, maybe using the AndroidManifest.xml ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Christine christine.kar...@gmail.com À : Android Developers android-developers@googlegroups.com Envoyé le : Lundi, 29 Juin 2009, 14h47mn 15s Objet : Re: Re : Re : [android-developers] Re: Sharing data between an Android service and an application. If you only need to provide some parameters at startup, you can do that in the onbind intent. If you don't need tight coupling between activity and service and the amount of data is very limited, you can use sharedpreferences to exchange data. On Jun 29, 2:38 pm, GAYET Thierry thierry_ga...@yahoo.fr wrote: Thanks for those informations. I will see about. I have planned to buy your book this week. Is there a date for printing the two other books from commonsware.com ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Mark Murphy mmur...@commonsware.com À : android-developers@googlegroups.com Envoyé le : Lundi, 29 Juin 2009, 14h00mn 14s Objet : Re: Re : [android-developers] Re: Sharing data between an Android service and an application. GAYET Thierry wrote: Hi, my service implement a security protocol that contain a certificate. My application (i have written too) I have heard aidl communication that can be used between a service and an application but don't know how to use it too. I need some more information about. A fair bit of documentation can be found here: http://developer.android.com/guide/developing/tools/aidl.html The SDK also contains sample code implementing AIDL: ApiDemos/src/com/example/android/apis/app/IRemoteServiceCallback.aidl ApiDemos/src/com/example/android/apis/app/IRemoteService.aidl ApiDemos/src/com/example/android/apis/app/ISecondary.aidl You can also find sample code for remote services from my _Android Programming Tutorials_ book page: http://commonsware.com/AndTutorials/ AIDL is also covered in the following print books: _Beginning Android_ (by yours truly) _Professional Android Application Development_ (by Reto Meier) -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Sharing data between an Android service and an application.
Hi, in order to share data between one of my own Android service and an application i am looking for the best way to do this. I have seen the shared memory drivers inside the GNU Linux kernel, but no Java api. Maybe the specific Google IPC Blinder cad be used for my need ? What do you think about ? Thank you for giving me web link with sample code. Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Example on shared memory usage
Hi, i need to share one important key information between one service and some application. My first question is about the usage of the shared memory on Android. Is there a way to secure it for only one service and some selected application ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Establishing a TLS tunner from a custom certificate
Hi, I have the certificate provided by a server and i wanna make a TLS tunnel using this custom certificate. IS it possible to have a source code starting (or any API) that i can use for ? I think i have ever seen one question around that topic but didn't find it ... sorry for the spam. Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to catch BOOT_COMPLETED_ACTION from an IntentReceiver
Hi, because i need to start a background deamon not just when an application need to bind with, i have searched a way to auto-start it. One interesting reply was given in this maillist and i wanna more explanation on the way to catch BOOT_COMPLETED_ACTION from an IntentReceiver ? The previous thread that i have found on this maillist was this one: Use an IntentReceiver and catch the BOOT_COMPLETED_ACTION. Then in the IntentReceiver call Context.startService() (but use carefully, only when you really need a background service to run all the time). http://markmail.org/message/7r6afkcusvwe2wfz#query:android%20autostart%20service+page:1+mid:uee3n7yjip6nsmfr+state:results Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Lising of the available AT-commands on an HTC G1 ?
Hi, i am looking for the complete listing of the AT commands available from the HTC G1's baseband ? Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : [android-developers] Re: How to catch BOOT_COMPLETED_ACTION from an IntentReceiver
First thanks for your quick reply. I have well found the code you told me about (OnBootReceiver). I have one more question 'cos i as i have said before i ma programming a service that i want to start when Android boot. My core class extends Service not BroadcastReceiver. So may i extend more than one time. I mean to extends Service and BroadcastReceiver. for the same class ? Maybe i need to add a public class OnBootReceiver extends BroadcastReceiver inside my service project ? But if so how to link this second class with the service one ? Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Mark Murphy mmur...@commonsware.com À : android-developers@googlegroups.com Envoyé le : Mercredi, 24 Juin 2009, 14h08mn 24s Objet : [android-developers] Re: How to catch BOOT_COMPLETED_ACTION from an IntentReceiver GAYET Thierry wrote: Hi, because i need to start a background deamon not just when an application need to bind with, i have searched a way to auto-start it. One interesting reply was given in this maillist and i wanna more explanation on the way to catch BOOT_COMPLETED_ACTION from an IntentReceiver ? The previous thread that i have found on this maillist was this one: Use an IntentReceiver and catch the BOOT_COMPLETED_ACTION. Then in the IntentReceiver call Context.startService() (but use carefully, only when you really need a background *service* to run all the time). http://markmail.org/message/7r6afkcusvwe2wfz#query:android%20autostart%20service+page:1+mid:uee3n7yjip6nsmfr+state:results You'll see this covered as part of: http://androidguys.com/?p=4411 Sample code implementing BroadcastReceivers for BOOT_COMPLETED can be found at: http://commonsware.com/AdvAndroid/ (scroll down, download the Source Code from the link, and look for SysEvents/OnBoot and SysServices/Alarm projects) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 0.9 Available! --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : Re : [android-developers] Re: How to catch BOOT_COMPLETED_ACTION from an IntentReceiver
Okay for your information. I have used class for a this BroadcatReceiver : public class OnBootReceiverextends BroadcastReceiver { private static final String TAG=BootstrapService; private BootstrapService mBootstrapService; @Override public void onReceive(Context context, Intent intent) { Log.d(TAG,onReceive() ---ENTER---); Log.d(TAG,Intent ACTION: +intent.getAction()); Log.d(TAG,Intent CATEGORIES ...); SetString catSet=intent.getCategories(); IteratorString it=catSet.iterator(); while (it.hasNext()) { Log.d(TAG, +it.next()); } // WHILE Log.d(TAG,Done.); // This is broadcast once, after the system has finished booting. if ( intent.getAction() == intent.ACTION_BOOT_COMPLETED ) { mBootstrapService.AutostartService(); } // IF Log.d(TAG,onReceive() ---EXIT-); } // onReceive } // OnBootReceiver And beside my second class that is launched by the previous one : import android.app.Service; //Need the following import to get access to the app resources, since this //class is in a sub-package. import com.OrangeLabs.BootstrapService.R; // @brief Main class for the BootstrapService Android service public class BootstrapService extends Service { ... -- Is it correct 'cos i don't see the log information in logcat through DDMS ? Furthermore i don't see my package running in the DDMS listing ? (For information, the test with the OnBootReceiver is well working and is well launched) And finaly my AndroidManifest.xml file : ?xml version=1.0 encoding=utf-8? package=com.OrangeLabs.BootstrapService android:versionCode=1 android:versionName=1.0 uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / uses-permission android:name=android.net.wifi.WIFI_STATE_CHANGED / application android:label=@string/app_name receiver android:name=.OnBootReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED / /intent-filter /receiver receiver android:name=.OnWifiReceiver intent-filter action android:name=android.net.wifi.WIFI_STATE_CHANGED / /intent-filter /receiver service android:enabled=true android:name=.BootstrapService / /application uses-sdk android:minSdkVersion=3/uses-sdk /manifest ps : another interesting link was : http://groups.google.com/group/android-developers/browse_thread/thread/8a0ebc433e1351a3 Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Mark Murphy mmur...@commonsware.com À : android-developers@googlegroups.com Envoyé le : Mercredi, 24 Juin 2009, 15h02mn 52s Objet : Re: Re : [android-developers] Re: How to catch BOOT_COMPLETED_ACTION from an IntentReceiver GAYET Thierry wrote: First thanks for your quick reply. I have well found the code you told me about (OnBootReceiver). I have one more question 'cos i as i have said before i ma programming a service that i want to start when Android boot. My core class extends Service not BroadcastReceiver. So may i extend more than one time. I mean to extends Service and BroadcastReceiver. for the same class ? Maybe i need to add a public class OnBootReceiver extends BroadcastReceiver inside my service project ? But if so how to link this second class with the service one ? BOOT_COMPLETED must be received by a receiver element for a BroadcatReceiver. You have no choice in the matter. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Problem with a AndroidManifest.xml for a service
Hello, I have used the Eclipse IDE for starting an Android Service but i have one problem with my AndroidManifest.xml file on the line of the service tag. Here is my AndroidManifest.xml : package=com.OrangeLabs.gbaAndroid.BootstrapService application activity class=.BootstrapService android:label=@string/app_name intent-filter action android:value=android.intent.action.MAIN / category android:value=android.intent.category.LAUNCHER / /intent-filter /activity service class=”.BootstrapService”/ -- my problem is here !! /application /manifest And my Service skeleton : package com.OrangeLabs.gbaAndroid.BootstrapService; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import android.os.Parcel; import android.widget.Toast; //Need the following import to get access to the app resources, since this //class is in a sub-package. import com.OrangeLabs.gbaAndroid.BootstrapService.R; // @brief Main class for the BootstrapService Android service public class BootstrapService extends Service { // Actions to perform when service is started. @Override public void onStart(Intent intent, int startId) { // Test the TelephonyManager API (can we have an access to the authenfication // function buildin the sim/usim card // Create the shared memory used between the bootstrap client and the // application in link with a NAF server // Check and wait until the WIFI become usable } // onStart // Initialize variables, get references to GUI objects @Override public void onCreate() { } // onCreate @Override public IBinder onBind(Intent intent) { return null; } // onBind } // BootstrapService Is there a place where i can view / download some services sample ? Regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to develop a tiny background application with no UI
Hi, i am asking about the development of an Android application that must work in backgroup (so no user interface). Usually my application extend to the activity class that manage all the application process. Maybe i can avoid any setContentView() that won't display anything but i don't want any icon !! Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to customize the setting menu and my own items
Hi, for personal purpose i am looking for the way to customize tht setting menu by adding my own items on it ? How to do it ? Is it possible without changing any security options ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to add dependencies with Android packet
Hi, if i have well remember among my previous reading, one package may contain only one application. I would like to know if it is possible to add dependencies between package. I would like to make a package that include an application but this package use a service that i have written before. This service is another Android package. I need to link the Myapplication.apk with MyService.apk. I can display a message to the user that inform to install the package expected but is there exist another process to do it ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : [android-developers] REG: Xml to Wbxml using EAS. Options
Hi, i have start a new thread with my own query. Maybe you have the same need but i can also ask my question right ? Maybe we can help each other in order to solve it ? My need is to use APDU from an usim card throough AT command. What is yours ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 De : Ravi ravikumar...@gmail.com À : Android Developers android-developers@googlegroups.com Envoyé le : Mercredi, 17 Juin 2009, 18h19mn 43s Objet : [android-developers] REG: Xml to Wbxml using EAS. Options Hi Gayett, My doubts are not yet cleared...plz start a new topic instead of modifying mine if possible, do answer my query. On Jun 17, 8:46 pm, GAYET Thierry thierry_ga...@yahoo.fr wrote: Hello, In order to used APDU (Application Protocol Data Unit) located on the usim card, i am looking for some advice about the best way. Is it more interesting to extend the public Telephony API through the TelephonyManager or maybe to communicate with the ril deamon (rild) ? The AT commands are defined in the ril.h but may i add my own one (official AT command but not used in this implementation) ; if so i didn't see any direct sim access in order to send those king of command ? Does anybody have tried to send AT-APDU command to a baseband module ? I have read some source code that may help about my reasearch : At the Application framework layer: framework/base/telephony/java/android/telephony/ framework/base/telephony/java/android/telephony/gsm/ framework/base/telephony/java/com/android/internal/telephony/- simcard.java / phoneBase.java / Phone.java framework/base/telephony/java/com/android/internal/telephony/gsm/- RIL.java / RILConstants.java / SIMRecords.java / SimIoResult.java framework/base/telephony/java/com/android/internal/telephony/gsm/stk/ At the system libraries layers : hardware/ril/include/ril.h hardware/ril/libril/ hardware/ril/reference-ril/ hardware/ril/rild/ I include to this email my view of the telephony Android Framework in a pdf document Thanks you in advaance for your help. regards. Thierry GAYET NextInnovation.org +33(0)663.849.589 android_ril__NEXT_INNOVATION_AREA_.pdf 726KViewDownload --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how to launch internal tests
Hello, I have seen some tests in java language among the Android source code. It may help to to know how to use them ? One example: frameworks/base/telephony/java/com/andtroid/internal/telephony/test/ is it link with a junit usage ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] HTTPS video streaming
Hi, Is there some free available source code made by Android API in order to make an HTTPS video streaming ? Best regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Does Java secured Socket Extension is supported in android ?
Hello, I wanna know if there is a support with TLS PSK in Android. This is to create a SSL tunnel using a predefined Pre Shared Key (PSK). For more information about this topic: * http://www.ietf.org/rfc/rfc4279.txt * http://en.wikipedia.org/wiki/TLS-PSK Thanks in advance for your reply ... that would be very helpfull to help me about this point. If no support yet on android, do you know how to add it ? Best regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] start a ssh tunnel with an already known pre-shared key (psk)
Hello, I have a pre-shared key (psk) that i have received from an external way (GBA : Generic Bootstrap Architecture). I wanna know if you know how to create a ssl tunnel on a https server using my local psk ? Have you ever try such kind of system ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re : [android-developers] Re: Diplay Logcats logs on console
Hello, I am asking if Android already include a GBA (Generic Bootstrapping Architecture) authentification system ? If not, does any other group have ever try to add this protocol (almost the same as SSL) within the Android framework ? The GBA architecture is defined with 2 documents from the 3GPP : - TS 33.220 for the global architecture - TS 24.109 which add more details on the Ua and Ub interfaces from the mobile. The Ua interface is between the mobile and the application ; the Ub interface is between the mobile and the BSF server). The Ub interface should be made ont HTTP/AKA - RFC 3310. Is it possible to access to the sim card ? Some detail about GBA: http://en.wikipedia.org/wiki/Generic_Bootstrapping_Architecture Thanks in advance for any reply. Best regards. Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android and the Generic Bootstrapping Architecture authentification system
Hi, I am asking if Android already include a GBA (Generic Bootstrapping Architecture) authentification system ? If not, does any other group have ever try to add this protocol (almost the same as SSL) within the Android framework ? The GBA architecture is defined with 2 documents from the 3GPP : - TS 33.220 for the global architecture - TS 24.109 which add more details on the Ua and Ub interfaces from the mobile. The Ua interface is between the mobile and the application ; the Ub interface is between the mobile and the BSF server). The Ub interface should be made ont HTTP/AKA - RFC 3310. Is it possible to access to the sim card ? Some detail about GBA: http://en.wikipedia.org/wiki/Generic_Bootstrapping_Architecture Thanks in advance for any reply. Best regards. Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android and the GBA (Generic Bootstrapping Architecture) authentification system
Hello, I am asking if Android already include a GBA (Generic Bootstrapping Architecture) authentification system ? If not, does any other group have ever try to add this protocol (almost the same as SSL) within the Android framework ? The GBA architecture is defined with 2 documents from the 3GPP : - TS 33.220 for the global architecture - TS 24.109 which add more details on the Ua and Ub interfaces from the mobile. The Ua interface is between the mobile and the application ; the Ub interface is between the mobile and the BSF server). The Ub interface should be made ont HTTP/AKA - RFC 3310. Is it possible to access to the sim card ? Some detail about GBA: http://en.wikipedia.org/wiki/Generic_Bootstrapping_Architecture Thanks in advance for any reply. Best regards. Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---