Re: [android-developers] Re: Listen to Incoming Calls through BroadcasrReceiver

2011-04-01 Thread Kapil Lokhande
Hi guys, GREETINGS OF THE DAY, in your broadcast reciver u have to implement phone state listener's onCallStateChanged method. this method gives state of phone i.e. ringing, idle, offhook. You can find details about it on android developer by firing serach on phone state listener. hope this

[android-developers] Re: Dev Console profile edit page??

2011-04-01 Thread Maps.Huge.Info (Maps API Guru)
The statistics are reset back to March 1st. That's a hoot! -John Coryat -- 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] CTS Gingerbread testBuildConstants fails

2011-04-01 Thread Atul Raut
HI, While running CTS on Gingerbread seen below test fail in below mention line while checking Build.SERIAL * testBuildConstantsally :=* assertTrue(SERIAL_NUMBER_PATTERN.matcher(Build.SERIAL).matches()); It check Build.SERIAL what values needs to be here ? e.g. for Build.DEVICE it is :

[android-developers] Re: Can i give Time Duration to my activity in Android??

2011-04-01 Thread gjs
http://developer.android.com/reference/android/os/Handler.html see postDelayed On Apr 1, 4:18 pm, Onkar Dhane,Trainee Software Developer,Alphabricks Technology pvt. ltd dhane.on...@gmail.com wrote: Hi,actually i have one full screen image and on that image there is one button.if user click on

[android-developers] Re: Listen to Incoming Calls through BroadcasrReceiver

2011-04-01 Thread Zsolt Vasvari
GREETINGS OF THE DAY, What are you? A Nigerian spammer? -- 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: Dev Console profile edit page??

2011-04-01 Thread rich friedel
Seems they've added the in-app billing! -- 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: Dev Console profile edit page??

2011-04-01 Thread MagouyaWare
I just tried uploading an update to one of my apps... Yeah, I hope they fix that soon. I tried multiple times and got this error every time: An unexpected error occurred. Please try again later On Apr 1, 12:13 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The statistics are reset

Re: [android-developers] Re: Dev Console profile edit page??

2011-04-01 Thread Kostya Vasilyev
01.04.2011 11:06, rich friedel пишет: Seems they've added the in-app billing! They did. And it seems like it actually worked for a few hours :) -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Dev Console profile edit page??

2011-04-01 Thread Justin Anderson
And now... not 30 seconds after I post this... it is working again. Sorry for the false scare! Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Apr 1, 2011 at 1:01 AM, MagouyaWare magouyaw...@gmail.com wrote: I just tried uploading an update to

[android-developers] Re: Dev Console profile edit page??

2011-04-01 Thread Zsolt Vasvari
Seems they've added the in-app billing! That's been there for the last few days already. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] isSMSReceive this api is not wrking.

2011-04-01 Thread swarnendu
in python-- for android automation import android phone_1=android.Android('1') stat=phone_1.isSMSReceive('5556','text') verifying the already send msg, but alwals shows {'result': False, 'id': 1, 'error': None} q is why it always return false? when the sms is in inbox? is the argument pass is

[android-developers] Is Android Smartphone application development similar to Android Tablet..???

2011-04-01 Thread sourabh
Hi Friends, i want to develop application for Android Tablet, i already developed this application for android smartphones. how can i use my code(smartphone) for Android Tablet Application. please help me, Thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Use one handler for multiple activties

2011-04-01 Thread Nand
Hi, Thanks for the reply. Can you please provide some links whihc gives information about implementing listeners? Regards, Nand -- 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] how to handle web service respose

2011-04-01 Thread Pinkesh Gupta
hi i am new to android i am using soap in order to obtain the response from the .net web service the problem is that when i give a call for a response by using the code: SoapObject response = (SoapObject)this.call(SOAP_ACTION + functionName, envelope); SoapObject s =

[android-developers] Inflate alloc a new View or reuse it

2011-04-01 Thread pedr0
Hi, I am a little bit confused about this piece of code : for(int i = 0; i poi.getCommenti().size();i++){ item = poi.getCommenti().get(i); commento = li.inflate(R.layout.commento, null); commento_data = (TextView)

[android-developers] Re: Is Android Smartphone application development similar to Android Tablet..???

2011-04-01 Thread Zsolt Vasvari
1) Run app on Android Tablet 2) Note any errors 3) Any Errors? No, go to Step 6 4) Fix errors 5) Go to Step 1 6) Done On Apr 1, 3:21 pm, sourabh sourabh.zal...@gmail.com wrote: Hi Friends, i want to develop application for Android Tablet, i already developed this application for android

[android-developers] Clicking on grid item is not showing up full image view, handling onItemClick()

2011-04-01 Thread mack2978
Hi All, I am trying to show full image when clicking on one of the thumbnail of grid view, i am able to view the grid with thumbnails but as soon as i click on any thumbnail to show it in full screen, handling onItemClick(), it crashes. below is my complete code, please help package

Re: [android-developers] Re: Unique ID for a device: why aren't devices certified Android-compliant?

2011-04-01 Thread Kostya Vasilyev
01.04.2011 9:04, Dianne Hackborn пишет: As far as ANDROID_ID -- please be aware that some people concerned about privacy very much do not like applications being able to retrieve something that uniquely identifies their device that can be correlated across applications. Ah, those users

Re: [android-developers] Inflate alloc a new View or reuse it

2011-04-01 Thread Kostya Vasilyev
li.inflate(R.layout.commento, null); gives you a new view object hierarchy each time. The rest is... probably bugs in your code. I see that you do new ImageViewURL(commento_foto,item.getAnteprimaURL() twice for each commento item. Doesn't seem right to me. -- Kostya 01.04.2011 11:49, pedr0

[android-developers] Regarding Size Of Tab Tiltle...

2011-04-01 Thread yogendra G
Hi All, How To Increase The size of Tab Title(Text Or Font)...?? Regards, Yogi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] WebActivity: How to prevent page not found messages

2011-04-01 Thread Stephan Wiesner
Hi, when using WebActivites, I want to display a friendly page not found message to the user when the phone is offline. I do not want to display the default message that shows the URL that could not be loaded. Any way I can catch those page not found messages and display a local html file

[android-developers] ShortcutIconResource

2011-04-01 Thread b_t
Hi, When I pick a shortcut I can get a ShortcutIconResource from the intent (Intent.EXTRA_SHORTCUT_ICON_RESOURCE). I would like to display this icon. How can I get a Bitmap or Drawable from it? Thanks, T. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Inflate alloc a new View or reuse it

2011-04-01 Thread pedr0
I am so sorry for the mistake, problem happen during THIS PIECE OF CODE for(int i = 0; i poi.getCommenti().size();i++){ item = poi.getCommenti().get(i); commento = li.inflate(R.layout.commento, null); commento_data =

[android-developers] Re: ShortcutIconResource

2011-04-01 Thread Andreas Agvard
Like this: Drawable shortcutIconDrawable = null; Parcelable iconResourceParcelable = shortcutData.getParcelable(Intent.EXTRA_SHORTCUT_ICON_RESOURCE); if (iconResourceParcelable != null iconResourceParcelable instanceof Intent.ShortcutIconResource) { Intent.ShortcutIconResource iconResource

Re: [android-developers] Re: Inflate alloc a new View or reuse it

2011-04-01 Thread Kostya Vasilyev
So, is it working now? 01.04.2011 12:28 пользователь pedr0 pulsarpie...@gmail.com написал: I am so sorry for the mistake, problem happen during THIS PIECE OF CODE for(int i = 0; i poi.getCommenti().size();i++){ item = poi.getCommenti().get(i); commento = li.inflate(R.layout.commento, null);

Re: [android-developers] Clicking on grid item is not showing up full image view, handling onItemClick()

2011-04-01 Thread Kostya Vasilyev
Logcat output? 01.04.2011 12:04 пользователь mack2978 smashmah...@gmail.com написал: Hi All, I am trying to show full image when clicking on one of the thumbnail of grid view, i am able to view the grid with thumbnails but as soon as i click on any thumbnail to show it in full screen,

[android-developers] Re: Unique ID for a device: why aren't devices certified Android-compliant?

2011-04-01 Thread blindfold
As far as ANDROID_ID -- please be aware that some people concerned about privacy very much do not like applications being able to retrieve something that uniquely identifies their device I only use ANDROID_ID to identify my own test phones and suppress ads when running my app on these test

Re: [android-developers] Regarding Size Of Tab Tiltle...

2011-04-01 Thread Fredrik Hyttnäs-Lenngren
Hi Yogi, Create an xml for your tab: - # LinearLayout xmlns:android=* http://schemas.android.com/apk/res/android*; android:id=*@+id/tabsLayout*android:layout_width =*fill_parent* android:layout_height=*fill_parent* android:background=* @drawable/tab_bg_selector* android:padding=*10dip*

[android-developers] Re: Clicking on grid item is not showing up full image view, handling onItemClick()

2011-04-01 Thread mack2978
logs: Thread [1 main] (Suspended (exception NullPointerException)) HelloGridView$1.onItemClick(AdapterView, View, int, long) line: 38 GridView(AdapterView).performItemClick(View, int, long) line: 284 AbsListView$PerformClick.run() line: 1696

[android-developers] Re: Clicking on grid item is not showing up full image view, handling onItemClick()

2011-04-01 Thread Andreas Agvard
myView is never initialized and thus null myView.invalidate(); causes NullPointerException as a result On Apr 1, 11:09 am, mack2978 smashmah...@gmail.com wrote: logs: Thread [1 main] (Suspended (exception NullPointerException))         HelloGridView$1.onItemClick(AdapterView, View, int, long)

[android-developers] Re: Import/Export data file

2011-04-01 Thread Alaeddine Ghribi
For storing a picture, here is the code: File file = new File(getExternalFilesDir(null), DemoFile.jpg); For storing the data file from /data/data: File file = new File(getExternalFilesDir(/data/data.), storedfile); Is that true ? On 1 avr, 02:03, Alaeddine Ghribi

[android-developers] Re: Inflate alloc a new View or reuse it

2011-04-01 Thread pedr0
Yes it works! On 1 Apr, 10:47, Kostya Vasilyev kmans...@gmail.com wrote: So, is it working now? 01.04.2011 12:28 пользователь pedr0 pulsarpie...@gmail.com написал: I am so sorry for the mistake, problem happen during THIS PIECE OF CODE for(int i = 0; i

[android-developers] Re: Need Help to Develope my first Android Project.

2011-04-01 Thread Robert
IS this for a class at your college? If so give a little background on the type of class. On Mar 31, 5:22 am, Kirti Joshi joshikirti...@gmail.com wrote: can anybudy tell me how to start it ? which module i do first ? n which one is last ? if you poeple are not able to help me then, provide

[android-developers] Re: Programmaticly adding playlists

2011-04-01 Thread Farhan Mehmood
can anyone direct me to a running code for this??? any example or piece of code will help! :( actually reading the android documentation and then using this knowledge in my code! :O well its quite a challenge for me! -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Import/Export data file

2011-04-01 Thread Marcin Orlowski
On 1 April 2011 12:32, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: For storing a picture, here is the code: File file = new File(getExternalFilesDir(null), DemoFile.jpg); For pictures I'd rather use: File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES); to get the right

[android-developers] Re: read multiple sqlite query from file

2011-04-01 Thread lbendlin
There is a thing on the Interwebs called The Google. Rather interesting. http://sagistech.blogspot.com/2010/07/notes-on-android-sqlite-bukl-insert.html -- 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] How to test In-app billing without a device with Market 2.3.4

2011-04-01 Thread rudas
Hi, How can I test my in-app implementation if I don't have any hw with Market 2.3.4? The only options I can see are 1. Find a new market for my android phone, but this is not available anywhere... I'm using a custom rom so my market does not seem to auto- update... 2. Install market on the

[android-developers] Re: Clicking on grid item is not showing up full image view, handling onItemClick()

2011-04-01 Thread mack2978
Thanks Andreas, issue was solved but onDraw is not caling and because of this my full image is not showing, below is my changed code package com.example.HelloGridView; import android.app.Activity; import android.os.Bundle; import android.content.Context; import android.content.res.Resources;

[android-developers] Re: Android sqlite and multithreading

2011-04-01 Thread Evgeny Nacu
Thanks to everyone! I've heard that ContentProviders do not have such problem. May be I'll try to use them, but I have many things to change. Thanks for the suggestion. Evgeny On 1 апр, 05:11, gjs garyjamessi...@gmail.com wrote: Hi, I (strongly?) suggest you wrap access to the sqlite3

[android-developers] how to change a position of a bitmap on canvas

2011-04-01 Thread ama10285
Hi all^^ I try to show a position on a map (in the position(100,100) of the map). This work fine with this code: options = new BitmapFactory.Options(); options.inTempStorage = new byte[16*1024]; Bitmap bitmapImage = BitmapFactory.decodeResource(getResources(),R.drawable.dasa_map,options); Bitmap

[android-developers] Re: SendIntendException when sending an intent

2011-04-01 Thread Eduardo Yáñez Parareda
More information... This is the code of my widget: public class GproWidgetProvider extends AppWidgetProvider { // Log tag private static final String TAG = GproWidgetProvider; public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] widgetIds) {

[android-developers] Re: Need Help to Develope my first Android Project.

2011-04-01 Thread Jake Colman
ZV == Zsolt Vasvari zvasv...@gmail.com writes: please help me or provide another community or forum where people have time 4 me. ZV Yes, I'd try: ZV http://www.howtogetpeopletodomyworkformeforfree.com There must be a typo in your URL since I am getting Server not found. Can

[android-developers] Re: how to change a position of a bitmap on canvas

2011-04-01 Thread lbendlin
please don't double post. https://groups.google.com/forum/?pli=1#!topic/android-developers/T7z5vTX5Tso -- 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

[android-developers] Re: Call a WebView javascript function from the activity?

2011-04-01 Thread Maps.Huge.Info (Maps API Guru)
You have most of it. Just add a call to the JavaScript function from your code like this: mWebView.loadUrl(javascript:bookBtn();) ; That will fire the function just like if you did it in the address bar of a browser. Mark Murphy has this method documented in one of his books (http://

Re: [android-developers] Re: Is Android Smartphone application development similar to Android Tablet..???

2011-04-01 Thread Justin Giles
On Fri, Apr 1, 2011 at 2:56 AM, Zsolt Vasvari zvasv...@gmail.com wrote: 1) Run app on Android Tablet 2) Note any errors 3) Any Errors? No, go to Step 6 4) Fix errors 5) Go to Step 1 6) Done I thought goto statements were generally frowned upon in Java? :) -- You received this message

Re: [android-developers] Re: Is Android Smartphone application development similar to Android Tablet..???

2011-04-01 Thread Justin Giles
On Fri, Apr 1, 2011 at 9:57 AM, Justin Giles jtgi...@gmail.com wrote: On Fri, Apr 1, 2011 at 2:56 AM, Zsolt Vasvari zvasv...@gmail.com wrote: 1) Run app on Android Tablet 2) Note any errors 3) Any Errors? No, go to Step 6 4) Fix errors 5) Go to Step 1 6) Done I thought goto statements

[android-developers] Re: Call a WebView javascript function from the activity?

2011-04-01 Thread Streets Of Boston
First, have you tried javascript:loadTOC*()* instead of javascript:loadTOC. You forgot the open and close braces. Secondly, i'm not sure what your script does. You want to execute an anonymous function when your document finished loading. This anonymous function just declares another function

Re: [android-developers] Re: Is Android Smartphone application development similar to Android Tablet..???

2011-04-01 Thread Kostya Vasilyev
He probably meant: continue top_of_the_loop; 01.04.2011 19:00 пользователь Justin Giles jtgi...@gmail.com написал: On Fri, Apr 1, 2011 at 9:57 AM, Justin Giles jtgi...@gmail.com wrote: On Fri, Apr 1, 2011 at 2:56 AM, Zsolt Vasvari zvasv...@gmail.com wrote: 1) Run app on Android Tablet 2)

Re: [android-developers] Re: Is Android Smartphone application development similar to Android Tablet..???

2011-04-01 Thread Greg Donald
On Fri, Apr 1, 2011 at 9:59 AM, Justin Giles jtgi...@gmail.com wrote: I thought goto statements were generally frowned upon in Java? :) Aside from the fact that there are no goto statements in java...still :) My java binary is full of of goto statements, in the form of 'jmp' entries :) --

Re: [android-developers] Re: Use one handler for multiple activties

2011-04-01 Thread Justin Anderson
Here is a good one: http://lmgtfy.com/?q=java+listeners Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Apr 1, 2011 at 1:13 AM, Nand nandithab...@gmail.com wrote: Hi, Thanks for the reply. Can you please provide some links whihc gives

[android-developers] Xperia play - how are they filtering by device like that ?

2011-04-01 Thread niko20
So I saw that all the games for Xperia play somehow know they are only allowed to be installed on that approved device. How are they doing that? Did they have Google update the market up or something to filter in some other ways? I know we certainly can't filter based on device! -nik -- You

[android-developers] Re: how to change a position of a bitmap on canvas

2011-04-01 Thread ama10285
ah sorry i was not sure if my message is arrived, because I couldn t seen him with the posted messages. On Apr 1, 4:09 pm, lbendlin l...@bendlin.us wrote: please don't double post. https://groups.google.com/forum/?pli=1#!topic/android-developers/T7z5... -- You received this message because

[android-developers] about android application development

2011-04-01 Thread kajal patil
Hi All, How to set edittext background color and edittext border line which seems an orange? Thank You. -- 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: Mount sdcard from code

2011-04-01 Thread FrankG
Hi Feng, IMHO at the end it must be the vold, which does via Volume-Fat- doMount the sys/mount call. Good luck ! Frank On 31 Mrz., 10:34, Feng Chris chris@gmail.com wrote: Hi FrankG, Do you know who the NativeDaemonConnector  communicate with via socket? Thanks, Chris 2011/2/9

[android-developers] Re: Change the Position for a drawed bitmap on a canvas

2011-04-01 Thread ama10285
ty for the answer Wich bitmap do you mean? myMap or positionIcon? myMap has its own imageview can you more explain pls Thanks in advance -- 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: Call a WebView javascript function from the activity?

2011-04-01 Thread Maps.Huge.Info (Maps API Guru)
If you're having trouble debugging the JavaScript and HTML portion of your webview, you can always load that portion in a browser and use the standard debugging tools it provides to reveal errors. The debugging capabilities of webview are pretty limited. Do check your logs for JavaScript errors

Re: [android-developers] help me -insert image into google map with java script !!!!!!!!!!!!!!!!!!!!!!!!!!!!

2011-04-01 Thread TreKing
On Thu, Mar 31, 2011 at 2:52 AM, hoang vantan9...@gmail.com wrote: I have a blueprint to insert threads into GOOGLE MAP. look forward to your help. 1 - Read your own question back to yourself. 2 - Ask yourself Does this make any friggin' sense?. 3 - Answer yourself no, it does not. At all.

[android-developers] Re: Change the Position for a drawed bitmap on a canvas

2011-04-01 Thread lbendlin
positionIcon as that is what you want to move around on the map, right? -- 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: Import/Export data file

2011-04-01 Thread Alaeddine Ghribi
And how to do it if i want tp copy a file from /data/data/android/ android.dat to a directory android in the SDCARD ? Thanks :). On 1 avr, 12:10, Marcin Orlowski webnet.andr...@gmail.com wrote: On 1 April 2011 12:32, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: For storing a picture,

[android-developers] Layout spacing question

2011-04-01 Thread Chris Stewart
I have a ScrollView, in a fragment, which takes up the remaining width of the screen. There are two fragments that proceed this fragment on the left side of the screen. What I'd like to do is add another layout to the right of the ScrollView that only takes up a small amount of width and hugs

Re: [android-developers] Xperia play - how are they filtering by device like that ?

2011-04-01 Thread Dianne Hackborn
They have a shared library on their device which provides extended functionality needed by the app. This has been a standard part of the platform since 1.5, used for example for the maps library and any other features that are not part of the base platform. I have repeatedly asked people like

Re: [android-developers] Layout spacing question

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 2:15 PM, Chris Stewart cstewart...@gmail.com wrote: I have a ScrollView, in a fragment, which takes up the remaining width of the screen.  There are two fragments that proceed this fragment on the left side of the screen. What I'd like to do is add another layout to the

[android-developers] Is anyone using OpenX for android ads? - If not, which ad server?

2011-04-01 Thread pawpaw17
Hi Guys, I want to serve house ads in my app, but also integrate 3rd party ad sources like mobfox. Has anyone used OpenX to serve ads? There are a couple of widgets out there, but I'm not sure how well OpenX works with the app paradigm. I want to host the server myself, and I've considered ad

[android-developers] Re: Use one handler for multiple activties

2011-04-01 Thread Streets Of Boston
Listener interface example: public interface Listener { public void notifyMe(Object someParam); } Listener example (e.g. your Activity that will implement Listener): ... protected void onResume() { ... backgroundThread.registerListener(this); } protected void onPause()

[android-developers] Java newb question about a public array class member

2011-04-01 Thread trans
I don't really get Java. I'm trying to define a public array member, like so: public class MyClass { // alphabetical list of words private String[] wordList; // constructor public MyClass() { String[] wordList = {

Re: [android-developers] Java newb question about a public array class member

2011-04-01 Thread Marcin Orlowski
On 1 April 2011 21:24, trans transf...@gmail.com wrote: I don't really get Java. I'm trying to define a public array member, Why? This is not the right group for you question. Put android aside and learn Java basics, variable scopes etc. then you realise that you in fact *created* (and then

[android-developers] Re: Java newb question about a public array class member

2011-04-01 Thread Michael
Replace: String[] wordList = { American,American,Brown,Christian,Congress,Doctor,England,English }; with: this.wordList = new String[]{ American,American,Brown,Christian,Congress,Doctor,England,English }; On Apr 1, 12:24 pm, trans transf...@gmail.com wrote: I don't really

[android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV As far as Android is concerned, IntentService knows nothing about KV home screen widgets. KV Since you know which widget receivers' onUpdate was called, pass KV this information to the service (e.g. by setting an intent KV

[android-developers] Re: Java newb question about a public array class member

2011-04-01 Thread trans
On Apr 1, 3:35 pm, Michael michaeldh...@gmail.com wrote: Replace: String[] wordList = { American,American,Brown,Christian,Congress,Doctor,England,En glish        }; with: this.wordList = new String[]{ American,American,Brown,Christian,Congress,Doctor,England,En glish        };

Re: [android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 3:43 PM, Jake Colman col...@ppllc.com wrote: KV == Kostya Vasilyev kmans...@gmail.com writes:   KV As far as Android is concerned, IntentService knows nothing about   KV home screen widgets.   KV Since you know which widget receivers' onUpdate was called, pass   KV

Re: [android-developers] Layout spacing question

2011-04-01 Thread Chris Stewart
Thanks Mark, I'll give those a shot tonight. -- Chris Stewart http://chriswstewart.com On Fri, Apr 1, 2011 at 2:31 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Apr 1, 2011 at 2:15 PM, Chris Stewart cstewart...@gmail.com wrote: I have a ScrollView, in a fragment, which takes up

Re: [android-developers] dialog placement

2011-04-01 Thread Dianne Hackborn
The dialog is just centered on the screen based on the entire contents. I assume you have some alpha around the edges that make the positioning look off. You just need to have the image designed so that it will visually appeared center for you. If the red lines are showing the edges of your

[android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Fri, Apr 1, 2011 at 3:43 PM, Jake Colman col...@ppllc.com wrote: KV == Kostya Vasilyev kmans...@gmail.com writes:   KV As far as Android is concerned, IntentService knows nothing about   KV home screen widgets.

Re: [android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Kostya Vasilyev
Mark -- You left out what happens with 1338 receivers... :) Jake -- I implemented my two widget sizes as two receivers, the reason being that meta-data that references the widget_info_widget_size_variation.xml goes under receiver. The metadata is important because it specifies minimum widget

[android-developers] portrait only

2011-04-01 Thread bob
How do I specify on Android that I want an app to run only in portrait mode and not do anything if the user rotates the device 90 degrees? -- 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: Working With Multiple Widget Sizes

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 4:43 PM, Jake Colman col...@ppllc.com wrote: H.  You have asked me a fascinating question. According to this posting in Stack Overflow (http://stackoverflow.com/questions/2570004/how-to-add-multiple-widgets-in-one-app) you need a receiver definition for each widget

Re: [android-developers] portrait only

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 4:47 PM, bob b...@coolgroups.com wrote: How do I specify on Android that I want an app to run only in portrait mode and not do anything if the user rotates the device 90 degrees? Put android:screenOrientation=portrait for that activity in the manifest. You will probably

[android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Fri, Apr 1, 2011 at 4:43 PM, Jake Colman col...@ppllc.com wrote: H.  You have asked me a fascinating question. According to this posting in Stack Overflow

Re: [android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 4:55 PM, Jake Colman col...@ppllc.com wrote: Correct, that is what he says.  But if you look at the comments that follow you will see three that state something like the following: Hi, thanks for your answer. But it seems that I cannot share the same widget provider.

[android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV Mark -- KV You left out what happens with 1338 receivers... :) KV Jake -- KV I implemented my two widget sizes as two receivers, the reason KV being that meta-data that references the KV widget_info_widget_size_variation.xml

Re: [android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Kostya Vasilyev
Perhaps it worked at some point, then the system service that manages a package's list of receivers was changed to ignore duplicates? 2011/4/2 Mark Murphy mmur...@commonsware.com On Fri, Apr 1, 2011 at 4:55 PM, Jake Colman col...@ppllc.com wrote: Correct, that is what he says. But if you look

Re: [android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Mark Murphy
On Fri, Apr 1, 2011 at 5:17 PM, Kostya Vasilyev kmans...@gmail.com wrote: Perhaps it worked at some point, then the system service that manages a package's list of receivers was changed to ignore duplicates? Possibly. It'd be cool if we had receiver-alias to go along with activity-alias, as

Re: [android-developers] Re: Working With Multiple Widget Sizes

2011-04-01 Thread Kostya Vasilyev
2011/4/2 Jake Colman col...@ppllc.com Kostya, Thanks for the detailed reply. For those events that are shared by the two receivers, what happens if only one sized widget is actually on the home screen? The system sends the event and it is still processed by unused broadcast receiver even

[android-developers] Re: portrait only

2011-04-01 Thread bob
Thanks. That seems to have worked. On Apr 1, 3:54 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Apr 1, 2011 at 4:47 PM, bob b...@coolgroups.com wrote: How do I specify on Android that I want an app to run only in portrait mode and not do anything if the user rotates the device 90

[android-developers] preventing screen shutdown

2011-04-01 Thread bob
I'm writing a game for Android that uses the accelerometer. However, the phone keeps turning off the screen after about 5 seconds and locking up. Anyone know how to stop it from doing this? -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] preventing screen shutdown

2011-04-01 Thread Mark Murphy
For a game, add android:keepScreenOn=true to one of the widgets in your layout. On Fri, Apr 1, 2011 at 5:49 PM, bob b...@coolgroups.com wrote: I'm writing a game for Android that uses the accelerometer.  However, the phone keeps turning off the screen after about 5 seconds and locking up.  

[android-developers] Re: Android sqlite and multithreading

2011-04-01 Thread DanH
A content provider won't provide any function over what you have now -- it's just a different way to accomplish the same synchronization. With SQLite you basically can't have two transactions going on at the same time, so you must either use semaphores or some such to prevent collisions or use a

Re: [android-developers] preventing screen shutdown

2011-04-01 Thread Filip Havlicek
Hi bob, check this out http://developer.android.com/reference/android/os/PowerManager.html Best regards, Filip Havlicek 2011/4/1 bob b...@coolgroups.com I'm writing a game for Android that uses the accelerometer. However, the phone keeps turning off the screen after about 5 seconds and

Re: [android-developers] Android calendar(todolist)

2011-04-01 Thread TreKing
On Thu, Mar 31, 2011 at 6:26 AM, Prashnath ypksdest...@gmail.com wrote: Please please help me out Please please show what you have done so far. - TreKing

[android-developers] Re: Help me to realize preferences scheme to use it between activities

2011-04-01 Thread Indicator Veritatis
Ah, but you see, in today's world, nobody should ever talk about storing a password in preferences unless it IS stored securely. Anyone who offers the ability to store it without making that secure should be arrested as an accessory to the computer hackers who commit crimes by taking advantage of

Re: [android-developers] about android application development

2011-04-01 Thread TreKing
On Fri, Apr 1, 2011 at 11:10 AM, kajal patil patil.kaja...@gmail.comwrote: How to set edittext background color and edittext border line which seems an orange? What did you try? - TreKing

Re: [android-developers] portrait only

2011-04-01 Thread TreKing
On Fri, Apr 1, 2011 at 3:54 PM, Mark Murphy mmur...@commonsware.com wrote: Google TV users, in particular, likely will be disinterested in turning their TVs on the side to use portrait-only activities. LOLs ... I'm sure they'll come on a swivel!

Re: [android-developers] portrait only

2011-04-01 Thread Kostya Vasilyev
Or a swing for the user :) 02.04.2011 2:35 пользователь TreKing treking...@gmail.com написал: On Fri, Apr 1, 2011 at 3:54 PM, Mark Murphy mmur...@commonsware.com wrote: Google TV users, in particular, likely will be disinterested in turning their TVs on the side to use portrait-only

[android-developers] adb blocks while attempting to connect to server (during most commands)

2011-04-01 Thread Jeffrey Griffin
adb is sometimes blocking while trying to connect via loopback to the adb server. Here is a stack trace from gdb while using the froyo branch: #0 0xf7fdc430 in __kernel_vsyscall () #1 0xf7f5ced1 in connect () from /lib32/libpthread.so.0 #2 0x0805e399 in socket_loopback_client (port=value

[android-developers] Video Playback within a service component...

2011-04-01 Thread droid-stricken
Hi All, My question has been asked once before - http://groups.google.com/group/android-developers/msg/03372af088048de6 I could not see any replies to that one or find other questions on the forum that were similar to this one. Do anyone have any idea how to handle or work-around the above

[android-developers] Re: CursorLoader not receiving change notifications

2011-04-01 Thread Pete Doyle
Oops :) Turns out I was supposed to be setting Cursor.setNotificationUri(...) in my ContentProvider. My bad. On Thu, Mar 24, 2011 at 12:10 PM, Pete Doyle petedo...@gmail.com wrote: Just wanted to report an issue I'm seeing in CursorLoader with the Android Compatibility Package r1 (on a Droid /

[android-developers] .Net Developer Job Opening - Valencia, CA

2011-04-01 Thread Makro Tech
Hi This is Vignesh with Makro Technologies, Inc. We have been in business for over 10 years and we are one of the Fast 500 National IT staffing and Solution firms in USA. Our clients include country’s top-notch IT, Healthcare, Pharmaceutical, Financial, Telecom,Government and other industries.

[android-developers] Re: dialog placement

2011-04-01 Thread lbendlin
does the bubble have to be part of the image? Or could it be a separate image, positioned relative to your nine-patch? -- 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

Re: [android-developers] preventing screen shutdown

2011-04-01 Thread Dianne Hackborn
On Fri, Apr 1, 2011 at 2:52 PM, Filip Havlicek havlicek.fi...@gmail.comwrote: check this out http://developer.android.com/reference/android/os/PowerManager.html No, please don't. I am sad every time I see a game requesting the power permission. It is not needed. Just set the flag on your

[android-developers] openGL texture render size

2011-04-01 Thread a a
Why should bitmap with 2, 4, 8, 16, 32, 64, 128.otherwise, it will be white board? -- 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

  1   2   >