[android-developers] Re: drawing too much power

2011-09-16 Thread bob
It can't be plugged into the wall and computer at the same time. It recharges thru the micro-USB port. On Sep 15, 11:57 pm, Christopher Van Kirk christopher.vank...@gmail.com wrote: Plug it into the wall? On 9/16/2011 11:26 AM, bob wrote: I bought a Vizio Tablet.  When I plug it

[android-developers] AutoCompleteTextView data binding problem

2011-09-16 Thread Monzurul Islam Shamim
Hi, I have following two arrays and I want to bind them to a AutoCompleteTextView. My problem is when type on the textview it filters the nameArr and I lost the correct index in the idArr. How do I bind idArr to the view? String idArr[] = new String[]{1,2,3}; String nameArr[] = new

Re: [android-developers] BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-16 Thread Siji T G
Hello Oscar, Thanks for the reply. But I already tried this approach. ByteArrayInputStream imageStream = new ByteArrayInputStream(data); Bitmap theImage = BitmapFactory.decodeStream(imageStream); *theImage* returned by *decodeStream* is null. Regards Siji -- You received this

[android-developers] Re: How is RockPlayer doing hardware decoding?

2011-09-16 Thread Doug
If authentication over rtsp is a documented standard, then you could file a bug with details and hope that it gets resolved in a future version. Doug On Sep 15, 12:17 am, B.Arunkumar awsnetworkrecor...@gmail.com wrote: Hi,      Regarding your question, MediaPlayer supports RTSP streaming but

[android-developers] Re: SQLite and JSON or Java object serialization

2011-09-16 Thread ko5tik
I wrote and published small library for JSON data binding: https://github.com/ko5tik/jsonserializer I uses GSON pull parsing , based on convetions, has small footprint and is good to marshal / unmarshal simple java beans to files. Release 0.6 is available from maven central. regartds, On

Re: [android-developers] Re: drawing too much power

2011-09-16 Thread Yohanes Khosiawan
maybe you should buy an adapter then.. On Fri, Sep 16, 2011 at 2:58 PM, bob b...@coolgroups.com wrote: It can't be plugged into the wall and computer at the same time. It recharges thru the micro-USB port. On Sep 15, 11:57 pm, Christopher Van Kirk christopher.vank...@gmail.com wrote:

[android-developers] drawing text or gesture on image saved on sd card

2011-09-16 Thread Honest
Hello, Till now in my application i am scaling image and drawing it on screen according to screen size. after that user can draw text or any thing on it using his finger. and after that i convert view to Bitmap and i resize that bitmap and make it to the same height and width as real image. now

[android-developers] phone gap

2011-09-16 Thread mohana priya
what is the difference between android phone gap and blackberry phonegap -- 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 native browser can't access https sites

2011-09-16 Thread perumal316
Hi, I have noticed that for certain https websites, the native browser could not load them and just displays a blank white page. However, this is not an issue with Firefox Android application. Is it a known issue? Is there any workarounds? I tried in an Android 2.3.3 device. Thanks In

[android-developers] Re: BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-16 Thread Zsolt Vasvari
Where is it documented as to the format of your data stream? From what I can gather from the docs is that if the data cannot be decoded, you get NULL back. On Sep 16, 2:02 pm, Siji T G s...@techgentsia.com wrote:  Hello Oscar, Thanks for the reply. But I already  tried this approach.

[android-developers] Re: Increase the App Size in Android

2011-09-16 Thread gjs
Hi, Release the memory used by each bitmap so you have fewer 'pages' in memory at the same time, see the bitmap recycle() method. Regards On Sep 15, 11:06 pm, TreKing treking...@gmail.com wrote: On Thu, Sep 15, 2011 at 4:17 AM, parasnath gudia@gmail.com wrote: is it possible You cannot

[android-developers] Re: fling deceleration

2011-09-16 Thread skink
bob wrote: What are the best formulas to use for fling deceleration? android. widget. Scroller pskink -- 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

[android-developers] Getting IBinder of a Remote object

2011-09-16 Thread somdas
Is it possible to get the IBinder for a remote object (which extends some stub, but it is not a service). Generally we get the Binder through the onBind() method. But as my object does not extend service, then how is it possible to get the Binder? -- You received this message because you are

Re: [android-developers] Re: BitmapFactory 's decodeByteArray and decodeStream returns null

2011-09-16 Thread Siji T G
Thanks for the reply Zsolt. My data stream comes from h264 video decoder , which is native. Format of this data stream is ARGB. Please note that I could display this image correctly using Bitmap. createBitmap() and setPixels () . Regards Siji -- You received this message because you are

[android-developers] Where does the get put?

2011-09-16 Thread gag
Hi All, I am new to Android. I am writing an application for work. When I run the application on my HTC Inspire, where does the application get stored? I am trying to open an xml file stored as an asset, but I get a IO exception of FileNotFound. I tried looking through the phone but could not

[android-developers] Re: How to capture Xon and Xoff of BluetoothPrinter

2011-09-16 Thread gjs
Hi, It is probably related to flow control messages http://en.wikipedia.org/wiki/Software_flow_control Regards On Sep 15, 11:11 pm, Sebs basimallasebas...@gmail.com wrote: Hi,       I am trying to print a text file by my android phone but it seems my bluetooth printer is having just 16k

[android-developers] regarding progress dialog

2011-09-16 Thread nageswara rao rajana
Hi, I want to send data to web service through soap. I want this method implementation in progress dialog box any one please help me . with regards, Nagu. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] native typeface cannot be made

2011-09-16 Thread bob
Can someone tell me what is wrong with this font? https://sites.google.com/site/coolfonne/HelveticaNeue-Bold.ttf It worked on two phones, but not on two tablets. Android just says: native typeface cannot be made -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: ImageView.setImageResource() causes GC every time

2011-09-16 Thread Setsuki
In addition to these informations, here are the properties of my ImageButtons LayoutParams lpImage = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); ImageButton ib = new ImageButton(this); ib.setLayoutParams(lpImage);

Re: [android-developers] regarding progress dialog

2011-09-16 Thread yogendra G
Hi Nagu, Make use of async task which acts as multi threading concept in android. Look at this link you get some idea: http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html Regards, Yogi On 9/16/11, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi,

Re: [android-developers] Re: Bluetooth printer skipping lines of print

2011-09-16 Thread Sebastin Basimalla
Hi, We have tried slowing the rate but its not helping and regarding the data being sent back i have gone through most of Blurtooth APi but cant find any help with it, i am struggling to know the printers state i.e XON and XOFF .PLZ can u suggest any. Regards, Sebs On Fri, Sep 16, 2011 at 12:45

[android-developers] Framebuffers and the Galaxy S2

2011-09-16 Thread Christopher Van Kirk
Open question: has anyone found a way to render to a texture with a framebuffer that works on the Galaxy S 2? Cheers... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: HOW TO USE ROCK PLAYER IN OUR OWN application.

2011-09-16 Thread NAVI NEW
i am asking how to use , rock player in application not asking about contact. On Fri, Sep 16, 2011 at 12:41 PM, gjs garyjamessi...@gmail.com wrote: Contact rock player On Sep 16, 3:34 pm, NAVI NEW navi44...@gmail.com wrote: HOW TO USE ROCK PLAYER IN OUR OWN application. -- You received

[android-developers] Re: HOW TO USE ROCK PLAYER IN OUR OWN application.

2011-09-16 Thread gjs
Contact rock player On Sep 16, 3:34 pm, NAVI NEW navi44...@gmail.com wrote: HOW TO USE ROCK PLAYER IN OUR OWN application. -- 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: Quick Android App Dev Question from a Systems Engineering Viewpoint...

2011-09-16 Thread gjs
Hi, In general Android java app's work on any Android phone - given the api levels (etc etc etc) Regards On Sep 15, 7:36 am, yantman99 yan.ts...@gmail.com wrote: Hi I am new to Android App Development.  My question is from a systems engineering standpoint, instead of writing individual apps

[android-developers] Hi

2011-09-16 Thread yoon
I am having trouble this ndk things. i try to run it and when i push the button which calls C source then exit rightaway with theses commands in Logcat. 09-16 02:39:15.886: INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 09-16 02:39:15.886: INFO/DEBUG(31): Build

[android-developers] Re: Bluetooth printer skipping lines of print

2011-09-16 Thread gjs
Hi, Try slowing the rate you are sending the data to the printer, or perhaps examine the data being sent back from the printer it might give you hints about buffer flow control. Regards On Sep 16, 2:48 pm, Sebastin Basimalla basimallasebas...@gmail.com wrote: I couldnt get u?? can u

[android-developers] Source not found

2011-09-16 Thread prasad
Hello, I am newbie to Android. I am working on Android and Eclipse on the linux ubuntu platform. I am trying to write a program for Server-Client socket communication. Below is the code snippet: try{ Log.d(LOG_TAG, OK); providerSocket = new ServerSocket(8000, 10); connection =

[android-developers] How to get the real-time memory of an Android system by emulator?

2011-09-16 Thread Zhibo Hu
Hello everyone, I am a newbie of Android. Actually I am not a developer but a student. I need to conduct an experiment on Android emulator. In the experiment, I have to get the real-time system parameters e.g. free memory, buffers and etc., to investigate the variation of system parametes. I know

[android-developers] Re: Application hardware acceleration using Android Open Acessory API

2011-09-16 Thread gjs
Hi, It depends of the USB bandwidth and what you think you need for your application. Perhaps you could simulate your comms load using a PC with USB connected to an android device before creating your custom hardware ? Regards On Sep 16, 9:22 am, Ahmed Abdelfattah

[android-developers] Re: Application hardware acceleration using Android Open Acessory API

2011-09-16 Thread Ahmed Abdelfattah
I don't know how much bandwidth I need it depends on the application , I just want to know if an idea like this would be useful and effective or not ? On Sep 16, 9:32 am, gjs garyjamessi...@gmail.com wrote: Hi, It depends of the USB bandwidth and what you think you need for your application.

[android-developers] maven-android-plugin, ActionBar - Symbol not found

2011-09-16 Thread dara kok
Hello, I use maven to build android project. it was running alright until one of my class make reference to ActionBar class. In the pom file, I change the maven android plugin build version to 11. The problem is maven doesn't recognize the ActionBar class. It shows Symbol not found. error

[android-developers] How to implement peer 2 peer application in android 2.3.3

2011-09-16 Thread Reddy
I am planning to write a full duplex peer 2 peer application in 2.3.3. Can any one please tell me how it can be possible. I read that we can implement this using org.opennfc, integrate with 2.3.3. But this can be done by only device manufacturers. Please let me know is there any way that a user

[android-developers] Re: same app one tablet and phone with differnt gui

2011-09-16 Thread Károly Holczhauser
Hi boys! Thx for the replies, I had find a solution, called Multiple APK Support http://developer.android.com/guide/market/publishing/multiple-apks.html Thx:Karoly On szept. 12, 16:41, jjoe64 g.jjo...@googlemail.com wrote: this is possible with a few tricks. have a look at my blog post:

Re: [android-developers] Re: same app one tablet and phone with differnt gui

2011-09-16 Thread Jonas Gehring
oh, that's a really bad solution! Read the android documentaion: Note: You should generally use multiple APKs to support different device configurations only when your APK is too large (greater than 50MB). Using a single APK to support different configurations is always the best practice, because

[android-developers] Re: same app one tablet and phone with differnt gui

2011-09-16 Thread sparky
Please don't use multiple APKs for tablet support. Just implement some xlarge layouts. You'll be glad you did. For the menu buttons, just populate the Activity Bar with Options Menu items. Any buttons that don't fit on screen can automatically go into the Options (or overflow) menu. See

[android-developers] AbsoluteLayout blues

2011-09-16 Thread bob
Ok, so I used AbsoluteLayout for an Android app that I thought would only be used on phones. But now they want it to work on tablets. Anyhow, the app only uses the upper left 320x480 portion of the screen. Is there any easy way to tell Android to just zoom the 320x480 portion to occupy the whole

[android-developers] Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread MCON Dev
Hi, If I use the code below, I get java.io.FileNotFoundException : /system/bin/rsync (Read-Only File system). I have one more question following this for the Samsung Tablet. The emulator has a /dev/block/mtdblock0 file. But the samsung tablet does not. It instead has a mmcblk0. I need to know how

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread MCON Dev
I get the exception at OutputStream out = new FileOutputStream(dst); On Fri, Sep 16, 2011 at 2:32 PM, MCON Dev mcon...@gmail.com wrote: Hi, If I use the code below, I get java.io.FileNotFoundException : /system/bin/rsync (Read-Only File system). I have one more question following this for the

[android-developers] Re: Increase the App Size in Android

2011-09-16 Thread sparky
I think calling recycle() became a lot less necessary in Gingerbread. -- 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] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread MCON Dev
I tried adding dst.createNewFile(); Got a 09-16 14:35:39.569: WARN/System.err(1137): java.io.IOException: Read-only file system 09-16 14:35:39.579: WARN/System.err(1137): at java.io.File.createNewFileImpl(Native Method) 09-16 14:35:39.579: WARN/System.err(1137): at

[android-developers] Re: Intent to install packages from market

2011-09-16 Thread sparky
Sorry, it's part of the Android security design that the user has to explicitly approve installs. -- 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: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread Zsolt Vasvari
You seriosily think that any old app just copy stuff to the system/bin folder?? On Sep 16, 5:06 pm, MCON Dev mcon...@gmail.com wrote: I tried adding dst.createNewFile(); Got a 09-16 14:35:39.569: WARN/System.err(1137): java.io.IOException: Read-only file system 09-16 14:35:39.579:

[android-developers] how to play video file using ffmpeg library android

2011-09-16 Thread NAVI NEW
how to play video file using ffmpeg library android -- 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

Re: [android-developers] How to rename the file which is in sdcard...

2011-09-16 Thread RAJU V
String[] command = { mv, sun moon.jpg, sun_moon,jpg}; try { Process process = Runtime.getRuntime().exec(command); } catch (IOException e) { Toast.makeText(this, +e, Toast.LENGTH_LONG).show(); } ~~RAJU~~ ~~www.itdoall.co.cc~~ On Fri, Sep 16, 2011 at 3:02 PM, GopalaKrishnan D

[android-developers] Re: How to rename the file which is in sdcard...

2011-09-16 Thread skink
GopalaKrishnan D wrote: How to rename the file which is in sdcard... -- ~* Regards* *GopalaKrishnan D* http://developer.android.com/reference/java/io/File.html pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] [Fragments/supportv4] How do I make ViewPager/TabHost attatch all tabs and not just the current and the one next to it?

2011-09-16 Thread Ralph Bergmann | the4thFloor.eu
Am 15.09.11 12:59, schrieb leson: How can I make the ViewPager/TabHost attach all tabs immediately? I think you can't. You have to choose another holder for your tabs views. I recommend the ViewAnimator. see also:

[android-developers] How to accelerate video any resolution video on surface view +android code

2011-09-16 Thread NAVI NEW
How to accelerate video any resolution video on surface view +android code -- 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] Re: soap webservice(xml pull parser exception )

2011-09-16 Thread arun kumar
while debugging the problem occured at the namespace and soapaction.can any one tell me how to solve this private static final String SOAP_ACTION = urn:sap-com:document:sap:soap:functions:mc-style/zemptrack_overview; private static final String METHOD_NAME =

[android-developers] Re: How to accelerate video any resolution video on surface view +android code

2011-09-16 Thread NAVI NEW
Some one give me actual figure for do that thing On Sep 16, 3:09 pm, NAVI NEW navi44...@gmail.com wrote: How to accelerate video any resolution video on surface view +android code -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Using USB display adapters with Android

2011-09-16 Thread PrasannaKumar T S M
I would like to use USB display devices (USB to VGA cards) with android devices. My idea is to connect keyboard, mouse, monitor to mobile and use it like a notebook. The USB display devices available from displaylink has a driver available for linux and android (framebuffer driver). I am

[android-developers] Newbie to Android!1

2011-09-16 Thread HarryKrish
Hi, I'm Harry from India. Im a newbie to Android. Could you pls refer me the best Android Tutorial!! It would be too good if its a video tutorial. -- 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] Progressive Rendering, when loading the content at runtime in Android Webview

2011-09-16 Thread Jebarlin Robertson
Hi, I am developing an application with Webview to display some parsed content at runtime I need a help to display the content in Webview immediately as I get the data progressively. *For Ex.* Initially I am loading the data by calling like this, webViewer.loadDataWithBaseURL(URI_PREFIX,

[android-developers]

2011-09-16 Thread anacarolc...@gmail.com
Ana Carol. -- 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] How to porting Android applications

2011-09-16 Thread Adorilson Bezerra de Araujo
Hi, I'm a Msc Brazilian student, and this is my first message. With J2ME, the high diversity devices requires correspondingly customized versions of a single application. The main challenges, according to some reference, are as follows: • Different features of the devices regarding user

[android-developers] Re: How to accelerate video any resolution video on surface view +android code

2011-09-16 Thread sparky
http://developer.android.com/guide/practices/optimizing-for-3.0.html You can enable hardware-accelerated rendering in your application by setting android:hardwareAccelerated=true in your manifest's applicationhttp://developer.android.com/guide/topics/manifest/application-element.html element

[android-developers] Re: AbsoluteLayout blues

2011-09-16 Thread sparky
See Compatibility Zoom. Only since Android 3.2, though. But I think you're better off fixing your fundamental problem, which is an inflexible layout. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: How to accelerate video any resolution video on surface view +android code

2011-09-16 Thread NAVI NEW
This default feature works with 3.0 but i want use with all android sdk . i want play video on surface On Fri, Sep 16, 2011 at 4:41 PM, sparky spar...@google.com wrote: http://developer.android.com/guide/practices/optimizing-for-3.0.html You can enable hardware-accelerated rendering in your

Re: [android-developers] Using USB display adapters with Android

2011-09-16 Thread Mark Murphy
This list is for developing ordinary applications using the Android SDK. For questions on Debian-on-Android, contact whoever writes that. On Fri, Sep 16, 2011 at 4:18 AM, PrasannaKumar T S M prasannatsmku...@gmail.com wrote: I would like to use USB display devices (USB to VGA cards) with

Re: [android-developers] Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 5:02 AM, MCON Dev mcon...@gmail.com wrote: Hi, If I use the code below, I get java.io.FileNotFoundException : /system/bin/rsync (Read-Only File system). That is because the filesystem is read-only. You cannot write to /system. -- Mark Murphy (a Commons Guy)

Re: [android-developers] native typeface cannot be made

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 3:49 AM, bob b...@coolgroups.com wrote: Can someone tell me what is wrong with this font? https://sites.google.com/site/coolfonne/HelveticaNeue-Bold.ttf Besides being a presumably unlicensed copy of a proprietary font?

Re: [android-developers] phone gap

2011-09-16 Thread Mark Murphy
One runs on Android devices. The other runs on Blackberry devices. For questions about PhoneGap, you might consider asking PhoneGap, since this list is not really about PhoneGap. On Fri, Sep 16, 2011 at 2:46 AM, mohana priya gpriyara...@gmail.com wrote: what is the difference between android

Re: [android-developers] Android native browser can't access https sites

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 2:53 AM, perumal316 perumal...@gmail.com wrote: I have noticed that for certain https websites, the native browser could not load them and just displays a blank white page. However, this is not an issue with Firefox Android application. Is it a known issue? If I had

Re: [android-developers] Running ui thread from another thread

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 12:26 AM, Logesh rajendren loges...@gmail.com wrote: Is there any way to run  a UI thread from another class ? You don't run a UI thread. If you mean run some code on the UI thread, use runOnUiThread(), or post(), or postDelayed(), or a Handler, or AsyncTask. -- Mark

[android-developers] Re: USB - IR drivers

2011-09-16 Thread FrankG
Hello ! IMHO to add a new usb mode, you need to change nearly all parts of the platform .. change the kernel ( new usb gadget) add some kernel to framework communication stuff and so on .. Without full platform access something like this is not possible. Good luck ! Frank On 16 Sep., 04:00,

[android-developers] Re: After Signing Pressing App Icon Restarts App Every Time

2011-09-16 Thread GregAZ
It happens after I sign it cuz I didn't zip align it once to see which was causing. I updated my jaraligner to the latest version and it's still doing it. On Sep 15, 10:23 pm, GregAZ ggur...@gmail.com wrote: It's not just my phone, it's happening for others as well.  And yes, I put the signed

[android-developers] Ideas for displaying vu meter (help with gradients)

2011-09-16 Thread Ash
Hi All, Wondering if you all can input your 2 cents. I am trying to learn more about Android graphics. I am trying to put a VU meter on my application. Don't worry about how the level readings are created and other backend aspects. I am more interested in learning how to present the the levels

Re: [android-developers] Using USB display adapters with Android

2011-09-16 Thread PrasannaKumar T.S.M
Can you direct me to place where I can discuss about this? On Fri, Sep 16, 2011 at 5:20 PM, Mark Murphy mmur...@commonsware.comwrote: This list is for developing ordinary applications using the Android SDK. For questions on Debian-on-Android, contact whoever writes that. On Fri, Sep 16,

Re: [android-developers] Using USB display adapters with Android

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 8:09 AM, PrasannaKumar T.S.M prasannatsmku...@gmail.com wrote: Can you direct me to place where I can discuss about this? No, because I have no idea where the Debian-on-Android people hang out online. Perhaps you can find them via a search engine. -- Mark Murphy (a

[android-developers] Progressive Rendering, when loading the content at runtime in Android Webview

2011-09-16 Thread Jebarlin Robertson
Hi, I am developing an application with Webview to display some parsed content at runtime I need a help to display the content in Webview immediately as I get the data progressively. *For Ex.* Initially I am loading the data by calling like this, webViewer.loadDataWithBaseURL(URI_PREFIX,

[android-developers] Re: drawing too much power

2011-09-16 Thread drpickett
You might try using a USB hub that has its own external power supply - The root port connected to the PC will keep the PC USB port happy, and the power to charge the tablet will be supplied by the USB hub On Sep 15, 11:26 pm, bob b...@coolgroups.com wrote: I bought a Vizio Tablet.  When I plug

Re: [android-developers] Re: drawing too much power

2011-09-16 Thread Christopher Van Kirk
I would take it back and get it replaced. Sounds like a defect to me. On 9/16/2011 9:08 PM, drpickett wrote: You might try using a USB hub that has its own external power supply - The root port connected to the PC will keep the PC USB port happy, and the power to charge the tablet will be

[android-developers] Prevent activity pause

2011-09-16 Thread Pinheiro
Hi! I have an unusual problem: I've made an app that will be shown at an exposition booth. What I need is a way to prevent the screen from going off, i.e., the activity will be run forever (no battery problem, it will always be powered). I've tried to shortcut OnPause() to return instantly and

Re: [android-developers] Newbie to Android!1

2011-09-16 Thread rambabu mareedu
u can find in youtubetype android tutorials On Fri, Sep 16, 2011 at 2:33 AM, HarryKrish sriharish.kris...@gmail.comwrote: Hi, I'm Harry from India. Im a newbie to Android. Could you pls refer me the best Android Tutorial!! It would be too good if its a video tutorial. -- You

Re: [android-developers] Prevent activity pause

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 9:18 AM, Pinheiro rui.c.pinhe...@gmail.com wrote: I have an unusual problem: I've made an app that will be shown at an exposition booth. What I need is a way to prevent the screen from going off, i.e., the activity will be run forever (no battery problem, it will always

[android-developers] Re: How I can add an int to an array if the user clicks a button?

2011-09-16 Thread Zwiebel
Thanks, I tried it now. I have a problem, with this: I need to have two arraylists. I declared them. I declared a mine arraylist and an user arraylist with this code: ArrayList mine = new ArrayList(); ArrayList user = new ArrayList(); I want to store in these values, what are

Re: [android-developers] Newbie to Android!1

2011-09-16 Thread rambabu mareedu
you can also type markana videos in google...you can get primary information about androidor drop me a word to my mail rambabu.mare...@gmail.com ...i vl give u online training On Fri, Sep 16, 2011 at 6:18 AM, rambabu mareedu rambabu.mare...@gmail.comwrote: u can find in youtubetype

Re: [android-developers] Prevent activity pause

2011-09-16 Thread Christopher Van Kirk
Isn't that what the wakelock does? On 9/16/2011 9:18 PM, Pinheiro wrote: Hi! I have an unusual problem: I've made an app that will be shown at an exposition booth. What I need is a way to prevent the screen from going off, i.e., the activity will be run forever (no battery problem, it will

[android-developers] Re: Prevent activity pause

2011-09-16 Thread Pinheiro
Many thanks for the fast reply, it works :) -- 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] Re: [Fragments/supportv4] How do I make ViewPager/TabHost attatch all tabs and not just the current and the one next to it?

2011-09-16 Thread Streets Of Boston
If you just need your tabs *instantiated *(as a Java Object), you can do this in your activity. Pre-instantiate all 4 of them (new MyFragment() 4 times), add them to a list and use this list in the FragmentPagerAdapter's * 'getItem(int)*' method. If you need your MyFragments to be *attached*

[android-developers] Re: Progressive Rendering, when loading the content at runtime in Android Webview

2011-09-16 Thread Streets Of Boston
The only way i can come up with is to do this in JavaScript. Render the page with your initial HTML. This HTML contains JavaScript code/functions that 'append' html after the last child of the body. Then when 'new' html is ready, send it to the JavaScript. The JavaScript then will make sure to

[android-developers] Re: SQLite and JSON or Java object serialization

2011-09-16 Thread Emanuel Moecklin
Here's some code I'm using in my apps: public static byte[] getSerializedObject(Serializable s) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = null; try { oos = new

[android-developers] Re: Abrir URL desde android y no mostrar barra de direcciones o fuente del sitio

2011-09-16 Thread scout-pistolero
Mmm sigo sin encontrarlo , las opciones que encontre son referente a las ventanas de una aplicacion estandar en android, que sin bordes, que sin titulo , pero sin suerte al abrir el navegador sin barra de direccion... bueno no doy mas la lata ya que veo que con el tema del ingles se ponen

[android-developers] How to get an interval of bytes from a file?

2011-09-16 Thread Lidia
Hello, please help me, I have to upload different media files, some of them a big, and i have the possibility to upload a file in few pieces of encoded string of bytes. I need to read a particular interval of bytes from a file. I can't create an array of bytes from the whole file, because the

[android-developers] help for countdowntimer ?

2011-09-16 Thread Hitendrasinh Gohil
Hi, I am using countdowntimer for 20sec.I need to display each second in textview. private void startCountDownTimer() { countDownTimer = new CountDownTimer(2, 1000) { public void onTick(long leftmiliseconds) {

[android-developers] Have problem with compare arraylists in Android

2011-09-16 Thread Zwiebel
I need to have two arraylists. I declared them. I declared a mine arraylist and an user arraylist with this code: ArrayList mine = new ArrayList(); ArrayList user = new ArrayList(); I want to store in these values, what are will be important to contact with the user: I added values

[android-developers] change between screens - best practise

2011-09-16 Thread Richard Sámela
hallo, in my app i have a listview and if i click on item so i start new activity by intent to show details of an item. i would like to do it that it will be possible scrolling in detail activity. there i implement GestureDetectr.OnGestureListener and when i scroll from right to left i would like

[android-developers] Re: Have problem with compare arraylists in Android

2011-09-16 Thread Jens
You typically do not do String comparison using ==, try using the equals(..) method instead - in your case directly on your ArrayLists. if (user.equals(mine)) { // Start a new activity. } Btw, you should consider using generics for your lists, e.g. ArrayListString mine = new

[android-developers] Re: Android native browser can't access https sites

2011-09-16 Thread perumal316
Hi Murphy, Yes, the page can be loaded in Firefox. Just wondering, is there any way to include root certs in the Native browser? Thanks In Advance, Perumal On Sep 16, 7:56 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 16, 2011 at 2:53 AM, perumal316 perumal...@gmail.com wrote:

[android-developers] Re: How is RockPlayer doing hardware decoding?

2011-09-16 Thread Jona
They probably use FFmpeg to take care of getting the encoded media data than pushing that untouched data using some type of proxy server to the MediaPlayer to do the hardware decoding. That's probably all... :-) On Sep 16, 2:22 am, Doug beafd...@gmail.com wrote: If authentication over rtsp is a

Re: [android-developers] Re: Android native browser can't access https sites

2011-09-16 Thread Mark Murphy
On Fri, Sep 16, 2011 at 10:47 AM, perumal316 perumal...@gmail.com wrote: Just wondering, is there any way to include root certs in the Native browser? With a rooted phone, perhaps. With modded firmware, perhaps. Not on a standard production device AFAIK. -- Mark Murphy (a Commons Guy)

[android-developers] Re: How to get an interval of bytes from a file?

2011-09-16 Thread Jens
Try java.io.RandomAccessFile. Call RandomAccessFile#seek() to position the file pointer correctly and then call one or more of the read(..) methods available in the RandomAccessFile class. Or you could go balls deep and use a FileChannel, but that is about as fun as pleasuring yourself with a

[android-developers] Re: How is RockPlayer doing hardware decoding?

2011-09-16 Thread Jens
Or, crack open their app and check the build of the ffmpeg library. If they forgot to do the mandatory sanity checks on their build (i.e. forgot to read http://ffmpeg.org/legal.html that has useful build instructions) you could always request a copy of the now GPL- licensed source code to their

[android-developers] In Android How to Save the images in OnDraw While Adding Many pictures?

2011-09-16 Thread niva k
Hai i used onDraw() in My Application,i can view the images ins working fine.My problem is to save the images. here my code to draw the images,My problem is Mentioned below. protected void onDraw(Canvas canvas) { // TODO Auto-generated method stub

Re: [android-developers] accessing media player declared in a service from my main activity

2011-09-16 Thread TreKing
On Thu, Sep 15, 2011 at 10:36 PM, ruchira ruchira...@gmail.com wrote: Do I have to bind the service to the activity or what should I do?? Probably. See the LocalService example in the Service documentation.

Re: [android-developers] Re: HOW TO USE ROCK PLAYER IN OUR OWN application.

2011-09-16 Thread TreKing
On Fri, Sep 16, 2011 at 2:16 AM, NAVI NEW navi44...@gmail.com wrote: i am asking how to use , rock player in application not asking about contact. Is this rock player something in the SDK? -

[android-developers] Re: How to get an interval of bytes from a file?

2011-09-16 Thread Lidia
Thanks Jens, I already found a simple solution, to use skip() method: InputStream is = new FileInputStream(file); byte[] output = new byte[(int) bytesToRead]; is.skip(startPosition); is.read(output, 0, bytesToRead); and it seems to work good. -- You received this message because you are

[android-developers] bluetooth spp protocal

2011-09-16 Thread miundroid
hi all, I was wondering if anyone knows the data frame protocol that android uses by default. Or if anyone knows of a technical document with this information I'd be more than happy to read it for myself. I need to know what exactly the data frame looks like, for example... 8-data bits | 1 Odd

Re: [android-developers] Using USB display adapters with Android

2011-09-16 Thread PrasannaKumar T.S.M
Thanks for your suggestions and quick response :) On Fri, Sep 16, 2011 at 5:53 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Sep 16, 2011 at 8:09 AM, PrasannaKumar T.S.M prasannatsmku...@gmail.com wrote: Can you direct me to place where I can discuss about this? No, because I have

[android-developers] Re: Equivalent to !kbhit() in c method in Android

2011-09-16 Thread ursNARESH
can any one help me ?? On Sep 1, 11:33 am, ursNARESH naresh.ap...@gmail.com wrote: I am new to Android. I am planing to write code for typing tutor game application. In that i need to scroll down letters from top to bottom until user enters a key. I can write the same in c like

  1   2   >