[android-developers] Re: user agent of the device ..

2010-02-22 Thread Bob Kerns
This is seriously easy to do, and nobody needs to get hurt if you're careful about what port you use, are willing to try a few alternatives, and shut it down when you're done. You don't even have to implement HTTP -- all you have to do is LISTEN, ACCEPT, read the request a line at a time up to

[android-developers] Re: How to disable the Android device (android.permission.BRICK?)

2010-02-22 Thread a2ronus
Hello Sean, Thank for your reply. My aswers to your questions are below. On 22 feb, 01:37, Sean Hodges seanhodge...@googlemail.com wrote: I dont think I fully understand your question... Are you looking for something in the public API that will render a user's Android device useless for a

[android-developers] Re: What does the prefix 'm' stand for ?

2010-02-22 Thread Bob Kerns
I like that document, but I'd add a caveat: don't go all gung-ho style police. (I think that fits well with the overall tenor of the document, but is worth being made explicit). The point of style conventions is to make things easier, not provoke arguments. There is, in fact, some benefit from a

[android-developers] Re: Expanding the status bar from an app (android . permission . EXPAND_STATUS_BAR?)

2010-02-22 Thread a2ronus
Hello TreKing, Thanks for the reply. On 22 feb, 01:15, TreKing treking...@gmail.com wrote: On Fri, Feb 19, 2010 at 3:59 PM, a2ronus aaron.jan...@gmail.com wrote: Hi, for good usability in an app that I'm developing I would like to expand the status bar to show the user the first time that

[android-developers] How to duplicate ActivityThread

2010-02-22 Thread Nasam
I want to create a new class ActivityThread1, which is same as ActivityThread and want to use new class instead of ActivityThread. How can i do this? Any help wold be appreciated. thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Is the javax.tools and javax security available

2010-02-22 Thread Bob Kerns
Yes, it's OK in Java to extend SecureClassLoader, but I don't think it's going to help you, unless there's a whole lot of magic I don't know about. The dalvik VM doesn't use Java's standard byte codes. You'd have to post-process them into the stack machine format it does use. I have no idea how

[android-developers] How to enable HSDPA connection programmaticall ?

2010-02-22 Thread Andhravaala
Hi, I need to use HSDPA in my app. Is it possible to enable or disable HSDPA programmatically like Wi-Fi in Android? If so, how to do that? Please help me in this? Thanks in advance.. Regards, Andhravaala -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-02-22 Thread Vibhor Mahajan
I am not able to access Internet from Android web browser but Internet is accessible from Development machine's web browser. Yes, Internet access using Android web browser is OK using Android 1.6 by Settings proxy using APN settings. Any help of accessing Internet from Android 2.1? Regards,

[android-developers] Re: Broadcast intent for USB power?

2010-02-22 Thread Bob Kerns
I think you're looking for these: android.intent.action.ACTION_POWER_CONNECTED android.intent.action.ACTION_POWER_DISCONNECTED I located them looking through platforms/android-2.1/data/ broadcast_actions.txt, which is a WHOLE LOT EASIER than looking in the documentation, where this is scattered

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread Sam Dutton
Not sure I understand what you're trying to achieve, but how about this: ?xml version=1.0 encoding=utf-8? !-- container -- LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Re: Removing the stack of Activity

2010-02-22 Thread Beena
Thanks all for your support. Sorry for let reply. I was doing some other work so not able to respond. Now I am trying to achieve this by startActivityForResult() and onActivityResult(). Is it right way to do?? Thanks to all of you. On Jan 12, 12:02 am, Jason Proctor

[android-developers] ddms is easy to hang

2010-02-22 Thread allstars
hi recently i found my ddms is easy to hang it also hangs when i use ddms in sdk(from 1.6 to 2.1) and cause a lot of CPU usage on my computer after checking its code suppose when i change the log filter ,(V,D,I,W,E) or press the 'Clear Log' button finally it will call

[android-developers] Re: HTML parsing with JAVA

2010-02-22 Thread Bob Kerns
You have NO IDEA what a can of worms this is! The problem is, real-world HTML is simply NOT STANDARD. That is, there's a standard, it's kind of loose, and people violate it all the time. Browsers understand this, and have VERY forgiving parsers. But a good forgiving parser is a lot harder to

[android-developers] Re: HTML parsing with JAVA

2010-02-22 Thread Bob Kerns
I should add that one reason you may not have been able to understand some of the HTML parsers you've seen, is that a lot of them are written by so-called compiler compilers, better described as parser generators, based on a specialized parsing language. The output is not really human-readable, to

[android-developers] Re: how to set break points when developing Eclipse with an actual device

2010-02-22 Thread Michael Lam
yes, it's enabled. otherwise, i don't think the app would even run on the device. On Feb 21, 10:15 pm, Frank Weiss fewe...@gmail.com wrote: Do you have USB debugging enabled on the device? Press Home, Menu, Settings, Applications, Development. On Sun, Feb 21, 2010 at 9:48 PM, Michael Lam

[android-developers] Json Exmpale

2010-02-22 Thread Sasikumar.S
Hi, Any one can give a json example ? parsing is from URL , not from string. -- Thanks Regards Sasikumar.S -- 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] Display a picture for few seconds before running into the main stream

2010-02-22 Thread CMF
Hi all, I would like to display a picture for 2secons before running into the main stream of the program public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.startupImage);//startupImage contains a ImageView //here I want

[android-developers] MediaPlayer DRM support?

2010-02-22 Thread zeeshan
HI Dear, does anybody know if Android Default mediaplayer supports any DRM scheme? if not then what are the ways to do this? any help plz -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] android floating point hardware support

2010-02-22 Thread tdom...@googlemail.com
I'm currently developing a application on a HTC Dream aka T-mobile G1. afaik the processor has a FPU coprocessor, called VFP (Vector Floating Point) in ARM terms. So far I couldn't find any information about if the FPU is used for floating point calculations or if those are emulated in software.

[android-developers] Re: how to set break points when developing Eclipse with an actual device

2010-02-22 Thread Michael Lam
ok i figure out why, i forgot to add android:debuggable=true to the manifest file. however, when debugging, a variable's value will only show up in the Variables view, but not the Expressions view (no explicit return value). For example, I have an EditText that returns a string, after assigning

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread Beena
Thanks Sam for the reply, Let me explain again. The Content which you have shown in your example is very long in my case. So it will scrolling. Now when I will scrolling only the content should be scrolled not the header and footer. Header and footer remain at the same position. What to do for

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-22 Thread Alex Corbi
So, for those interessted on the issue. joebowbeer's suggestion does not seem to work, the Broadcast receiver is never activated with that Intent. The solution was to register a ContentObserver that listens to the Gmail content provider (content://gmail-ls/) , each time the data set is being

[android-developers] NativeStart.java

2010-02-22 Thread Nasam
Anybody know where will i find implemetation( Native methods) for NativeStart.java -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-02-22 Thread Alex Corbi
btw, have you tried it already? works? On 17 Feb., 09:16, Dongjoon Lee sky...@gmail.com wrote: Hi. If the bluetooth headset is connected, system send this intent. android.bluetooth.intent.action.HEADSET_STATE_CHANGED So you can receive that and get extra information. For extracting extra

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread skink
On Feb 22, 11:34 am, Beena swdeveloper2...@gmail.com wrote: Thanks Sam for the reply, Let me explain again. The Content which you have shown in your example is very long in my case. So it will scrolling. Now when I will scrolling only the content should be scrolled not the header and

Re: [android-developers] Re: Editor Layout problem

2010-02-22 Thread Néstor Pavón Puro
Thank dude! it's the first time i write in the forum. i ve just finished my carrer and i hope that the forum was one of my frequently page to visit. It's wonderful think that people spends a bit of his time helping other people. i' ll go on looking for a solution maybe it could be the Path and

[android-developers] can i access opencore modules at application level?

2010-02-22 Thread zeeshan
Hi Dear, i am looking for some help to access libraries in opencode at application space. like libOmxCore.so, CPM plugin, pvplayer etc. if i need to change anything for CPM plugin, do i need to compile Android source or i can do at application level? can anybody help? -- You received this

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-22 Thread Hekki
Hi, Good initiative ! I would shorten the all thing so that it is read by more people. You can for example leave everything that we all know and doesn't add to the idea : (you couldn't include a screenshot in your app's description before then). But it's a good idea and it would be time for

[android-developers] Re: How to make a Downloadable DRM Module

2010-02-22 Thread zeeshan
Hi Peter, i just started research as part of my research assignment on DRM module. i want embeded solution which i assume you have already done. can you please guide me ? steps? On Feb 20, 1:25 pm, Peter Lee dongha@gmail.com wrote: Hello~ I am trying to make a DRM module downloadable on

[android-developers] Re: How to make a Downloadable DRM Module

2010-02-22 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
it would seem that would require to be root which most users do not have.. On Feb 20, 7:25 am, Peter Lee dongha@gmail.com wrote: Hello~ I am trying to make a DRM module downloadable on Android. I've already applied our modules in embedded system. To apply a DRM module in Android, I made

[android-developers] creating multiple tables in a single databse in android

2010-02-22 Thread aishwarya
how to create two or more tables in one database in single class which extends sqliteopenhelper in one function oncreate. -- 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] Transmit serialized object via HTTP in Android

2010-02-22 Thread Ray da Costa
Hi Personnel possibility exists to transmit serialized object via HTTP in Android? I'm trying to use the HttpURLConnection but I get an exception saying that does not support -- Ray da Costa The best way to predict the future is to invent it. Alan Kay -- You received this message because you

[android-developers] A good opprtunity to invesment

2010-02-22 Thread anitha raj
Social Networking has been effectively used in reaching the goal of bringing down the prices of costly items through volume shopping. Go shopping with http://www.shoppingreps.com?SourceId=1243 You can earn online, NO INVESTMENT, NO DEPOSIT, NO MLM and NO JOINING FEES!

[android-developers] Re: Soft Keyboard Shrinks Dialog Buttons

2010-02-22 Thread Todd S.
Answering my own question, had to switch it from a Relative Layout to a Linear Layout and problem solved. Also, didn't need to define a Bottom Margin for the Scrollview, but gave it a Layout Weight of 1, while the table layout with the buttons had the default Layout Weight. On Feb 19, 10:22 pm,

[android-developers] New attractive mobiles

2010-02-22 Thread mathi
First Dual-Sim with Mobile Tracker After winning hearts and capturing the European market, Samsung B5722 is now launched in India. The main feature of the new device is that it is the first touchscreen phone from the handset vendor to include support for two SIM cards at the same time, but other

[android-developers] New attractive mobiles

2010-02-22 Thread mathi
First Dual-Sim with Mobile Tracker After winning hearts and capturing the European market, Samsung B5722 is now launched in India. The main feature of the new device is that it is the first touchscreen phone from the handset vendor to include support for two SIM cards at the same time, but other

Re: [android-developers] creating multiple tables in a single databse in android

2010-02-22 Thread Mark Murphy
aishwarya wrote: how to create two or more tables in one database in single class which extends sqliteopenhelper in one function oncreate. Call execSQL() twice, once with each CREATE TABLE statement. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

Re: [android-developers] Re: Broadcast intent for USB power?

2010-02-22 Thread Mark Murphy
Bob Kerns wrote: I located them looking through platforms/android-2.1/data/ broadcast_actions.txt, which is a WHOLE LOT EASIER than looking in the documentation, where this is scattered around. On the other hand, the ones in the documentation are the ones you are supposed to use. There are

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread Beena
Thanks skink, Its working fine for header not for footer. My main.xml is: LinearLayout !--Header Cntent -- ScrollView !-- Scorable Content -- /ScrollView Footer Content /LinearLayout Any suggestion? On Feb 22, 3:44 pm, skink psk...@gmail.com wrote: On Feb 22, 11:34 am, Beena

Re: [android-developers] Transmit serialized object via HTTP in Android

2010-02-22 Thread Sean Hodges
On Mon, Feb 22, 2010 at 11:57 AM, Ray da Costa raydaco...@gmail.com wrote: Personnel possibility exists to transmit serialized object via HTTP in Android? I'm trying to use the HttpURLConnection but I get an exception saying that does not support Once an object is serialised, it shouldn't be

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread skink
On Feb 22, 1:58 pm, Beena swdeveloper2...@gmail.com wrote: Thanks skink, Its working fine for header not for footer. My main.xml is: LinearLayout !--Header Cntent -- ScrollView  !-- Scorable Content -- /ScrollView Footer Content /LinearLayout Any suggestion? hmm, it should

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread Beena
It is not showing even. On Feb 22, 6:12 pm, skink psk...@gmail.com wrote: On Feb 22, 1:58 pm, Beena swdeveloper2...@gmail.com wrote: Thanks skink, Its working fine for header not for footer. My main.xml is: LinearLayout !--Header Cntent -- ScrollView  !-- Scorable Content --

Re: [android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread Mark Murphy
Beena wrote: It is not showing even. Use hierarchyviewer to figure out where you are going wrong. http://developer.android.com/intl/de/guide/developing/tools/hierarchy-viewer.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread Beena
Here is the main.xml = ?xml version=1.0 encoding=UTF-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent android:background=#FFF android:orientation=vertical

[android-developers] eclipse linkedResources - linked layout xml is neither included in the apk nor generated

2010-02-22 Thread Adrian Vintu
Hi all, I am trying to include a layout xml in an Android project from a Java project - using new file - link to file system. It looks like this in .project: linkedResources link nameres/layout/main.xml/name type1/type

[android-developers] Re: How to save variables, even when I close the APP

2010-02-22 Thread LeGeNDuS
Thank you so much for both answers. Very interesting. Finally I have used the SharedPreferences to do this. It works perfectly...like I want. On 21 feb, 18:27, TreKing treking...@gmail.com wrote: On Sun, Feb 21, 2010 at 11:03 AM, LeGeNDuS legen...@gmail.com wrote: Last one's settings are

[android-developers] Re: Fixed Top and Bottom

2010-02-22 Thread skink
On Feb 22, 2:23 pm, Beena swdeveloper2...@gmail.com wrote: Here is the main.xml = ?xml version=1.0 encoding=UTF-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android     android:layout_width=fill_parent     android:layout_height=fill_parent        

[android-developers] 2.1 on ADP1?

2010-02-22 Thread Troglodad
Is this ever going to happen- upgrading the ADP1 to 2.1? I REALLY need to be able to run apps from the SD Card... and don't want to buy a new phone when this one works swell (except for that memory shortage thing...) -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] 2.1 on ADP1?

2010-02-22 Thread Mark Murphy
Troglodad wrote: Is this ever going to happen- upgrading the ADP1 to 2.1? I REALLY need to be able to run apps from the SD Card... and don't want to buy a new phone when this one works swell (except for that memory shortage thing...) Android 2.1 does not have the ability to run apps from the

Re: [android-developers] 2.1 on ADP1?

2010-02-22 Thread Ricardo A . Sá
It's not de most beautiful way, but solve your problem.. http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/ 2010/2/22 Mark Murphy mmur...@commonsware.com Troglodad wrote: Is this ever going to happen- upgrading the ADP1 to 2.1? I REALLY need to

[android-developers] Re: Knowing current country

2010-02-22 Thread Albert
OK I've found the answer in the TelephonyManager class On Feb 21, 9:26 pm, Albert albert8...@googlemail.com wrote: Hi all, Is there any way at all where you can find in which country the phone is currently in, let's say if I travel to Spain can I in code know this information somehow.

[android-developers] Storing DRM protected wallpaper or ringtones

2010-02-22 Thread A R
Hi, What is the best way to store DRM (forward locked) images in Android? In BlackBerry we have special API calls to store such content. Any pointers will be appreciated. Regards, Amit. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Transmit serialized object via HTTP in Android

2010-02-22 Thread ko5tik
XStream is really good, but little heavyweight for use in android app. And XML is pretty verbose. On the other side, JSON support is native in android, and well understood by various framweworks on the server side I started small JSON marshaller on github, which can marshall object trees to

[android-developers] Re: Problem playing audio on android

2010-02-22 Thread OldSkoolMark
Try putting the start() call in onResume(). On Feb 21, 4:58 am, Alex Coventry coven...@gmail.com wrote: The following code crashes when I try to play it on my droid. The error message given in the log is Command PLAYER_INIT completed with an error or info PVMFErrNoResources.  Then an

[android-developers] Re: eclipse linkedResources - linked layout xml is neither included in the apk nor generated

2010-02-22 Thread Adrian Vintu
Ok, I found it. Seems the resources are built using the aapt.exe command line. This means, only physical files are taken into account... Anyone has an idea on a workarround for this? - to also make the linked files be physically included in the RES folder but also be updated if the source

[android-developers] onActivityResult is not triggered

2010-02-22 Thread Narendra
HI, I have a Activitygroup and some activity are part of it. lets say Activitygroup is DetailsGroup which has a activity by name DetailsActivity. On certail events DetailsActivity launches another activity ExtraActivity by calling startActivityForResult(intent, 2); The extraActivity is

Re: [android-developers] Petition: Google, please improve the Android Market.

2010-02-22 Thread TreKing
On Sun, Feb 21, 2010 at 7:43 AM, Rob Irondad rob.iron...@gmail.com wrote: I've come up with this text for a petition (warning: long): A valiant effort my friend. Of course, more than likely, this will simply be ignored as are 99% of the posts on the Market support forum, but it's worth a shot.

[android-developers] onActivityResult is not working when used in ActivityGroup

2010-02-22 Thread nkl
HI, I have a Activitygroup and some activities are part of it. lets say Activitygroup is DetailsGroup which has a activity by name DetailsActivity. On certail events DetailsActivity launches another activity ExtraActivity by calling startActivityForResult(intent, 2); The extraActivity is

[android-developers] How to speed up the browser of the Android Emulator for 2.1

2010-02-22 Thread aishwarya shukla
Hello, The internet browser works very slowly inside the emulator for Android 2.1 AVD. I tried using -netfast switch also while launching the emulator, but it doesnt help much. The same websites when i open in my Browser from my desktop , it opens very fast, and the same website inside emulator

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-22 Thread Vladimir
For me the most important thing lacking is communication. Recent Market updates, plans for the future? If they told us they're working on features X and Y, and expecting to release an update by date Z, I wouldn't worry so much. Or if they told us we WILL NOT add features X and Y because of Z. But

[android-developers] How to register my listener to a particular port

2010-02-22 Thread aishwarya
I am using the following function to send Data SMS to my device: sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) Send a data based SMS to a specific application port. I am not able to figure

Re: [android-developers] How to speed up the browser of the Android Emulator for 2.1

2010-02-22 Thread Mark Murphy
aishwarya shukla wrote: Also i get only 2 towers on the network strength indicator in my emulator. Is there any way to improve the network signal inside the emulator? The bars shown there are for simulation only and do not indicate actual strength of signal. The only two states I have ever seen

[android-developers] ContentResolver NullPointerException

2010-02-22 Thread Ne0
Following the notepad example in the SDK i have created my ContentProvider class, my BaseColumns class and added the provider to the manifest file. Manifest: provider android:name=com.smithmyers.providers.MGProvider android:authorities=com.smithmyers.providers.MGScans /

[android-developers] how to test OpenCore OMA1

2010-02-22 Thread genxsol
Hi Dear, i am learning about OpenCore OMA1 plugin. can anybody advise how can i test it for my video file to play? -- 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] What does the prefix 'm' stand for ?

2010-02-22 Thread Romain Guy
I myself am not fond of prefixes, especially since languages like Java already have this. when you need to distinguish local vars vs members. Also, modern IDEs highlight fields differently from local variables. It does make sense however on a project like Android where not everybody is

[android-developers] No sound when press too much

2010-02-22 Thread CMF
Hi all, I have a button that will trigger a sound when pressed however, when I press the button many times in a short while there will be no sound emitted. How can it emit sound even I press many times on a button? I create the sound effect by MediaPlayer.create(mcontext, R.raw.mysound); -- You

[android-developers] Re: eclipse linkedResources - linked layout xml is neither included in the apk nor generated

2010-02-22 Thread Bob Kerns
Yeah, google-fu fails when you are the first to try something -- or when those who have gone before are too foolish to ask their question in public! This way you get to both pose the question and the answer for the next person to try this. Anyway, the first thing I'd do is to think long and hard

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-22 Thread Streets Of Boston
About the 325 char limit: Maybe i'm a little slow, but I discovered just recently that you can put a little more text into your app's description using FireFox than when using IE. IE adds 2 characters for each newline (\r\n), while FireFox only adds 1 char (\n only). (and in FireFox, the

[android-developers] Re: Serious android app problem in Canada

2010-02-22 Thread ian
I have requested clarification from Google on the proposed release date for paid apps on Android Market in Canada, but my queries have gone unanswered. Now the Motorola Milestone/Droid is available here, you would think the matter would have been resolved. But no. The salespeople offering the

[android-developers] Re: Broadcast intent for USB power?

2010-02-22 Thread Bob Kerns
Right, that's why I want an index. The online search facility has a few major flaws for this purpose: 1) It only works online - not, say, on an airplane (though that's changing) 2) More importantly -- it's not a list. You can NEVER tell, via search, whether you're using the right search terms

[android-developers] Re: Camera on HTC Hero: Calling camera.autoFocus(...) gives a IOException .. ?

2010-02-22 Thread Streets Of Boston
Bump... ... I'm not sure where else to ask this question. On Feb 19, 10:31 am, Streets Of Boston flyingdutc...@gmail.com wrote: I found some posts about not have a preview-callback. But my camera does not have a preview-callback set at all. I'm wondering where this IOException is coming from.

Re: [android-developers] Re: Camera on HTC Hero: Calling camera.autoFocus(...) gives a IOException .. ?

2010-02-22 Thread Mark Murphy
Streets Of Boston wrote: Bump... ... I'm not sure where else to ask this question. At the same time, at least I don't know how to answer it. I have not seen this error, but, then again, I have not tried auto-focus on the Hero. To be honest, I wasn't aware it was running an Android version where

[android-developers] Re: What does the prefix 'm' stand for ?

2010-02-22 Thread Bob Kerns
I'm not fond of 'this.member'. It seems to combine the worst of both worlds -- an optional prefix that may or may not be used in different places. Though I understand why people use it in setters and constructors to avoid manging their argument names -- real prefixes avoid that need. On Feb 22,

[android-developers] Re: What does the prefix 'm' stand for ?

2010-02-22 Thread jotobjects
On Feb 22, 8:05 am, Romain Guy romain...@android.com wrote: I myself am not fond of prefixes, especially since languages like Java already have this. when you need to distinguish local vars vs members. Also, modern IDEs highlight fields differently from local variables. ++ I don't use the m

[android-developers] Best way to expose my Activity to third parties?

2010-02-22 Thread Mark Wyszomierski
Hi all, I made an Activity that I'd like to let others call by passing me a url. I expect a url like this: http://www.mysite.com/input/user-supplied-data and my activity intent filter looks like this: intent-filter action android:name=android.intent.action.VIEW/action category

Re: [android-developers] Re: Transmit serialized object via HTTP in Android

2010-02-22 Thread Sean Hodges
I do like that JSON marshaller, bookmarked it in case I can make use of it some time... On Mon, Feb 22, 2010 at 2:31 PM, ko5tik kpriblo...@yahoo.com wrote: XStream is really good,  but little heavyweight for use in android app.   And XML is pretty verbose.  On the other side, JSON support is

[android-developers] Re: Json Exmpale

2010-02-22 Thread jotobjects
try - java.net.URL.getContent().toString() On Feb 22, 2:06 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, Any one can give a json example ? parsing is from URL , not from string. -- Thanks Regards Sasikumar.S -- You received this message because you are subscribed to the Google

[android-developers] Nexus One: A-GPS and setup w/o carrier

2010-02-22 Thread greg
I'm interested in buying a Nexus One to develop an accurate trail mapping application that uses the Nexus One's GPS receiver, accelerometer, and compass. Currently, I'm not interested in using it as a phone and therefore am not interested in signing a contract with a carrier. So, I have a couple

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-22 Thread Rob Irondad
Thanks for the feedback! I've updated the doc with the 350/325 chars correction. I'll continue to update it with your feedback for a few days, and then I'll publish it so everybody can sign. PS: I too am afraid this might be useless, but at least when somebody complains about the Market you can

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-22 Thread String
On Feb 21, 1:43 pm, Rob Irondad rob.iron...@gmail.com wrote: I've come up with this text for a petition (warning: long): Excellent idea. I've pondered this myself, but hadn't gotten around to doing anything (too busy working on my apps ;^). I think it potentially has legs, especially if

[android-developers] How to prevent AdView from taking the D-Pad Focus

2010-02-22 Thread Christopher
I installed the AdMob AdView on the ImageSwitcher example from the Google provided APIs. Easy enough. Here's the problem: Whereas before I was able to change pictures using either the Directional Pad (DPAD) on the device (or the arrow keys on a computer keyboard), now the AdView is taking that

[android-developers] services x threads

2010-02-22 Thread guich
Hi, I'm trying to understand the idea behind the Services. If it runs in the program's thread, why not create just a separate thread (or AsyncTask) to do the job? Can a service keep running in the background? For example, i want to create a task that will continuously be polling data from a

Re: [android-developers] services x threads

2010-02-22 Thread Mark Murphy
guich wrote: If it runs in the program's thread, why not create just a separate thread (or AsyncTask) to do the job? The use of threads and AsyncTasks is orthogonal to the use of services. You use an AsyncTask (or a manually-created thread) if you want something to be done off the main

[android-developers] Re: services x threads

2010-02-22 Thread guich
Thanks. But i'm still not sure that a Service really runs in the background. :-) Does it? guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: launch the keyguard screen

2010-02-22 Thread Will
Hi, Is there any way to lanuch / show the keyguard screen ? I didn't found solution, could you give me some help ? Thanks -- Will -- 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: services x threads

2010-02-22 Thread Mark Murphy
guich wrote: Thanks. But i'm still not sure that a Service really runs in the background. :-) Does it? That depends on what you mean by background. If you mean does it have a GUI?, then yes, services run in the background. If you mean does it run on its own thread, then it depends. Service's

[android-developers] Updating UI from a timer

2010-02-22 Thread frak
Hi, I am new to Android development and have been working on a simple demo app that needs to update a TextView a few times from an array after a button is clicked. I have read and adapted the code found here to achieve this: http://developer.android.com/resources/articles/timed-ui-updates.html

[android-developers] Eclipse is too slow

2010-02-22 Thread Ferm
Hello I just installed the latest version of Eclipse IDE for Java Developers together with the ADT plugin on my Mac (2.8 GHz, 4 GB Ram). - Opening new files from the package explorer. For example, opening a layout xml file takes 1-2sec- And the mouse pointer changes. - Switching between tabs -

[android-developers] SocketInputStream continues hanging up on read on switching 3g to Wifi

2010-02-22 Thread PH
Hi, I have an InputStream which reads from an SSLSocket. Sometimes, the behavior of the read is the one expected : the connection is closed, the read method throws an IOException but sometimes when switching from 3g to WiFi, it gets blocked and hang up indefinitely without throwing any exception.

[android-developers] TextToSpeech synthesizeToFile() problem

2010-02-22 Thread Dimitry Hristov
I'm following the official docs at http://developer.android.com/resources/articles/tts.html and trying to synthesize a String to a file: private OnClickListener saveBtnListener = new OnClickListener() { @Override public void onClick(View v) {

[android-developers] having trouble to use network speed emulation in android emulator

2010-02-22 Thread Gen
Hi all, I'm trying out the network speed emulation as described in the following link: http://developer.android.com/guide/developing/tools/emulator.html#netspeed But is doesn't work, although network status command shows the correct values... I know it doesn't work by writing code to

[android-developers] Out of Memory resuming application

2010-02-22 Thread REvolver
Hi, My application uses a single activity to switch between different views. I premise I'm loading a good amount of bitmaps in one of this view (say the gamescreen view) constructor but I recycle everything on the onDetachedFromWindow method. All the Bitmaps are static and most of them loaded

[android-developers] Re: Trouble: Windows XP detecting Nexus One by USB

2010-02-22 Thread Anders
i have the exact same problem, windows xp 64bit latest drivers, device is shown under safely remove hardware as a ADB interface but running adb devices does not show it On Feb 21, 2:12 pm, Joerg Pleumann joerg.pleum...@gmail.com wrote: Same problem here. XP32 SP3. Here's what I did/see: - I

[android-developers] Re: adb doesn't see Nexus on XP-64

2010-02-22 Thread Anders
I am having the exact same problem on XP 64, cant find any solution On Jan 27, 9:29 am, DonFrench dcfre...@gmail.com wrote: No one has any thoughts on this?   Anyone else using XP-64 for Android development? On Jan 25, 10:06 pm, DonFrench dcfre...@gmail.com wrote: I can't get adb to see my

Re: [android-developers] To all android developers

2010-02-22 Thread Disconnect
You seem to have wandered out into the public internet. I'm terribly sorry. If you visit aol.com they will give you information about how to become a member of their restricted, pg-13 service and protect you from the evil world outside. On Sun, Feb 21, 2010 at 8:20 PM, ltjisstinky

[android-developers] Re: singleTask + activity stack not preserved?

2010-02-22 Thread ANithian
I am glad to have run across this thread because I was noticing the same behavior. I am running Eclipse 3.5 with the emulator 2.0.1 (Google APIs). With my application, the same behavior described happens: 1) Launch App -- Main Activity 2) From Main Activity, click button to next screen 3) Hit

[android-developers] Re: Deciding which method to call when intent is received

2010-02-22 Thread Babasaheb
Hi Mark, Hi TreKing, I have one Activity that demonstrates two functionalities: a] table of stocks (portfolio). b] ticker for recommended stocks. These are the two functionalities I am referring as modules, which obtain their data from a Service. The Service fetches data from server as per the

[android-developers] All For Porters --Help me port Dark Nova to Andriod

2010-02-22 Thread Dead Jim
Hi all, I'm looking for help in porting Dark Nova, an iPhone Space RPG to Android. I don't have the resources to create the port myself but I've had a fair number of people asking for it. Dark Nova's code is Open Sourced under the Apache License. The iPhone project is here:

Re: [android-developers] Re: Serious android app problem in Canada

2010-02-22 Thread Scott Elcomb
On Mon, Feb 15, 2010 at 11:26 PM, markusn82 markus...@gmail.com wrote: I'm in the exact same boat as you Ian. I don't know why Google hasn't at least given us a timeline on when Canadians will be able to sell apps. For all we know, this will never happen. C'mon Google.. Give us at least some

[android-developers] Re: Deciding which method to call when intent is received

2010-02-22 Thread Babasaheb
Hi Mark, Hi TreKing, I have one Activity that demonstrates two functionalities: a] table of stocks (portfolio). b] ticker for recommended stocks. These are the two functionalities I am referring as modules, which obtain their data from a Service. The Service fetches data from server as per the

  1   2   3   >