Thanks,
Sadly I don't have a rooted device
On Jul 25, 2011, at 6:47 PM, lbendlin wrote:
If you have a rooted phone and a large SD card you could run a background
service that grabs the /dev/graphics/fb0 raw images and stores them for
later conversion. Or you convert it on the fly to png -
Currently I'm using a VideoView to play a movie
I would like to have the ability to pause the video
then zoom in to a portion and be able to watch that portion zoomed in (or out)
I have created my on videoVideo class which extends VideoView and implements
OnTouchListener
Currently I'm using
using a videoView
stopPlayback does not seem to call the onComplete
How can one force the onComplete call to take place at or near the end of a
video ?
Thanks in advance
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi
I have a simple layout.xml with a
VideoView
and
MediaController
Purpose being I want the media controller visible at all times
1) I call this layout using Fragment and thus inflate.inflater
2) I have to use a code generated new MediaController(this) and not the
layout's one
Thanks for the fast response
and yes I had read the programatic line
why then do you have it as an option to add to your own layout.xml ? IF it
can't be used this way ?
curious?
On Jul 7, 2011, at 7:49 PM, Mark Murphy wrote:
On Thu, Jul 7, 2011 at 7:42 PM, New Developer secur...@isscp.com
I use the following code snippet for zooming an image
case MotionEvent.ACTION_POINTER_DOWN: oldDist = distance(event);
break;
//
case MotionEvent.ACTION_MOVE: matrix.set(savematrix);
still trying to complete my Image class
On a Bitmap I can draw a line
and the starting point isoldX,oldY is 242.5 , 389.0
I then zoom only the image no panning
where the oldX ,oldY is still visible but obviously in another location of the
screen because it is zoomed in.
Now I start to
I have tried to simplify the process Based on the cycle of
100 ms play 100ms pause , etc...
handle = new Handler();
play = new Runnable() {
@Override
public void run() {
if (mMediaPlayer != null) {
mMediaPlayer.setLooping(false);
if
was not found in the
queue, already cancelled?
06-30 10:16:56.130: WARN/TimedEventQueue(29231): Event 701 was not found in the
queue, already cancelled?
...
...
Any ideas what is causing these and why ?
Thanks in advance
On Jun 30, 2011, at 8:05 AM, New Developer wrote:
I have tried
don't see how the
0 , 200 and 100 , 200 translates to the number of x's per cycle ?
Sorry for so many questions, but I'm trying to fully grasp the concept
Thanks again
On Jun 30, 2011, at 10:57 AM, Daniel Drozdzewski wrote:
On Thu, Jun 30, 2011 at 1:05 PM, New Developer secur
wrote:
On Thu, Jun 30, 2011 at 4:44 PM, New Developer secur...@isscp.com wrote:
To Daniel
Okay you obviously have a much better grasp than I do
let me ask if we use your initial two cycle method
what about upping to 3 or 4 cycles ?
then looking at your
1 is play time,0 is pause
I have a SurfaceView which is used to play a video much like the
MediaPlayer_video demo Java file
Plays I can Zoom In, but really this reduces the screen size and Zoom out will
only to to the original max size in my case 1120 x 720
Because it is a SurfaceView I have had to use
To Daniel
I have tried pause no success
can you let me know more what you were thinking perhaps I have implemented it
incorrectly ??
Thanks again
On Jun 12, 2011, at 3:52 AM, Daniel Drozdzewski wrote:
On Saturday, June 11, 2011, New Developer secur...@isscp.com wrote:
MediaPlayer had
causing it to play for
100 milliseconds and then pause for 100 milliseconds
so it plays (for 100 ms) pauses for (100 ms)
am I right ?
thanks again
On Jun 29, 2011, at 9:46 AM, Daniel Drozdzewski wrote:
On Wed, Jun 29, 2011 at 1:37 PM, New Developer secur...@isscp.com wrote:
To Daniel
I
So how does one close the timer once the video has come to and end ?
Thanks in advance
On Jun 29, 2011, at 2:53 PM, New Developer wrote:
To Daniel
Thanks again
Okay that seems to be working
Just to clarify
the 0 , 200 implies start immediately and re-occur every 200 milliseconds
that for the ImageView.
See:
http://developer.android.com/reference/android/graphics/Canvas.html#Canvas(android.graphics.Bitmap)
On Mon, Jun 27, 2011 at 6:00 PM, New Developer secur...@isscp.com wrote:
within the function that has the drawline
I first call super.draw()
super.onDraw(canvas);
layers[0
Is there a way to take the
canvas and save it as a bitmap perhaps ?
On Jun 28, 2011, at 1:31 PM, New Developer wrote:
Okay I had re-written some of this
onDraw just handles drawing and canvas operations, ONLY
lines is a Vector Vectorlinelines;
@Override
protected void
);
}
On Jun 28, 2011, at 1:58 PM, Miguel Morales wrote:
Yes, see:
http://developer.android.com/reference/android/graphics/Canvas.html#Canvas(android.graphics.Bitmap)
On Tue, Jun 28, 2011 at 10:56 AM, New Developer secur...@isscp.com wrote:
Is there a way to take the
canvas and save it as a bitmap
You could try something along this line
HttpClient client = new DefaultHttpClient();
HttpGetrequest = new HttpGet();
request.setURI(new URI(
I'm using the following type of code to do panning and zooming on my own
extension of an ImageView
setBackgroundColor(Color.BLACK);
matrix.postScale(newfactor , newfactor , mid.x ,
your line after you draw your image
On Mon, Jun 27, 2011 at 12:57 PM, New Developer secur...@isscp.com wrote:
I'm using the following type of code to do panning and zooming on my own
extension of an ImageView
setBackgroundColor(Color.BLACK);
matrix.postScale(newfactor , newfactor
with MediaPlayer there was a getFrameAt
which would return the Bitmap of the frame At x milliseconds
What has replaced this ?
and How else can I get the Frame at a specific time , so I can scrub through a
video much like movie studio does ?
Thanks in advance ?
--
You received this
You can press the Android Back Button and go back from Screen B - Screen
A or Activity B back to Activity A
Is there anyway to catch that and get an Are You Sure ?? dialog before just
going back and losing all data on screen B ?
Thanks in advance
--
You received this message because you
I am able to add an event to the calendar
Provided there is NO event on that day
If I try to add a second event to the same day it appears to work
Uri newEvent =
cr.insert(Uri.parse(content://com.android.calendar/events), cv);
does NOT return null
But the calendar shows No new event.
Motorola Xoom has a slider for NotificationsOFF -- On
It's not quite a button and it's not quite a slider
Almost a toggle button but one that works left to right not up and down ??
Any ideas how to create something similar ?
Thanks in advance
--
You received this message because
, Jun 18, 2011 at 8:10 PM, New Developer secur...@isscp.com wrote:
Here is what I have can you see something obvious
in my MainActivity I call the Fragment using
FragmentTransaction fMgr = getFragmentManager().beginTransaction();
VisitMenu fragment = new VisitMenu();
fMgr.add
are actually getting it displayed before then trying to hide
and show it. (And after adding a fragment starts out shown so there is no
reason to hide it unless you are doing some special specific stuff.)
On Sun, Jun 19, 2011 at 12:18 PM, New Developer secur...@isscp.com wrote:
To Dianne
Thank
:
Xav's blog post explains how to get the support library, which has
FragmentActivity, through the SDK updater:
http://android-developers.blogspot.com/2011/03/fragments-for-all.html
On Fri, Jun 17, 2011 at 8:16 PM, New Developer secur...@isscp.com wrote:
Dianne
Thanks and yes is was your
;
return view;
}
}
and ideas welcome
Thanks in advance
On Jun 18, 2011, at 10:40 PM, New Developer wrote:
I have the SDK Updater done and installed the Compatibility package
When I putextends FragmentActivity
I still get FragmentActivity cannot be resolved
Could someone please clarify the method in which to use fragment
There is a Main Activity which has a fragment element within it's layout
this fragment element is then loaded to a class the extends Fragment
But does the fragment class then have it's own activity ? or
how do you access the
the Fragment java doc to reflect this approach as
well.)
On Fri, Jun 17, 2011 at 4:42 PM, New Developer secur...@isscp.com wrote:
Could someone please clarify the method in which to use fragment
There is a Main Activity which has a fragment element within it's layout
this fragment element
, at 6:25 AM, Droid wrote:
I think fragments can do that, but I have not got my head around them
yet.
Also, I have never changed 'part' of a layout just on its own without
redrawing all of it. Sorry I am not much help.
On Jun 16, 2:46 am, New Developer secur...@isscp.com wrote:
create
I have a layout with a button and EditText fields
IF I call the layout using intent
intent.setClass(getApplicationContext(), eedsClientActivity.class...
startActivity(
The Buttons have a light gray background neat black text
and the EditText a white background
IF I call the layout using
at glance...
WebnetMobile on Facebook and Twitter
On 15 June 2011 16:33, New Developer secur...@isscp.com wrote:
I have a layout with a button and EditText fields
IF I call the layout using intent
intent.setClass(getApplicationContext(), eedsClientActivity.class...
startActivity
that inflate code has not so many attributes as in xml
layout files.
I generally avoid inflate for the reasons you stated. Not really sure
what is going on behind the scenes.
On Jun 15, 6:39 pm, New Developer secur...@isscp.com wrote:
Thanks
my OnCreate() has nothing in it.
The only thing
to getFrameAt ?
Or another means to create a slow motion play back of video ?
thanks in advance
On May 30, 2011, at 10:02 AM, New Developer wrote:
IF this was answered I apologize
But I have not been receiving mail from the android-developers mailing list
since friday
anyhow that has been fixed
your object to null or
ensure it goes out of scope then java wilĺ treat it as no longer referenced.
Regards,Sy
On 9 Jun 2011 04:11, TreKing treking...@gmail.com wrote:
On Wed, Jun 8, 2011 at 9:05 PM, New Developer secur...@isscp.com wrote:
Bitmap pictBM = Bitma...
Don't hard code
I have an ImageView that I keep changing the picture
Bitmap pictBM = BitmapFactory.decodeFile(/sdcard/DCIM/+CURRENT_IMAGE);
image.setImageBitmap(pictBM);
parent.addView(image);
After 4 or 5 pictures I get a OutOfMemory crash
In c++ there is .free() or .destroy() call
What do you use in
Is it possible to
preload the spinner adapter with a list of item (either from database or from
array)
BUT to NOT run the selection while the screen is built or being displayed.
But rather only called when the user has clicked and selected an item ?
Currently I have a spinner and use the
I have on the main layout and FrameLayout which by default is blank or empty
I then select between two radio buttons
radio Button 1 Loads client_single.xml and radio Button 2 Loads
client_multiple.xml
into the above parent layout using the following
FrameLayoutparent =
Is it possible to put an ImageView on a ScrollView and yet still be able to
have an onTouchEvent for the ImageView ?
I have an ImageView that uses OnTouchEvent for drawing , measuring and marking
points etc...
But when I place this on a ScrollView background, it appears the two
onTouchEvents
.
Regards,
Bharathiraja R
On Fri, Jun 3, 2011 at 1:39 AM, New Developer secur...@isscp.com wrote:
Okay I output my bitmap to file as PNG and it only shows the visible
portion of the layout
What is currently seen on the screen not the entire layout.
So would I change the onClick Code
I'm trying to do something similar
Inside my button's OnClick I have
ViewmyView = arg0.getRootView();
myView.setDrawingCacheEnabled( true );
mPDF.addImage( myView.getDrawingCache() );
I'm hoping this will capture the screen to a bitmap
my PDF.addImage is as follows:
public void
Okay I output my bitmap to file as PNG and it only shows the visible
portion of the layout
What is currently seen on the screen not the entire layout.
So would I change the onClick Code to capture the entire layout ?
thanks in advance
On Jun 2, 3:35 pm, New Developer secur...@isscp.com
IF this was answered I apologize
But I have not been receiving mail from the android-developers mailing list
since friday
anyhow that has been fixed.
Are there any ideas on how to implement slow motion ?
Is there a way to tap into or Override the VideoView play thread ?
Or should I use
Anyone got an idea how to implement slow motion ? or at least slow down the
playback of a video ?
thanks in advance
On May 24, 2011, at 7:19 PM, TheBear wrote:
I am able to play back video using the mediaplayer with the standard
video control buttons.
My question is how can I use a
On my Zoom's home Screen it has the camera app, which has a button
for front and back camera and then a slider/button for video or photo
When it saves a photo is it IMG_mmDDhhMMss.jpg
All of which is great / perfect
Using the following code
ContentValues values = new ContentValues();
Is there a method (using Mac OS X) would be great
That I can connect my Android Device (non-rooted)
and clone it to become my sdcard.img so I can use it for the emulator
and thus continue developing on the emulator Yet using all the apps and
software features
of the device?
If possible
When I start or connect my Xoom I get in Console
[2011-05-10 21:15:29 - eeds] Automatic Target Mode: Unable to detect device
compatibility. Please select a target device.
[2011-05-10 21:16:20 - eeds] Uploading new.apk onto device '0288...b397'
[2011-05-10 21:16:22 - eeds] Installing new.apk...
://techdroid.kbeanie.com
http://www.kbeanie.com
On Sun, May 8, 2011 at 11:29 PM, New Developer secur...@isscp.com wrote:
I keep finding code snippets
for use with https none have worked
either get a 401 error or some other error
Any got or know a full working tutorial
that uses httpS
I keep finding code snippets
for use with https none have worked
either get a 401 error or some other error
Any got or know a full working tutorial
that uses httpS not http and Digest Authentication
that shows how to send and receive data from a website using these two
parameters
Hi
could someone explain How the Contact app creates a scroll bar that displays
the Alphabet as you go down ?
and group the contacts by first letter
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
If one wanted to create a large application where each activity was it's own
apk almost like modules or .dlls
1) How would you test to see if an .apk file is available and/or installed
(might be different I don't know) ?
2) Using the emulator how can you permanently install the .apk ?
Hi
Using a Spinner Is there a way while using (or from the UI) to type in a new
option
Say I have a spinner with a list of calendars (actually list of .ics files)
Now I want to create a NEW calendar
Using a Spinner how do I type in the new name and it is added to the drop down
list?
So many so quick
YEs I mean typing it into the spinner, but I like the idea of an option in the
spinner is
Add New Calendar might work
are there any other ways ?
Thanks again
On Apr 18, 2011, at 1:47 PM, TreKing wrote:
On Mon, Apr 18, 2011 at 12:21 PM, Kenny Riddile kfridd...@gmail.com
Have you checked to see you have the API installed correctly?
I had the same with the calendar would compile but then crash at runtime
1) From Project Right Click - New - Folder call it libs
2) Right Click - Import - File System - find the .jar file(s) and add
them to the libs
or calendar provider applications.
You can build (from the platform sources) and install your own
calendar provider APK on the emulator though.
On 10 Apr, 21:08, New Developer secur...@isscp.com wrote:
anyone solved the use of Google Calendar API ?
tried the method from http
? They typically do not contain the
calendar or calendar provider applications.
You can build (from the platform sources) and install your own
calendar provider APK on the emulator though.
On 10 Apr, 21:08, New Developer secur...@isscp.com wrote:
anyone solved the use of Google Calendar API
anyone solved the use of Google Calendar API ?
tried the method from http://jimblackler.net/blog/?p=151
content://calendar/calendars andcontent://com.android.calendar/calendars
I get the ERROR
Failed to find provider info for com.android.calendar
when I try the google gdata api's
Within a single Activity.java file I can have
button1.setOnClickListener( new mylistener1() );
button2.setOnClickListener( new mylistener2() );
button3.setOnClickListener( new mylistener3() );
and then
private class mylistener1 implements OnClickListener {
@Override
public void
Thanks
then I can just use the single std onClick()
Thanks didn't think of that
On Apr 6, 2011, at 8:39 AM, Marcin Orlowski wrote:
On 6 April 2011 13:43, New Developer secur...@isscp.com wrote:
Within a single Activity.java file I can have
button1.setOnClickListener( new mylistener1
Is No one else seeing the PerformBackupThread error
using Honeycomb and the emulator ??
On Mar 31, 2011, at 7:19 AM, New Developer wrote:
I have searched the web the closest I could get is 2.2 but I'm using 3.0
(Honeycomb) on my emulator and I keep getting the following
03-31 07:07
I have searched the web the closest I could get is 2.2 but I'm using 3.0
(Honeycomb) on my emulator and I keep getting the following
03-31 07:07:46.413: INFO/PerformBackupThread(82): Initializing (wiping) backup
state and transport storage
03-31 07:07:46.515: ERROR/PerformBackupThread(82):
I have created an ImageView
image = new ImageView(myMainActivity.this);
Bitmap pictBM = BitmapFactory.decodeFile(fName);
image.setImageBitmap(pictBM);
. . .
How do I create an overlay or something so
I can click an ImageButton and then mark two points
draw a line between them and measure the
If anyone has a Motorola Xoom and is willing to help
could you please take a few pictures (at different zoom settings) so I can
test my EXIF reader application.
I am also needing the exact specs of the camera used in the Motorola Xoom
CCD size, etc...
Thanks in advance
--
You received this
I have the following in the XML
TableLayout android:id=@+id/TableLayout01
android:layout_width=fill_parent
android:layout_height=fill_parent
android:scrollbars=vertical
android:scrollbarSize=20dp
android:scrollbarAlwaysDrawVerticalTrack=true
android:stretchColumns=*
Thanks
It would appear I'm the same as Doug and did as you requested
OS: Mac OS X 10.6.6
Eclipse: Helios SR2
ADT: 10.0.0
thanks again
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
-- before you start attempting to write
Android applications.
On Sun, Mar 27, 2011 at 8:11 AM, New Developer secur...@isscp.com wrote:
I have the following in the XML
TableLayout android:id=@+id/TableLayout01
android:layout_width=fill_parent
android:layout_height=fill_parent
might not catch this
kind of thing, and so you wouldn't find out until runtime that it
wasn't in both layouts.
On Fri, Mar 25, 2011 at 2:56 PM, New Developer secur...@isscp.com wrote:
Sometimes not always the following line
final ExpandableListView menuView= (ExpandableListView
insert an import to (something I forgot).R.* did it?
Seems like it will do that sometimes. Of course, you can do a
Project--Clean, but it may come back anyway in this case
let me know when you figure it out what it is
On Sat, Mar 26, 2011 at 8:19 AM, New Developer secur...@isscp.com wrote
Sometimes not always the following line
final ExpandableListView menuView= (ExpandableListView)
findViewById(R.id.menuListing);
may or may not return null and thus aborts with a NullExceptionError
Any ideas how to fix this permanently to always return a valid
thanks in advance
--
You
I'm looking at the Heap in DDMS
TypeCount Total Size
SmallestLargest Median Average
1-byte array (byte[]. boolean[])2,189 9.594 MB24 B
2.347 MB48 B4.487 KB
How
for more information:
http://developer.android.com/resources/tutorials/views/hello-spinner.html
Bye!
On 15 Mar, 14:56, New Developer secur...@isscp.com wrote:
When creating a spinner list that can be added to by the user over time.
Is it best to store this in an XML Array file
resources
When creating a spinner list that can be added to by the user over time.
Is it best to store this in an XML Array file
resources
!-- Used in View/Spinner1.java --
string-array name=colors
itemred/item
itemorange/item
Or in a text file and load the data into an
Hi
I 'm trying to add dynamic rows to a table layout
I current have an image button (to add)
and then it runs the code
TextView txt02 = new TextView(row.getContext());
txt02.setId(102000 + table.getChildCount() + 1);
txt02.setTextSize(TypedValue.COMPLEX_UNIT_PT, 10);
How does one go about getting the correct settings for an AVD ?
The two I am looking for right now
a) the new Galaxy 10.1 b) NotionInk Adam
I have tried my best to configure the AVD for the Galaxy, but I'm looking at
the quality of the icons that I have used and must say the look very
/master/03-FancierForm/LunchList/res/layout/main.xml
On Sun, Mar 6, 2011 at 7:54 PM, New Developer secur...@isscp.com wrote:
I'm trying to create a simple Table Layout
Within the TableRow I can have TextView 's but when I place an
EditView in the TableRow
It crashes is an Error
in TableRows:
https://github.com/commonsguy/cw-andtutorials/blob/master/03-FancierForm/LunchList/res/layout/main.xml
On Sun, Mar 6, 2011 at 7:54 PM, New Developer secur...@isscp.com wrote:
I'm trying to create a simple Table Layout
Within the TableRow I can have TextView 's but when I place
I'm trying to create a simple Table Layout
Within the TableRow I can have TextView 's but when I place an
EditView in the TableRow
It crashes is an Error and ideas how I can create a table row with both an
TextView and an EditView
Thanks
--
You received this message because you are
I'm trying to save data to the sdcard.
Currently I have a working
if ( xmlFile.createNewFile() ) {
//Creating a new XML File Thus count = 1 we are the first entry
Appending = false;
Write = new FileWriter(xmlFile, false);
Thanks
Is there a way to append to the ROOT element ?
Thanks again
On Mar 4, 2011, at 11:52 AM, Streets Of Boston wrote:
You append to the file, not the the ROOT element.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Please can someone send a link to the MediaController Source.
and guide on how to install it using Mac OS X
Thanks
On Feb 25, 2011, at 2:59 PM, ISSCP Security wrote:
How does one control the playback speed of a video ?
I have seen where you set the frame rate when recording, but what about
101 - 182 of 182 matches
Mail list logo