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.
I have a bunch of png images that I imported to my phone from my PC. I dumped them straight in my DCIM folder.
On the PC, these images have transparent backgrounds, however, when I view them using androids gallery app, the background is black. Similarly, when using these images as stickers for my text messaging app (Naver Line), the backgrounds will also show as black.odate.
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?
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.
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?
I just got an HTC desire and so far its much better than my iphone. I'm just stuck on one think, how do I view my contacts? I've gone through all of my apps and it appears that the only way is to create a new message and then add a contact to there.
to try to cut a long story short got a bit mifffed at using the hero to view the net and bought a broken laptop (now fixed with new operating system installed and new ram) to use at work so i can use the net in large screen after using for a few days i note the its using up a lot of mb of my data to use the net with the laptop is there a way to setup a firefox just to view the text with out the ads and pics and still have full function of the net
Im looking for an app that will allow me to view my webcam at work for security purposes. Once I close up the office I would like to be able to view my webcam on my phone. Would also be nice if it could be activated by motion.
Is it possible to view what requests are made to external sites/ servers by an app? Basically I'd kind of like to throw an application (I did not make) into a debugging type thing to see what requests (to where and what data) it makes. This is to kind of ensure a third party app does what it is saying, and isn't sending data elsewhere.
What is the best app for viewing Adobe pdf files on an Android smallscreen smartphone?
I searched the forums and other suggested threads and could not find that this has been directly addressed.
1) Has Adobe, the actual Adobe company, put out a "free reader" application for Android? (like they seem to do for every other computing platform I can think of)
2) Whether Adobe has or not, what is the best app for viewing Adobe pdf files on an Android smallscreen smartphone? I need to quickly and efficiently be able to view pdf files, and importantly, certain parts of those files. For example, a couple of paragraphs or a graphic that, say, takes up half a "printed" page in a standard Adobe pdf file.
I am working on a private website that will serve all kinds of documents: especially RTF, TIFF, JPG & PDF.This site is for mobile devices, on the iPhone it just works, serves all of those file types right out of the browser. It strips the formatting out of the RTF files but that is ok.
In android I can open an RTF file from Gmail and it opens correctly (again stripped formatting) it even says "Opening as HTML" But in the browser it serves it as plain text with all of the formatting characters.I have had to download a 3rd party tif viewer.And when I click the document button it downloads the tif file and the user has to then click to open it.This is at least semi-workable. The same goes for .pdf files, they have to be downloaded and then opened.I was wondering.is there a way to tell the OS to go ahead and open file type from the browser using a set app? I have a 3rd party RTF viewer installed now but unlike the TIF and PDF, the RTF file tries to open in the browser, it just fails at decoding it.
After installing Android 1.5 on my ADP I can't check logcat directly from the phone.
When running 'su', in terminal, I get 'uid XXXXX not allowed to su'. 'logcat' gives permission denied /dev/log/main.
If I get an exception/force close in any of my apps I'd like to be able to check the stack trace/logs without having to connect it to a computer. I guess it could be possible to check any created traces.txt files later.
I know I can check logcat with adb logcat, or adb root shell, logcat. Is there a way of checking logcat directly from the phone?
I tried searching for this information but could not find anything about it. I am considering an Android device (one of the ones on the Rogers network in Canada - and yes I am aware of the "they're all on 1.5 with a chance that they will never be updated" issue) but have some uncertainties. From what I have read, I can use the HTC Sync app bundled with the Magic/Dream to get my Outlook (pst) contacts into a Gmail account (which is the primary repository for all PIM info in Android, right?) and then the Google Calendar sync to get my Outlook (again, pst) calendar events. Super. Completely understand that (assuming what I said was right).I've also read (repeatedly) about how you can only have one gmail account in the mail application. I can tolerate that (don't like it, but can live with it). However, if my understanding is correct, Android comes with a Mozilla HTML browser, right? If I opened that and went to http://mail.google.com/ would it open the primary gmail account (the one the phone is linked to) or would it prompt for user/password? Further, if it does autologin, what if I clicked the sign out link and logged in as a different user? Would the phone go "kerpluey"? To be clear, I'm not expecting Android to sync ANYTHING from this other account; just wondering if I could access (read/respond) the gmail via the web browser. (Example: we're out and my wife wants to look up something in her gmail account using my Android smartphone is that possible?)Also, I read about some people discussing the installation of a second instance of the gmail app to get multiple account support. Is that even possible on 1.5? What would it do to things like contacts?
I have several gmail mail calendars and unfortunately, the Android phone (HTC Magic OS 1.5 in my case) only allows for one account for the calendar. The same goes for the gmail app, which also only allows for one account.I can get around the email situation by using the mail app... but thus far, I have not had any success finding an app that supports more than one calendar. Every non-Android phone I had in the past could handle more than one calendar! Can anyone suggest the appropriate app that will solve this issue?
Is there a built-in intent which will let you pass it the path of an image (png or jpg) and show it full-screen with panning / zooming controls? Basically the same controls WebView has, but only for a single image. I saw that iPhone has something like this, just wondering if there's already something like this on android before writing a new one.
How can I view the contents of my databases on the actual phone? I have followed the docs, using the adb and sqlite commands, but while these work fine on an emulator when I'm connected to the device I get a permissions error.
Basically I want to know how to get a list or array or any type of data about the files that have been stored in an package specific data section. By this I mean that after using something like:
FileOutputStream fOut = c.openFileOutput(fileName, 0); OutputStreamWriter osw = new OutputStreamWriter(fOut);
How can I get a list of the files saved to the data location of my application where this file and other files or saved so that I can choose which file I wish to read or edit. I've searched and searched for this but have not found anything of use any help will be greatly appreciated.
just wondering if there is an app out there to view my home security camera's from my phone . someone was telling me that internet explorer was the only way (windows based phones), thought that didn't seem right . thanks