Android :: Using SDk Provided Images
Jul 28, 2009
There are images provided in android-sdk-windows-1.5_r2platforms android-1.5data esdrawable folder of SDK. Is there any way that we can use those directly in appliation. (without local copy)?
View 6 Replies
Jan 2, 2010
I recently posted this question on stackoverflow (http://tinyurl.com/ yzrofne), but maybe someone here can help me. I am using the location manager's requestLocationUpdates() method to receive an intent to my broadcast receiver periodically. The system is correctly firing the intent to my broadcast receiver, and I have been able to use it correctly. The only problem is that the GPS location provider only stays active for a few seconds after the initial location acquisition, and I need it to stay on a little longer so that the location estimates are more accurate. For example, if I tell the location manager that I want an update every 5 minutes, it correctly fires the intent with location information from the GPS. However, the GPS only stays active for about 5 seconds, so it doesn't give much time for the location to reach a high accuracy (say, less than 10-20 meters). My question is how to make the GPS location provider stay active for each periodic request that comes from the LocationManager requestLocationUpdates. Does anyone know how to do this?
View 2 Replies
View Related
Mar 25, 2010
The reason for me to do this, I have created these 2 views in the beginning of the app. SO they are always present. But in some cases where i want only 1 view(which is surfaceview) and if i dont need the 2nd view(i.e, videoview), i am still getting a black patch at the palce where i have defned a videoview. want to get rid of this. Can anyone please tell me if it is possible to disable views/surfaces corresponding to them? If so how can we do this?
View 2 Replies
View Related
Jan 7, 2010
I'm trying to use BouncyCastle with android to implement ECDH and EL Gamal. I've added the bouncycastle jar file (bcprov-jdk16-144.jar) and written some code that works with my computers jvm however when I try and port it to my android application it throws: java.security.NoSuchAlgorithmException: KeyPairGenerator ECDH What am I doing wrong?
View 2 Replies
View Related
May 5, 2009
Several recent applications (e.g. Shazam) have text and image ads which are handled by Google. I can't seem to find how they did this. Is there some new API that you can use to display ads given some key, similar to how the maps API works? Or is this something that developers individually negotiate?
View 3 Replies
View Related
Mar 30, 2009
I am using Geocoding API for my application... How can i know the set of cities/countries for which google API provides data for? If there is a list of cities and countries, can anybody provide me with the same?
View 2 Replies
View Related
Aug 3, 2010
I use Android emulator to test my location based application. The cordinates are provided by geo fix command (for example: geo fix 2.31278 48.9533 10). But when the new location event is fired, the cordinates are not the same as those in the command: I got latitude = 48.95800053333334, longitude = 2.3033544999999997 (I use Location.getLatitude() and Location.getLongitude() methods). Does anyone have an idea of my trouble ?
View 5 Replies
View Related
Apr 15, 2010
In my desperation with trying to get LiveFolders working, I have tried the following in my LiveFolder ContentProvider:Which, in all normalness, should launch the Browser and display the Google homepage when clicking on an item in the LiveFolder. But it doesn't. It gives a Application is not installed on your phone error. No, I'm not defining a base intent for my LiveFolder.logcat says:I/ActivityManager( 74): Starting activity: Intent { act=android.intent.action.VIEW dat=Intent { act=android.intent.action.VIEW dat=http://www.google.com/ } flg=0x10000000 }It seems it embeds the Intent I give it in the data section of the actually fired Intent. Why is it doing this? I'm really starting to believe it's a platform bug.update: I have filed an issue and removed the LiveFolders feature. I will include it in my app when I'll get a response either here or there that clarifies this thing. If I get the time I think I'll upload a demo app to that issue. Update: I have received a notification that the bounty is expiring in 3 days. No one wants it? Update 04/25/2010: I have updated the issue on the Android project and uploaded a test application. It would be nice if someone could test this application on a device, maybe it's such a subtle problem that it only appears on the emulator.
View 2 Replies
View Related
Sep 26, 2010
I have been googling for a couple days now searching for a sortable list widget similar to the one provided by stock android music app. What I would like is ability to sort a list similar to how you can sort your music playlist. I am coming to the conclusion that I am obviously not using the proper keyword to find my answer.
View 1 Replies
View Related
Jun 25, 2010
I am doing some android application. I just wonder what will case the managedQuery method return a null value?
View 1 Replies
View Related
Mar 6, 2009
I am new to Android. I want to know the things before going to start the Android application. What are the requirements need to start the application. What type of Database support provided by Android?
View 3 Replies
View Related
Nov 2, 2009
I'm basically using the same method of loading bitmaps in OpenGL that the SpriteMethodTest example uses and have been unable to get rid of an annoying outline that appears around all of my images.
For example, If I were to load an image of a white circle on a white background, I would expect to see nothing. Instead, I would see my circle because its edge would be gray. In SpriteMethodTest, I replaced the background image with white and was able to see that the edges of the android images flying around also don't seem to be rendered correctly.
Does anyone know how to load images in OpenGL without having a thin outline appear around the images?
View 4 Replies
View Related
Sep 3, 2010
Okay, we have many little things going around so I'm going to try and consolidate for everybody. With my phone having hardware issues I've practically got this memorized now. These are basic steps, if you do not know how to flash a file you need to do a little more reading before you follow this. I take no responsibility for your actions, they are yours! If you destroy your phone, I cannot help you. Most of the links I provided have instructions on them. If they are just downloads, it assumes you know how to use the file provided.
View 49 Replies
View Related
Apr 6, 2010
I'm working to convert some background images to nine patch so they scale better on different phones.
The problem is that if I have the following resource structure: drawable-hdpi/background.png drawable-hdpi/button.png drawable-mdpi/background.png drawable-mdpi/button.png drawable-ldpi/background.png drawable-ldpi/button.png and then I drop a new drawable-hdpi/background.9.png file into the mix, it breaks button.png during the pre-compile. The error is "No resource found that matches the given name (at 'background' with value '@drawable/button').Simply removing that one nine patch file fixes the build. Should I be able to have some nine patch images and some normal ones, or to have nine patch only in hdpi but not mdpi or ldpi? This is Eclipse 3.5.1 with the latest ADT.
View 3 Replies
View Related
Mar 5, 2010
On my system, i am using eclipse ganymede version along the Android SDK and ADT plugin installed. I have created an android AVD (target android 1.5) with 512MB of memory. Its quite frustrating to see the slow boot up of it. It takes around 4-5 mins to complete its boot-up. Is there any way or tweak to speed up this boot up process.
PC config:
P4 2.4 Ghz with 1 GB ram.
View 2 Replies
View Related
Sep 9, 2010
My phone turned off by itself today while it was in my pocket, here are some information. The phone is also not rooted, no launchers have been used, and is currently using TouchWiz. Purchased from AT&T Premier website on August 27th 2010
Delivered to me September 1st 2010
Manufacturing Date - August 2nd 2010
Battery Manufacturing Date - Not checked
Apps installed before shutoff experience:
Dictionary.com
Fandango Movies
The Moron Test Lite
WordUp
Google Voice
Speedtest.net
Barcode Scanner
Ninja Kaka - Fruit Dojo
Drop Block DEMO
Hella Umbrella Beta
PapiJump
Jewels
Unblock Me FREE
Smooth Calendar
GPS Test
1 Day/Night before I experienced the shutoff, the following were installed:
- Used my own wallpaper jpeg instead of one from the Captivate's stock wallpaper folder
- Beautiful Widgets
- AppBrain App Market
- Fast Web Installer
- Angry Birds Lite Beta (APK FILE, USED ANDROID CENTRAL'S SIDELOADER MACHINE)
- Paper Toss
I've had my phone for exactly 1 week, and after reading all the horror stories of people experiencing the random shut offs, I thought I was lucky up until now. I love this phone a lot despite the obvious GPS issues. Does anyone have any idea on what may be causing this? Hardware or Software issue?I would hate to exchange it for another with AT&T since I've become so attached to it.
View 6 Replies
View Related
Jul 8, 2010
On Sun, Jul 4, 2010 at 3:49 AM, Official <ehiggins...@gmail.com> wrote: Is there a tutorial on how to do this?
View 17 Replies
View Related
Nov 20, 2009
I need some mechanism so that an Android application can read a file which is provided by a different Android application. I know that it's possible if both applications have the same userid, but it's not feasible because it would require to sign both applications with the same key. The idea is that one application has a zip file which is uncompressed; the uncompressed files must be available to a different Android application. By default, it's not possible because that directory is not readable by the latter application. Is there any directory which can be readable/writable by both applications without hacks? Is there any other mechanism suggested by Android?
View 4 Replies
View Related
Jan 2, 2010
I am using the location manager's requestLocationUpdates() method to receive an intent to my broadcast receiver periodically. The system is correctly firing the intent to my receiver, and I have been able to use it correctly. The only problem is that the GPS location provider only stays active for a few seconds after the initial location acquisition, and I need it to stay on a little longer so that the location estimates are more accurate.My question is how to make the GPS location provider stay active for each periodic request that comes from the LocationManager requestLocationUpdates. Does anyone know how to do this?
View 3 Replies
View Related
Nov 3, 2010
Is there any certification for android developers provided by Google? please let me know this . I want to do that certification.
View 4 Replies
View Related
Jul 18, 2010
Just curious how many have this issue.If you are unsure select the link below and find out pls.
View 30 Replies
View Related
Jun 23, 2010
1.myJpegFile = new File("images/jpegImage.jpg");
2.output = new BufferedOutputStream(new FileOutputStream(myJpegFile));
3.encoder = JPEGCodec.createJPEGEncoder(output);
4.encoder.encode(myJpegImage); Please could you give me the equivalent code for line no. 3 and 4 in Android?
View 1 Replies
View Related
Nov 15, 2010
I see three folders drawable-hdpi,mdpi,ldpi. Do I need to duplicate my images in all of these folders?Or can I just place my images in one or the other and it does not matter?
View 2 Replies
View Related
Feb 14, 2009
I don't see a place to upload an app icon or photos. Is there now way for users to see screens of your app before they buy it?
View 2 Replies
View Related
Oct 3, 2010
When i have an ImageButton and a drawable and i want to do something like the Drawer or Twitter where when i press the button and the corner of the image is highlighted over the edge, in drawer its yellow, in twitter its white. Like the one below.How do i set my drawable without using a lot of images?
View 1 Replies
View Related
Sep 3, 2009
in my application, i want merge serveral images dynamically accroding to the user's selection, and the merged image will be scrolled and zoomed.i extends View to OverlayImageView, which has the properties background Bitmap, layers Bitmap and Matrix. in the onDraw event, i draw the background Bitmap and layers bitmap sequently by the method canvas.canvas.drawBitmap(image, imgMatrix, null).however, if all the bitmaps are stored in memery, it leads to the Out Of Memory problem. so, i have to read the image in the onDraw event by the method BitmapFactory.decodeResource, but it's slow to response user's operation, for example, the scroll and zoom the image will leads to the onDraw event. so, does anyone have some good ideas?
View 2 Replies
View Related
May 21, 2009
i am afraid if Max space for android App is 14MB , how can i put 15MB images in my App. my application includes more than 500 PNG images which are confidentials and cann't be put on sd card. i need to put them in my assets is it something that can not be achieved in android?
View 8 Replies
View Related
Jul 29, 2010
I wrote a application that load images from facebook and i show in lmageview, using this below code. InputStream object = myDataFromServer; Bitmap bmpImage= BitmapFactory. decode Stream (object);imageView. setImage Bitmap(bmpImage);it works fine for me. But the trouble is when i run my application for a longer time, it gives me error, OutofMemoryError, and becuse of this error my application crash. so want to know is there any better way to handling images
View 4 Replies
View Related
Sep 29, 2009
Maybe it has been announced already and I missed it, but just in case: => http://developer.htc.com/adp.html !
View 3 Replies
View Related
Sep 26, 2010
My app downloads a set of images from a website but I need to figure out the how to display them to the user. How can I display these to the user if they are coming from a ListView?Also, they'll need to be able to get back to the ListView.
View 1 Replies
View Related