Hi All,
I am trying to get RAW YV12 frames (from onPreviewFrame) and convert the
same the H.264, using MediaCodec class. So far i have not been able to
convert the H.264 successfully. The reason being not sure how to extract
the NAL (SPS and PPS ) info and add it to the Encoder. My sample
Hi
I am trying to play a m3u8 URL using android mediaplayer on nexus7 using
android 4.4 APIs. The video plays for 5 sec and them just hangs. Is
presumption right that android supports m3u8. But then curious as to why
it hangs??
Any help is appreciated.
Thanks and regards,
Ankur.
--
You
, Ralph Bergmann | the4thFloor.eu
ra...@the4thfloor.eu wrote:
Am 13.02.14 03:54, schrieb Ankur Avlani:
Can someone please suggest me some faster was to achieve my requirement.
try this one:
/**
* Calculates the lines needed to show the text.
*
* @param paint
* the TextPaint
Hi All,
I am designing an native custom article view in android. My requirement
is such that I have a long text which i need to break into pages. I can
find out the total height of my TextView, how do i calculate the max
visible lines for the view based on the height?
I know
Hi All,
I am designing an native custom article view in android. My requirement is
such that I have a long text which i need to break into pages. I can
find out the total height of my TextView, how do i calculate the max
visible lines for the view based on the height?
I know Paint.breakText
We found some behavior changes on Kitkat's new Chromium webview
implementation. One issue we encountered was the content:// urls in
a downloaded html page are no longer getting loaded via the content
provider. I was able to put together a small Android app to
demonstrate this behavior change
Hi All,
I am trying to develop a Image explorer in Google TV. I want to find out a
way to access the USB contents (maybe File IO), once the USB is connected.
I did a lot of google search but couldnt find relevant answers.
USBManager and USBDevice class in the API didnt help me much to find the
to do? Which picture you are storing? İf you can
explain,we can learn this is the correct way or not?
21 Aralık 2011 17:44 tarihinde alexb alexboot...@gmail.com yazdı:
Why not storing the files on sdcard and passing only the names?
On Dec 19, 7:01 pm, Ankur Avlani ankuravl...@gmail.com wrote
Hi All ,
I am developing an application in WebView. We serve android sd card images
(average 3 MB per image) using ContentProvider in web view. Please see the
sample code below:
public class LocalImageContentProvider extends ContentProvider {
@Override
public ParcelFileDescriptor
SDCard in manifest file ?
These silly mistakes I often do.
Thanks BR,
Pawan Rathore
On Wed, Nov 9, 2011 at 10:09 AM, Ankur Avlani ankuravl...@gmail.comwrote:
Hi,
The following code returns a null Cursor to me
String[] projection = {MediaStore.Images.Media._ID};
// Create the cursor
Hi,
The following code returns a null Cursor to me
String[] projection = {MediaStore.Images.Media._ID};
// Create the cursor pointing to the SDCard
Cursor cursor = managedQuery( MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
projection, // Which columns to return
null, // Return all rows
~ the installer is not the cause of the NPE
On Oct 29, 12:43 am, Ankur Avlani ankuravl...@gmail.com wrote:
When I try to Install the APK that's when I get this error. It just
happens
on this device.
On Fri, Oct 28, 2011 at 10:32 PM, Kristopher Micinski
krismicin
Hi,
I have been trying to install the my APK on my device and I get the
following exception:
10-28 16:45:18.150 I/InstallAppProgress(32006): Finished installing
com.wellcore.newyu
10-28 16:45:18.207 W/FileManagerApp(32056): FileManagerActivity:
onResume called, mCurrentContent ==nomulti
10-28
On Sat, Oct 29, 2011 at 12:59 AM, Ankur Avlani ankuravl...@gmail.com
wrote:
Hi,
I have been trying to install the my APK on my device and I get the
following exception:
10-28 16:45:18.150 I/InstallAppProgress(32006): Finished installing
com.wellcore.newyu
10-28 16:45:18.207 W
Hi,
I am trying to develop an application on bluetooth. I am successfully able
to pair and send,receive data. Everything works fine. I have a service
running in the background, which keep on checking for any incoming
connections. Now if i leave the device as is for an hour or more. Android
Hi,
I am invoking the youtube player from my app.
Intent i = new Intent(Intent.ACTION_VIEW,
Uri.parse(vnd.youtube:+videoId));
i.putExtra(VIDEO_ID, videoId);
startActivity(i);
This opens the youtube app and plays the video in small screen and *not in
full screen.* Can some one please guide me
No one has faced this issue???
-- Forwarded message --
From: Ankur Avlani ankuravl...@gmail.com
Date: Wed, Jun 22, 2011 at 7:48 PM
Subject: Keyboard issue on android 2.3.3
To: android-developers@googlegroups.com
HI,
I upgraded my phone to android 2.3.3. I have an app which
HI,
I upgraded my phone to android 2.3.3. I have an app which opens the
keyboard in landscape mode when it starts. After upgrading, i am not seeing
the keyboard unless I click on the field.
InputMethodManager man = (InputMethodManager)
Hi All,
I am trying to develop a Audio/Video library, where users can listen and
view audio/video files. I was looking forward to do this with Android
MPlayer. But I am running out of ways to invoke the MPlayer from the Java
(android java) code. Any pointer will be really helpful.
Thanks and
Since Android is deployed on Linux, I am guessing there should be a
mechanism in Android to invoke the MPlayer? or any undocumented way?
Thanks and regards,
Ankur.
On Sat, Mar 26, 2011 at 2:28 PM, Mark Murphy mmur...@commonsware.comwrote:
On Sat, Mar 26, 2011 at 5:15 PM, Ankur Avlani ankuravl
Hi,
I have developed an application in Android using Webview. Now i want to
play a music in background. The Mp3 file will come from a URL dynamically.
Any pointers would be helpful. I tried to search online but couldnt find
much help.
Thanks and regards,
Ankur
--
You received this message
Hi All,
I am trying to Manually dispatch Shift and Comma key from Android to my
webview, my code is as follows:
KeyEvent event1 = new
KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_SHIFT_LEFT);
boolean isFlag = dispatchKeyEvent(event1);
KeyEvent event2 = new
any one???
On Thu, Feb 17, 2011 at 12:30 PM, Ankur Avlani ankuravl...@gmail.comwrote:
Hi All,
I am trying to Manually dispatch Shift and Comma key from Android to my
webview, my code is as follows:
KeyEvent event1 = new
KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_SHIFT_LEFT);
boolean
Sorry about that, will make sure of it next time. Just was in a midst of
things, so was eager to know.
Anywayz, will remember about this next time.
Thanks,
Ankur.
On Thu, Feb 17, 2011 at 1:59 PM, TreKing treking...@gmail.com wrote:
On Thu, *Feb 17, 2011 at 2:30 PM*, Ankur Avlani ankuravl
Hi All,
I am developing an application in Android using WebView. I am opening
multiple tabs, which is handled by my WebViewClient. Now if i say
window.opener.() (where XXX is some javascript method) it returns
undefined. Any ideas what I need to do, to get it working?.
Any pointers is
Hi All,
I have been trying to get some event that would let me know, that the
Keyboard was just hidden. I tried onConfigurationChanged and onKeyDown.
But none of these help me.
I have 4 EditText in my Activity. On keyboard hide, i need to calculate
based on the number(s) provided on the
working
On Sat, Jan 8, 2011 at 2:03 AM, Ankur Avlani ankuravl...@gmail.comwrote:
Hi All,
I am using android map api. To plot overlays, for some address I need to
get the lat lng values. I user GeoCoder to get the lat lng values based on
address. I am passing the complete address with City
11, 2011 at 12:02 PM, TreKing treking...@gmail.com wrote:
On Tue, Jan 11, 2011 at 1:54 PM, Ankur Avlani ankuravl...@gmail.comwrote:
My question is, is there a way to create MapView without MapActivity.
Nope.
Or does someone know any workaround for multiple MapActivities.
Instead
, 2011 at 7:46 PM, TreKing treking...@gmail.com wrote:
On Thu, Jan 13, 2011 at 9:37 PM, Ankur Avlani ankuravl...@gmail.comwrote:
Is it recommended to start a separate process, for multiple map
activities.?
Probably not. I think you're over-complicating the matter. Read my previous
post
Hi All,
I am developing an application on Android. I have seen that at times when I
try to connect using HttpURLConnection, for getting an Image or anydata, I
get the following error:
01-12 11:24:05.073: WARN/System.err(16780): java.net.UnknownHostException:
Host is unresolved: www.XXX.com:80.
On Thu, Jan 13, 2011 at 1:02 AM, Ankur Avlani ankuravl...@gmail.comwrote:
Hi All,
I am developing an application on Android. I have seen that at times when
I try to connect using HttpURLConnection, for getting an Image or anydata, I
get the following error:
01-12 11:24:05.073: WARN
://techdroid.kbeanie.com
http://www.kbeanie.com
On Thu, Jan 13, 2011 at 1:07 AM, Ankur Avlani ankuravl...@gmail.comwrote:
I am connected to network, I am on Wifi. If i try again it works. Its
just random.
On Wed, Jan 12, 2011 at 11:34 AM, Kumar Bibek coomar@gmail.comwrote:
This error
on and off. There is
no other reason I can think of. It happens for me as well, sometimes.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Thu, Jan 13, 2011 at 1:10 AM, Ankur Avlani ankuravl...@gmail.comwrote:
I am sorry, that somehow doesn't convince me. I am
the process of translating a
domain to an ip.
- Brill Pappin
On Jan 12, 2:54 pm, Ankur Avlani ankuravl...@gmail.com wrote:
Somehow I have this feeling it is related to my app only. Other apps on
the
phone, I don't see any such issue. Even when browsing on my phone, I
don't
see any error
internal? mine is.
I have also tried AndroidHttpClient which does work on the same url.
-Dan
On Jan 12, 12:23 pm, Ankur Avlani ankuravl...@gmail.com wrote:
True, I agree with what you say. Its just that I feel, other apps should
also break or give error.
Anywayz, Thanks a lot for your
Hi,
My application has multiple MapViews, so each classes extends MapActivity.
Now i read that if you have more that one MapActivity in your app, it will
result in undesired output.
My question is, is there a way to create MapView without MapActivity. Or
does someone know any workaround for
Hi All,
I am using android map api. To plot overlays, for some address I need to
get the lat lng values. I user GeoCoder to get the lat lng values based on
address. I am passing the complete address with City, State and Zip. But
the interesting part is, the GeoCoder does not always returns
Hi All,
I am looking forward to create a Gallery which loads remote images. I am
able to create the gallery, but it always downloads the images (next or
previous). Can some one guide how to cache these images, so that the images
are not downloaded each and every time.
Thanks,
Ankur
--
You
String [] fileList = getAssets().list(textImages);
Note, textImages is a folder under Assets.
for (int i = 0; i fileList.length; i++) {
InputStream is = getAssets().open(textImages/+fileList[i]);
}
Thanks,
Ankur.
On Thu, Dec 30, 2010 at 10:09 PM, Stephan Wiesner
Hi All,
It seems I am the first one to experiment on this, since I have got much
reply to this.
I tried to use the touch event, but it doest seem to work.
Please find my code snippet below:
Instrumentation inst = new Instrumentation();
long downTime = SystemClock.uptimeMillis();
long
seems
to work. I am in a midsts of a deadline.
Please, Any help is highly appreciated.
Thanks,
Ankur
On Sun, Dec 26, 2010 at 7:05 PM, vikram jain vikram.jain.ii...@gmail.comwrote:
make use of touch event for mouse event
On Mon, Dec 27, 2010 at 1:21 AM, Ankur Avlani ankuravl...@gmail.comwrote
Hi All,
I am trying to build a server android, which will take keyboard and mouse
actions, and pass it on to the appropriate view. So far I am successful in
getting keyboard events. But I need some help in generating the
mouse/motion events. Can someone throw some light on how will that work.
I have around 4 MB of Photos, which I want to keep it local with the APK.
Why I want to keep HTML on the server is because there is some PHP code
also present, which renders the UI. By performance I mean is to save the
image loading time taken, by keeping the images local.
On Sat, Dec 11, 2010
43 matches
Mail list logo