I am working on an Android game, and want to release a Lite version with limited features as well. Is there a way I can configure Eclipse to build a second package? Or will I have to have a separate set of code to build the lite version?
...
For Android app, i want to draw a line which has some items overlay on it, preferable dynamic programming. First, how to insert items overlay on the line? Second, how to define the distance between 1 items to another? Third, how to remember the sequence of the items on the line?
...
hi everyone~
I wanna use a specific input method in my application, so I tried this.
Settings.Secure.putString(mContext.getContentResolver(),
Settings.Secure.DEFAULT_INPUT_METHOD, KEYBOARD_ID);
but this needs a system permission.
Is there another way to determine a specific input method and is it possible ?
thanks
...
I get this error when I attempt to publish an update to an app on the market. I'm using the same keystore and the same key as the previous update I published. I've no idea what to do. There are no errors or issues when signing or zipaligning.
I've only ever had 2 keystores and 2 keys on this computer. I've tried one, then the other, and...
My Android application has a MapView. I want to divide that MapView into a grid according to latitude and longitude, and shade the different cells of that grid different colors based upon a certain criteria. What's the simplest way to do this?
I could create semi-transparent, solid-color PNG Drawable rectangular images and put them in a...
Hi,
I am trying to send a raw image from the previewcallback from the phone to PC. The PC will then process the image. I am use OpenCV library to do the image processing.
At the moment i just write a function in previewcallback to save teh byte array to a file.
and copy the file to pc and i worte a simple program to first read in the f...
I am just digging into Android, and want to build a simple application that gets data from wifi/3g from a website, like a classic RSS feed, and/or a post-back to a remote database. A tutorial that does a good job explaining it to a "busy developer".
Can anyone reference a good tutorial site, or a book that covers this topic well ?
...
Hi,
I have an application that uses quite a bit of WebView. This can be triggered from a lot entry points in the application that brings up a generic browser activity with a WebView in it.
By doing this, i find that there is a high chance that this browser activity will be removed from the activity stack and destroyed when a user press...
I'm very new to Android programming...well, programming in general!
Almost every tutorial out there for Android programming says to run "activitycreator.bat". But where the heck is it? It's not in the tools directory on my machine. I've searched the whole drive and I don't have it. Help!
...
I am wondering how does webview load a particular URL. Does it create a new thread or load the URL in the same thread i.e. UI thread? The reason I am asking this is I am facing some weird wakeup lock issue when I launch an Activity from current Activity (in current Activity's onCreate method) which creates a WebView in it's onCreate meth...
Basically, I want to make an audio visualizer. I know it's possible, because my phone came with a few live wallpapers that do it. The problem is, I can't seem to figure out how to do this with the Android API.
My app would pick up the currently playing media stream and then depending upon the volume that is playing at that time, it wo...
Hello,
I have an application that adds an event to the calendar on the device. I have the following URLs for the Calendar ContentProvider:
Pre Froyo: content://calendar/calendars
Froyo: content://com.android.calendar/calendars
These urls work fine for Nexus One but do not return any calendars on HTC Desire/Incredible/Hero. Probably al...
I create a dialog box with TimePicker inside it. This works very well on portraid mode, however, once it is changed into landscape mode, the timepicker minus button looks cropped.
here's my code:
test.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_heig...
I am 99% there. I need to have a Edittext beside a Search button. The EditText should fill as much of the width as possible, the button should be to the right and be just big enough to have it's text
It looks like this now:
[EDIT TEXT][Search]
but should look like this:
[.......EDIT TEXT.......][Search]
<RelativeLayout android:id="@...
Is there a way to get the api level ? eg. to an int.
I want to make 1 version of an application but only use AnticipateOvershootInterpolator()
to >3 Api level devices.
...
Is it possible to call the built-in Video Recorder in Android through an implicit Intent? I did some search but haven't figured out yet.
Many thanks.
...
sometimes i am getting these exception console
[2010-08-26 10:50:18 - ddms]ADB rejected shell command (ls -l /):
[2010-08-26 10:50:25 - ddms]ADB rejected shell command (ls -l /):
[2010-08-26 10:50:38 - ddms]ADB rejected shell command (ls -l /):
[2010-08-26 10:50:45 - ddms]ADB rejected shell command (ls -l /):
[2010-08-26 10:50:58 - ...
I have uploaded an application in Android market. But when I search for the app the app do not appear in the autocomplete box which appears below the search box.
For example, if I type "h" in the search box the autocomplete box will have the applications with "h". But in my case I need to type the complete name of the application.
Wh...
hi
Will i be able to replace the existing application with a new application to android market, if i am enhancing it with more features
...
Hi,
Can anyone tell me what's exctly a Context class in android and whats the need of this in android prgramming.. I read about this in developer site.., but unable to understand it clearly.. please help me . Thanks
...