Hi,
I have a rooted device and i successfully capture the screenshot of current
screen.and use the below code.
Process process = Runtime.getRuntime().exec(su);
DataOutputStream os = new DataOutputStream(process.getOutputStream());
os.writeBytes(/system/bin/screencap -p +
I am getting this crash when I play video on videoView in Android version
4.2.1. I found this out specifically on Micromax Canvas A210 device. It is
not showing any message where the error is occurring. Is this a bug or
something wrong in application? The crash log is as below:
09-18
Use toast.
ashish ashish.a...@gmail.com wrote:
Hi,
I have a rooted device and i successfully capture the screenshot of current
screen.and use the below code.
Process process = Runtime.getRuntime().exec(su); DataOutputStream os = new
DataOutputStream(process.getOutputStream());
Make runtime strings and do not use array
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Could be a bug in Micromax's version of android..
On Wed, Sep 18, 2013 at 3:27 PM, Cg cgtprash...@gmail.com wrote:
Make runtime strings and do not use array
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
I've created a subclass of SurfaceView which also
implements Camera.PreviewCallback SurfaceHolder.Callback. The time
difference between onPreviewFrame() calls is about 0.25 seconds which is
4/sec but the actual preview frame rate is definitely more than 25. I can't
figure out why this is
This is the piece of code that I'm using:
Calendar beginTime = Calendar.getInstance();
#increment one day to the actual time (just for precaution)
beginTime.add(Calendar.HOUR, 1);
beginTime.add(Calendar.DAY_OF_YEAR, 1);
startMillis =
I had the same problem. The solution for me was simple:
in onCreateView I had:
// Create the adapter that will return a fragment for each of the three//
primary sections of the app.
mSectionsPagerAdapter = new SectionsPagerAdapter(getActivity()
.getSupportFragmentManager());
where
Hi there,
i have written a class of popupwindow which i call to display popup.
this popupwindow is having spinner and and a button .
i call the class and display popup.
how to write done button action of that class in my activity from where i
am calling the class so that i will get value
In order to test and debug just this piece of code I've created another app
only with that part of the code that creates the event and it works
surprisingly!
So, the same code running on different apps has different effects(one
creates the events and the repetitions correctly and the
I could not find any reference to String.substring in the original Android
source code of VideoView. It looks like a broken device-specific
customization to me.
On Wednesday, September 18, 2013 4:34:02 AM UTC-5, Matt wrote:
I am getting this crash when I play video on videoView in Android
I have a listview populated via a SimpleCursorAdapter backed by a
ContentProvider.
My final view contains a non-scrollable header (col hdgs), the ListView and
a footer with totals for some of the columns.
How can I ensure that (1) the data columns are all lined-up, preferably
left-justified,
On Wed, Sep 18, 2013 at 10:10 AM, Amit Mangal
forum.amit.man...@gmail.comwrote:
how to write done button action of that class in my activity from where i
am calling the class so that i will get value selected in the spinner in my
activity.
any idea ?
Give your class a
I finally got the first part right. Just need to line up the headings.
On Wednesday, September 18, 2013 2:29:33 PM UTC-4, Phil Gibbs wrote:
I have a listview populated via a SimpleCursorAdapter backed by a
ContentProvider.
My final view contains a non-scrollable header (col hdgs), the
thanks for your reply do you have any example code or link ?
On Thu, Sep 19, 2013 at 1:24 AM, TreKing treking...@gmail.com wrote:
On Wed, Sep 18, 2013 at 10:10 AM, Amit Mangal forum.amit.man...@gmail.com
wrote:
how to write done button action of that class in my activity from where i
am
Hi developers
I have a list view which is having 1000 entries i scroll to down and click
on some item new activity opens. When i come back my scroll view points to
start again .
How can i make it on last position when i opened the activity?
--
You received this message because you are
how about record scroll position and scroll to that position when onResume!
2013/09/19 5:21 Amit Mangal forum.amit.man...@gmail.com:
Hi developers
I have a list view which is having 1000 entries i scroll to down and click
on some item new activity opens. When i come back my scroll view points
I have an app (Android version 4.0+) that communicates with a USB host
device (IOIO OTG board). Communication requires that the adb daemon is
running on the Android, but for unknown reasons the adb daemon sometimes
terminates, and communication fails. A reboot of the Android device fixes
Though not sure why this happened,this is not a good way to show preview!
why not use setPreviewDisplay method?
2013/09/18 18:41 TimeManx shubhade...@gmail.com:
I've created a subclass of SurfaceView which also
implements Camera.PreviewCallback SurfaceHolder.Callback. The time
difference
Of course you can,but you should use native code to do that, SurfaceFlinger
has interface for that!
2013/09/18 17:27 ashish ashish.a...@gmail.com:
Hi,
I have a rooted device and i successfully capture the screenshot of
current screen.and use the below code.
Process process =
On Wed, Sep 18, 2013 at 3:48 PM, Amit Mangal forum.amit.man...@gmail.comwrote:
thanks for your reply do you have any example code or link ?
No. The listener pattern is pretty standard in Java. Beyond that, I think
what I described is pretty straight forward. If you're stuck on
particulars, ask
I am investigating the cause of some handled exceptions:
SQLiteDiskIOException disk I/O error (code 1802)
I ran across this thread which implies that, due to a bug in Android's
version of SQLite, I should be limiting SQlite Databases to 2GB.
Hi,
I am trying to create a custom expandable list where there is a group view
and child view will have a checkboxes.
If i click on group view checkbox then all the child view checkboxes should
checked and vice versa...
Basically I want to implement check all and uncheck all functionality.
I
23 matches
Mail list logo