Hi guys, my question is kinda related to this question: http://stackoverflow.com/questions/3216169/numeric-soft-keyboard-on-android
BUT, the question above isnt answered, so here i am.
Theres a EditText that when it gets touched or has focus, i want the Software Keyboard to show up by default as NUMERIC! Of course, you can switch back ...
Hi everyone,
I'm creating my first android app (or attempting to anyway) and i have a question i can't seem to find the answer to.
I would like to allow users to enter a separate set of preferences for each item in a list view. I have the PreferenceScreen working, but it maintains the same preferences for every item (i.e. changing 1 i...
Hi I am new to this android programing.
I need to add my application to home screen as shortcut programmatic.
Please give the idea for that. If possible please tell me how to manage existing shortcuts(deleting and adding some more shortcuts)
...
The options menu has a translucent background and I would like to make it solid and non-transparent. Is there a way?
...
Hi.
I am trying to make APP native code for Android.
The Native code is in cplusplus.
Whenever I try to make, the following error appears.
H236Plus.cpp:135: error: exception handling disabled, use -fexceptions to enable
How do I use -fexceptions to enable exception handling, and where do i use it?
...
I have an app that I have running a media player and I want to resume the activity from my apps home activity.
I can successfully do this by adding the following flags to the startActivity Call:
myIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP);
I am worried that this is not an ideal way to do things...
Using code from open source MusicDroid with the following code that I found during a search for this problem, I can only get mp3 files that are in the root directory /sdcard/
File home = Environment.getExternalStorageDirectory();
if (home.listFiles( new Mp3Filter()).length > 0) {
for (File file : home.listFiles( new Mp3Filter())) {...
Hi,
we published our first update in the Android Market yesterday (the app is called Appie).
All steps were taken in correct order and the status in the developers console is: Published
Current users receive the update notification but get an error download failed when trying to update. Any ideas why this error occurs? Is there any way...
Hi,
I am new to this Android application Programing.
I need to know the thing that, disable and hiding of one application from application menu list.
instead of deleting the entire application, that need to do some other changes to hide and disabling any application from menu list.
...
Hey everyone
Using the SDK example BluetoothChat I've been experimenting sending byte[] to ArduinoBT in smaller chunks. For example, I'm sending a byte[] of size 800. I can perfectly send this array, but only under specific circumstances. The part that is puzzling me at the moment is why some arrays are not being sent correctly where oth...
when a user leaves the current activity by pressing the home screen button, how can i make this trigger a method? This doesn't seem to call onResume(), onPause(), or onDestroy().
onUserLeaveHint() looks like it should do what I want, but it doesn't seem to work either using:
@Override
public void onUserLeaveHint() {
super.onUserLea...
I've noticed that when I use an android spinner and specify e.g. setSelection(2) from the code behind, the scroll position of the spinner will start at position 2. I think a user easily may miss that there are actually 2 available options above this position.
So instead I want to set the scroll position to "zero". My preselected option w...
I want to send a broadcast from a new thread is start.
This is what i tried :
new Thread(new Runnable() {
public void run() {
//some other code for timing.
// ..
// ..
Intent broadcastIntent = new Intent();
broadcastIntent.setAction(Intent.ACTION_ANSWER);
...
Hello, i have method:
public void startGameButtonClicked(View view) {
final TextView shadow = (TextView) findViewById(R.id.main_menu_start_game_button_shadow);
final Animation animation = AnimationUtils.loadAnimation(this, R.anim.main_menu);
shadow.startAnimation(animation);
/** Ugly prototype pausing */
final long...
There are a number of posts (both here & elsewhere) about why a MapView might not be displaying tile info (personally, I've liked http://stackoverflow.com/questions/1809507/android-hello-mapview-tutorial-map-tiles-do-not-load, but there are other good ones, too).
My question is slightly different: I'm not getting tile info to show up (o...
I have just started working on my first Android application and am going ok. I have managed to get the app to locate my current position on a map and place the blue circle there. I can see the satellite icon in the notification bar working (satellite dish with rays coming off it).
I am very new to android phones altogether but upon bein...
How can i access an Adroid drawable by a variable?
Example
I have drawables :[ logo1.png logo2.png ... logoN.png];
Is there a way so i can do that?
String logopicker="1";
logo.setImageResource(R.drawable.**logo+logopicker**);
Well i know this code will never run but you get the idea of what i want to do.
Thank you
...
Hi all,
I am iPhone application developer, many people told me to join with the android application development, as it's future is far better comparing to iphone.
As I am iPhone developer, I prefers to be stay with iPhone , but in reality is it true that android is being far better comparing to iPhone ??
I can't say as I've never don...
I'm developing an Android Application that has three very similar Activities. I would like the user to be able to switch between them by swiping left and right on the screen.
This is how I managed that up to now:
I followed this post
Then I changed the method onSwipe() in this way:
@Override
public void onSwipe(int direction) {
In...
I'm trying to get swipe the Web Views like list view swipe.... from left to right. I've followed the way that showed here.
Also I've set the webviews in the viewflipper
<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/flipper" android:layout_width="fill_parent"
android:layout_height="fi...