I'm looking to implement my first Android database, but I have so many questions which (I believe) are unanswered by all the tutorials I find.
Here are my needs:
- I want my application to have a database that is persistent. If my application closes and launches again, there is already a database to pull data from. It does not create ...
Hi All,
I have a mobile website and it has some HTML input objects in it such as:
<input type="text" name="txtAccessoryCost" size="6" />
I have embedded the site into a WebView for a possible Android 2.1 consumption, so that it will also be an Android application.
Is it possible to get the keyboard with numbers instead of the defaul...
Hi,
I want to implement something like the Android Calendar week view, where you can move through the weeks -- or like the Talk app, where you can switch between conversations. In other words, I want to be able to drag the views, not just swipe them.
The only thing that I seem to be able to do is to switch views (with a sliding animati...
I am brand new to developing for android and have hit something of a stumbling block that I cant seem to get around.
Using the NotePad example, I have created my own ContentProvider to serve up data from a database that I will eventually host on a webserver. But that is lightyears away from where I am right now.
Just testing my Conten...
I'm doing an application on Android.
I have the content of a web (all the HTML) in a String, and i need extract
all the text inside the paragraphs (p elements) with the class="content".
Example:
<p class="content">La la la</p>
<p class="another">Le le le</p>
<p class="content">Li li li</p>
Result:
La la la
Li li li
What is the be...
Intents in Android are an elegant way to pass messages between uncoupled components, but what if you want to send extra data with the Intent? I know you can add various value types, and objects that implement Parcelable, as extras, but this doesn't really cater for sending user defined types locally (i.e. not over a remote interface). An...
I don't quite understand what the IntentFilter does? Here is an example manifest:
<activity android:name="SomeActivity" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
...
In the onCreate of an activity we are connecting to a remote system and downloading data. We display a cancellable ProgressDialog to the user all this time. Download is done using AsyncTask. In preExecute(), we show the dialog and in postExecute() we dismiss it.
Problem is that when the download is in progress and ProgressDialog on disp...
Ideas welcome how to create an application able to lock phone on a particular operator's cell, prevent cell reselection/handover, modify layer 3 "Measurement Report" messages which handset sends uplink towards base station (it is commont for GSM & UMTS).
Platforms:
iPhone
Symbian S60 3rd, 5th
Android
Windows Mobile
What I currently fi...
Hi I want to create a splashscreen for an app, and have a gallery rotate several images on a timer. Can anyone show me how I could use a timer to animate the images in a Gallery?
...
Hey Guys,
I'm trying to add a new library to the android platform, but when I run the "repo status" command, the folder in which my library is located does not show up as added.
If for example my library is called foo, I created a folder /external/foo and placed my library code in it. This foo folder is not seen by the "repo status" c...
I'm new to android development and as a pet project I wanted to try and connect to an bluetooth device using the HID profile using an android phone. The phone I'll be using is the vibrant and according to samsung it doesn't support the HID Profile ( http://ars.samsung.com/customer/usa/jsp/faqs/faqs_view_us.jsp?SITE_ID=22&PG_ID=2&...
Hi,
I'm wondering if there's any way to merge two cursors together and then resort them.
I can easily merge two cursors together by using a MergedCursor, but that doesn't sort them.
I have two sets of contacts in two separate cursors (with totally different schemas) and I want to merge them and sort them by name (the name column is di...
Hello friends.I have to parse the outlook calendar file.For this How to use this Ical4j in Android.I am using Eclipse IDE.I am Beginner too.
...
I'm just wondering how the word parcel was chosen for the Android Parcel Project. I first saw the project in the Advanced Android Coders Cookbook and went onto google searching for Android Parcels, the top results shows the main problem with the name: Android has a class called Parcel.
I was just wondering why this was chosen in spite o...
Whoa SDK, whoa...
So I'm attempting to add an ellipse to the end of my TextView (single line) before it runs off screen. I've read that ellipses are broke (developing for 2.1)? After Google searching, everyone seems to suggest setting inputType to text and maxLines to 1 and you will get an ellipse.
There are two problems with this:
1...
Hello, I am new to this site, and I come with a question about Android.
Is there any way to convert a Bitmap to grayscale? I know how to draw a grayscale bitmap (using canvas operations: http://www.mail-archive.com/[email protected]/msg38890.html) but I really need The actual bitmap in gray colors (or at least somethin...
I have an image selector that has the "pressed" state set to a particular drawable. I want to give the user the opportunity to change this on the fly. However, I have found no way to programmatically get and modify a selector.
Is this something that is not supported?
...
I would like to pop-up an error from the appwidget when one of its background tasks fails, but I don't think that is permissible -- or if it works, that it is safe.
...
My widget reads an image from /res/drawable/. I would like to be able to change the image and write it back out to the /res/drawable/ structure. Is this possible?
...