General :: Light Painting Software That Uses Image As Source (not Just Text)

Aug 13, 2012

I recently started playing with what people call "light painting" using my cell phone and tablet, and it can be fun... but, what I think would really be awesome is if I could pre-load an image, and have it 'paint' it as I move the device around. This is basically identical to the other light-painting apps, but none of them seem to offer this functionality.

I can just imagine some trippy picture I could make with this

General :: Light Painting software that uses image as Source (not just text)


General :: Painting Multiline Text On Image

Aug 31, 2012

I'm trying to develop a simple application to add a caption into a image, but I have a problem.

The app is simple: I click on a TextView, an AlertDialog pops-up with a EditText, I insert some text, click at "ok" and it sets that text as the textview.

Then comes my problem: I click on a save button and it saves the image with that caption on my sd card. If it's a short text, everything's fine, but on text's that have more than one line it shows everything on only one line. So, if it's a long text, instead of breaking it according to the image's width and continuing into a new line, it just keeps going off the screen.

I'm using canvas.drawText to do it, but it doesn't support line breaks so I'm pretty lost about this.

Is there another way to do this that supports line break? Or a way to break the string into a new line and then use drawText?

View 2 Replies View Related

Android :: Change Source Image For Image View When Pressed

Nov 16, 2010

I have a scroll view with lots of image buttons. I want to change the image for an image button when it's pressed. The thing is that I want the image to remain until another image button is pressed. That's why I couldn't use a selector. What is the best practice to achieve his?

View 3 Replies View Related

General :: AOSP 4.1.2 Soft Keyboard - Not Painting Correctly?

Jan 24, 2013

I have compiled AOSP 4.1.2 for the Galaxy Tab 10.1 Wifi (GT-P7510) and have encountered an interesting issue with the soft keyboard. For some strange reason, when I touch a text entry field and the soft keyboard appears on the screen, it seems to paint incorrectly. rather than spanning the entire width of the display, it seems to be "squished" over to the left a bit and there is maybe a half-inch of empty gray space showing in the display to the right of the keyboard. However, the thing that makes it more interesting is that the actual digitizer mappings for the keyboard seem correct. As a result, I have to press somewhere between O and P for example to get an O to appear, trying to press L does a K or I, etc. The problem does seem to lie with how the UI is painting the keyboard onto the screen.

I've tried installing an alternate keyboard to see if it was specific to LatinIME but it doesn't seem to be...no matter what keyboard I use, the issue remains.

I've checked in my device and vendor trees used to build the ROM, and can't find anything that appears to be setting anything related. Is it a bad lib maybe, or something else that needs to be tweaked in the source or kernel? I'm fairly new to this and haven't encountered anything like it. I've successfully built AOSP 4.0.4 and never saw this type of behavior.

View 1 Replies View Related

Sony Ericsson Xperia X8 :: Does Phone Have Light Source?

Dec 2, 2010

Does the phone have a light source? for instance if u wanted to take a picture where there is no light u would need a flashlight.

View 2 Replies View Related

Android :: Get Image Source From HTTPs URL?

Nov 11, 2010

I am trying to get an image from a https url but it doesn't seem to display and get the image correctly but works fine on my computer browser. I have tested out a http url pointing to a different image and it works fine. My code is below:

public Bitmap getContactPhoto(String url) {
Bitmap pic = null; try { pic = BitmapFactory
.decodeStream((InputStream) new URL(
"https://mail.google.com/mail/photos/static/AD34hIjbK2m-Lj333E4nBcCkBC3MYl2tTs0xizuSqUOP3-Jd6DOrpFg1M5HG8jXh0MuPbeFepInZZDu92Dx8ST4b59EbOKmfYTortuuO3P1_Ohyu7b7a3gc")
.getContent()); } catch (MalformedURLException e) {
// TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) {
// TODO Auto-generated catch block e.printStackTrace(); } return pic; }

Here is the code from the activity class that calls the method above:
private ImageView mContactPhoto; private ContactDetailsViewHelper mViewHelper;
mContactPhoto = (ImageView) findViewById(R.id.contact_photo);
mViewHelper = new ContactDetailsViewHelper(mContext);
mContactPhoto.setImageBitmap(mViewHelper.getContactPhoto(mDetail.getImageRef()));
ignore the mDetail.getImageRef, that passes the real url value but for this case I tried hard coding the url as you can see from the getContactPhoto method.

View 1 Replies View Related

Android :: Displaying Image From Internet Source

Mar 23, 2009

I'm trying to display an image using a URL. When I run the code I get an error telling me the application has stopped unexpectedly. Can anyone see what's wrong in my code.

Bitmap bmImg; URL myFileUrl =null; try {
myFileUrl= new URL("http://www.starling-fitness.com/wp-content/ 240384vBdA_w.jpg");
} catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace();
} try { URLConnection conn= (URLConnection)myFileUrl.openConnection();
conn.setDoInput(true); conn.connect(); int length = conn.getContentLength();
int[] bitmapData = new int[length]; byte[] bitmapData2 = new byte[length];
InputStream is = conn.getInputStream(); bmImg = BitmapFactory.decodeStream(is);
/*timetableImage.setImageBitmap(bmImg);*/ setContentView(R.layout.timetable);
ImageView iv = (ImageView)findViewById(R.id.timetableImage); iv.setImageBitmap(bmImg);
} catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace();
}

View 4 Replies View Related

Android :: Set Image / Background Source Dynamically

Oct 11, 2010

Is there any possibility to set background image dynamically? I try to explain what I mean.

String picVariable = getPictureFromServer();
ImageView image = (ImageView)v.findViewById(R.id.dynamic_image);
// I know, that doesn't work, but that's the way I looking for
image.setBackgroundResource(picVariable);

I also read this article. It would suggested in one answer, to use java reflection to get a field of the R class by name. But I've never used reflextion before.

View 2 Replies View Related

Android :: Append 2 Image Source Files

Sep 24, 2009

Anybody tried to append 2 jpeg files in android? i.e.: a.jpeg and b.jpeg SD be appended and SD give one c.jpeg image file consist of both images.

View 4 Replies View Related

Android :: ImageView Scales Up Source Image

May 30, 2010

I can't seem to get my ImageView to display its source image in its original size. The ImageView looks like this:

<ImageView android:id="@+id/Logo"
android:src="@drawable/logo" android:layout_width="wrap_content"
android:layout_height="wrap_content" > </ImageView>

The source image is 140 pixels wide, yet on the Nexus One's screen, which is 480 pixels wide it uses up half of the width. Using absolute values in px or dp for the width and height changes nothing. The image also looks very antialiased from the upscaling. Why is this happening and how can I prevent it?

View 1 Replies View Related

General :: Add New Device Tree / Kernel Source Code To CM Source And Compile?

Apr 15, 2012

i have: CMW recovery, Kernel source code on local computer, full repo cm source + toolchains.

How to add my device tree, kernel source code to CM source and compile CM7 ROm?

View 3 Replies View Related

Android :: Jigsaw Puzzle Constant Image Source

Jul 29, 2010

I am creating a basic jigsaw puzzle for android. The code is almost ready but I am facing problem in finding images for the puzzle. The User should be able to get new image every time they click "Next". Upon selecting an image, the application will create puzzle for the selected image. For this requirement, I need a constant source of public images. My app will be free, so I think it can be considered as Non-Comercial usage of images.

View 4 Replies View Related

Android :: ImageView Clicked Change Image Source

Aug 16, 2010

I am working on changing the image being shown when I have my ImageView Clicked. I am trying to use a similar code that I used for accomplishing this with a TextView but I can't seem to find the right terms to get it to work. Here is my current code:

electronconfiguration.setOnClickListener(new View.OnClickListener() {
public void onClick(View drawable) { if (drawable.equals(R.drawable.element_el))
electronconfiguration.setImageDrawable(R.drawable.aluminum_el);
else if (drawable.equals(R.drawable.aluminum_el))
electronconfiguration.setImageDrawable(R.drawable.element_el);
} } );

View 2 Replies View Related

Android :: ListAdapter Populating Image (Icon) Source

Jun 7, 2010

I'm populating a list from the DB and I have a image field in the DB which contains a URL to a image file.

ListAdapter adapter=new SimpleCursorAdapter(this, R.layout.row, constantsCursor,
new String[] {"title", "subtitle", "image"}, new int[] {R.id.value, R.id.title, R.id.icon});

However, the other fields are populated, but the image remains empty. Why?

View 3 Replies View Related

Android :: Show Spinner Wheel Instead Of Image While Downloading Source

Oct 17, 2010

I am going to create a gallery view where the user shall switch between different pictures of products. On some of them is going to be a label like "sale" and a short discription. On startup I want to display a loading animation at that place until the product photo is downloaded.

Use layer list or state list for one product photo?
Could you please show me, how to set that up?
How to make that spinner spin?
How to turn it on or off (how to access the layer list through code)?

By the way, is "spinner" the best word for this? It seems to stand for several things. Feel free to edit this question, if I didn't hit the right words.

View 1 Replies View Related

Android :: Apply Click Event To Image In Droid With Source Code?

Dec 3, 2009

I want to apply click event to image .how to apply with source code

View 1 Replies View Related

Motorola Droid :: Games - Drawing - Painting Apps

Nov 16, 2009

So this weekend while checking out the new Wegman's grocery in Leesburg, my almost 4 year old daughter asked to play with my iPod Touch. I didn't have it with me cause it has a cracked screen that I'm in the middle of fixing so I thought I would hand her my Droid to play with. I had put a couple of games and "painting" apps on one of the homepages that I designated for her, but after only a couple of minutes, she didn't like it. Are there any good games/drawing/painting apps out there for kids? On the iPod she had games like "Anisays" (spell the animal on the screen with drag and drop tiles and it makes a sound), "Animatch" (like memory,flip tiles to find a match and it makes a sound), and several decent drawing/painting apps that had pull out drawers where you could change colors or pencil size. Most of the stuff in the free area of the market seems kinda cheezy and with terrible graphics.

View 3 Replies View Related

Samsung Fascinate :: Way To Light Up Screen When Get A Text?

Sep 10, 2010

I am pretty sure when I got my first few texts with handcent the screen lit up, but now it stays black when receiving a text. Is that how it is supposed to be?

View 5 Replies View Related

Android : How To Make Phone To Light Up When Get A Text?

Aug 31, 2010

As of right now it stays sleeping but makes a noise when I get a text. How do I switch it so that it wakes up when I get a text?

View 3 Replies View Related

HTC Hero :: No Notification Light When Get Text Message / Email

Aug 16, 2009

Can someone help me. When i get text message or email the light on phone should come on but it doesn't. is this fault this phone. all options are selected

View 19 Replies View Related

Motorola Droid :: Get Screen To Light Up When Text Is Received?

Nov 8, 2009

Is it possible to get the droid screen to light up when you receive a text when it is on silent mode for example to show that you have gotten a text?

View 7 Replies View Related

HTC Eris :: Lost Trackball Light / When Receiving Text

Oct 31, 2010

After upgrading to KaosFroyo V38 and Conaps Kernal v6 I've now lost my trackball light when receiving text, phone calls, Ext, Did full wipe, Dalvik wipe, and flashed, what did I do wrong to lost the trackball light? it's worked on all versions prior.

View 1 Replies View Related

Motorola Droid 2 :: How To Change LED Light / Text Message Colors?

Sep 9, 2010

Is their any way without downloading and app to Change the LED light color for different people calling and TXTing? Also, is their a way to change the color of the bubbles in the Text messaging area.

View 3 Replies View Related

Samsung Fascinate :: Soft Keys Light Up With Notification Of Email Text?

Nov 17, 2010

Is there a setting in LP or any apps that would allow me to toggle off and on the soft keys when a new notification comes in? Anytime I get an email or text the soft keys stay lit until I check the message.

View 3 Replies View Related

HTC Desire :: Option For Changing Colour/rate Of LED Blink Light - When Get A Text

May 14, 2010

I am using handcent for my sms. i think it is great, i can customize it heaps how i want it. however there is an option for changing the colour/rate of the LED blink light for when i get a text, however no matter what i pick it never changes. the little light at the top always blinks every 4-5 seconds in a green colour when i have a new message, however i would love for it to blink blue every second (as i have tried to set it) so that i can differentiate the notifications from reminders and other notifications. is this a problem with the phone not doing wat it is supposed to, or the application isnt working? or a combination, maybe the desire doesnt have any other colours for its LED light?

View 1 Replies View Related

Sprint HTC Hero :: MMS Settings - Screen Light Up When Receive Text Message?

Dec 5, 2009

The only thing that I've found that I dislike about this phone is the way it alerts you about new text messages. Is there a way to make your phones screen light up when you receive a text message? Also is there a way to set a reminder like every few minutes that you have a text message? Say if you receive a text message while you're away from the phone then two minutes later the phone vibrates or sounds to remind you that you have a new text.

View 1 Replies View Related

Android :: Import Data From Excel (or Other Source Text, World Etc) To SQLlite?

Jun 17, 2009

I have a database in Excel and I want to import it into SQLlite so I can use its contents in spinners and other features of my application. I have done the tutorials and surfed online but no indications at all for my specific problem.

View 2 Replies View Related

Samsung Galaxy I7500 :: GAOSP Gapps Light / Ultra Light

Oct 26, 2010

These packages are alternative gapps. These Gapps should improve performance. On top of that all apps are up to date (like YouTube). Ultra Light version will also remove unnecessary preinstalled apps like yaam, DSP Audio Manager and so on (and some more gapps of course).

View 13 Replies View Related

Android :: Painting Over Analog Clock In Android Application And Setting It

Sep 28, 2009

I'm working on an Android Application for AutiPlan, which is a web-based planner tool for people with an Autism-related disorder.I want to create an application which shows the current activity (planned item), together with a clock. (AnalogClock) On this clock, I want to paint a red background from the current-minute to the minute at which the activity ends. To clarify, if it is now 12:00 and the current activity ends at 12:15, the right-top quarter of the circle that makes out the analog clock is red. This has to be updated every minute, so that it is clear how much time is left for the current activity. (The red section gets smaller each minute). Also, (question 2) I want to use AnalogClock to display a small (stationary) clock with the time that the next activity starts. Can I set the time of the object so it displays a specific time?

View 1 Replies View Related

HTC EVO 4G :: Orange Charge Light And Red Light Appearing

Sep 30, 2010

I accidently sat got my evo into some water on our bathroom the other night and now my phone is acting weird. I disconnected the battery and the phone and allowed them to sit in bags of rice for a few days to draw out the mositure. I turned the phone back on and found the camera is no longer so the water must of wicked in through there, but what is troubling me is the orange charge light comes on as well as a red indicator light on the other side.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved