When I try to install the Android plugin for Eclipse on MacOS X (Leopard) I get the error:
Cannot create tempfile for site.xml
Permission denied
I'm not sure what persmissions the system is referring to. I have set this up on a Linux distro with no trouble at all.
...
Hello all,
I'm trying to do something I thought would be relatively simple: Upload an image to a server with the Android SDK. I'm found a lot of example code:
http://groups.google.com/group/android-developers/browse_thread/thread/f9e17bbaf50c5fc/46145fcacd450e48
http://linklens.blogspot.com/2009/06/android-multipart-upload.html
But n...
Is it possible to add ZIP file to APK package as a raw resource and read it with ZipFile class? It looks like it's trivial to open file from SD card, but not from APK.
...
Im thinking that more "global" styles are always overridden by more "local" Styles. For example, if I redefine all Buttons to have textSize=40dip (apply that Style as a Theme for the Application) and then apply another Style to a specific Button that says textSize=10dip, then that specific Button should get 10dip textSize.
And that is h...
Hi,
It seems to me that the method "speak" of class TextToSpeech only works in method onInit or onUtteranceCompleted. However, onInit and onUtteranceCompleted don't have any parameter for passing strings.
In the following code, I tried to define a global string arraylist outside the methods and used the arraylist for string input.F...
Are there any guidelines where should my app store resource files downloaded from internet?
...
In my ListActivity, I need header and footer views (on the top and bottom of the list) to be used as previous page and next page buttons on my list, respectively, because I want to display only 20 items at a time.
I set my header and foot views by doing:
getListView().addHeaderView(myHeaderView);
getListView().addFooterView(myFooterVie...
How do I get a Edittext with both a phone input and the ability to hide the string. I know that
android:inputType="textPassword"
hides the string, while
android:inputType="phone"
brings up a dialpad interface.
How to combine the two?
...
How do I go about changing the color of the frame of this dialog? I've tried a bunch of things and nothing works.
Thanks!
Tom
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomDialogTheme" parent="@android:style/Theme.Dialog">
<item name="android:windowNoTitle">true</item>
</style>
</resour...
I know that android sdk 2.0 has provided the new bluetooth API for developers. But I'm not sure if this can help me connect to bluetooth printers. Are there any protocol restrictions or device limitaion for this? Is it possible that the bluetooth device is undetectable by android phone?
...
I am working on the Android SDK on Eclipse.
Whenever I look at the SDcard after running this code (either before or after closing the emulator) the file exists but its contents are empty. I have tried reading the contents after writing them, with a BufferedReader, and they are indeed there, but vanish when I open the file.
File file = ...
I am mainly developing in .NET C# and I love the Events in C#.
Im now doing som Android stuff and thus must deal with Java. When porting some code from C# to Java I ran into the problem of Events; Java does not have anything that corresponds to C# Events.
So, when reading up on how Java handles "events", the only thing I can conclude i...
I am having lots of logging statements to debug for example.
Log.v(TAG, "Message here");
Log.w(TAG, " WARNING HERE");
while deploying this application on device phone i want to turn off the verbose logging from where i can enable/disable logging.
...
Hi guys.
Is it possible to make 2 MapView on one Activity ?
If so, How to make it ?
I've tried but no luck.
Thanks in advance.
...
I am using a listview to display items.
Currently I am passing an String array of items to it.
But I want to pass one more array and display its items alongwith the items of the first array(i.e somehow two lines of text).
How can I do that?
...
I am using a simple EditText and register an View.OnKeyListener. Some GUI changes should happen (fading in/out of views) when certain conditions for the EditView text apply.
In the emulator, this works as expected. On the Motorola Droid/Milestone, the listener does not work, only
after pressing DEL, the listener is called the first ti...
Hi All,
Is it possible to write an application to prevent the Android handset from storing the capture picture? My thoughts are
a. Hook onto native camera apps and monitor for camera capture (or events). Once there is a capture event, my application will be able to detect and maybe remove the capture picture
b. Continously monitor camer...
Hello all.
Im having a problem using the org.apache.commons.net.telnet.* library in my android application and i was hoping someone could help me!
I have implemented an app which uses telnet to communicate with a remote server and all works fine, the problem i have is when i call TelnetClient.disconnect() the method does not return. Wh...
I've received report from the user of an app I've written that he gets FC whenever starting a certain activity. I have not been able to reproduce the issue on the emulator or on my HTC Hero (running 1.5), but this user running HTC Magic (with 1.6) is facing this error every time.
What bothers me is that no single step in the stacktrace ...
Hi Folks,
I am trying to create a mail sending application in android, If I use
`Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND`);
This will launch the builtin application of android, I'm trying to send the mail on button click directly without using this app, Please any suggestions highly appreciated
Cheers,
Vi...