[android-developers] Launch updated emulator?

2010-01-13 Thread abhi
Hi, I am working on Linuix and I recently updated my emulator to work with Android 2.1 and I am able to launch it from Eclipse. However when I try to launch it from command line from the SDK-folder/tools/ directory, the old version of the emulator opens. I want to open it from the command line to

[android-developers] Re: Launch updated emulator?

2010-01-13 Thread abhi
points to a directory where a previous binary is installed. On Wed, Jan 13, 2010 at 2:33 PM, abhi rkabhi1...@gmail.com wrote: Hi, I am working on Linuix and I recently updated my emulator to work with Android 2.1 and I am able to launch it from Eclipse. However when I try to launch it from

[android-developers] Re: Launch updated emulator?

2010-01-13 Thread abhi
...@commonsware.com wrote: abhi wrote: I figured I could use ./emulator from the SDK-folder/tools/ directory. However it is asking me for the .avd file to go with it and I am not able to locate it. When I saw under the ~/.android/avd directory, there is a *directory* called AndroidAVD.avd

[android-developers] Unable to connect to internet from emulator

2010-01-13 Thread abhi
Hi, I am not able to connect to the internet from the emulator. I tried using the below command with the proper proxy/port, but it still is not connecting. $ adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/settings.db INSERT INTO system VALUES

[android-developers] Re: Launch updated emulator?

2010-01-13 Thread abhi
Thank you. That worked! On Jan 13, 5:43 pm, Mark Murphy mmur...@commonsware.com wrote: abhi wrote: How do you start an emulator from the command line with that AVD file? When I tried $emulator -avd AndroidAVD.avd, I got the error: emulator: ERROR: unknown virtual device name

[android-developers] Froyo: files picked have prefix 'mnt' before the actual filename... why?

2010-08-11 Thread Abhi
further using these filenames for other functions of the app. anyone knows whats going on? Abhi -- 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

[android-developers] Droid Froyo manual update

2010-08-11 Thread Abhi
Hi guys, I may be posting this question in the wrong forum. But maybe some of you are facing the same problems as me and might be able to help. I did the manual Froyo update on my Moto Droid couple of days ago after following instructions on a reliable forum. However, I have been having problems

[android-developers] Re: Droid Froyo manual update

2010-08-11 Thread Abhi
It resets with Froyo and deletes all my data. On Aug 11, 5:55 pm, TreKing treking...@gmail.com wrote: On Wed, Aug 11, 2010 at 4:33 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there any way I can switch back to the old firmware update of 2.1? Factory reset your phone

[android-developers] Re: Droid Froyo manual update

2010-08-11 Thread Abhi
PM, Abhi abhishek.r.sha...@gmail.com wrote: It resets with Froyo and deletes all my data. Seriously? AFAIK, a factory reset should get you back to exactly how you originally got your phone for the very first time. If that doesn't work, you've got serious problems. No idea what else to tell

[android-developers] Video Player

2010-08-12 Thread Abhi
off. I want to be able to see through my long video for particular instances that I want to seek directly to. Is it possible using available mediaplayer apis? Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Droid Froyo manual update

2010-08-12 Thread Abhi
wrote: On 12 August 2010 00:09, TreKing treking...@gmail.com wrote: On Wed, Aug 11, 2010 at 5:04 PM, Abhi abhishek.r.sha...@gmail.com wrote: It resets with Froyo and deletes all my data. Seriously? AFAIK, a factory reset should get you back to exactly how you originally got your phone

[android-developers] Drawing an EditText on top of an image

2010-08-13 Thread Abhi
Hi, I am creating a custom view which has an image. The image can be of any type. What i want to achieve is that i want to draw an EditText control on top of the image so that the user can add some values to it. I am not sure how to achieve this. The onDraw control will not allow me to draw any

[android-developers] FATAL EXCEPTION: Timer-0

2010-08-17 Thread Abhi
) 08-17 23:02:11.680: ERROR/AndroidRuntime(2652): at java.util.Timer $TimerImpl.run(Timer.java:289) 08-17 23:02:11.694: WARN/ActivityManager(1726): Force finishing activity com.trial.video/.PlayVideo Thanks, Abhi -- You received this message because you are subscribed to the Google Groups

[android-developers] Toggle Button state programatically

2010-08-20 Thread Abhi
state to False state, but doesn't go back to True state again unless I touch the button, which is kinda weird. Can someone help me on this? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Toggle Button state programatically

2010-08-22 Thread Abhi
Any clue on this anyone? On Aug 20, 10:32 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi I am trying to toggle button state programatically. I want to go between setEnabled(False) and setEnabled(True) for a given duration. I have a timer and I want to toggle between these states at regular

[android-developers] Button State does not toggle automatically!! Help!

2010-08-22 Thread Abhi
on. But none of them seem to work. Is there any way I can make it toggle programatically and without user intervention through touch? or is it impossible to do it with the VideoView? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Button State does not toggle automatically!! Help!

2010-08-23 Thread Abhi
disabled through my program by calling button.setEnabled(false), on the screen, I still see the button as active and only when I touch the screen, the button is seen to be in the inactive state (disabled state with grey color). I hope that solves your confusion? Thanks, Abhi On Aug 23, 3:00 am

[android-developers] Re: Button State does not toggle automatically!! Help!

2010-08-23 Thread Abhi
I am calling setEnabled from the UI thread... still the same thing. On Aug 23, 9:09 am, Kostya Vasilyev kmans...@gmail.com wrote: Make sure you're caliling setEnabled from the UI thread. -- Kostya Vasilyev --http://kmansoft.wordpress.com 23.08.2010 16:57 пользователь Abhi abhishek.r.sha

[android-developers] Re: Button State does not toggle automatically!! Help!

2010-08-26 Thread Abhi
I can make it toggle programatically and without user intervention through touch? or is it impossible to do it with the VideoView? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Droid Video Recorder

2010-04-05 Thread Abhi
DP, no. I couldn't find anything that would let me record videos at high resolutions. Were you able to figure out? Abhi On Apr 1, 2:24 pm, DP dcp...@gmail.com wrote: Did anyone found a solution to record 720x480 videos yet? On Mar 9, 2:39 pm,Abhiabhishek.r.sha...@gmail.com wrote

[android-developers] copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Abhi
Hi Is it possible to copy a file located on the sdcard to a package's internal filesytem located at /data/data/packagename/files/ folder? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Abhi
, Mark Murphy mmur...@commonsware.com wrote: Abhi wrote: Is it possible to copy a file located on the sdcard to a package's internal filesytem located at /data/data/packagename/files/ folder? Yes, via standard Java I/O. Use getFilesDir() to find out where /data/data/packagename/files

[android-developers] problem playing back .mp4

2010-04-23 Thread Abhi
.mp4 and . 3gp. Thanks, Abhi -- 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 android-developers+unsubscr

[android-developers] Re: problem playing back .mp4

2010-04-23 Thread Abhi
ones that show up are the .3gp video files located on my sdcard. Abhi On Apr 23, 11:24 am, Mark Murphy mmur...@commonsware.com wrote: Abhi wrote: I am having trouble playing back a .mp4 video. I can only hear audio in the background and the phone hangs until the video (or should I say audio

[android-developers] Re: problem playing back .mp4

2010-04-23 Thread Abhi
Mark What did you mean when you said the videos would work as long as they are properly hinted? Abhi On Apr 23, 11:35 am, Mark Murphy mmur...@commonsware.com wrote: Abhi wrote: I see the .mp4 video as having a frame rate of 30fps and resolution 640 x 480. Is that an issue? I have no idea

[android-developers] preventing orientation change during video playback

2010-04-26 Thread Abhi
hello I am workin on a video player app in which I want only the landscape orientation active coz right now when the user tilts the phone during video runtime, it restarts playback in that orientation. How can I easily avoid this? Thanks, Abhi -- You received this message because you

[android-developers] Re: preventing orientation change during video playback

2010-04-26 Thread Abhi
Excellent inputs guys... Thanks a ton!! Abhi On Apr 26, 2:51 pm, Prajakta Shitole prajakt...@gmail.com wrote: You can also set the screenOrientation to be as landscape in your Android Manifest file for the Activity which has the video player. Eg:-   activity android:name=.videoplayer

[android-developers] Video transition effects during Playback?

2010-04-26 Thread Abhi
Is there an easy way to insert transitional effects during Video playback from the available APIs? Or is this something that would have to be done outside of Android (Native code implementation)? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Insert animation between video playback?

2010-04-27 Thread Abhi
in the dark or is this something I can spend time trying? Thanks, Abhi -- 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 android

[android-developers] Switching video files dynamically

2010-04-27 Thread Abhi
something? Abhi -- 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 android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: Switching video files dynamically

2010-04-28 Thread Abhi
anyone has any idea? On Apr 27, 10:00 am, Abhi abhishek.r.sha...@gmail.com wrote: HI I am trying to switch between two video files dynamically, but as soon as I set the path for the second video file during playback of the first, the app either hangs or force closes. This is what I am doing

[android-developers] VideoView transitions during playback

2010-05-03 Thread Abhi
Abhi -- 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 android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Re: Insert animation between video playback?

2010-05-04 Thread Abhi
Anyone? On Apr 27, 9:11 am, Abhi abhishek.r.sha...@gmail.com wrote: Hello I am not sure if this makes any sense. But what I really want to do is to insert some animation snippets (1-2 secs) in between my Video playback to try and give the users a transitional effect while watching videos

[android-developers] Re: VideoView path problem

2010-05-04 Thread Abhi
= intent.getData(); if (data != null) { Intent i = new Intent(this, YourVideoPlayer.class); i.setData(data); startActivity(i); } Hope that helps Abhi On May 4, 8:27 am, SheikhAman shekh.a...@gmail.com wrote: I am using a VideoView to play videos. it works smoothly. with only one problem. i am

[android-developers] how to measure video file size?

2010-05-05 Thread Abhi
I have a video player application and would like to display an approximate size of the running video. Is there a way to calculate the video file size from the given Video player API set? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required!

2010-05-06 Thread Abhi
a work around for this. Please help Abhi -- 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 android-developers+unsubscr

[android-developers] Dynamic loading of complete layout file.

2010-06-30 Thread ABhi
Hi All, I'm dealing with a problem you guys might not have faced earlier. I'm having a use-case in my Android application where the actual screen that i want to show to user is not stored in any layout file of my application. The layout of the of the screen is designed by server in this case,

[android-developers] Re: Loading from a compiled xml file

2010-06-30 Thread ABhi
I'm not sure if i understand the question correctly. My need is slightly different for dynamic screen generation. Hi All, I'm dealing with a problem you guys might not have faced earlier. I'm having a use-case in my Android application where the actual screen that i want to show to user is not

[android-developers] Problem using android services

2010-07-06 Thread Abhi
Hi, I am trying to create an application which has a service running in the background. But i should also be able to re run the service when i select option(Here it is a check box) from the fore ground. I am getting Unable to instantiate service error. I have called the service in my main

[android-developers] Re: Problem using android services

2010-07-06 Thread Abhi
totally confused not sure why it is unable to create the service. Please help. Thanks and Regards, Abhijeeth On Jul 6, 4:56 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jul 6, 2010 at 7:49 AM, Abhi abishe...@gmail.com wrote:    I am trying to create an application which has a service

[android-developers] Re: Problem using android services

2010-07-07 Thread Abhi
Thanks a lot Mark. I managed to solve the problem based on your pointers. I was doing a global initialization of Application Context using getApplicationContext. Thanks and Regards, Abhijeeth On Jul 7, 5:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 7, 2010 at 1:46 AM, Abhi

[android-developers] Refresh Gallery Thumbnail view

2010-09-16 Thread Abhi
HI I have a video recorder app. After I shoot a video, it doesn't automatically show up on the Android Gallery. How can I programatically refresh the Android Gallery right after a new video is shot using my app? Thanks, AB -- You received this message because you are subscribed to the Google

[android-developers] How to programatically refresh Gallery View?

2010-09-17 Thread Abhi
I want to programatically refresh Gallery every time I download a video from my application. It doesn't automatically show up in the gallery. Thanks, AB -- 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] Re: How to programatically refresh Gallery View?

2010-09-20 Thread Abhi
Is there anyone who can help me on this? On Sep 17, 10:20 am, Abhi abhishek.r.sha...@gmail.com wrote: I want to programatically refresh Gallery every time I download a video from my application. It doesn't automatically show up in the gallery. Thanks, AB -- You received this message

[android-developers] Re: refresh gallery after saving photo in android

2010-09-20 Thread Abhi
I am looking for the same answer. On Aug 29, 2:26 pm, Patrick patrick.manges...@gmail.com wrote: I wanted to bring up this querstion again, since I stumble upon the same problem but still haven't found a solution. Does anyone know how to programmaticallyrefreshagalleryafter storing a photo?

[android-developers] Invoking Java function via c

2009-06-01 Thread Abhi
Hi All, I have a java method Log_d: //JAVA public static void Log_d(String log){ RdcLog.d(log); } I'm trying to call it from C via JNI as follows: //C void LOGD(char* log) { jstring jStrLog = NULL; if(log != NULL) { jStrLog = (*javaEnv)-NewStringUTF(javaEnv,

[android-developers] Re: refresh gallery after saving photo in android

2010-11-04 Thread Abhi
:41, Abhi пишет: I am looking for the same answer. On Aug 29, 2:26 pm, Patrickpatrick.manges...@gmail.com  wrote: I wanted to bring up this querstion again, since I stumble upon the same problem but still haven't found a solution. Does anyone know how

[android-developers] Re: refresh gallery after saving photo in android

2010-11-05 Thread Abhi
HI Kostya, No. I guess I don't know how to use MediaScannerConnection to do what I am trying to do. Is there an example that you can point me to for my better understanding? That will be helpful. THanks Abhi On Nov 4, 4:21 pm, Kostya Vasilyev kmans...@gmail.com wrote: Have you actually tried

[android-developers] turning on Camera Flash

2010-11-09 Thread Abhi
Hi, Is there a way by which I can control the camera flash at the back of the phone? I want it to be on for a certain period of time during my app. Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required!

2010-05-10 Thread Abhi
Al Could you give an example of how to use StringBuilder to replace what I am doing? Thanks, Abhi On May 6, 3:37 pm, Al alcapw...@googlemail.com wrote: This isn't an error, it's just a message to inform you it is better to specify the size of thebufferyou need in the constructor. Abhi

[android-developers] RadioButton setChecked not working on configuration change

2010-05-11 Thread abhi
Hello, I am trying to set a RadioButton as checked/not checked through code. It is working the first time I set it, but the second time, the code does not set the button. Here is the relevant part of my code. I have commented on the problematic part. private boolean val; @Override

[android-developers] Re: RadioButton setChecked not working on configuration change

2010-05-12 Thread abhi
setting android:saveEnabled=false for the RadioButton made this problem go away. On May 11, 6:12 pm, abhi rkabhi1...@gmail.com wrote: Hello, I am trying to set a RadioButton as checked/not checked through code. It is working the first time I set it, but the second time, the code does not set

[android-developers] Installing apps on Zoom 2

2010-05-14 Thread Abhi
me to a user manual for Zoom 2 Android that will be great too. Thanks, Abhi -- 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

[android-developers] Can't open dex cache '/data/dalvik-cache/sys...@app@myapp....@classes.dex': No such file or directory

2010-05-17 Thread Abhi
(Instrumentation.java:1097) E/AndroidRuntime( 1159): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2316) E/AndroidRuntime( 1159): ... 11 more Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Pushing up views above soft keyboard

2010-05-20 Thread abhi
hi, I am trying to push up the views in my activity whenever a soft keyboard comes up. I have been partially successful in this, except that certain views remain hidden behind the soft keyboard. My XML looks like the below. I am specifying the last RelativeLayout RL3 containing buttons with the

[android-developers] Re: Pushing up views above soft keyboard

2010-05-20 Thread abhi
I have tried to use android:windowSoftInputMode=stateUnspecified| adjustResize in the activity manifest, but that does not work either. On May 20, 10:32 am, abhi rkabhi1...@gmail.com wrote: hi, I am trying to push up the views in my activity whenever a soft keyboard comes up. I have been

[android-developers] VideoView and MediaPlayer

2010-05-28 Thread Abhi
resources everytime a new instance is called. Any help? Thanks ABhi -- 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 android

[android-developers] Re: Is it possible to keep an authtoken stored for an Account private?

2010-05-28 Thread abhi
Are you storing the authoken as part of the userData in the Account? If so, anyone can access that. Perhaps you need to find a different method to store your authtoken. You could look at creating your own database using a Cursor or use SharedPreferences. On May 27, 10:38 am, GroundZero

[android-developers] Re: Bulk inserts into ContentProviders

2010-05-28 Thread abhi
Look into ContentProviderOperation On May 26, 10:04 am, Vikram vikram.bodiche...@gmail.com wrote: I have written a content provider over a database table which essentially captures phone contacts information. So at a point of time, in my application code, I want to query the android contacts

[android-developers] OMAP Zoom 2

2010-06-01 Thread Abhi
Is anyone here working on the TI Zoom 2 kit? I am building an application on Zoom 2 and had a couple of questions around it. Abhi -- 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

[android-developers] MediaController in MediaPlayer

2010-06-04 Thread Abhi
Hello, I am using MediaPlayer to build a Video player for playing local video files. However, I don't know how to enable MediaController for my player. I want the media control buttons that pop up when you touch the video surface. Can anyone help me out please? Thanks, Abhi -- You received

[android-developers] Re: MediaController in MediaPlayer

2010-06-07 Thread Abhi
guys any lead on this question would help me a bunch... thanks, abhi On Jun 4, 1:05 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hello, I am using MediaPlayer to build a Video player for playing local video files. However, I don't know how to enable MediaController for my player. I want

[android-developers] Re: MediaController in MediaPlayer

2010-06-07 Thread Abhi
with VideoView). Abhi On Jun 7, 9:34 am, Sean Hodges seanhodge...@googlemail.com wrote: Hey Abhi, Take a look at the VideoDemo class in Mark Murphy's tutorial projects: http://github.com/commonsguy/cw-advandroid/blob/master/Media/Video/sr... On Mon, Jun 7, 2010 at 2:28 PM, Abhi abhishek.r.sha

[android-developers] Re: MediaController in MediaPlayer

2010-06-07 Thread Abhi
Thanks Sean. I will try this out and post my findings. Thanks again Abhi On Jun 7, 10:16 am, Sean Hodges seanhodge...@googlemail.com wrote: Abhi, I'm not to sure about video playback outside of the VideoView, I expect you have some substitute view to replace VideoView, as MediaPlayer

[android-developers] automatically turn on application

2010-06-09 Thread Abhi
Can I kick start my application automatically based on accelerometer data from a no app running state? For e.g. if the phone is subjected to strong vibrations, the application turns on. In other words, how can I read accelerometer w/o really having an application do it? Thanks, Abhi -- You

[android-developers] Find the Device Details using an API

2010-06-15 Thread Abhi
Is there an API that i can use to find the device details like model number and Brand name etc? Thanks, Abhi -- 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

[android-developers] Shared memory in Android 1.5

2009-06-11 Thread Abhi
Hi All, Do we have shared memory IPC in Android 1.5 ? I heard that the functionality is removed. Pls let me know. Thanks, Abhijith K --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] porting native C library to android

2010-03-01 Thread Abhi
Could someone guide me to an online tutorial that explains this really well? Thanks, Abhi -- 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

[android-developers] Re: porting native C library to android

2010-03-01 Thread Abhi
Roger, Thanks a ton. This is good stuff! Abhi On Mar 1, 4:09 pm, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi Abhi, there is some incomplete instructions inhttp://android.serverbox.ch/?p=151 A little more complete is this pdf:http://www.google.com.br/url?sa=tsource=webct

[android-developers] Re: porting native C library to android

2010-03-03 Thread Abhi
Roger, Looking for something on installing NDK on Windows. Couldn't find any good tutorial that talks about this from scratch. Come on google, make things easier for us beginners please. Abhi On Mar 1, 4:26 pm, Abhi abhishek.r.sha...@gmail.com wrote: Roger, Thanks a ton. This is good stuff

[android-developers] Re: porting native C library to android

2010-03-03 Thread Abhi
- or 64-bit) * Mac OS X 10.4.8 or later (x86 only) * Linux (32- or 64-bit, tested on Linux Ubuntu Dapper Drake) Thanks, Abhi On Mar 3, 11:25 am, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi Abhi, I think the SDK and the NDK just can be used in linux or mac. May you consider

[android-developers] Re: porting native C library to android

2010-03-03 Thread Abhi
Roger, No problem. I appreciate your help. Thanks, Abhi On Mar 3, 1:37 pm, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Abhi, my mistake. I was thinking that the NDK had the same restrictions of SDK. I am modifying the Android SDK by adding some libraries, so I forgot

[android-developers] Android NDK installation on windows?

2010-03-05 Thread Abhi
executable'. What could be the problem? Thanks, Abhi -- 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 android-developers

[android-developers] Android NDK on windows error

2010-03-05 Thread Abhi
for application 'hello-jni' build/core/setup-toolchain.mk:20: *** Android NDK: Assertion failure: TARGET_PL ATFORM is not defined. Stop. I get the above error while trying to compile the c files for the sample apps that come with the NDK. Please help Abhi -- You received this message because

[android-developers] Re: Android NDK installation on windows?

2010-03-05 Thread Abhi
of incorrect unzipping of the NDK archive. Please go to the official Android NDK web site and download the appropriate NDK package for your platform (windows). See http://developer.android.com/sdk/index.html ABORTING. Abhi On Mar 5, 10:42 am, Michael MacDonald googlec...@antlersoft.com wrote: On 03/05

[android-developers] Re: reading serial data from the USB port.

2010-03-09 Thread Abhi
http://www.tombom.co.uk/blog/?p=124 maybe this will help you somewhat. Abhi On Mar 8, 10:09 pm, AnthonyB abia...@uic.edu wrote: I'm working on an undergraduate level senior design project with the HTC Sprint Hero.  We want to connect a device that constantly sends a serial string of data

[android-developers] Re: Droid Video Recorder

2010-03-09 Thread Abhi
=false android:focusable=true android:clickable=true / /LinearLayout See if you can help Thanks, Abhi On Mar 6, 7:38 am, Abelardo abelard...@gmail.com wrote: Hi,Abhi Could you send me the whole app to find what are you doing? Thanks. Best regards, Abelardo. On 1 feb, 22:00

[android-developers] Video splitter

2010-03-11 Thread Abhi
I want to create a video splitter that uses the videos that reside on the SD card and lets you split the video and store as separate files on the SD Card. Are there any APIs to enable this or I would need to use something like ffmpeg? Any suggestions? Abhi -- You received this message because

[android-developers] Re: Video splitter

2010-03-11 Thread Abhi
or a video joiner for that matter? Actually, all I need for now is a way to play two video files one after the other using the MediaPlayer class is that possible? Abhi On Mar 11, 1:37 pm, Abhi abhishek.r.sha...@gmail.com wrote: I want to create a video splitter that uses the videos that reside

[android-developers] Certificates

2010-03-24 Thread ABhi
Hi, I've this doubt regarding the certification authorities that Android phone supports. With my previous experience with J2ME, which states that some of the phones doesn't support thawt, while some other doesn't support verisign and so on. Net, net, there wasn't any certification authority

[android-developers] Wireshark not showing HTTP packets for emulator

2010-03-24 Thread abhi
Hi, I'm trying to use wireshark to capture some HTTP packets exchanged between the emulator and a website. However, even though I can see the web content on the emulator browser, wireshark does not display any HTTP packets exchanged between the emulator and the website. Why is this? -- You

[android-developers] Video player

2010-03-25 Thread Abhi
Hi, I want to create a better video picker for my player. What I am doing today is startActivityForResult( new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Video.Media.INTERNAL_CONTENT_URI),PICK_VIDEO); but this brings up a basic list view. What I am trying to get is something with

[android-developers] how to determine length of a video programmatically?

2010-03-26 Thread Abhi
Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
, Simone Russo simone.russ...@gmail.com wrote: Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- You received this message

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration() much after using setVideoPath() but the result is always the same -1. Abhi On Mar 26, 1:19 pm, Abhi abhishek.r.sha...@gmail.com wrote: I am using VideoView and I tried using getDuration

[android-developers] getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Abhi
Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- 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

[android-developers] Re: getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Abhi
The idea was to post the same question with a relevant subject this time... don't think it should annoy you that much On Mar 26, 2:17 pm, Yahel kaye...@gmail.com wrote: Stop posting twice the same question. Wait for an answer in your original post. Yahel On Mar 26, 7:06 pm, Abhi

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
yes there is nothing wrong with the video path and the video plays fine. thanks On Mar 26, 2:18 pm, Yahel kaye...@gmail.com wrote: Have you checked that your setVideoPath returns a correct video path ? Can you see the video when calling the start method ? Yahel On Mar 26, 6:46 pm, Abhi

[android-developers] Adding network presence to ContactsContract

2010-03-26 Thread abhi
Is there a way to add network presence to ContactsContract via a Raw Contacts insert? -- 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,

[android-developers] Re: left scrollbar

2010-03-29 Thread ABhi
Hi Why don't we have any view that supports both horizontal and vertical scrollbar? What am i supposed to do to show an auditorium layout on Android (which enables user to select particular seat on that auditorium? Regards, Abhishek On Mar 29, 4:36 am, Romain Guy romain...@android.com wrote:

[android-developers] Re: Layout with ScrollView and TextView

2010-04-03 Thread ABhi
Hi, If i understood your requirement correctly then your problem can be resolved by 'AndroidsFortune' application's source code. The guys has done wonderful job by having both horizontal and vertical scrolling for the TextView. Hope it helps you. Regards, Abhishek On Apr 2, 2:13 am, andrej

[android-developers] Re: Maps not working in the android emulator

2011-02-25 Thread abhi
Create a new AVD targetted for Google Api Addon.check permissions also. Hope this will work. On Feb 24, 3:32 pm, Rajkumar BE rajkumar.1010lo...@gmail.com wrote: Hello,  I am trying the Google maps API example, but when I run the code emulator gives the error The Application has stopped

[android-developers] '-1' error during HTTPS communication.

2011-04-01 Thread ABhi
Hi All, Below is my problem scenario. - My Server is on running on https. - Doing connection with ‘HttpURLConnection’ api already tried ‘HttpClient’ as well earlier but both are showing same issue. - Server certificate is ‘Verisign Class 3’ certificate. - Every alternate request sent to

[android-developers] regarding image slicing problem

2011-04-06 Thread abhi
Hi .. i am able to run Monkey runner..below are the steps i used to run : Steps to run Monkey Runner : 1 ) Check availablity of Monkey runner tool in Sdk tools folder 2 ) Install jython ( java + python ) 3 ) write the jython Script and placed it in a Specified Folder For example :

[android-developers] Database getting blank in android

2012-08-08 Thread Abhi
Hello, I am developing an app. It is working fine but if i left the app open for few hours the database gets blank sometimes(1 out of 5). I tried hard to track the issue but couldn't found any. I am using Sqlite database. Please help me as soon as possible. Thanks Abhi -- You received

Re: [android-developers] Database getting blank in android

2012-08-10 Thread Abhi
@Override protected void onDestroy() { super.onDestroy(); dao.cleanup(); } public void cleanup() { if (this.db != null) { this.db.close(); this.db = null; } } I hope i could help u On Wed, Aug 8, 2012 at 7:44 AM, Abhi abhishe

[android-developers] Where to start for developing an Android Game?

2012-09-09 Thread Abhi
Hi, I am new to game development. Where can I start, for developing a simple Android Game ? -- 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

[android-developers] display images in galleryview from sqlite database

2011-10-11 Thread Abhi
Hi I have a sqlite database that has over 2000 low res thumbnails of pictures. The database itself is over 100MB in size. The project requires me to have the photos residing in the database instead of the file path. This is what I would like to do and need help with as this is my first time

[android-developers] Re: display images in galleryview from sqlite database

2011-10-12 Thread Abhi
anyone with an idea how to do this? On Oct 11, 2:09 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi I have asqlitedatabase that has over 2000 low res thumbnails of pictures. The database itself is over 100MB in size. The project requires me to have the photos residing in the database instead

[android-developers] how to deflate/hide(invisible) ViewStub from Menu (onOptionsItemSelected)?

2011-11-04 Thread Abhi
I keep getting NullPointerException trying to deflate or make invisible the ViewStub from my UI. I just wanted to be sure I am doing it right. I am inflating my ViewStub in onItemLongClick method of GalleryView by doing the following: @Override public boolean

<    1   2   3   >