[Q] Bluetooth Hands free java incorporation in Android - General Questions and Answers

Hi all,
My question is generic : I'd like to add the hands-free menu in the Android GUI. This can be done through an XML configuration, so that the phone app sees or not the service.
Looking into the ressources of the Android GUI, it seems to be configured in packages/apps/Phone/res/xml/
But there is nothing related to bluetooth unfortunately.
Does someone have an idea about where this xml file can be found (or at least some first steps to build the file according to the bluetooth handsfree configuration).
Thanks,
Vincent

I found the file FeatureSummaryActivity.java where the available/supported features of the Android packages are set.
Also in frameworks/base/data/etc/ the file android.hardware.bluetooth.xml is not present as it should probably be.
This file is then copied in the phone file system in /etc/permissions/
Anyone has been familiar with this ?

Related

Batch files in CE?

Hello,
Is it possible to write batch files in CE? I would like to create a script to start a sequence of executables. For instance, start bluetooth, checkpoint and then TOMTOM.
Thanks,
Marco
Yes that interests me too
Yes,there was a .cab in Sin-merged Rom 2003se for Himalayas about Dos.
Try check out the post.
PS: Don't use pocket dos.
I find this
MortRunner
"With MortRunner, you can start, close, activate, and hide programs, and even remote control them to a certain degree.
It's more an hacker tool without a nifty interface, which can execute some kind of batch files..."
Here you can d/l the latest beta. There's not much new there, but it might be useful for some...
- Includes a tool to support WM's autorun on storage card insert/remove
- Rotate command
- .mortrun extension only registered when started without parameters (to avoid it's changed to the autorun folder)
(Don't worry about the German forum, the zip includes an English manual)
Mort > Thanks for your work
Is there a way to create a ".mortrun" file to mute/unmute the system sound ?
I'd like to do this to be able to use a shortcut to this file and so voice command mute/unmute via Microsoft Voice Command.
See this thread
DocteurN said:
Is there a way to create a ".mortrun" file to mute/unmute the system sound ?
Click to expand...
Click to collapse
No.

File Transfer via Bluetooth.

Hey people, does someone cares about it??
IMO, this is one of the most essential and usefull bluetooth function and almost all "regular" phones have it and we do not! Send\receive friend's song, doc, pic isn't available for Android???
Sh*t, I say.
Oh! one more thing - it's one of the most essential iPhones isssues.
But they'we solved this, kinde, so forced iPhone to sent\receive files ONLY with other iPhone via WiFi program. Not very convinient??
So:
1) We have Bluetooth.
2) We need OBEX driver (as I've understood) at least.
3) OBEX + Program that will allow users who don't know\want to patch something and have the Bluetooth File Transfer Function.
4) According to Google Roadmap NO such thing as Bluetooth File Transfer is planned.
So is it hard to do\ real??
Test:
Found a thing called
Bluetooth File Transfer OBEX FTP J2ME
+
Bluetooth File OBEX FTP v1.30
Bluetooth File OBEX FTP v1.30 (Mirror)
Both are Java programs that could od something, 1.30 claims FULL touchscreen support, though cannot say the same for the first link. All them can be tested through the Java Runner from Market. So, any volunteers??)
Linux fully support File Transfer over Bluetooth using OBEX over Bluetooth Technology
The thing is there is no BT API in the current SDK (I hope it will include OBEX). According to Google, BT API is the second most important thing for them (the first one is A2DP & AVRCP). After Cupcake, the BT API becomes the number one so I hope it won't take too long...
How about using DISCOVER application from Market till the time BT API comes

Learning about Android as an OS

I hope this isn't a stupid question. But I couldn't find any real info regarding this. And after reading the Mysteries of Science thread it seemed to me, there really isn't much information regarding such things. So:
I noticed that for almost all Linux based OS you can find in-depth descriptions on how the OS works on a basic level. For example where specific settings are stored.
The guides at android.com deal with app development, but don't specify how you use the OS as a root user. For example, if I want to change WLAN settings, there must be a way to do that without using the GUI or by using special classes but by editing a config file. Or where does Android store the startup settings, i.e. which apps to start at boot time or at specific system events. Or where do apps register as default app for viewing certain filetypes. There is a description how to code it, but not how Android stores that information and how it can be edited/viewed manually.
Since it's linux based I guess there are plain text config files for all those things. But where...? Was such information ever released by Google?
bur2000 said:
For example, if I want to change WLAN settings, there must be a way to do that without using the GUI or by using special classes but by editing a config file.
Click to expand...
Click to collapse
You can change network interface with 'ifconfig' command.
You can get ifconfig command by installing busybox.
There are commands that can be used, but this is still a bit liek try&error. So it seems there is no full documentation on how Android works?
Has Google ever addressed this, do they plan to release such documentation?

[Q] What is an asset file ? (an eventually how shoud it be managed)

Hi,
I'm a developper/system debugging on Android Gingerbread for new smartphones with Intel processors. I am currently integrating new components and middleware for Intel adaptation, especially in sound/audio domain. I am quite newbie on Android.
In the Android system, there are asset files to provide applications or service the method to get their ressources files like audio notification sound files.
My problem is that for a particular service, these asset files are not found and it takes some time to check and return that these files are not found. As a result, a latency of 10 s is observed, when asking for system volume levels.
This happens to the Mediaplayer (Mediaplayer.java) in the setDataSource method. The method openAssetFileDescriptor tries to open an uri which is "content://settings/system/ringtone". Does it mean that it looks for some package Id ringtone ? It is also the same for notification_sound and alarm_alert. And of course, these ids are not present under my platform, so a File Not Found exception is raised..
If you may have just a small clue about this, it might help.
Thanks
Vinio
So do I have to admit that no one know about asset files in the Android world except people from Google ?

[Q] Unknown library libverde.so

Hi,
I'm trying to work through a hardware detection problem running an app (Osmos, purchased in the Humble bundle for Android). It seems that maybe there's something weird about how my Chinese tablet reports its multitouch or something, I figured I'd just hack the apk to remove the multitouch check and be done with it.
The problem is that the error string isn't in the application itself, it's part of a support library and occurs during initialisation, there's no obvious call to the library to ask for multitouch though I'm sure something flags it as required somewhere along the line but probably in one of a couple of parameter values that are long, undocumented integers.
The support library is called libverde.so and appears in the apk's lib directory when decompiled (apktool, dex2jar, JD are the tools I'm using). There's almost no information about it on the net, only a reference on a pirate site about patching it to remove a check for screen size (similar to what I want to do).
Has anyone heard of this library? Can provide any information on it?
bp.

Categories

Resources