Android : How To Properly File A Bug
Sep 7, 2010I believe I've found a bug in the ArrayAdapter class. What is the proper method for filing a description of the bug and sample code that reproduces it?
View 2 RepliesI believe I've found a bug in the ArrayAdapter class. What is the proper method for filing a description of the bug and sample code that reproduces it?
View 2 RepliesMy phone is working very well and plays .wmv file all the time. I had a .wmv file that I wanted to edit and shorten. I got the software and did the job and put it back on my phone. When I try to play it all I get is the sound now and no video. I checked the size of the video and it's still the same size but while the media player shows the progress and it rolls in to the landscape mode it won't show the picture.
View 4 Replies View RelatedI updated my android application on the market.This update included a change in the databaseHelper file where I put in more data and tables. Normally, when debugging, I would have to uninstall and reinstall the app because it doesn't see the new values in the database.Now, it's doing the same thing on the market.
Why is this happening?How can I fix this?Is it possible to 'rollback' the changes to the app?
I am trying to make sure my application looks good on the droid, my AVD seems to be messing up. The resolution is off, as the apps shortcuts are spaced the same as my g1 (I know they are usually spaced further apart, and the AVD loaded correctly once, and it's been jacked up since). Also changes I make are often not reflected, and when running a build it no longer says application already installed attempting to re-install, it just says installed successfully.In short, is there any way to fix an AVD that is acting up like this? I have tried deleting it and remaking it, but that doesn't fix it.
View 2 Replies View RelatedI was following the Hello World(Android) tutorial located in the Dev Section of Android website and everything went smoothly except when I ran the app as Android Application from Eclipse( for Java) a window appeared with one side having a black screen and grey letters spelling ANDROID_ and on the other a bunch of buttons.
View 3 Replies View RelatedMy little apps used to run fine in eclipse and on the android emulator.Then for some reason they stopped working. Now, no new apps or changes will appear on the phone.I have followed the instructions on the FAQ but it doesn't change. Now also if I want to change some code and then re-run it by pressing play, it says: emulator: ERROR: the user data image is used by another emulator.
View 2 Replies View RelatedI have an HTC and the battery life isn't all that great to begin with. I always charge the phone at night when I sleep. What I want to know is if this is ok to leave it on the charger at night for that amount of time?Also, when the phone is getting pretty low on battery I plug it in before the warning comes on to charge. Is this bad? But no matter what I charge the phone at night even if it was recharged at some point during the day. Will this ruin the battery?
View 2 Replies View RelatedI tried replacing scrollbar image with another drawable,setting scrollbar to a listview,but scrollbar image is appearing very weird,it is stretched vertically. I am setting to list view as android:scrollbarThumbVertical="@drawable/scrollbar" android:scrollbarTrackVertical="@drawable/scrollbar"
Is there any other attribute i need to set to make image appear properly.
Started on the missus iphone that it stopped sayiing 'Welcome to CoPilot' when you started the app (even though it is switched to on in the settings), also none of the directions are audible yet the button clicks are fine. Sent a support request to ALK a week ago... no reply. Today fired up CoPilot on my HTC Desire and exactly the same thing has happened throughly pissed off.?
View 2 Replies View RelatedI had it working with a normal View but that is to slow. I was told to use SurfaceView but can't figure out how to use OnKey with it and if I should use onDraw or draw? And how do I pass stuff to draw? does it happen automatically? code...
View 3 Replies View RelatedI have worked on android 1.5 and 2.0.
Currently i am doing Migration of Applications available in 1.5 to android 2.0.
During the work time i have come up with one issue as follow:
The DateFormat of android is not returning the value in CAPITAL Letters for AM/PM in 2.0 where as in 1.5 it is doing absolutely fine.
Example :::
CODE:.................
I looked all over the web and in this group for a solution but I don't seem to have any luck. I'm probably not the only developer that needs to try C2DM on the emulator so a solution to this could be quite useful. First of all let me say that I'm running the latest Google APIs 8 rev 2 as AVD which should have all the necessary magic to allow me to run C2DM (it even has all the market components to run the LVL). I tried both Chrome to Phone and Jumpnote and it was impossible to make the C2DM service work. - Chrome to Phone fails when trying to connect from the Android app running on the emulator with a "Error: Unable to connect". On the Chrome to Phone site they recommend that Talk should be tried first and that the Market should be available (none of these come in the emulator image and I'm not sure if I should even try to install them on the emulator). - Jumpnote does not synchronize automatically and gives me an error: "Error calling remote note sync RPC" (when I do a manual sync I can see the docs being synchronized but looks like C2DM, which enables the auto sync, is broken). I also heard a comment that maybe port forwarding via adb could be necessary (but I'm really not sure this makes any sense).
View 5 Replies View RelatedI'm trying to develop a touch control, but I'm getting some problems with the onTouch method. Basically, only the event ACTION_DOWN is working. The others seems to be in trouble.My application has a LinearLayout, containing a VideoView.I have a HTC Magic updated to 1.6.
View 3 Replies View RelatedI downloaded Mobilo for a few songs then downloaded Ringdroid to assign them to a few contacts. My problem is when the phone rings the new ringtones sound like they are skipping and scratchy as it rings. Why would it do this?.
View 4 Replies View RelatedIn my Application the camera preview is working properly in both in portrait and in landscape mode. No crashes are occurring, but the users are complaining that the crashes are occurring when they are using the same.
View 1 Replies View RelatedI want my application to always run in the background untill being exited properly. Currently I notice after a while my application closes on it own.
View 14 Replies View RelatedI am using the showDialog and dismissDialog methods to show progress dialogs in my app. Moved from creating the dialog and calling show() on it to using this in order to save state when changing orientation.But when I change the orientation from portrait->landscape->portrait, the dismissDialog no longer dismisses the dialog. The dialog stay there all the time and I need to press the back button for it to disappear.
View 2 Replies View RelatedUsing standard Google navi software, incoming and outgoing calls are vertical when the should orientated horizontally like the rest of the phone in the horizontal dock/mount. Its a new Moto Droid with 2.1 I believe.
View 1 Replies View RelatedI developed a mobile website using jqtouch. It works fine in iPhone but doesnt work in android.
First the page loads properly in android but when we scroll then it doesnt display anything on the screen. But I am able to click on links and it navigates properly. So am assuming that there is text on the screen but its not getting displayed.
I did look at issues posted in google code where they said that its the problem with transparent gif and suggested to use base64 value. I tried that, even then its not working.
I am setting a drawable to scrollbar of a list view.But scrollbar image is not appearing properly.It appears strecthed. I tried to use 9 patch image.But still same problem. Anybody ahs used image to scrollbar successfully?
View 2 Replies View RelatedI am setting a drawable to scrollbar of a list view.But scrollbar image is not appearing properly.It appears strecthed. I tried to use 9 patch image.But still same problem. Anybody ahs used image to scrollbar successfully?
View 5 Replies View RelatedI've used this official tutorial to setup my machine so it could detect my Android devices. But from some reason ADB doesn't detects any of my devices properly(Hero and Magic), ie it doesn't show device's IMEI or Firmware version but a bunch of question marks:
View 3 Replies View RelatedI have a Droid Eris running Android 1.5. My problem is that when my phone syncs with my Google Calendar, events that aren't on my Google Cal sometimes show up on my phone's calendar. The events that are showing up are events that repeat on a weekly basis but I deleted them for certain weeks on my Google Cal, yet they still show up on my phone. This is starting to become a hassle because I keep thinking that I have to do things when I really don't. I've already cleared the calendar data on my phone and restarted like the Google troubleshooting tips say, but that didn't work.
View 4 Replies View RelatedA little off topic, but it is about Android phones and this discussion list, so here goes. If you receive emails from this list in digest form and try to read the email on your Android phone (or at least on the Nexus One, the only phone I have experience with), when you click on any of the topics listed at the top of the email, you get an "Unauthorized: Error 401" error. If you read the email on your PC and click any of the links, it takes you to the topic you clicked, as expected. I know that this isn't a developer issue but I am not sure what other group to post it to.
View 7 Replies View RelatedI have a ListView that get data properly and they are added to my own ListView using a ArrayAdapter class and my own ArrayList class. When I for example, typing in "table" I want it to sort from the loaded titles in my ListView and than it should show me the items that are left and matching table.
View 1 Replies View RelatedI'm writing an app for Android OS, and I need to store some time values in the SQLite DB. I have been using android.text.format.Time to store the time values in the app, and then inserting the values as millis into the DB as REAL values. On the SDK emulator, everything works perfectly. On the sole phone I've had the opportunity to test my app (so far), my duration code doesn't work as expected. Some relevant code:
private static final String DATABASE_CREATE =
"create table " + DATABASE_TABLE + " ("
+ KEY_ROWID + " integer primary key autoincrement, "
+ KEY_START + " REAL, "
+ KEY_STOP + " REAL, "
+ KEY_DUR + " REAL );";
private SQLiteDatabase mDb;
ContentValues timerValues = new ContentValues();
timerValues.put(KEY_START, stime.toMillis(false));
timerValues.put(KEY_STOP, etime.toMillis(false));
timerValues.put(KEY_DURATION, stime.toMillis(false)-etime.toMillis(false));
int result = mDb.insert(DATABASE_TABLE, null, timerValues);
I pull this data from two separate functions with slightly different bits of code, both using Time.set(long millis), both giving incorrect results: The start and stop values come back correct, but the duration comes out 17 hours too large. Am I missing something about calculating durations or does this just seem like there's something "special" about this particular droid? I'll have another droid to test on Monday, but any ideas are appreciated.
Our application which consists of something like this: Main menu => View contacts => Edit contact => View groups => Settings => Browser settings
I have then added gestures so that the user can jump between any of these screens with a gesture. But this leads to a huge activity stack that just grows and grows so how should I properly implement this?
I thought about the following: Main menu (SingleTask) => View contacts (SingleTop) => Edit contact => View groups (SingleTop) => Settings (SingleTop) => Browser settings (SingleTop)
If I do nothing then I end up with something like this (using gestures): Main menu - View Contacts - Main Menu - Browser Settings - View Contacts - Main menu
I would guess this would lead to memory issues sooner or later?
I'm trying to implement a ContentProvider wrapped around an SQLite database.
I've followed the tutorial here in building my ContentProvider:tutorial
I want to test what I have; so I'm attempting to instantiate my new ContentProvider, retrieve a Cursor from the query handler, and attach it to my CursorAdapter. Currently, I'm doing this in the onCreate of my Activity (I know this is bad practice, I'm just testing, I will move it to a service eventually).
CODE:.....
When I launch my application, the onCreate method of my extended ContentProvider gets executed. The database helper object gets created, the database gets created, and the onCreate method returns true. However, when I try to use my ContentProvider (with the code above), in the open() method the database helper object gets created, but getWritableDatabase() returns null. Also, when I call open(), the reference to getContext() is null.
Note: everything else seems to be working fine. When I call query, it hits my query handler, recognizes the Uri and attempts to run my query code (which obviously blows up because the database object is null).
Here are my extended ContentProvider and database helper:
CODE:........
I'm wondering if I should somehow be referencing whatever instance of MessagesProvider was created when I launched the application, instead of declaring a new one (p) and using it?
I updated the onCreate code in my Activity to the following, but managedQuery returned null:
CODE:......................
I want to detect when an uncaught exception has happened in my Android app. Once detected, I want to display a confirmation dialog How do I get this confirmation dialog to display? When I tried various techniques, the UI is unresponsive and appears to be frozen. Code... I have tried these two implementations of CatchAllExceptionHandler: Display an Alert dialog Start an activity that then displays an alert dialog after onCreate So my question is: How to I get the confirmation dialog to properly display?
View 1 Replies View RelatedI have a problem with my phone. It started out as the phone lagging and everything and I went to a representative for Verizon and told me to get the application Advanced Tasked Killer to kill all the task so it won't lag. It worked for awhile and it started again even though I used that application. I pulled out the battery to restart it and its stuck at the android eye loading icon. What do i do? get it replaced?
View 1 Replies View Related