ANR dialog in my android application
Hi, I see a ANR dialog in my android application. Can you please tell me if it is possible that my application uses up a lot of memory and GC takes over and uses a lot of time? Or it is something else? ...
Hi, I see a ANR dialog in my android application. Can you please tell me if it is possible that my application uses up a lot of memory and GC takes over and uses a lot of time? Or it is something else? ...
Hey guys, I'm using a lazy image loader for my ListView with the following code inside getView(): Bitmap cachedImage = asyncImageLoader.loadBitmap(item.getImage(), wallpaperNumber, new ImageCallback() { public void imageLoaded(Bitmap bitmapImage, String wallpaperNumber) { ImageView imageViewByTag = (ImageView) listView....
Ok so I've implemented the TextToSpeech integration to the T mentioned in: http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html but now it's messing with my other intents. For example: 1. user starts app 2. user invokes load activity 3. user picks a file to load, and activity returns fileanme to load in ...
I'm trying to create an Android app based on camera. I want to split my screen into 2 or 4 views. (when 2 views are show, one will be above and one will be below. And when 4 views, 2 will be on top (side by side) and 2 will be at bottom (side by side)) I want to show the what camera is seeing in all the views. I mean all the views must r...
I've been following the post: http://tut7.com/2010/06/15/quick-tip-enabling-the-android-%E2%80%9Cmove-to-sd-card%E2%80%9D-feature/comment-page-1/#comment-6766 (even tried to post a comment but it's been awaiting moderation forever)... I'm trying to target Android 1.6-2.2 OSs and after applying your Build Target I get the following warni...
I am in the process of putting together a little Android app. I have created a couple of widgets by extending the ImageView and ScrollView widgets. The problem that I am having is not with the code itself (i.e. everything runs wonderfully) but rather with the Eclipse "intellisense" in an XML layout. If I am using the native android wi...
I have a "header" in my main layout that consists of a title TextView and a Spinner control. I'd like everything below the spinner to be the contents, and change the contents using the spinner. Some of the contents would just be a single (long) TextView, but some would consist of a multiple TextViews and maybe even a Drawable. From wh...
I am really confused on how to get data in and out of an android app from the internet. I imagined that i would store information in the mysql db on the server i already have set up. But from what I have read, I would need some type of in-between web service to make quiries with data sent from the app. Can anybody toss me some tips on...
hi in android i want to print the key codes for each and every key which i pressed. i am not getting any method from which i can print key codes. plz help me because without getting keycode i m unable to complete my project. ...
As I am very pissed off of using the emulator to develop any Java class, I thought of setting up a project in Eclipse and instead of the usual JRE I linked to the Android.jar (version 2.1) that usually the Android projects link to. I don't mean to use this to develop Layouts or other specific platform things, I was just trying to create ...
What I'm trying to do is if the user shakes the phone nothing happens. If then the user presses the button and shaking the phone plays a sound. When the user presses the button again the sound stops. This works the first time, but if the user does the same thing again can't the user stop the sound with a second click. The sound never sto...
Is there a high level android library for gestures that sends event when ascii character is drawn? So far I has seen only support for low level gestures --- strokes etc. I would like to add a GestureKeyBoardListener that calls back when a character from a to z (upper or lower case) or digit from 0 to 9 is entered. The Google Gestures an...
I have a multiselection listview in my android app. What I need to know is how many items on that list I have selectet. ...
After I added some .png files into my Project Workspace drawable folder I refreshed my drawable folders in Eclipse and the newly added files showed up. But when I tried to access those resources using R.drawable.xyzimage, xyzimage although in the folder could not be resolved. So I did a Project Clean and guess what after this clean R.j...
Hi all, I have this JSON to parse {"files_informations": { "row":{"value":"artist1"}, "row":{"value":"artist2"} } } I would like to know how can I get the first value artist1 and then the second one artist2 This is what I am doing : JSONObject myObject = jObje...
Hi, I have an iphone application which is a reporting application, by this i mean, a user searches for a postcode, and gets information for free on that postcode. Then for a cost (about £1-£3) they can purchase a complete report. I purchase the report data legitimatly per request, and put a markup on the price and deliver it through th...
Hi, I am designing an application which requires Drag&Drop functionality to transfer items from one list to another. Is there any way to drop item into another list, as i have seen applications to drag and drop items in the same list(Reordering the list)? ...
Is there a possibility to add a view or derivative (button, textview, imageview etc...) to another view without having to go through layouts? I have a class called ScreenView, it derives from View (e.g. public class ScreenView extends View). I wanted to display text into it, labels, images etc.. On an iPhone it's trivial, simply create...
Hi, I am planing to create an host application (let say game library) and make new applications which can be downloaded and run in the host app. Let say, I have an Host application named GameBox and this works like library for all my game applications. When any user installed the GameBox, he will see the list of all available games. An...
i am working with andriod2.2 while calling web service getting error like java.net.SocketException permission denied error ...already added the internet permission in andriodmanifeast file since getting error ....plz help me soon............... ...