android-sdk-2.1 Questions

4

I have used android view pager to display images and text now what i want is that if a user is not changing the images then it should start to change the images automatically after a few seconds an...
Heinous asked 6/4, 2012 at 10:56

6

I am displaying a dialog with an edittext view. However, the softkeyboard will open only if the user presses inside the editview. So I tried calling an InputMethodManager with the following code. ...
Mauramauralia asked 23/11, 2010 at 16:56

3

Solved

I want to make a custom view in android with MVVM architecture. First of all, I want to ask, is ViewModel working perfectly with a custom view as it works in case of activity or fragment? Can we ge...

12

Solved

Ok folks.. long story short, I was developing on a computer that I no longer have access to. I was able to retrieve the source code, but not the .keystore file used to sign and publish my applicati...
Pruett asked 1/12, 2010 at 8:13

12

Solved

I'm trying to do something I thought would be relatively simple: Upload an image to a server with the Android SDK. I'm found a lot of example code: http://groups.google.com/group/android-developer...
Weatherglass asked 7/1, 2010 at 0:34

3

Solved

i have already set the theme of my activity as android:theme = "@android:style/Theme.Dialog" but i also want to remove the title bar of the activity. so how to use android:theme="@android:style/Th...

6

Solved

I'd like to set max and minimum limits of SeekBar to 50 and 20 respectively. SeekBar has a direct option top provide max value, but how to set its minimum value to 20 rather than 0?
Anisole asked 16/8, 2010 at 6:7

4

Solved

I am using following TextView to display some data in it: <TextView android:id="@+id/notificationText" android:layout_height="wrap_content" android:layout_width="fill_parent" android:textSi...
Melodic asked 11/11, 2010 at 8:58

4

In my Android application, I need to open a link in Browser. This page can receive some data just via POST. Could I add these parameters (data) to the intent which start the browser? Do you know if...
Sorel asked 7/11, 2010 at 21:36

0

I'm using android studio 1.5 and i'm creating general sdk library like paypal/facebook sdk, this plugin include 3rd party library like QRcode scanner,okhttp for networking. Once i include in these ...
Connotation asked 19/6, 2016 at 5:16

8

Solved

I get the error mentioned in the title when I run my app on the emulator. While creating it, I had given a sufficient space. How can you fix this? My log file: [2011-09-16 09:28:17 - Trivia] Per...
Quarto asked 16/9, 2011 at 4:1

3

Solved

Ok so I have a class that extends SurfaceView and overrides surfaceChanged - just calls startPreview surfaceCreated - opens camera, edits params *, sets surfaceHolder surfaceDestroyed - calls sto...

7

Solved

After performing a Menubar> Project> Clean... I get the following error in the errorlog: Java Model Exception: Java Model Status [gen [in MyApp] does not exist] at org.eclipse.jdt.internal.core...
Sheng asked 9/8, 2010 at 9:20

4

Solved

In SDK 1.5 I was using the PackageManager class to set the preferred home screen to be my app using PackageManager.addPackageToPreferred(). In the new SDK (using 2.1) this has been deprecated so I'...
Donor asked 6/4, 2010 at 10:2

7

Solved

I've been having this issue with initializing AudioRecord for Android. I searched for quite a while on the web with no success. For the phone, I'm using a Samsung GalaxyS on SDK version 7. For the...

4

Solved

When building Android project in Eclipse, Android SDK gives error like this: error: Description Resource Path Location Type 1) Error generating final archive: Debug Certificate expired on ...
Indiraindirect asked 11/7, 2011 at 4:59

3

Solved

I've tried several answer I've found across the web, such as: Camera.Parameters parameters = mCamera.getParameters(); parameters.set("camera-id", 2); mCamera.setParameters(parameters); or mMedi...
Seidler asked 22/11, 2010 at 0:29

1

Solved

I have a folder which contains few files and some directories which I need to copy to my SD card's /mnt/sdcard/Android/data/ path while I launch the application for the first time, and of course, i...

1

I am facing delay of 5 sec to show an Activity after pressing the HOME key. I had gone through some post and found that after pressing the HOME button, android prevents services and broadcast-recei...
Cumbrous asked 17/11, 2011 at 7:17

3

Solved

I am trying to replicate this feature of Maps in Android: You can see that on the map, there's a Circle depicting the range that the user has selected. In my application, I'll also want a dragge...
Spurtle asked 13/12, 2010 at 12:19

4

I have a problem with android version 2.1. It looks like a bug. I attached an OnScrollListener to my listView. I'm using the method onScrollStateChanged(AbsListView view, int scrollState) for mon...
Prosthodontist asked 9/6, 2010 at 12:41

2

Solved

I am trying to write an app that requires the LED flash to go into torch mode. The problem is, Android 2.1 does not support this mode and therefore I cannot support the platform yet. Wouldn't be an...
Medan asked 7/10, 2010 at 2:38

1

Solved

I have an IntentService which need to pass a message to an Activity. I know two ways of doing so. use sendBroadcast() at the Service side while registering a broadcastReciever at the Activity sid...
Winnifredwinning asked 10/9, 2011 at 15:24

2

Solved

I'm starting with android, and the app I'm developing is gonna need custom widgets look (glossy buttons, animated backgrounds etc.), I've googled for any external libraries to achieve this and did ...
Rheumatoid asked 24/8, 2010 at 10:36

2

Solved

I'm preparing to release an app on the market place, on reading the Google documentation located here it suggests the following : Deactivate any calls to Log methods in the source code. Is there a...
Substratosphere asked 28/2, 2011 at 12:6

© 2022 - 2024 — McMap. All rights reserved.