Hi..
While creating a new android project in eclipse 3.5, i have selected Android 2.1 Update1 as build target. But i forgot to give the mini SDK version. Now when the build the project, its giving a warning message "WARNING: Application does not specify an API level requirement!Device API version is 8 (Android 2.2)"
The application is r...
Launching a Streetview intent for a location doesn't guarantee that a Streetview exists for that location. If the Streetview doesn't exist, the user just sees a black screen that spins. Is there a way to programmatically check if it exists before launching the Streetview intent?
...
I have a scroll view that contains a linear layout. In the linear layout are the child linear layouts.
I would like to give the user some peace of mind that he is touching the right child.
I can put in an on click that highlights it to tell what he just clicked,
I can put an ontouch to highlight what he is about to click,,
But how do...
I have an application that downloads data in a background service and I want to be able to update an activity UI if they are currently running the application or trigger a Notification if they are not.
How do I know if the application is currently in the foreground?
I could register a BroadcastReceiver inner class in the activity and t...
Hi
I'd like to add an option when long-pressing a number in the call list. Actually I have:
Dial
Send SMS
Add to contact
Edit before calling
Remove
Is it possible to add an option there? Such option should start my application through an Intent when pressed.
Thanks
...
Can screen brightness changes be tested in the Android emulator? I've tried various examples that all use the following code snippet:
WindowManager.LayoutParams lp = window.getAttributes();
lp.screenBrightness = (*some float percentage*);
window.setAttributes(lp);
But I don't see any change in brightness in the emulator. I've tested...
Hello.
I'm developing an Android application and I'm very new on Java and Android.
I want to create some constants to use in some activities. Where can I define these constants?
Thanks.
...
I have ported an application from Android to desktop that uses AES to encrypt some private data.
Both applications are able to encrypt and decrypt the data for their own use but unable to decrypt the other applications data.
The AES keys, IVs, and algorithms are identical.
The main difference between the two applications is that the andr...
I would like to have a linearlayout with a header section on top and a webview below. The header will be short and the webview may be longer and wider than the screen.
What is the best way to get horizontal and vertical scrolling? Is a ScrollView nested inside a HorizontalScrollView a good idea?
...
In the adapter for the gallery,
I'm using setImageBitmap(...),
but it is never displayed.
If I use a plain ImageView, the thumbnail is displayed,
so I know I'm getting a valid result back from the cam.
How do I dynamically populate a Gallery view with thumbnails from the camera ?
...
Okay, so I'm writing my first Android app and am basically stuck. The app is a short 4 question quiz with two choices per question. This creates 16 possible results, which I've created descriptions for. I want the app to display the description corresponding to the user's responses on each of the questions after the 4th question is answe...
I am using Live Android and successfully boot my System.So my PC(having Windows on it) is running Android without any problem.
Now i want to deploy my android application to the my PC running Android.How to do this? Valuable tips are welcome.
...
<LinearLayout android:id="@+id/LinearLayout03"
android:background="@drawable/ninepatch"
android:layout_width="wrap_content"
android:layout_height="55dip"
android:layout_weight="1">
<LinearLayout android:id="@+id/LinearLayout02"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<EditText android:id="@+id/EditText...
I have published a free app on the android market. I want to edit the description and add a couple of screen shots.
While the "Upload Aplication" screen on http://market.android.com/publish lets me make these changes & saves them too, they don't show up in the description of the app when I go the android market. Do I have to unpublish...
Hi, I am creating a scrolling panel with many child views (e.g. buttons). Each child view has a fixed location based on their row and column index. I cannot create them at the beginning since there are tons of them and I will run out of memory, so I'd like to only add a child view when it intersects with the screen view port (when users ...
I just started learning titanium for mobile using the android. I followed all the install steps and got the hello world script to work just find in the android emulator. The problem is Im trying to use example code to see how it all works. The example code Im currently having problems with is:
var win = Titanium.UI.currentWindow;
v...
S60 platform's Java environment has a LandmarkStore class which saves Landmarks. A Landmark is just an object that gives a name to a location. Similar to a waypoint in GPS devices. Basic idea in S60 platform is that LandmarkStore is accessible to every application on the device. For instance, I can create a new Landmark on one Java appli...
Is it possible to have a spannable in TextView similar to this functionality in WebView?
Bob McDonalds <span style="white-space: nowrap"><[email protected]></span>
I am trying to avoid
|Email: Bob McDonalds <b. |
|[email protected]> |
I would rather
|Email: Bob McDonalds |
|<b.mcdona...
Hi,
I would like to display some UI Elements on a android xml layout file.
I try to make an application, where two players can sit at each end of the mobile device, and play against each other.
So need to show some Button 180 degrees rotateted.
Is this possible? I tried android:gravity, but this did not work.
Thanks for you help,
Ma...
Hi,
I currently found out, that my Application developed for Android 1.6 does not work on Android 2.2. I'm quite puzzled about this, because its a very simple Application which almost does nothing.
The Expeption I get is like that:
java.lang.RuntimeException: Unable to instantiate application [packagename].AndApp:
java.lang.ClassNotFo...