[android-developers] Chat Application

2012-04-17 Thread Alejandro Alves
Hello, I am doing an application that will allow users have one to one chats. I am wondering if there is an application that I could use for this. Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Grant the root privilege to the application

2012-04-17 Thread Sam
Hi Developers, I have an application which consists of the native part and higher layer. Therefore, it needs to be granted the root privilege to run some native functions. As the article I post before, I added a piece of code taken from Bluez Utils(hidd.c). if (bind(sk, (struct sockaddr *) &ad

Re: [android-developers] Regarding GPS in Android Gingerbread(2.3.X.X)

2012-04-17 Thread yogendra G
Thanks For Reply. http://stackoverflow.com/questions/3897053/help-sending-info-from-android-phone-to-an-computer-ip-with-android-emulator Check it out for your question. Or may be you need to make use of some sort of socket connection or try to check with bluetooth chat app in android samples. Y

[android-developers] Regarding GPS in Android Gingerbread(2.3.X.X)

2012-04-17 Thread yogendra G
Hi All, Am not able to get latitude and logitude values using gps programming in android 2.3 were the same code works very well for below android 2.3 version. So,please help me out with some sample code which works well for android 2.3 without any problem. Thanks in Advance.Hoping for reply for

[android-developers] draging an object

2012-04-17 Thread ravi ranjan
How can i drag an object(line) in circular path, by keeping one end fixed like a second hand of clock. This should drag on user input. -- 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@g

Re: [android-developers] how to add photo in email content in android

2012-04-17 Thread asheesh arya
hope this is whta you are looking for. in this code file is automatically attached in the mail. file is stored in the sd card!! import java.io.File; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import an

[android-developers] Re: Is frame extraction possible?

2012-04-17 Thread Gene
I have no experience with this interface, but it looks like you can send the preview to an OpenGL texture rather than the SurfaceView. A texture can be copied to conventional memory with the OpenGL API. On Apr 17, 10:46 pm, Taylor Niver wrote: > I asked a question yesterday but didn't get much gu

[android-developers] Re: Will the browser in the ADT emulator use my desktop network connection for browsing sites?

2012-04-17 Thread Gene
Yes. The emulator uses the host NIC as though it's a WiFi service provider. All the apps respond accordingly. Not sure if this will be important for you, but the emulated settings for Proxy and DNS for that emulated ISP all function by manipulating the emulator GUI. If you're on an enterprise LA

[android-developers] Re: Get Owner Email Address in Android 1.x

2012-04-17 Thread ndiiie90
Updated: now it works, but it still returns null although there is a gmail account attached to the phone. Any help? Thanks On Apr 18, 11:00 am, ndiiie90 wrote: > sorry i mean noclassdeffounderror > > On Apr 18, 9:35 am, ndiiie 90 wrote: > > > > > > > > > Hi everyone, > > > how to get owner e

[android-developers] Re: Get Owner Email Address in Android 1.x

2012-04-17 Thread ndiiie90
sorry i mean noclassdeffounderror On Apr 18, 9:35 am, ndiiie 90 wrote: > Hi everyone, > > how to get owner email address in Android 1.x? > I know there is AccountManager class but it's only available for Android > 2.x. > > I also try this one but still can't work at > allhttp://www.mailinglistar

[android-developers] File IO Erros

2012-04-17 Thread Kiran
Hi All, I was wondering if you had any thoughts to some errors I am getting with Java I/O. Here is my setup: I have 4 Android phones in an Ad-Hoc WIFI network. Each of these Android phones is running a Jetty Webserver (http://jetty.codehaus.org/jetty/). Jetty has an app specifically for An

Re: [android-developers] paypal is still an option?

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 9:39 PM, Dayvid Victor wrote: > can anybody help me? Not really. This is a question about Android Market. http://support.google.com/googleplay/android-developer/?hl=en However, you have a better chance of hitting the lottery while being struck by lightning than getting a

Re: [android-developers] Re: Speech Recognition

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 10:41 PM, Anurag Pratap Singh wrote: > Thanks for the infoby any chance can you also tell me where can i find > the java application code for this file... > It's not a file, nor is the source available, AFAIK. --

[android-developers] Re: Is there any alter native to download internal source code I am need mms source code ..

2012-04-17 Thread Alger Lin
I released an app to dumping all classes and methods (include disclosed and undocumented) from your Android device. It may help you to find out undocumented API for MMS. You can download this tool by URL below. http://market.android.com/details?id=com.twrd.yulin.classminer ADB於 2012年4月13日星期五UTC+

[android-developers] Re: Speech Recognition

2012-04-17 Thread Anurag Pratap Singh
Thanks for the infoby any chance can you also tell me where can i find the java application code for this file...because i want to perform some different kind of operation with this. Thanks in advance. On Apr 17, 11:59 pm, TreKing wrote: > On Tue, Apr 17, 2012 at 1:50 PM, Anurag Pratap Singh

[android-developers] Re: Is frame extraction possible?

2012-04-17 Thread Zsolt Vasvari
Not sure what's possible, but since Google Goggles does something like this, my guess is that it's at least doable. On Wednesday, April 18, 2012 10:46:28 AM UTC+8, Taylor Niver wrote: > > I asked a question yesterday but didn't get much guidance (at least not > enough to get me where I need to b

[android-developers] Re: Google's 1099-K

2012-04-17 Thread Zsolt Vasvari
Well, if you feel setting yourself up for a sure-fire audit, go with this advice. But I think it's more pragmatic to start with Google's number, and deduct as much "Commission" to match what you received, even if it's slightly more than 30%, like it was in my case. On Wednesday, April 18, 2

[android-developers] Re: Google's 1099-K

2012-04-17 Thread Zsolt Vasvari
No, definitely not. My app is NOT ad supported and I got a 1099-K. On Wednesday, April 18, 2012 2:50:27 AM UTC+8, niko20 wrote: > > Well I have made more than 3 times that in a year, and never gotten a > form yet..so I am thinking it's probably for ad-supported apps. > > -niko > > On Apr 13, 9

[android-developers] Is frame extraction possible?

2012-04-17 Thread Taylor Niver
I asked a question yesterday but didn't get much guidance (at least not enough to get me where I need to be), so I figured it would be best to even know if exactly what I want is possible. I currently have a code that opens the camera and displays it over 'Preview' onto a SurfaceView. I need to

[android-developers] paypal is still an option?

2012-04-17 Thread Dayvid Victor
Hello Everybody, I'm working on a project at university it is something like a "groupon" mobile; We were going to use paypal for payment system, but it seems like it is no longer an option (only google wallet is); Reading the android page, it says there are some exceptions, but I don't know if "b

[android-developers] Get Owner Email Address in Android 1.x

2012-04-17 Thread ndiiie 90
Hi everyone, how to get owner email address in Android 1.x? I know there is AccountManager class but it's only available for Android 2.x. I also try this one but still can't work at all http://www.mailinglistarchive.com/html/android-developers@googlegroups.com/2009-06/msg01032.html because it gi

[android-developers] Re: Giving your emulator a boost: Android ICS x86 system-image available

2012-04-17 Thread lbendlin
When creating the AVD I am unable to select the Google API v15. Does that require a different system image? On Tuesday, April 17, 2012 8:50:00 AM UTC-4, Erik Nijkamp wrote: > > Hey folks, > > we (a mobile testing startup in Berlin) had some trouble regarding the > poor Android ICS performance ru

[android-developers] Re: PendingIntent getService

2012-04-17 Thread ndiiie90
so did you mean that I don't need to stop it because you said that "which automatically shuts down when it is done processing the delivered command" ? On Apr 17, 6:02 pm, Mark Murphy wrote: > On Tue, Apr 17, 2012 at 5:59 AM, ndiiie 90 wrote: > > according to here: > >http://developer.android.co

[android-developers] Android 4.0.3 install % overtakes 3.2 for my app

2012-04-17 Thread Zsolt Vasvari
...and almost caught up to 2.2. Very surprising. This is not a new app, it's been in the Android Market for 18 months. Android 2.3.3+ 4,261 57.11 % Android 2.2 977 13.09 % Android 4.0.3 835 11.19 % Android 3.2 834 11.18 % -- You received this message because you are subscribed to the Goog

[android-developers] Re: Android Bluetooth l2cap socket bind()

2012-04-17 Thread Sam
Anyone could help??? Please... On Apr 17, 4:58 pm, Sam wrote: > Android version: 2.3.7 > > Kernel version: 2.6.35-14-CyanogenMod-Arco-Kalim arco@tuxbox #1 > > Mod version: CyanogenMod-7.1.0.1-click > > The device has been fully rooted. > > I have added piece of code in my project > > which taken

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Kostya Vasilyev
18.04.2012 3:17 пользователь "Nathan" написал: > > > On Tuesday, April 17, 2012 7:39:32 AM UTC-7, Nadeem Hasan wrote: >> >> >> The removable external storage by design is not made available to applications for general purpose storage simply because it's not expected to be present all the time and

Re: [android-developers] Re: Socket sharing between activities

2012-04-17 Thread Dianne Hackborn
On Tue, Apr 17, 2012 at 12:03 AM, Federico Paolinelli wrote: > Not using a service will make the connection "available to be killed" > if the application goes background. > Is that correct? > Yes. > And, if we want to close the connection when the application is no > longer visible, where shoul

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Dianne Hackborn
On Tue, Apr 17, 2012 at 3:09 PM, Nathan wrote: > On Monday, April 16, 2012 7:07:33 PM UTC-7, Dianne Hackborn wrote: > >> On Sun, Apr 15, 2012 at 8:56 AM, digi owl wrote: >> >>> looking at the 3.2 platform API changes, it appears that Google wants >>> developers to access SD cards via either Meid

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Dianne Hackborn
On Tue, Apr 17, 2012 at 2:55 PM, Nathan wrote: > Is there any reason that the platform will never support something like > GetStorageDirectories() (plural)? > Well, nobody has said that, so I don't see how I could give a reason for it. -- Dianne Hackborn Android framework engineer hack...@andr

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Nathan
On Tuesday, April 17, 2012 7:39:32 AM UTC-7, Nadeem Hasan wrote: > > The removable external storage by design is not made available to > applications for general purpose storage simply because it's not expected > to be present all the time and is explicitly intended for read-only media > files

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Nathan
On Monday, April 16, 2012 7:07:33 PM UTC-7, Dianne Hackborn wrote: > > On Sun, Apr 15, 2012 at 8:56 AM, digi owl wrote: > >> looking at the 3.2 platform API changes, it appears that Google wants >> developers to access SD cards via either MeidaStore or the MTP API: >> https://developer.android.

[android-developers] Re: Giving your emulator a boost: Android ICS x86 system-image available

2012-04-17 Thread Erik Nijkamp
Hey Anuj, according to [1] KVM on Ubuntu is equivalent to the HAXM hypervisor on Windows or Mac. So, yes, we do use hardware-assisted acceleration. I don't have a Windows nor Mac OS at hand, but I bet the system-image would also work with HAXM. Maybe you could give it a try? Best, Erik [1]

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Nathan
On Monday, April 16, 2012 7:05:58 PM UTC-7, Dianne Hackborn wrote: > > > The current platform defines an single external storage location, which > these days can be either a physical SD card, a physical partition on > internal storage, or shared with internal storage, as reported by the > vari

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread JP
No, as I stated to begin with this isn't what I am looking for. This returns "2.2" in my case, and this is the Android version, not the ROM version. .JP Den tirsdag den 17. april 2012 23.18.25 UTC+2 skrev MagouyaWare: > > Maybe this? > http://developer.android.com/reference/android/os/Build.VER

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread Justin Anderson
Or this... http://developer.android.com/reference/android/os/Build.html* * Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 3:19 PM, Mark Murphy wrote: > On Tue, Apr 17, 2012 at 5:11 PM, JP wrote: > > I looked at that also, and this

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread JP
I just found that code myself... am cloning as I type. Will report what I find. JP Den tirsdag den 17. april 2012 23.19.04 UTC+2 skrev Mark Murphy (a Commons Guy): > > On Tue, Apr 17, 2012 at 5:11 PM, JP wrote: > > I looked at that also, and this doesn't give me what I want. For my HTC > > Leg

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 5:11 PM, JP wrote: > I looked at that also, and this doesn't give me what I want. For my HTC > Legend phone, this returns "01". > > I am expecting: "3.15.405.3" or "3.15.405.3 CL291292 release-keys", which is > what it says under "Software number" and "Build number" in my >

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread Justin Anderson
Maybe this? http://developer.android.com/reference/android/os/Build.VERSION.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 3:11 PM, JP wrote: > I looked at that also, and this doesn't give me what I want. For my HTC > Legend

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread JP
I looked at that also, and this doesn't give me what I want. For my HTC Legend phone, this returns "01". I am expecting: "3.15.405.3" or "3.15.405.3 CL291292 release-keys", which is what it says under "Software number" and "Build number" in my "Settings/About Phone/Software Information" activit

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
I got one of the animations working: the old view is visible, then a new view grows from center to the border. However, in the opposite situation, i'm unable to get the desired results: i want that the old view be shrinking while the new view appears. Not sure if i was understood: is like if th

Re: [android-developers] Reading ROM version through code

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 9:45 AM, JP wrote: > I just can't find anywhere this information has been documented?!? http://developer.android.com/reference/android/telephony/TelephonyManager.html#getDeviceSoftwareVersion() ?

Re: [android-developers] how to add photo in email content in android

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 8:46 AM, Amit Mangal wrote: > i want to send email programatically and email content is having one > picture (.png). please tell me how to send that picture in email content > like i have attached screen shot. I'm sure you tried Googling and made some attempts at solving

[android-developers] Will the browser in the ADT emulator use my desktop network connection for browsing sites?

2012-04-17 Thread David Karr
I can't test this right now, but if I start up an emulator instance on my desktop, if I bring up the browser on the emulator, will that use my desktop network connection for DNS and resolving urls? If my desktop is connected to VPN, I want the browser on the phone to be able to view a page inside

Re: [android-developers] Problems about gallery widget, help!

2012-04-17 Thread Eiffel Zhu
Thx a lot, i'll try. On Wed, Apr 18, 2012 at 2:54 AM, Mark Murphy wrote: > On Tue, Apr 17, 2012 at 2:50 PM, Russell wrote: > > 1.I wish my gallery widget can dispaly 6 images at the same time, and > > the layout is a 2*3 matrix, and when I slide the screen, the widget > > display another 6 imag

Re: [android-developers] Re: Speech Recognition

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 1:50 PM, Anurag Pratap Singh wrote: > but in my board, I am only able to use this feature only for google search. > If you are talking about "Voice Actions", that is an app onto itself and has more commands than just search, but is limited. Google "Android Voice Actions" f

[android-developers] Re: Giving your emulator a boost: Android ICS x86 system-image available

2012-04-17 Thread Anuj Goyal
Have you tried Intel's HAX driver as well? http://software.intel.com/en-us/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

Re: [android-developers] Problems about gallery widget, help!

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 2:50 PM, Russell wrote: > 1.I wish my gallery widget can dispaly 6 images at the same time, and > the layout is a 2*3 matrix, and when I slide the screen, the widget > display another 6 images, how to code this function? Use ViewPager instead of Gallery. > 2.I want to add

Re: [android-developers] Problems about gallery widget, help!

2012-04-17 Thread Justin Anderson
Didn't you already ask this question? And didn't someone give you an answer? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 12:50 PM, Russell wrote: > 1.I wish my gallery widget can dispaly 6 images at the same time, and > the la

[android-developers] Problems about gallery widget, help!

2012-04-17 Thread Russell
1.I wish my gallery widget can dispaly 6 images at the same time, and the layout is a 2*3 matrix, and when I slide the screen, the widget display another 6 images, how to code this function? 2.I want to add some dots under the gallery widget to show which page the gallery is displaying, is there a

[android-developers] Re: Speech Recognition

2012-04-17 Thread Anurag Pratap Singh
but in my board, I am only able to use this feature only for google search. Can anyone tell me how to use this feature to invoke the various other applications like : invoking camera, invoking a game etc On Apr 17, 7:31 pm, TreKing wrote: > On Mon, Apr 16, 2012 at 4:05 AM, Anurag Pratap Singh

[android-developers] Re: Google's 1099-K

2012-04-17 Thread niko20
Well I have made more than 3 times that in a year, and never gotten a form yet..so I am thinking it's probably for ad-supported apps. -niko On Apr 13, 9:48 pm, Zsolt Vasvari wrote: > Looks like,according to the link TreKing posted, you had to made $20,000 > (before the 30%) OR made 200 transacti

[android-developers] Re: Google's 1099-K

2012-04-17 Thread niko20
Just go with whichever number is lowest. If your bank account transactions were lower, use those, as you have bank records to back it up if you get audited. If googles numbers are lower, use those as the 1099-k will report them and can be used as "proof". But if they did an audit they would still l

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
Thanks, Justin, it worked: ViewGroup vg = (ViewGroup)iview.getParent(); vg.removeView(iview); -- 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 un

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread Justin Anderson
You may find this useful: http://developer.android.com/reference/android/view/ViewGroup.html#removeView%28android.view.View%29 Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 11:37 AM, Mark Murphy wrote: > No. The view is just ignor

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 1:32 PM, guich wrote: > Instead of using setContentView, i'm using addContentView. However, i didn't > found a removeContentView, so i'm using setVisibility(GONE). Question: does > this gets rid of the added view? No. The view is just ignored when it comes to drawing its p

[android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
I'm almost there. Once i get the correct results, i'll post here. Instead of using setContentView, i'm using addContentView. However, i didn't found a removeContentView, so i'm using setVisibility(GONE). Question: does this gets rid of the added view? I'm not sure if it just hides the view but

Re: [android-developers] TabHost widget causes FC after upgrade

2012-04-17 Thread Justin Anderson
I don't really see any problem with your code... But I am big on using XML layouts. Hopefully someone else can help you out here... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 10:11 AM, momo wrote: > Here's the basics of the

Re: [android-developers] TabHost widget causes FC after upgrade

2012-04-17 Thread momo
Here's the basics of the tabhost: public class ChooserView extends TabHost { public FrameLayout tabContent; public TabWidget tabs; public ChooserView(Context context) { super(context); setId(android.R.id.tabhost); setBackgroundResource(R.drawable.cobblestone); LinearLayout ll = new LinearLayo

[android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
Hi Mark, Unfortunately, that's not an option. I don't create programs for Android, i create a virtual machine that runs side by side with Dalvik. All i need from Android is to start the program, handle pen and keyboard events, and show the contents drawn by my VM on the screen. Too bad that thi

[android-developers] Renderscript variable argument list possible?

2012-04-17 Thread Harald Gustafsson
Hi, Is it possible to use variable argument list (...) in Renderscript, i.e. va_list, va_start, va_end, etc. Want to use it for internal static defined functions. /Harald -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

Re: [android-developers] Re: Listen to packet data receipt when Android in sleep mode

2012-04-17 Thread Robert Greenwalt
Yes, though I think the wakeup is not synchronous. It may end while the application code is being run. If your app doesn't have much to do you're probably safe not grabbing a wake lock yourself, but if the data causes you to kick off a longer task you should probably grab a wakelock. R On Mon

Re: [android-developers] TabHost widget causes FC after upgrade

2012-04-17 Thread Justin Anderson
> > I wonder if a newer version of TabHost requires an XML-based > instantiation...? > Not that I am aware of... What does your code look like that creates the TabView and loads up the resources. Also, what are the contents of your res folder? Thanks, Justin Anderson MagouyaWare Developer http:/

Re: [android-developers] How to get Wifi upload speed.

2012-04-17 Thread Robert Greenwalt
You could always try http://www.speakeasy.net/speedtest/ On Tue, Apr 17, 2012 at 3:05 AM, android developer < android.developer4...@gmail.com> wrote: > Hi all, > How to get Wifi upload speed. > Please help me on this issue. > > -- > You received this message because you are subscribed to the Goog

Re: [android-developers] what's layout-sw680dp-w1000dp means?

2012-04-17 Thread Justin Anderson
http://developer.android.com/guide/practices/screens_support.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 1:37 AM, wei li wrote: > Hi All, > > I am research android 4.0.3 contacts code. and find some layout > directory such

Re: [android-developers] How to get the user choice from 'Intent.createChooser'

2012-04-17 Thread Justin Anderson
You would have to write your own chooser... I have done this before when I wanted to create a chooser that would all the user to choose between taking a picture with the camera or choosing an existing picture from the gallery. I couldn't find a way to do that with the default chooser mechanism so

Re: [android-developers] How to add facebook page in android apps

2012-04-17 Thread Justin Anderson
Go look at the facebook developer API Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 8:37 AM, Yogeshkumar Tiwari < yogeshtiwari2...@gmail.com> wrote: > Hi, > Greeting to all of you !!! > i'm developing android

Re: [android-developers] how to integrate broadcastreceiver functionality in service class

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 2:06 AM, asheesh arya wrote: > now i want that these broadcast receiver running continously after device > bootup in the background sucessfully > A broadcast receiver is not something that needs to be "running continously [sic]" - it's something that responds to events. As

[android-developers] Reading ROM version through code

2012-04-17 Thread JP
Hi guys, I am trying to read the ROM version, and displaying it in my app. I am NOT talking about the information available from the android.os.Build.*; namespace. This gives me the Android OS version numbers. I am looking for a way to display the ROM version. Most commonly this is the software v

[android-developers] How to access and write to an Allocation in Renderscript

2012-04-17 Thread Booker
Hi, all. I am now developing a renderscript based application and I want to use it to do filter on images. I would like to ask if I can have a function to access a specific pixel of an allocation which is a bitmap? I can use rsGetElementAt() to read but any set function? -- You received this m

Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7

2012-04-17 Thread Nadeem Hasan
I think this behavior does make some sense. The non-removable external storage is what the platform expects the apps to use to read/write arbitrary files. So this location is made visible to the apps via the Environment API. The removable external storage is expected to be used to swap in/out m

Re: [android-developers] Some question about Gallery Widget

2012-04-17 Thread TreKing
On Mon, Apr 16, 2012 at 11:54 AM, Russell wrote: > 1.I wish my gallery widget can dispaly 6 images at the same time, and > the layout is a 2*3 matrix, and when I slide the screen, the widget > display another 6 images, how to code this function? > With Java, an IDE, like Eclipse, a keyboard, and

[android-developers] How to add facebook page in android apps

2012-04-17 Thread Yogeshkumar Tiwari
Hi, Greeting to all of you !!! i'm developing android apps in that i want to add facebook page of the client, so any one can help me how to add facebook page in my apps .if any source code or any reference is there pls share with me. Thanking You! - With Regards: Yogesh Tiw

Re: [android-developers] Speech Recognition

2012-04-17 Thread TreKing
On Mon, Apr 16, 2012 at 4:05 AM, Anurag Pratap Singh wrote: > I need to enable speech recognition on my board not only for the > google search and maps but also for calling the various applications > and text writing for messages and mails. > OK. So what? http://www.catb.org/~esr/faqs/smart-quest

Re: [android-developers] How can I inject an event happened at one co-ordinate into another co-ordinate

2012-04-17 Thread TreKing
On Fri, Apr 13, 2012 at 6:33 AM, androider wrote: > I want to simulate an event happened at one coordinate(x,y) at another > coordinate(x1,y1) in the same activity or if possible in another > activity.Could you help me with this? > http://www.catb.org/~esr/faqs/smart-questions.html -

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 9:51 AM, guich wrote: > Thanks for the reply. My whole problem is that my application is not a > standard one. I don't use xml files; i create all the user interface (which > is quite small) by hand. Then you will need to translate the samples that Ms. Hackborn provided to

[android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
Hi, Thanks for the reply. My whole problem is that my application is not a standard one. I don't use xml files; i create all the user interface (which is quite small) by hand. I already tried many things, but no animation is done at all. All i see is the new view appearing at once at the scree

[android-developers] Re: How to find network type is 2G/3G/4G exactly

2012-04-17 Thread Narseo Vallina Rodriguez
Take a look at http://developer.android.com/reference/android/telephony/TelephonyManager.html On Tue, Apr 17, 2012 at 2:26 PM, ashiq sayyad wrote: > I think u can write some logic based on the approximate bit rates assumed > for edge,gprs,umt,etc > Regards, > Ashiq > > On 17 April 2012 16:40

[android-developers] Re: How to find network type is 2G/3G/4G exactly

2012-04-17 Thread ashiq sayyad
I think u can write some logic based on the approximate bit rates assumed for edge,gprs,umt,etc Regards, Ashiq On 17 April 2012 16:40, Bunty syed wrote: > HI, > > I want to find if the connected network falls under 2G ,3G or 4G.. > > I went through ConnectivityManager / TelephonyManager but

Re: [android-developers] Can i use more than 5-6 SSL certificate in apps

2012-04-17 Thread Nikolay Elenkov
On Tue, Apr 17, 2012 at 6:42 PM, Rocky wrote: > > Thanks Nikolay, > > Basically, in my apps, I have 5-6 merchants, they have own certificate, and > PG, from my apps i wanted to send all information of payment like, Name, > amount, Cart No, CVVs code. to respected merchants, because may be all

Re: [android-developers] Sleep

2012-04-17 Thread jadranko bodiroga
Thanks, people...Really helped me with both solution. http://groups.google.com/group/android-developers?hl=en > -- 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 un

[android-developers] Giving your emulator a boost: Android ICS x86 system-image available

2012-04-17 Thread Erik Nijkamp
Hey folks, we (a mobile testing startup in Berlin) had some trouble regarding the poor Android ICS performance running in the ARM-specific SDK emulator. Therefore, we've compiled Intels x86 Kernel for the Goldfish platform and Android 4.0.3 from ASOP soucres. If you are interested, the ICS syst

Re: [android-developers] Sleep

2012-04-17 Thread asheesh arya
use splash screen concept!! import android.app.ProgressDialog; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.MotionEvent; import android.widget.Toast; public class SplashScreen extends Activity { protected boolean _active = true;

Re: [android-developers] Sleep

2012-04-17 Thread arun kumar
try this import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; public class SplashScreen extends Activity{ /** Called when the activity is first created. */ public Progr

[android-developers] Re: Layout selector to switch to tablet layout?!

2012-04-17 Thread kodlan
Okay got it. Thanks for explanations. > As I said, nowhere does it say that -xlarge is "not recommended" for > 3.2 and higher. > > "Deprecated" means "we think we have a better solution that you should > investigate, even though you may not be able to use it yet due to > backwards compatibility".

Re: [android-developers] Re: Layout selector to switch to tablet layout?!

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 7:50 AM, kodlan wrote: >> Please re-read those instructions. Nowhere does it say that -xlarge is >> "not recommended" for 3.2 and higher. You have *alternatives* for 3.2 >> and higher, if you wish to use them. > > Hmm, http://developer.android.com/guide/practices/screens_su

[android-developers] Re: Saving JPEG images as a Video in Android

2012-04-17 Thread lbendlin
Back in the last century there were a few cameras that produced video in that way. Google for "motion jpeg" On Tuesday, April 17, 2012 12:20:33 AM UTC-4, perumal316 wrote: > > Hi All, > > Supposedly, using my application I take a few images which will be saved > at a particular directory and sav

[android-developers] Re: Layout selector to switch to tablet layout?!

2012-04-17 Thread kodlan
> > What's the way to calculate them? > > dip = px * 160 / density > > using the density buckets (e.g., -xhdpi is 320) > So: > 1280px * 160 / 320 = 1280 / 2 = 640dip Thanks! > Please re-read those instructions. Nowhere does it say that -xlarge is > "not recommended" for 3.2 and higher. You have

[android-developers] Sleep

2012-04-17 Thread baturanija1
Hey people, i have simple problem but it gives me a headache :( I whant to have a Welcome screen for 3 seconds and than that screen to redirect to screen number 2.But my Code do not work : try { Thread.sleep(3000); } catch (InterruptedExcept

[android-developers] need help working with very large (photo) bitmaps

2012-04-17 Thread Jim Graham
The question about blending methods resolved itself when I switched to making the bitmaps for filters in the app. But one question still remains, and I need help with this one. When trying to blend the full-size camera image with an equal-size bitmap for the filter, unless I reduce the image size

Re: [android-developers] Re: Layout selector to switch to tablet layout?!

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 7:11 AM, kodlan wrote: > Where did you get those numbers for Nexus? Arithmetic. > What's the way to calculate them? dip = px * 160 / density using the density buckets (e.g., -xhdpi is 320) So: 1280px * 160 / 320 = 1280 / 2 = 640dip > The problem with x-large is that

[android-developers] Re: Layout selector to switch to tablet layout?!

2012-04-17 Thread kodlan
> FWIW, the built-in apps use 600dp as the switchover point. Now that's interesting, thanks. -- 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 g

[android-developers] Re: Layout selector to switch to tablet layout?!

2012-04-17 Thread kodlan
Hi, Thanks for response. Where did you get those numbers for Nexus? What's the way to calculate them? The problem with x-large is that it not recommended to be used for 3.2 and higher, see http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts, that was the reas

[android-developers] How to find network type is 2G/3G/4G exactly

2012-04-17 Thread Bunty syed
HI, I want to find if the connected network falls under 2G ,3G or 4G.. I went through ConnectivityManager / TelephonyManager but it gives network type like gprs,edge,etc... In device,we will find a tick mark like use only 2G network. Can anybody tell me how native android decides that whether

Re: [android-developers] How to get the user choice from 'Intent.createChooser'

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 4:55 AM, Put_tiMe wrote: > I call 'Intent.createChooser' to let the user choose the app that he wants > to use to do the necessary action. > > Is it possible to get what the user chose, before the user chosen app starts > up. No, sorry. -- Mark Murphy (a Commons Guy) htt

Re: [android-developers] PendingIntent getService

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 5:59 AM, ndiiie 90 wrote: > according to here: > http://developer.android.com/reference/android/app/PendingIntent.html#getService%28android.content.Context,%20int,%20android.content.Intent,%20int%29 > > Retrieve a PendingIntent that will start a service, like calling > Cont

Re: [android-developers] Saving JPEG images as a Video in Android

2012-04-17 Thread Mark Murphy
See the java.util.zip classes for creating a ZIP archive. On Tue, Apr 17, 2012 at 12:20 AM, perumal316 wrote: > Hi All, > > Supposedly, using my application I take a few images which will be saved at > a particular directory and saved as JPEGs. > > IS it possible to pack these images together? Li

Re: [android-developers] Re: How to install Market on Emulator ?

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 12:53 AM, Jovish P wrote: > We are using push notification in our application. To test the push > notification we need Android Market on the device as my knowledge. No, you do not. The pieces necessary for C2DM are already part of your emulator, for versions of Android sup

Re: [android-developers] ascending descending order in android

2012-04-17 Thread azmat alikhan
use db.query(table, columns, selection, selectionArgs, groupBy, having, orderBy); On Tue, Apr 17, 2012 at 3:38 PM, Kirupa wrote: > Cursor c= db.rawQuery("Select "+TABLE_ROW_ID_NEWS+" as _id , > "+TABLE_ROW_ONE_NEWS+", "+TABLE_ROW_TWO_NEWS+" from "+TABLE_NAME_NEWS, > new String [] {}); > return

[android-developers] ascending descending order in android

2012-04-17 Thread Kirupa
Cursor c= db.rawQuery("Select "+TABLE_ROW_ID_NEWS+" as _id , "+TABLE_ROW_ONE_NEWS+", "+TABLE_ROW_TWO_NEWS+" from "+TABLE_NAME_NEWS, new String [] {}); return c; This my query. TABLE_ROW_ID_NEWS is column of my table(TABLE_NAME_NEWS). I want to add TABLE_ROW_ID_NEWS is descending order. I want ch

[android-developers] How to get Wifi upload speed.

2012-04-17 Thread android developer
Hi all, How to get Wifi upload speed. Please help me on this issue. -- 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 andro

  1   2   >