Questions tagged [android-2.2-froyo]

Android 2.2 is a platform release including user features, developer features, API changes, and bug fixes.

Android 2.2 (Froyo) is a platform release including user features, developer features, API changes, and bug fixes. For information on developer features and API changes, see the Android developers' page Framework API section.

855 questions
0
votes
1 answer

Android device screen doesn't turn on

I was developing an app to show videos. A BroadCastReceiver receives a AC_PPWER_CONNECTED an starts the VideoViewActivity. I can hear the sound of the Video, but the screen is off, either i want to turn it on with a wahe lock. Following Code doesn't…
AdemC
  • 406
  • 6
  • 16
0
votes
1 answer

SDK manager Android 2.2

I installed the packages Android 2.1, Android 2.2 Android 4.0.3, but other than 2.1, and 4.0.3 does not see. What is the problem might be? I need to create a project for Android 2.2
AndroidNub
  • 73
  • 2
  • 9
0
votes
1 answer

How to make the ActionBar LayoutParams workable for the android 2.x devices

I have successfully created an application which is workable on the >3.0 devices. However, I need to make the application also function-able on the 2.x devices. I would like ask if it is possible to make the ActionBar.LayoutParams also functionable…
Eric
  • 357
  • 1
  • 4
  • 14
0
votes
2 answers

Factors when deciding which Android API version to support (in-house application)

(Let me begin by saying that a) I appreciate this is the wrong place to ask which version I should use, especially because my question is only locally relevant, and b) I am surprised this hasn't been done to death, but it appears it hasn't!) At…
0
votes
2 answers

Android - onPause, onCreate, setContentView not working - method X is undefined for the type myMain

I have recently picked up a project from a few months ago. Went to re-open the project and found a few of the following errors: public void onCreate(Bundle savedInstanceState) { Gives the error: The method onCreate(Bundle) of type myMain must…
user1228891
  • 636
  • 8
  • 17
0
votes
1 answer

I just wanted to know that is it possible to read and open pdf file in emulater without installing like pdf viewer

I just wanted to know that is it possible to read and open pdf file in emulater without installing like pdf viewer
0
votes
1 answer

java.lang.noclassdeffounderror in same package?

I've got a very simple android project -- two classes. Both in the same package, com.testPackage. When I have the two classes in two different files (classa.java and classb.java), and I invoke ClassB b = new ClassB() from ClassA, I get this error…
XeroxDucati
  • 5,130
  • 2
  • 37
  • 66
0
votes
1 answer

Android MediaRecorder causes Force Stop error

Possible Duplicate: MediaRecorder: setCamera() - error camera is not aviable I am making an application that allows a user to record audio and save it somewhere in the SD card. I am using a MediaRecorder to do record the audio. I am reusing some…
RagHaven
  • 4,156
  • 21
  • 72
  • 113
0
votes
1 answer

Formatting text used by tabs

I have the following class (largely taken from the support api samples) public class MyActivity extends FragmentActivity { TabHost mTabHost; TabManager mTabManager; @Override protected void onCreate(Bundle savedInstanceState) { …
Buffalo
  • 3,861
  • 8
  • 44
  • 69
0
votes
3 answers

VideoView full screen even after fixed values in xml (Android 2.2)

I am facing a strange situation in which the VideoView that I have put in XML layout has fixed width/height, but when same runs on Android tablet running 2.2 of screen resolution (460*800), the video always goes to full screen, and the other views…
Sunil Sharma
  • 149
  • 1
  • 7
0
votes
1 answer

Phonegap Android application infinite pop up error in Android 2.2 but not in Android 4.0.3

I'm working on a HTML5 + jQuery app for Android using phonegap. When I test it on an Android 4.0.3 device it works fine, but in Android 2.2 I get infinite gap_poll pop up messages. Anyone knows how to solve this?
0
votes
2 answers

Android Step 1 from Root Developer Page Activity not Working

I attempted to run "Clean Code" according to this link, however nothing is happening. From being a Renegade developer my intuition says "Button onClick" is missing but I could be wrong. Here is my code written according to what the instructions…
KaSiris
  • 407
  • 3
  • 13
0
votes
2 answers

How to notify the Activity when WebView has downloaded a file

The problem is: my application shows a WebView for a user, and after when he has download some file I want to call a logic when downloading was finished. I have tried to use setDownloadListener(), but method onDownloadStart() was not invoked Could…
Alex Wih
  • 1,015
  • 2
  • 11
  • 24
0
votes
0 answers

ImageView not displaying default localized image, just localized

I've got an image that has a localization to -pl. So, naturally I have a drawable/aboutimage.png and a drawable-pl/aboutimage.png This was working out fantastically, untill I switched my view to a snappy fragment view pager instead of a listview.…
Rev Tyler
  • 601
  • 7
  • 17
0
votes
3 answers

android sdk. startActivity() moves prog. to background

I'm simply trying to change between xml files/layouts. In my main activity I have startActivityForResult(new Intent(this,playlist.class), 0); I've added the class to my manifest, created the class where the package is com.site.mainactivity, and…
Marc Brown
  • 601
  • 2
  • 11
  • 26