I'm trying to create a layout similar to the browser application. Basically, I want to have a LinearLayout on top of a WebView in such a way that when the user starts scrolling the WebView, the LinearLayout scrolls away, too (like the address bar in the browser app).
I know I could have the two elements inside a LinearLayout inside a Sc...
Hallo everybody,
I'd like to use black color as default text color only in one activity.
I guess, I should use Theme and Styles, but I didn't find any good information relating to my question or to only one activity.
Is it possible to change default text color only for one activity?
If yes, could you give me an example please, how t...
Apparently my app needs 2.5 MB (maybe because my photos need 2MB...) and then virtual device can't work with that much MB.
How can I make my virtual device support more than 2.5 MB to get my application working?
...
I am trying to develop an app which can display the schools and airports in the locality. I found that using Google Places API is the way to go...
I have seen the documentation here... But anyone could please simply the use of the API. Any tutorials or samples will be of great help... Plz help guys..
...
Hi,
I am a beginner to android, i am building a application in which when the user presses a button, the contacts which is stored in the mobile are shown. When he selects a contact from that, i have to get the selected contact name and number. I tried using the code but only the name of the selected contact is shown and not the phone n...
I have a task to send an email by using intent without using xml layout,
it works fine but here my issue is to change the keypad appears with enter option by default but here i need it to replace done option.
How can i get it?
Here my code:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setFlags(Intent.FLA...
I found something weired in my application. I created a table with a column named type which should store integers:
db.execSQL("CREATE TABLE " + CellColumns.TABLE + " ("
+ CellColumns._ID + " INTEGER PRIMARY KEY,"
+ CellColumns.TYPE + " INTEGER," // <-- this
+ CellColumns.CELL_ID + " INTEGER,"
+ CellColumns.CITY_ID + " I...
Hello All,
I have been trying to figure this out and know that overriding the volume keys is not the most ideal thing but its the one real buttons on every Android device which is needed for my application. Currently I am overriding the volume keys with dispatchKeyEvent because onKeyUp and onKeyDown were not working. Throughout the ap...
Hello all,
I may be going over my head but I am trying to make a couple of apps for my own work usage as a photographer that will save me time and negate the need for paper. I need some help!
But first, what I have at my disposal:
Eclipse for RCP and RAP Developers, Helios Service Release 1
Android SDK (Latest with all APIs downloaded...
Can anyone please tell me the LIST OF DATATYPES in SQLITE supporting ANDROID.
I want to confirm about TIME and DATE datatypes.
...
I have an ExpandableListActivity with a CursorTreeAdapter and CheckedTextView displayed.
It's working fine on click (I have to toggle the CheckedTextView by hand but that's because this is an ExpandableListView) but when the adapter call requery on the cursor, items that are checked are not the right one (as equal as before).
Do you hav...
Hi.
I have setup my default android Preferences with the necessary options. The prime reason of the Preferences are to allow users to manage their resources. In the context of my app, they are "Contacts", "Types of projects" and "Currency".
The "Currency" section works fine. The display just yet, not the programming. But what I really ...
I'm attempting to replicate on android an iphone app my company had developed externally.
My need is simple but it seems hard to achieve under android. I have three numeric edittext inputs. Each should take only decimal numeric values. So numbers 0-9 and "." or ",". On the iphone this was achieved by a slide in calculator style keypad ...
Hi All,
I am looking for the solution to get contact details (Phone, Email, Zip) from the device. I have implemented code for OS 1.6 as well as for 2.2. I am building an application with API level 4 (1.6), but when I run the build in 2.2 device I am getting email and phone string null.
CODE - for OS 1.6
public void ImportCustomers(C...
My question is, when you are in a webView, and you have gone through several pages.
You want to go back. Is the last page you have been to cached, so that you would not need internet connection to go back?
...
Hi there. I want to add rows to a tablelayout dynamically. This is my code.
TableRow tableRow = null;
TextView textView = null;
ImageView imageView = null;
TableLayout tableLayout = (TableLayout)findViewById(R.id.tableLayout);
RelativeLayout relativeLayout = null;
for (String string: listOfStrings) {
...
I'm using Google Code to host my application code, its conveniant and the SVN repository means I don't have to worry about backups
When you create a project on there you need to select a license, I chose GNU GPL v3.
By doing so, does that prevent me from selling my application on the Android market place?
...
I want to read a PDF file in android.
I placed my PDF files in the assets folder.
How can i read the PDF file from there?
PDF Reader Link
I have checked the above link but it does not work for me.
It gives me an error saying that the Activity was not found.
And I also want to open a PDF file in WebView. So is it possible to read PDF...
I want to make iPhone app like Phonebook on android. My Main problem is how to make font list filter.
Font list should be displayed on right side and Toast should display selected font.
One of the problems that I have is too small fonts for selecting
Please help with some example.
...
Can I be notified of the following events for an Activity:
screenSizeWillChange
screenSizeDidChange
I realize that I can probably override the main View's onSizeChanged() and be notified when the View has changed, but how can I be notified when it's about to change?
...