[android-developers] Re: Android preprocessor, //#ifdef...

2010-08-04 Thread FrankG
Hi DanH, Your luck that this is not a J2EE forum. Their are ton's of 7x24h applications based on sun's vm running day by day for years. The last years I worked mostly with the jrockit vm from bea ( now oracle) in such a highly parallel environment with up to several hundred transaction per

[android-developers] Re: adb remote port forwarding

2010-08-06 Thread FrankG
See this discussion : http://www.mail-archive.com/android-beginn...@googlegroups.com/msg09683.html When you write : I am develop an application to communicate with a desktop application over USB how would you like to communicate from you app to the desktop application ? Which rule should USB

[android-developers] Re: Send a Mail and post on FB Wall

2010-08-10 Thread FrankG
I would suggest i.e. that you look at other apps like gallery whether their send to functionality does what you want. I yes, then investigate their source which intent ( IMHO ACTION Intent ) they use to do so. Good luck ! Frank On 6 Aug., 20:20, giles ian gilesian@gmail.com wrote: Hi

[android-developers] Re: developing with htc aria

2010-08-10 Thread FrankG
Now, I wonder why there is no special connect mode just for debugging in any Android phone I've used, and why adb doesn't use a class driver. But I guess that's like asking who shot Kennedy... Because each device will have his own Vendor/Product ID Pair .. -- Kostya Vasilyev

[android-developers] Re: developing with htc aria

2010-08-10 Thread FrankG
I don’t understand why there are two drivers, but “My HTc” seems to have a problem as listed below. How many devices you will see in the device manager depends from the usb configuration from you phone. I.E. it can provide a composite device with multiple CDC interfaces + adb + mass storage +

[android-developers] Re: Shared library symbols are not loaded.

2010-08-11 Thread FrankG
I think at first you should go to the android-platform group. Beside this, did you check whether any app can use your native code ? And imho put your stuff in a vendor extension under app/mydroid/vendor, this makes it more transparent from where it comes and so on. Good luck ! Frank On 10

[android-developers] Re: developing with htc aria

2010-08-11 Thread FrankG
it is, so it's kind of pointless. -- Kostya 10.08.2010 12:23, FrankG пишет: Now, I wonder why there is no special connect mode just for debugging in any Android phone I've used, and why adb doesn't use a class driver. But I guess that's like asking who shot Kennedy... Because each

[android-developers] Re: Enable usb debugging (under settings/applications/development) programatically from within app

2010-08-12 Thread FrankG
Hi Mathias, The Settings-App uses a persistent system property to enable/disable adb. The property_service inside the system controls which process-id is allowed to set the different properties. Any Property starting with persistent.service.* can only be set by AID_SYSTEM. So you app must be

[android-developers] Re: problem in updating custom property using property_set

2010-08-12 Thread FrankG
Hi Suchita, I think this is the wrong group for such a question, as it seems that you make a platform extension, right ? Nevertheless some things : a) Did you check that your app is really running with system id ? b) Is the app signed with the platform key ? From your Android.mk is seems

[android-developers] Re: can AIDL really support the Map? (the data type)

2010-08-12 Thread FrankG
On 12 Aug., 04:13, QasewKim converg...@gmail.com wrote: 2. If I want to pass the Bitmap through AIDL, is it possible to use Bundle also? Do I have to convert Bitmap to ByteArray ? Sorry, why do you want to pass a bitmap via AIDL ? Why not using an Intent with an Uri as Extra field ? Good

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-08-16 Thread FrankG
On 16 Aug., 06:43, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: So prior to this month, there were no duplicate ANDROID_IDs? With pre- Froyo devices? I can't say there were or weren't any duplicates pre-Froyo. I can say that every Droid2 that has downloaded my app Radar Now! has

[android-developers] Re: How to post messages across processes by using handler?

2010-08-19 Thread FrankG
Not always : Their are more then 50 system services which expose an AIDL interface. Best regards ! Frank On 18 Aug., 22:48, Indicator Veritatis mej1...@yahoo.com wrote: But why are you so ure you must use Handler? The design of Android is that you use Intents for interprocess communication.

[android-developers] Re: Sending EMAIL

2010-08-20 Thread FrankG
The email address that I pass via:         sendIntent.putExtra(Intent.EXTRA_EMAIL, theem...@comcast.net); is always ignored and so it has to be manually entered on each email. Any solution? Thanks in advance. Try this : private static final String YOURTO = m...@medomain.com;

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-08-20 Thread FrankG
Hi Trevor, This was my impression too on the 16th August Try to set ro.serialno with setprop .. But I assume that other vendors have also no clue about this property. Good luck ! Frank On 20 Aug., 21:04, Trevor Johns trevorjo...@google.com wrote: Hi everyone, Just to follow up a

[android-developers] Re: How to check the Foreground Process from a Service

2010-08-23 Thread FrankG
Hello Frank, one reason for this kind of question could be, that his service get an hardware event and would like to start i.e. a dialog. But his service is not allowed to hide another Activity. Such a scenario I could imagine. Best regards. Frank On 23 Aug., 06:38, Frank Weiss

[android-developers] Re: How to check the Foreground Process from a Service

2010-08-24 Thread FrankG
Yes, if you have both sides in your hand. But the basis of my assumption was, that this is not the case. Example Requirement : Don't pop up the triggered dialog, if a certain 3rd Party dialog is already shown. Good luck ! Frank On 23 Aug., 14:10, nation-x

[android-developers] Re: USB ports on N1 - usable?

2010-08-24 Thread FrankG
And how will you switch back to the normal usb mode if this should work ? On 24 Aug., 10:00, Chris Miller chris_overs...@hotmail.com wrote: It's not straightforward, but it is possible with a custom kernel. See this thread for details:http://forum.xda-developers.com/showthread.php?t=694427

[android-developers] Re: USB ports on N1 - usable?

2010-08-25 Thread FrankG
On 24 Aug., 17:13, Chris Stratton cs07...@gmail.com wrote: Depending on how it was written, you tell the driver to switch roles or you unload the driver modules for one role and load those for the other. I assume you mean unload the used usb gadget, if your device really supports this and

[android-developers] Re: Is there anyway to turn USB debuggin on/off

2010-08-31 Thread FrankG
Hi Arjun, Are you working for a specific platform and provide a specific platform extension ? If yes you can use the platform class i.e. android.os.SystemProperties to set the persistent property which controls adbd. Look in your init.rc and grep for adbd .. you will see the property I mean.

[android-developers] Re: Lg Ally USB Debugging Driver

2010-08-31 Thread FrankG
Strange .. the default mode LG driver will support adb in my opinion. I have a GT 540 from LG and adb works without any problems under Vista. Search for the LG PC Suite Software .. their installer has an Option install driver .. Good luck ! Frank On 27 Aug., 15:14, spudnut

[android-developers] Re: Do someone know which application controls USB connected notification

2010-09-07 Thread FrankG
BTW .. what do you mean with USB connection notification ? I assume you meant USB Debugging connected ? This means that you have a running usb profile with adb support. But you can also have a device with different profiles without adb .. i.e mtp or pictbridge. If want to learn more about the

[android-developers] Re: How do I write Android.mk for an application using com.google.android.maps.jar

2010-09-08 Thread FrankG
What is wrong? IMHO first of all the group, as this is more related to android- platform. The strange thing for me is, why Google -Maps is not part of your platform as vendor extension under app\mydroid\vendor\google\frameworks ? I have no idea whether your approach can work. I think you need

[android-developers] Re: .apk and system.img

2010-04-12 Thread FrankG
Hello ! I think your are in the wrong group for this question, as this seems to be more related to android-platform. As a short hint : look at ../vendor/google/apps .. these Apps coming as Prebuild ones .. This is controlled via the Android.mk thier and the line include $ (BUILD_PREBUILT) Good

[android-developers] Re: Settings application

2010-04-19 Thread FrankG
Hello Dianne, Can I read somewhere more about this handling of system settings and how is it designed ? Thanks alot ! Frank On 17 Apr., 00:26, Dianne Hackborn hack...@android.com wrote: Settings are stored in a lot of different places, depending on what they are.  It is done for access

[android-developers] Re: How to pack a config file into my apk package

2010-04-22 Thread FrankG
hello kerlw, just a idea from my side : Why not write you config file to /data/data/package-name/ when your programm starts the first time. And later when your app starts it checks, whether their is already a version of this file. This would mean, that don't have to install the config file

[android-developers] Re: Android ANT compilation

2010-04-26 Thread FrankG
Hello Veradis, You can do this easily .. but with make. Look at the ndk examples ..if you use the android build system and make you can do so. Ant would be more natural for many of us but the whole android platform uses make . Good luck ! Frank On 26 Apr., 06:48, veradis tech

[android-developers] Re: Developing a C++ static library for use with Java on the Android

2010-04-29 Thread FrankG
Hello Kelly, I would not say this can be so easy at the end. Josh says he want to use a static library, but with JNI he need to use a dynamic one or at least a dynamic lib which wraps the static one. And even with this wrapper he can run into linker problems not finding all symbols. It can be a

[android-developers] Re: Developing a C++ static library for use with Java on the Android

2010-04-30 Thread FrankG
are also mentioned to create C/C++ static library using NDK. Note: Attached SimpleJNI.zip is a bit modified from the one which is available with android open-soruce code. Try this and feel free to ask if it doesn't work :) Cheers !! Ravi On Thu, Apr 29, 2010 at 12:21 PM, FrankG

[android-developers] Re: Communicating from Android Service to an Activity

2010-05-03 Thread FrankG
Hello Mark, I have short question to your example : If I understood it right, the Broadcast from the WeatherPlusService will not start up the WeatherPlus Activity ? So how must the example be changed, that the first broadcast will startup the activity and the next ones are normal broadcast to

[android-developers] Re: In process communication

2010-05-05 Thread FrankG
Hello T-Droid, maybe this it's so simple that noone wants to say it ? :-) I simply use a static call back reference in the service class to inform the calling activity about any changes from the service. Works fine. But maybe you should better use a android.os.Handler. In my case I use Handler

[android-developers] Re: mounting and unmountind USB storage from Java App

2010-05-05 Thread FrankG
No, you cannot do this from a normal app. And take care : Soon you will have Android Handy's with more USB functions on the market. And to mount a sdcard as a usb storage you must know I which mode the usb stack is. Good luck ! Frank On 4 Mai, 18:33, rchndrsn rchnd...@gmail.com wrote: I

[android-developers] Re: mounting and unmountind USB storage from Java App

2010-05-06 Thread FrankG
things are still in progess. On 5 Mai, 23:08, rchndrsn rchnd...@gmail.com wrote: Thank You FrankG for offering some information. Some apps are doing this, and I know they cannot do it as normal apps. Can offer any insight into the abnormal mechanism they use? What is their trick On May 4, 11:57

[android-developers] Re: How to build default applications as a seperate

2010-05-10 Thread FrankG
It will not work in many cases, because often they are not standalone apps. So either they need special rights and must be signed with the platform key, or they use JNI stuff from other parts of the framework . I think, you must use the android build system. On 8 Mai, 11:15, Karteek N

[android-developers] Re: how to build the gallery application.

2010-05-10 Thread FrankG
He wrote, that he already downloaded everything. So he has already what he needs ..the different Android.mk files and he could also run mm SHOWCOMMANDS=1 in the Android build environment to see what happens during the build of this part. Good luck ! Frank On 7 Mai, 14:14, Mark Murphy

[android-developers] Re: how to setup vold.conf for USB mass storage device

2010-07-14 Thread FrankG
I assume, that you must explain a little bit more, what are you trying to do : For me it sounds, that you would like to attach an external usb storage to your andorid device, right ? What kind of device is it ? BTW .. it think android-platform is better group for such questions, as a normal

[android-developers] Re: Mount USB Drive

2010-07-14 Thread FrankG
What kind of app is DoubleTwist ? I assume that DoubleTwist will broken if the mobile will support different usb modi and the app has no chance to know. which one is the actual one. Good luck ! Frank On 13 Jul., 15:21, Boozel boozelcl...@gmail.com wrote: I do not know how to do it but it

[android-developers] Re: How to import individual projects from Android Source Code

2010-07-15 Thread FrankG
Hello Tanco, Yes, this is my impression too. Eclipse can be used to change core apps, but then you have to use the standard android build system. Just my 2 cents. Frank On 15 Jul., 00:24, Tanco smarko...@gmail.com wrote: Hello Sajid, I am having the same problem, You have to make an eclipse

[android-developers] Re: File Transfer using OBEX on Android

2010-07-19 Thread FrankG
Obex via Bluetooth or USB ? Independent from this question, IMHO their is no support for that in the SDK. Good luck ! Frank On 15 Jul., 07:30, Amit amitag...@gmail.com wrote: Hi, I want to transfer a file from my Android application to my desktop (I don't want to display any UI for the

[android-developers] Re: can we start application after installing .apk file

2010-07-22 Thread FrankG
Hello Kostya, This brings up the most recent applications list - and has nothing to do with running processes, it is NOT the kind of list you see in a task manager type application. In principle I would agree, but my experiences with two devices is a different one : It can behave like a Tab

[android-developers] Re: Framework base Interfaces not find on target.

2010-07-22 Thread FrankG
Hi Chetan, I assume that you have to build a new system image for that and flash your device. Good luck ! Frank On 22 Jul., 07:46, chetan chetanchauha...@gmail.com wrote: Hi,            i  have created an application XYZApp and put it in package/ apps directory of eclair source code and

[android-developers] Re: jni

2010-07-22 Thread FrankG
If it is a platform extension and part of the system, that putting the shared lib in the apk will not help. In this the lib must be unter /system/lib. Good luck ! Frank On 22 Jul., 07:13, Rajesh Pelluru mail2pell...@gmail.com wrote: Hi, If your app uses native code then you need to

[android-developers] Re: INTENT_SEND and attached files

2010-07-27 Thread FrankG
Hi David, When I read your email it sounds for me that you are able to adapt the email app on your platform. If yes, then this is the wrong group and you should go to the platform group. If no, then the whole discussion makes no sense in my eyes because you have no choice anyway ? Good luck !

[android-developers] Re: INTENT_SEND and attached files

2010-07-28 Thread FrankG
the same. Good luck ! Frank On 27 Jul., 13:27, David Given d...@cowlark.com wrote: On 27/07/10 07:34, FrankG wrote: [...] When I read your email it sounds for me that you are able to adapt the email app on your platform. No. I'm looking at the email app source code to try and figure out

[android-developers] Re: INTENT_SEND and attached files

2010-07-28 Thread FrankG
I forget the requirements :-) ! I don't want to write the data to a temporary file because the email app doesn't tell me when it's finished with the file; how can I do this? You need to provide a URI for your intent. The Email app indeed gives your no feedback at the end, but maybe you can use

[android-developers] Re: Driver for USB device

2010-07-28 Thread FrankG
Hi Dave, A normal phone plays the role of a usb device ! And you would like to connect another usb device to a (phone) device ? Good luck ! Frank On 25 Jul., 22:21, krome davek1...@gmail.com wrote: Hi, Is there any sample code or documentation on writing a driver for a USB device

[android-developers] Re: How to execute shell script file from android application

2010-07-29 Thread FrankG
IMHO their is no solution for this. Using setprop requires that the APP is signed with the platform cert. And this is good, because otherwise any app would be able to change any system property. Good luck ! Frank On 28 Jul., 16:43, Oscar oscar...@gmail.com wrote: That's the problem, you

[android-developers] Re: Android Socket Communication

2010-07-30 Thread FrankG
How can I run two different apk's simultaneously so that android does not kill any one of those app's ? Thanks, Arjun. Hi Arjun, Start App 1 , press back ( App 1 ) will be stopped Start App 2, hold Home until you see a Windows-Tab-like-History Window In the history you should see App 1

[android-developers] Re: Disabling the USB port?

2010-09-14 Thread FrankG
Yes .. but the question if, whether it is allowed for hiim, that the mobile can still be seen in the devise manager ? If not then he need a special usb gadget with null mode, means, which does not enumerate .. And disable mass storage allone maybe will not help him, if his devise supports other

[android-developers] Re: system_server debugging using eclipse.

2010-09-16 Thread FrankG
As non native speaker this means that this is the wrong group for such a question :-) On 15 Sep., 09:07, Dianne Hackborn hack...@android.com wrote: You wouldn't use the NDK or SDK for this. On Tue, Sep 14, 2010 at 10:43 PM, kiran kiranbhat2...@gmail.com wrote: Hi how can  i  debug the

[android-developers] Re: Question about NDK

2010-09-17 Thread FrankG
Hi Paolo, IMHO port the source to android, build a shared lib and provide NDK- JNI-Wrapper Classes for your lib, so that any app developer has not to handle the JNI Details. And usage example are always a big help, i.e. a sample App, which uses your lib. Good luck ! Frank On 16 Sep.,

[android-developers] Re: Help me: Build Android SDK for eclipse on win XP, and customize android source code!

2010-09-28 Thread FrankG
On 28 Sep., 05:51, Tuyen Hoang Long tuyen...@gmail.com wrote: Thanks for your rely,  I still meet three proplems as below: 1.      I build Android SDK in Linux, but when building was finished, I get SDK which only use in ubuntu. I use window XP so, I want to build a SDK for eclipse on

[android-developers] Re: USB driver not working on Windows 7 64 bits

2010-09-28 Thread FrankG
On 25 Sep., 14:23, Bob lordrobertsm...@googlemail.com wrote: I'm having trouble too. I'm using Windows 7 64 bit and have an LG GT540. I've written my app, and it works on the virtual phone, now I want to test it on my phone, but I can't get windows to connect to it. Hello Bob, you need a

[android-developers] Re: Mount sdcard USB Storage through adb.

2010-10-01 Thread FrankG
Your subject is strange .. as the sdcard has nothing to do with the sdcard. I assume you would like to know how to mount the sdcard via a command from a adb prompt . You can do this via a system call command. I haven't the details by hand, but it is one of the system services which allow you

[android-developers] Re: Android Build

2010-10-07 Thread FrankG
In this case better android-building .. as their is already a thread related to clearsilver and support from the build guru Ying Wang Questions regarding building the source should go on the porting or platform group.

[android-developers] Re: USB and Android

2010-10-07 Thread FrankG
A great answer (IMHO) can you find here : http://stackoverflow.com/questions/3434107/android-communicating-with-a-usb-device-which-acts-as-host On 6 Okt., 19:08, Andrew Whalen the.awh...@gmail.com wrote: Is there any way to allow communication between a program on a PC and an app on the

[android-developers] Re: Print documents from an Android device

2010-10-07 Thread FrankG
IMHO your application only needs to send the right Action Intent .. Look how this is done in the 3d gallery app i.e. in the share menu. I think soon you will also find devices, which have usb pictbridge support and allow direct printing via usb. Good luck ! Frank On 4 Okt., 12:49, Gober

[android-developers] Re: Launching my application from the Settings menu

2010-10-07 Thread FrankG
IMHO it is not so complicated, as you only need to add a additional menu and send the right intent for your own app . But the Settings-App is a core app signed with platform key, so you have to make at the end a system image and flush the device. Good luck ! Frank On 7 Okt., 07:45, Kumar

[android-developers] Re: Simulating USB connection

2010-10-08 Thread FrankG
On 7 Okt., 15:06, { Devdroid } webnet.andr...@gmail.com wrote: On 7 October 2010 14:26, DanH danhi...@ieee.org wrote: You sure the problem doesn't only occur when the USB is attached in SD sharing mode? No. Plug the cable - boom :) That's why I wonder how can I debug this w/o doing

[android-developers] Re: System Settings.db corruption

2010-10-08 Thread FrankG
Sorry, but what do you mean with Settings.db ? On 8 Okt., 00:54, cumhur cevik alice...@gmail.com wrote: Hi, When sqlite db corrupts it is creating a new one. But What happens when system Settings.db corruption? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Simulating USB connection

2010-10-11 Thread FrankG
IMHO you need a powered usb hub and a usb controled power supply for this hub. Then you can switch on and off the hub very fast. Most devices react on VBUS detection, means they do no differ between vbus connected and usb enumerated. Good luck ! Frank On 8 Okt., 13:42, { Devdroid }

[android-developers] Re: Unable to open or create cache for system/app/test.apk

2010-10-12 Thread FrankG
a) I would go with this kind of questions to android-platform b) I would not put my own apps under system/app instead provide them as a vendor extension ( look for the vendor dir ) Good luck ! Frank On 12 Okt., 08:23, Raj raaju.pra...@gmail.com wrote: Hi All, When I am trying to build my

[android-developers] Re: USB communication

2010-10-12 Thread FrankG
Hi Andrew, You mean with the default mass storage usb implementation ? IMHO no . Good luck ! Frank On 12 Okt., 05:57, Andrew Whalen the.awh...@gmail.com wrote: Is there anyway to communicate with a PC application over the USB connection? (Without using adb, I would rather not have to rely on

[android-developers] Re: FileObserver not returning file changes within subfolders?

2010-10-12 Thread FrankG
Hi Freddy, strange .. I thought the FileObserver uses Linux native call inotify , which is able to send events for directories too, What definitly will not work is FileObserver for sysfs entries. Good luck ! Frank On 12 Okt., 00:41, Freddy f...@charter.net wrote: ok.  I found more info.  

[android-developers] Re: Unable to open or create cache for system/app/test.apk

2010-10-12 Thread FrankG
Also vendor extensions will be part of the system image and will be installed under system/app. IMHO it is a better style in my eyes to seperate your own stuff from the rest. On 12 Okt., 11:48, Raj raaju.pra...@gmail.com wrote: Thanks Frank. But the app has to be made as part of image and

[android-developers] Re: Write data into SDCard while mounted

2010-10-13 Thread FrankG
Hi Perumal more and more phone provide different usb modes .. and some manufacturer make an implicit usb mode switch, means they load at first a driver and software ( from a cdrom image on the phone) and then change to a complex usb mode. You will also find phones which make an automount of the

[android-developers] Re: NDK: result compiled and used on cygwin different from compiled and used on android

2010-12-06 Thread FrankG
Hi Gabriel, I'm confused by the content of your email. But nevertheless I would suggest that you write more details what you did step by step in a more ndk specific group. http://groups.google.com/group/android-ndk Good luck ! Frank On 5 Dez., 17:54, Gabriel Simões gsim...@gmail.com wrote:

[android-developers] Re: Eml Parser

2010-12-06 Thread FrankG
You can handle EML-Files normaly with javax.mail.* and in particular the MimeMessage class. javax.mail is not part of the android sdk, but mayby you can use the java sdk sources as starting point for you own handlng ? Good luck ! Frank On 6 Dez., 10:15, Android Developer

[android-developers] Re: setting property in init.rc for FROYO

2010-12-06 Thread FrankG
First I think this is the wrong group for such question as this is out of scope of the normal android sdk. Better would be android-platform for this. Second : Did you check via getprop whether you property is really set after the complete boot ? Third : Maybe reading them via

[android-developers] Re: Is there any android expert from Google or any other company?

2010-12-06 Thread FrankG
IMHO move to android-platform .. On 7 Dez., 06:25, Jerry chunlei@gmail.com wrote: Could you help to provide the link for your mentioned java os one? can not just use the library of new voice recognizer. Need to implement the recognitionservice interface somehow. So need to handle audio

[android-developers] Re: ACTION_POWER_CONNECTED not working

2010-12-07 Thread FrankG
Hi Douglas. http://developer.android.com/guide/topics/manifest/receiver-element.html#nm In the Manifest you write that your receiver class is called Receiver .. and later you call the class NoteReceiver ?? But nevertheless I have my doubts that you have your public class NoteReceiver in a file

[android-developers] Re: how to get root permissions to do a adb remount?

2010-12-07 Thread FrankG
Maybe this will help you : http://groups.google.com/group/android-platform/msg/da581f1b398fdf8b Good luck ! Frank On 8 Dez., 02:25, gato chlr dany...@gmail.com wrote: Hi does anybody knows how to get root permissions to do adb remount? thanks -- You received this message because you are

[android-developers] Re: Improvement of existing Android App - Setting

2010-12-08 Thread FrankG
He can of cousre extend or change the Settings App, but he need to build them with the android build system like any other core/framework app. But the question is, which sense this will make ? To change the app he must sign it with the platform key and flash his device. Good luck ! Frank On 8

[android-developers] Re: ADB drivers for Windows XP available for Android devices

2010-12-08 Thread FrankG
Hi Gus, seems that this tablet supports usb device and host ?! Did you see only usb mass storage or something else ? The question is, whether their usb mode supports adb ? Can you open a console on the device ? Maybe it supports adb over wifi ? Good luck ! Frank My question is, does the

[android-developers] Re: init.d

2010-12-10 Thread FrankG
Out of the scope of this group. Go to android-platform with this type of questions. On 8 Dez., 22:54, dlocated dloca...@gmail.com wrote: I have created an update.zip to install my cpu overclock script. I would also like to start this as a service using the init dir. How would I do this? From

[android-developers] Re: Fm Radio

2010-12-14 Thread FrankG
I'm in doubt that he will get an answer for this question, even in more fiirmware related groups. On 14 Dez., 11:56, Mark Murphy mmur...@commonsware.com wrote: On Tue, Dec 14, 2010 at 4:29 AM, wolf wolfy1...@gmail.com wrote: thanks mr. mark, but i don't want to use it via Android SDK but i

[android-developers] Re: about PackageManager.java

2010-12-15 Thread FrankG
I would say wrong group for this question .. On 15 Dez., 08:29, tangke mumut...@gmail.com wrote: hi all, I read the PackageManager.java, this is only defined a abstract class, the derived class is defined in ContextImpl.java and use the ApplicationPackageManager. I wonder why not do in

[android-developers] Re: Binder IPC ( native process - to - android service )

2010-12-16 Thread FrankG
IMHO the platform is the best example ( and android platform is better group for this kind of questiions, as this is out of scope of the sdk ) The android-platfrom uses AIDL or sockets to communicate between native processes and i.e. java services. Good luck ! Frank On 15 Dez., 16:39,

[android-developers] Re: Enabling bluetooth to a System Service

2010-12-16 Thread FrankG
- android-platform On 15 Dez., 13:15, Narseo Vallina nar...@gmail.com wrote: Hi all I'm working on a research project and I need to have a system service running as an android component and one of it's features is performing bluetooth scans in the environment. I have the following code to

[android-developers] Re: ADB USB Driver for MyTouch 4g

2010-12-22 Thread FrankG
Hello Sarwar, as this phone supports usb tethering I assume it supports a composite usb mode or different ones and it will require a spezialized driver for this. BTW .. another way to install an app is to download them via the browser from a provate webseite. Good luck ! Frank On 22 Dez.,

[android-developers] Re: What is the structure of the Android PackageManagerService?

2010-12-22 Thread FrankG
But for that I need to understand how the installation happens, the sequence of steps being called. What Mark and Dianne wanted to point out is that all questions related to your solution are out of scope of this group. And that If you are not able to change the firmware for you devise, you

[android-developers] Re: Can't debug/install applications into Tablet with Android 2.1 using ADB commands

2010-12-28 Thread FrankG
If you have a kind of console on the tablet you could look into the kernel messages and use logcat to see something relevant. You could also check, whether adbd is still running on the device. To detect who is stopping ( device or pc ) I assume you would need a usb analyzer, nothing which is

[android-developers] Re: /sys/devices/virtual/gpio access from Java?

2010-12-30 Thread FrankG
This is the wrong group .. but beside this use the ndk .. and the native file command to interact with you sysfs entry. Good luck ! Frank On 28 Dez., 03:49, A Curtis ajcurti...@gmail.com wrote: Hello, I have enabled GPIO SYSFS access to export GPIOs to user space. From the command shell I

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-03 Thread FrankG
Seems that you are looking for a terminal emulator like this one .. https://github.com/jackpal/Android-Terminal-Emulator/wiki Good luck ! Frank On 31 Dez. 2010, 22:48, Jay j.gato...@gmail.com wrote: I started reading that, but it still doesn't complete sense. Are there any other more

[android-developers] Re: initialization of usb from android Application

2011-01-04 Thread FrankG
This relates to android-platform and beside this, what do you mean with initialize USB ? A fresh enumeration ? On 3 Jan., 16:29, bharath dg.bhar...@gmail.com wrote: Hi,    Is it possible to initialize USB from Android Application? if possible please post a sample code. Thanks, Bharath

[android-developers] Re: external or usb mic for audio recording?

2011-01-04 Thread FrankG
IMHO a usb microphone would require usb host functionality and support for human device interface .. Their is in my eyes no out of the box support for this. On 4 Jan., 09:03, Keith Wiley kbwi...@gmail.com wrote: I realize that MediaRecorder.AudioSource supports several input sources, although

[android-developers] Re: external or usb mic for audio recording?

2011-01-05 Thread FrankG
. Cheers! On Jan 4, 12:00 pm, FrankG frankgru...@googlemail.com wrote: IMHO a usb microphone would require usb host functionality and support for human device interface .. Their is in my eyes no out of the box support for this. On 4 Jan., 09:03, Keith Wiley kbwi...@gmail.com wrote

[android-developers] Re: Android serial port

2010-10-22 Thread FrankG
a) wrong group : use android-platform b) maybe you could change the usb gadget on your device and provide an composite usb device with a serial communication port But to change the framework will be not so easy. IMHO you have to adapt the kernel, create your own kernel - framework

[android-developers] Re: Finding a development phone - how is the LG Optimus GT540?

2010-10-25 Thread FrankG
Yes, I think for the price it offers many features .. and it is small. Yes, you need a special drivers as this device comes with a composit usb interface. But with the PC Suite driver download it works out of the box. But note that the the GT 540 I have uses a rather old android version, so you

[android-developers] Re: Google Android platform for robotics (serial connection support).

2010-10-25 Thread FrankG
Hello, IMHO the beagle board will be the cheapest platform. The other platform board i.e. from TI will be more expensive. To the serial communication on this boards I have no clue. Good luck ! Frank On 22 Okt., 05:56, RoboHobby roboho...@gmail.com wrote: Hi, 1) What Android-compatible

[android-developers] Re: Mount as USB drive

2010-10-25 Thread FrankG
Sorry .. but did you mean with usb drive is mounted ? You mean when you mount the sdcard and make them available as mass storage device via usb ? On 25 Okt., 11:37, perumal316 perumal...@gmail.com wrote: Hi All, A general question. Is there any difference in the way the USB drive is

[android-developers] Re: 2.2.1 / N1 / USB Dropping

2010-11-01 Thread FrankG
Hi Pent, what kind of usb connections you can see in the connection manager ? Maybe it is adb + something different as mass storage ? The new 2.2 vold implemention uses a sysfs state file to detect usb connected or not. Maybe the content of this state file is not written correctly or something

[android-developers] Re: Tomcat on Android

2010-11-05 Thread FrankG
Hello Marc and Bret would be nice, if you could describe what you try to do ?! Currently the easiest thing for you would be i-jetty, the android port of jetty from WebTide Look here : http://code.google.com/p/i-jetty/ And after that provide your impressions to the community. Thanks !

[android-developers] Re: USB Connection Check

2010-11-08 Thread FrankG
Hi Boardy, I have my doubts that you will get it working in a portable way across different mobiles. The usb implementation will be to different. The newer phones will provide additional and complex usb mode ( multiple cdc+acm+ adb + ?, mtp , pictbridge ), some will change the usbmode on the fly

[android-developers] Re: How to change network service permission without modifying init.rc file

2010-11-08 Thread FrankG
Hello chandu, a) I think this question is more appropriate to android-platform b) And you must describe your intention in more detail in my eyes: What are trying to do with netd ? Good luck ! Frank On 8 Nov., 08:25, chandu chandu@gmail.com wrote: Hi, I have a requirement to

[android-developers] Re: How to change network service permission without modifying init.rc file

2010-11-09 Thread FrankG
This will not help, because it requires the platform key. And he said that he will not run his app as root. On 9 Nov., 04:13, gujian outspacem...@gmail.com wrote: You can try to add android:sharedUserId='android.uid.system' to AndroidManifest.xml. 2010/11/8 chandu chandu@gmail.com --

[android-developers] Re: How to change network service permission without modifying init.rc file

2010-11-11 Thread FrankG
if i do it from init.rc. But I dont want to do that I want some way I can change the permission without modifying init.rc. Please let me know if der is any alternatives. Regards, chandrashekar On Wed, Nov 10, 2010 at 4:18 AM, FrankG frankgru...@googlemail.com wrote: This will not help

[android-developers] Re: Is there a way to keep an Android microSD card interface awake while the rest of the device is asleep?

2010-11-11 Thread FrankG
IMHO not in a portable way .. and go to android-platform or android- porting On 10 Nov., 17:15, JackN jnadel...@gmail.com wrote: I am working with custom microSD cards. I'd like to be able to maintain power to the microSD card while the handset sleeps. -- You received this message because you

[android-developers] Re: Andriod apps connect to HID USB Device

2010-11-17 Thread FrankG
IMHO no .. their is no out of the box support for this. And you need a platform with usb host support for this usb device class. On 12 Nov., 20:42, dan daniel@gmail.com wrote: I need to design an andriod app to communicate with HID Custom USB Device. Are there any standard java

[android-developers] Re: usb camera interface

2010-11-17 Thread FrankG
IMHO Archos 43 supports usb ptp .. But it can't be a out of the box froyo, as froyo has no usb ptp support .. ( also no usb hub support ) IMHO some specialized usb sw vendor made the -- I think - very vendor specific extensions to the kernel, the framework and to some apps. Would be

[android-developers] Re: Simultaneously debugging multiple android applications and components

2010-11-29 Thread FrankG
Hello Elvis, I think it will be easier for you if you use printf debugging, as you can open several adb sessions .. and use logcat with different filters. Or write to your own file the content of the variables. I have no idea whether you can debug multiple components at once. Good luck ! Frank

  1   2   >