Android :: Create Simple Paint Program With Zoom?

Aug 21, 2010

I'm new to Android and Java programming and I've manage to create a simple paint program, but how do I add a zoom feature? Right now I'm just extending the View class and using the "on Draw()" method. Do I have to use a Drawable to be able to add zooming functionality? I'm not really understanding the differences between the two. If I am way off base then please point me to a good tutorial on paint/zooming.

Android :: Create simple Paint Program with Zoom?


Android :: How To Create A Simple NDK Program In Android NDK?

Jun 18, 2010

I am new to android Programming and NDK.Yet i am not clear with working in NDK.I just downloaded android ndk r4.If i want to develop appln using NDK,and i refereed http://marinara.com/forums/android/android_examples/49.HTML for reference,But still not clear how to create the header file and implementation,I did nt have any previous exp in c language.And they asked for run Java tool to create the JNI header file. I don't know how to use Java tool,but i found it in Java bin directory and i tried using cmd Java -jni com.sarmal.MyLib It shows as class file not found, when i list the folders and files,it is shown,this is the Image

View 2 Replies View Related

Android :: Paint Program / Photoshop (full) Alternative?

Nov 24, 2010

I'm looking for an application that will allow one to open an image (or pdf, preferably) of a worksheet and allow one to "do" that worksheet; in other words draw/write on the image/pdf.

View 4 Replies View Related

Android :: Want Simple Drawing View / Program

Aug 30, 2010

I'm trying to create the simplest 2D drawing program possible to isolate what exactly I can't figure out about drawing. This program should literally just draw a 20x20 rectangle. Here's what I have: Code...

View 1 Replies View Related

Android :: Simple Program - Class Extends Activity At Startup

Oct 1, 2010

I have a simple activity program in android. Basically the class just extends Activity.
But when I start it I get a ClassCastException in the constructor of my class. I don't even have a constructor defined, so it must be in the constructor of the superclass which is Activity. Unfortunately the debugger doesn't give any detailed information on what class it is trying to cast. Here is the stacktrace:

Thread [<1> main] (Suspended (exception RuntimeException))
ActivityThread$PackageInfo.makeApplication(boolean, Instrumentation) line: 649
ActivityThread.handleBindApplication(ActivityThread$AppBindData) line: 4232
ActivityThread.access$3000(ActivityThread, ActivityThread$AppBindData) line: 125
ActivityThread$H.handleMessage(Message) line: 2071
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4627
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 868
ZygoteInit.main(String[]) line: 626
NativeStart.main(String[]) line: not available [native method]

And when I look into this runtimeexception I get:

detailMessage "Unable to instantiate application com.test.MyApp: java.lang.ClassCastException: com.test.MyApp" (id=830067694464)
The only code is:
package com.test;
import android.app.Activity;
public class MyApp extends Activity {
}

View 3 Replies View Related

Android :: Use HTTP Post Method Or Simple Java Socket Program

Mar 20, 2010

Could someone please suggest me a good/efficient way to communicate with the server. I could think of two options 1) Use http post methods to send data to a php script at the server which would later call the google api's written in another java program (jar)or use php to use google api's (if its possible) to find nearby restaurants and send the list back to client. 2) Use simple java socket programming. The server has a jar file that supports multi threading and it does the job of finding restaurants and sending the list.

View 4 Replies View Related

Android :: Want To Create Simple GUI

Oct 13, 2010

Basically im trying to create a simple gui or a layout for android, and I'm really new to Android developing. I already found a way to create a list of stuff using ListActivity, and using the command Code...

View 2 Replies View Related

Android :: Need A Developer To Create A Simple App

Aug 4, 2010

I am looking for a developer to create a simple app for me. Its an insurance calculator. Please PM me if you can help. Its just a money multiplyer equation.

View 3 Replies View Related

Android :: Create A Simple Game Engine

Aug 17, 2010

I'm on my way with my first game, all design and that stuff are done, just coding left.I have successfully watched tutorials around the world wide web with information about Graphics and how to create a successfully thread-synchronization within it. Like now I have a SurfaceView-class and a Thread-class. The thread-class have this constructor to receive the Game Engine from my SurfaceView-class.
Simple code from Thread-class constructor: Code...

View 1 Replies View Related

Create Simple Android App For Responsive Website?

Dec 14, 2013

I have website which Responsive, I Only need mobile apps for my site,so user can download .apk and iphone app from store and browse through app,

I have tried AppsGeyser but problem is its showing powered by AppsGeyser and also 50% ads commission, I don't want to use ads there, I just simple need to open website inside apps,

AppsGeyser is doing great ,only issue with powred by link, Is there any way/easy tutorial to create new app for my website ?

My website: qatarcommunity com Its compatible with every Mobile and tablet already

View 1 Replies View Related

How To Create Android App That Would Display Simple TXT Document

Dec 28, 2013

how to create an android app that would display a simple .txt document?

View 1 Replies View Related

Android :: Possible To Create A Simple Answering Machine In Droid?

Jan 13, 2010

I'm thinking of creating an answering machine in android that automatically alerts the caller that he/she has reached the answering machine after an alloted time and then records the message. Is it possible in android?

View 4 Replies View Related

Android : Create App To Draw Simple Lines Through OnTouchEvent?

Dec 29, 2009

what is best way to create app in which I only need to draw simple lines through onTouchEvent? When i use invalidate everytime i draw any line, that erase lines i draw before. But if I use some List structure to store drawed lines it lose performance. Is there any simple way to do it?

View 6 Replies View Related

Android :: Using FindViewById - Create Small Simple Application On Emulator?

Jan 20, 2009

I am trying to create small simple application on emulator. I want to create button and display with some click event. I am not able to use findViewById method with R.id.abc. It always gives error as R.id cannot be resolved.

View 2 Replies View Related

Android :: Create App That Comes With A Widget / Program?

Jan 4, 2010

I am trying to find a way to create a widget and the program on the same app so that i can give the user the choice to add to the home screen either the dynamic widget or the normal program, same functionality for both except that the widget would run a service to update every x hours and the program won't. Similar to what "bbc news" and "weather bug" have done. I am guessing that something needs to be added to the manifest but i have not found any documentation for it. Can anyone help on this?

View 6 Replies View Related

Android :: Example Program To Create A Custom Dialog Box In Droid?

Feb 5, 2010

How to create a custom dialog box in android?

Any example program?

View 3 Replies View Related

Android :: Create Program Wich Communicates Between PC And Mobile

Apr 24, 2010

I would like to create a program wich communicates between pc and an android mobile connected to USB via tcp/ip. Is this possible? How can I get the IP-address to a connected mobile from PC or the other way around?

View 1 Replies View Related

Create A Program Using Accelerometers

Nov 1, 2009

I have to create a program using accelerometers. I have written these pieces of code in order to start recording the accelerometer data when you push start, stopping when you press stop and then saving that in a file called data1.csv and so on (data2,3 4 etc). The reason I want to do this is so that I can look at the data for a given gesture and analyse it using graphs and other simple methods.

The issue I'm having is this program just makes random empty files - doesnt seem to log the data. It does make each file though, so that's nice

Code:
package com.test.Acceltest;
import java.util.List;
import android.app.Activity;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorManager;
[code]...

View 19 Replies View Related

Android :: Program Development - Create Home Screen When Application Opens

Nov 4, 2010

I am developing droid apps with eclipse (new to both) and have a basic Layout question. When using the layout tab (rather than the coding tab) in my main.xml, I am trying to create a home screen for when my app opens.
There is going to be the logo at the top center, then 3 simple buttons below, all centered. How do I go about formatting the Logo so it maintains a size relative to the person's screen size, and stays in the center?

I don't want to write sloppy code to where my program looks fine (UI wise) on my screen and is poorly formatted on other's screens. Also, is there good documentation explaining all of the Property values in the layout view?

View 1 Replies View Related

HTC EVO 4G :: Need Program To Create Portrait Wallpapers

Sep 8, 2010

I use a Live Wallpaper .apk called "Waterize Live" that is very cool. You can basically make any wallpaper look like it is submerged in water.Anyway, the only problem is that it only takes images that are sized perfectly to fit in "portrait" mode on your EVO. I will use larger images, but squish them to fit.I am looking for a wallpaper editing program that will take my normal EVO wallpapers are create these "portrait" sized versions for me. If no such app exists, can someone tell me the exact dimensions on EVO portrait view?

View 1 Replies View Related

Android :: Create A Simple Vibrate Profile That Turns Phone Calls And Text Messages To Vibrate

Aug 24, 2010

All I want to do is create a simple "vibrate" profile that turns phone calls and text messages to vibrate. I have the call part but the messages just come in silently with no vibrate. I have the following in the task:

1) Vibrate on Notify: On
2) Vibrate on Ringer: On
3) Silent Mode: Vibrate

View 6 Replies View Related

HTC Tattoo :: How To Create Folder / Icon On Program List?

Nov 18, 2009

Is there anyway to create an icon on the actual program list called "Games" for example and containing all the g sames Ive downloaded. Ive used apps organizer to label my games as games!

View 6 Replies View Related

HTC Desire :: Simple Text Editor To Create / Edit Text Files From SD Card?

May 12, 2010

I thought this would be easy to find:

A text editor that can create/edit text files from the SD card.

i.e. Windows Notepad on the Desire?

View 4 Replies View Related

Android :: Is Zoom In And Zoom Out Is Possible For Image View?

Jul 14, 2009

Is Zooming is possible to do in android for Image view.I have a images in full screen view, i need to zoom in and zoom out for that images present in image view.Can any body give me suggestions regarding this.

View 19 Replies View Related

Android :: How To Zoom In / Zoom Out To Image View?

Jul 28, 2010

I want to know how we can zoom a image that is in ImageView.

View 3 Replies View Related

Android :: Paint & OnTouch

Oct 25, 2009

I have a problem with one of my app. I try to make a paint application but nothing is draw on the screen (except the first circle which is draw on the launch).The log Cat seems to be correct and i get the right x/y coordinates.I think i do something wrong on the ondraw.do you see my problem?

View 3 Replies View Related

Android :: Paint On A VideoView

Sep 14, 2010

I am trying to code an app where you can paint (Finger paint) free hand on a running video in a VideoView.I have the two things running separately but not together.I can draw my paint on a balance screen and i can play my video on my videoView, which is implementer in an xml layout.Is there a way to overlay the xml videoview View with an other View which can be drawable?

View 1 Replies View Related

Android :: Making A Paint App

Jan 12, 2010

I'd like to include a simple draw feature on my app. A friend told me I can't use canvas because I need to control the frame buffer and not redraw the entire screen every for every frame.He suggested I find a openGL 2d engine.I've searched around and I've only found Rokon which doesn't have any documentation and the examples aren't quite what I need.Any suggestions?

View 2 Replies View Related

Android :: Need Width / Using Paint Object

Jul 1, 2009

I have to get the height of the text for i have specified the text size. is this possible? i need to get the width using the Paint object and without.

View 2 Replies View Related

Android :: Wall Paint Preview App

Mar 29, 2010

Is there an app out there that lets you take a picture of your room with the camera,then preview different wall colors?

View 1 Replies View Related







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