I use FloatLabel library (https://github.com/weddingparty/AndroidFloatLabel) to add a little animation when user begin to write something in an EditText Android.
My problem is that the typeface seems to be changed when i apply the password type to my EditText. I would like to keep the same typeface as normal. (see picture 1)
But when i add the…
I am using my application with hebrew (right-to-left) layout.
I have a feature where I open an activity with EditText in it - where I put some text (previously entered by the user) to be edited by him.
However, when I do setText I find out that the text is aligned to the left of the edittext instead of of the right. (If I start with empty…
Hi all,
I am developing a small application on Google's android emulator.
I am trying to figure out how I can simulate a phone call from one instance of an emulator to another (both running on my computer). Does anyone know how this can be done?
Thank you very much.
Any suggestions on the best way to display this table on an Android platform? The formatting is not necessary but I am looking for a flexible way to do this because there are numerous tables with different numbers of rows and columns.
How do I connect my laptop to my HTC Wildfire through bluetooth?
The laptop is running xubuntu 11.10, and I have updated Blueman to version 1.23 through their launchpad PPA.
The phone is running android version 2.2.1.
I can 'pair' and 'trust' the phone, but I can neither 'send files to device...' nor 'browse files on device...'
I am able…
Hi,
I'm getting ready to release my first application the marketplace. It's being written for devices running Android 1.5 and above, however there aren't any specific folders for the three different screen densities (I think those came around in 1.6). Should I make these folders myself? Where should I put image resources for the different…
Hi. Can someone please tell me how can I easily display every record from sqllite in ListActivity tab? I'm kinda confused with this. Do I have to create db from my helper class in TabActivity or ListActivity or both? My db helper class is as follow:
package tabs.app;
import android.content.ContentValues;
import android.content.Context;…
I am using static Arrays and HashMaps to store some values in my AppWidgetProvider class. But they are becoming null when the process dies, so the widget does not work anymore. Are there any alternatives to using static members to store data for an AppWidgetProvider in Android?
In the gui you can go to Settings-About Phone-Firmware Version and get 2.1 (or whatever).
How do I do it from command line (or for a native application that needs to do it in run time ) ?
Hi,
I am writing a android application where I want to register my application to remoter server when application is first launched on installation. Application will register to remoter server itself without taking any user input. How Can I track whether this is a first application launch after installation ?
Hi there,
I just wanted to know if there is some kind of class to use the multitouch features of android 2.1. Specifically I am trying to implement pinch-zoom and was wondering if I always have to measure the distance between two touch events and calculate the zoom level on my own?
Thanks,
chris
I use Thunderbird with Lighting calendar addon, which stores calendar data in iCalendar format.
How can I synchronize this calendar and Thunderbird contacts with Android based smartphone (HTC Wildfire).
I know I can use Google Account, but I'd prefer to use bluetooth or even better, local access via wi-fi (no internet connection…
Hi,
Is there any way to refer more than one widget (ui controls) by a single id
For example
i have many ImageView with same android:id="myimageview"
And in my activity
myimageview = (ImageView)findViewById(R.id.myimageview);
So if i set an image using
myimageview.setImageBitmap(somebitmap);
i need that image in all…
I have an activity that I force keyboard to appears using,
InputMethodManager inputMethodManager=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
keyboard appears properly and also obscured when needed. Problem is when I finish the…
This page in the Android documentation defines an element id as follows:
<TextView android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Type here:" />
However this page defines it as:
<EditText id="text"
…
Hi,
I am developing in android and I would like an input field for numbers, where the user can select the correct number using the plus sign at the top and the minus sign at the bottom of the input field. I know this works for date picker. Is there some property or something similar to make this available…
I do not know the difference between these two attributes and for the height also.
Take a TextView for example, what would happen if I set its layout_width to wrap_content and set its width to 50 dip?
I just downloaded the android sdk from the adnroid site and followed this tutorial to set it up on netbeans. Everything to seem to have installed fine but whenever i try to run the application this window pops up:
What I am assuming it asking me to choose the emulator, but it is not showing up on the…
I'm beginning to learn mobile programming on the Android platform. I'm up for working with any particular base SDK. I just want to hear some suggestions from the community about what types of applications I should start with to help learn more advanced interactions with the platform.
There are of…
From some reason on several android devices, I'm getting different User Agent from the browser and from my application's WebView.
I have used this line of code to get the UA in the app:
new WebView(this).getSettings().getUserAgentString();
This is the part with the difference
The application…
I've heard that Apple pays the developers in lump sums (I forget how often) for their app downloads. My question is does Google work the same way with Android? If not, how do they operate their payment system?
Kind of a side question as well, but how do Apple and Google get you the money from…
Hello,
I am using some custom components in my project for that I am using following code.
<view
class="com.android.mypackage.myclass"
id="@+id/button"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:drawable/button"
…
I know that google goggles will translate a picture to text. What I want to do is allow the user to take a picture (no problem), translate that picture to text(?) and then do some processing on the text (no problem).
Is there any API on android that allows this? or is there any way to…
Hi,
I need to use volume buttons to control a variable parameter in my application.
I use Activity.onKeyDown to get notified when the button is pressed but the media volume is also increased.
Android is doing something like below when I press the volume key:
1. increase media /…