[android-developers] Re: How to add AdSense to my apps?

2012-04-17 Thread Perry168
but I can't found the GoogleAdView.jar for download. tora於 2012年4月11日星期三UTC+8上午9時52分07秒寫道: The tutorial for a) is maybe below. https://developers.google.com/adsense-for-mobile-apps/docs/android/ On 4月11日, 午前8:52, Perry168 perry...@gmail.com wrote: Nobody can me? -- You received

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

2012-04-17 Thread Federico Paolinelli
Thanks Dianne for the clarification. I always thought that every task should have been performed in a native android component, was it an activity or a service. I am quite curious about this topic. Now, let's assume that his application does not need to fetch the data while in background, and

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

2012-04-17 Thread asheesh arya
hello evryone, In my application i built four broadcast receiver first to receive sms second to sending sms third to detect out going call and last to detect incoming call.now i want that these broadcast receiver running continously after device bootup in the background

[android-developers] Re: Grabbing live video frames

2012-04-17 Thread Taylor Niver
Thanks for the guidanc. I now have a live video working. But I can't make sense of how to use the PreviewCallback. It seems to never run when I debug. Does anybody know some example code on how to take the preview frame and store it to a variable? On Monday, April 16, 2012 11:58:45 PM UTC-4,

[android-developers] Re: Grabbing live video frames

2012-04-17 Thread Taylor Niver
Thanks for the guidance. I now have a live video working. But I can't make sense of how to use the PreviewCallback. It seems to never run when I debug. Does anybody know some example code on how to take the preview frame and store it to a variable? On Monday, April 16, 2012 11:58:45 PM UTC-4,

Re: [android-developers] How to reduce size of JPEG Image in Android

2012-04-17 Thread arun kumar
*Maybe this will helpful for you* opt = new BitmapFactory.Options(); opt.inTempStorage = new byte[16 * 1024]; opt.inSampleSize = 4; opt.outWidth = 640; opt.outHeight = 480; Bitmap imageBitmap = BitmapFactory .decodeStream(in, new Rect(),

[android-developers] Re: Video streaming from Android

2012-04-17 Thread RFuente
First approach was sending mute video for one socket and audio using a different one. But then appeared the synchronization problem. No easy solution I'm afraid. Now I'm not related to this project any more and am not sure how the rest of the team coped with this problem. Sorry for not being

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

2012-04-17 Thread wei li
Hi All, I am research android 4.0.3 contacts code. and find some layout directory such as layout-sw680dp-w1000dp. i know layout-sw680dp means at least width or height is high than 680dp. but i confused about layout-sw680dp-w1000dp. who can help explain it? or tell me where to get related

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

2012-04-17 Thread Put_tiMe
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. -- You received this message because you are subscribed to the Google Groups Android Developers group.

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

2012-04-17 Thread Sam
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 from Bluez Utils in hidd.c. The code is the following: if (bind(sk, (struct

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 2:50 PM, Rocky rkjhaw1...@gmail.com wrote: All, I'm creating some online shopping application, but for payment, i wanted to integrate different-2 payment gateway for different-2 shops, because they have own Payment Gateway. is possible to use more than 1 SSL.

[android-developers] Re: How to stop getCount() of ArrayAdapter for custom listview from being called automatically?

2012-04-17 Thread tomc_apadmi
I believe getCount() is called as part of the adapter figuring out how it is going to be displayed. Perhaps clicking on editText is causing a softkeyboard to appear? This would change the dimensions of the screen and cause your adapter to re calculate. You need to make sure the getCount()

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

2012-04-17 Thread Rocky
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 merchants using different-2 cert. this is usecase. how

[android-developers] PendingIntent getService

2012-04-17 Thread ndiiie 90
Hi all, 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

[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

[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 change

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 answerofandr...@gmail.com 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 []

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 android.f...@gmail.com 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

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 perumal...@gmail.com 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

Re: [android-developers] PendingIntent getService

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 5:59 AM, ndiiie 90 rnd...@gmail.com 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

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 putt...@gmail.com 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

[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

[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

[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

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 kod...@gmail.com 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

[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

[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

[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] 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 saved as

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 kod...@gmail.com 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,

[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. You have

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

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;

[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

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

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 rkjhaw1...@gmail.com 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,

[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 itsmeatfo...@gmail.com wrote: HI, I want to find if the connected network falls under 2G ,3G or 4G.. I went through ConnectivityManager /

[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 ashiqsay...@gmail.com wrote: I think u can write some logic based on the approximate bit rates assumed for edge,gprs,umt,etc Regards, Ashiq On 17

[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

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 guiha...@gmail.com 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.

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 bingi.udayku...@gmail.comwrote: 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?

Re: [android-developers] Speech Recognition

2012-04-17 Thread TreKing
On Mon, Apr 16, 2012 at 4:05 AM, Anurag Pratap Singh anurag1...@gmail.comwrote: 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?

[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

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

2012-04-17 Thread TreKing
On Mon, Apr 16, 2012 at 11:54 AM, Russell free...@gmail.com 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

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

[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

[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

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 asheesharya...@gmail.comwrote: 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

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 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

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 wlijobsearch...@gmail.com wrote: Hi All, I am research android 4.0.3 contacts code. and find some

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 Google

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

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

[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

[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

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

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 dun...@gmail.com wrote: Here's

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 guiha...@gmail.com 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

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 mmur...@commonsware.comwrote: No.

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

[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

[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 zvasv...@gmail.com wrote: Looks like,according to the link TreKing posted, you had to made $20,000 (before the 30%) OR

[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 treking...@gmail.com wrote: On Mon, Apr 16, 2012 at 4:05 AM,

[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

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 free...@gmail.com wrote: 1.I wish my gallery widget can dispaly 6 images at the same

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

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 2:50 PM, Russell free...@gmail.com 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.

[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] Re: Speech Recognition

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 1:50 PM, Anurag Pratap Singh anurag1...@gmail.comwrote: 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

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 mmur...@commonsware.comwrote: On Tue, Apr 17, 2012 at 2:50 PM, Russell free...@gmail.com 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,

[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] 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 forum.amit.man...@gmail.comwrote: 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

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

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 9:45 AM, JP jetp...@yahoo.com 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] 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

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 activity. Thanks

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 jetp...@yahoo.com wrote: I looked at that also, and this doesn't give me what I want. For

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

2012-04-17 Thread Mark Murphy
On Tue, Apr 17, 2012 at 5:11 PM, JP jetp...@yahoo.com 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

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 jetp...@yahoo.com wrote: I looked at that also, and this doesn't give me what I want. For

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 mmur...@commonsware.comwrote: On Tue, Apr 17, 2012 at 5:11 PM, JP jetp...@yahoo.com

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?

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 various

[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: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:

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 Dianne Hackborn
On Tue, Apr 17, 2012 at 2:55 PM, Nathan nathan.d.mel...@gmail.com 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

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 nathan.d.mel...@gmail.com 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

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 fedep...@gmail.comwrote: 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,

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

2012-04-17 Thread Kostya Vasilyev
18.04.2012 3:17 пользователь Nathan nathan.d.mel...@gmail.com написал: 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

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

2012-04-17 Thread Sam
Anyone could help??? Please... On Apr 17, 4:58 pm, Sam ckjboy2...@gmail.com 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

[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

[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 mmur...@commonsware.com wrote: On Tue, Apr 17, 2012 at 5:59 AM, ndiiie 90 rnd...@gmail.com wrote: according to

[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

[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

[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 buy

[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] 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:48

[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,

[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

[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 treking...@gmail.com wrote: On Tue, Apr 17, 2012 at 1:50 PM,

[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於

  1   2   >