Thanks!
------Original message------ From: <android-developers+nore...@googlegroups.com> To: "Digest Recipients" <android-developers+dig...@googlegroups.com> Date: Saturday, June 25, 2011 3:44:27 PM GMT+0000 Subject: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 18 Topics ============================================================================= Today's Topic Summary ============================================================================= Group: android-developers@googlegroups.com Url: http://groups.google.com/group/android-developers/topics - ACRA reports 7 crashes but Android market does not [1 Update] http://groups.google.com/group/android-developers/t/6043e3a576c3da7a - Paypal using Webview [2 Updates] http://groups.google.com/group/android-developers/t/60ae38295ec8d655 - Write and Read CSV File [1 Update] http://groups.google.com/group/android-developers/t/af51bb9b94a06892 - How to configure Bluetooth in android emulator [3 Updates] http://groups.google.com/group/android-developers/t/30e4664a36927069 - App installs on emulator but not on device [1 Update] http://groups.google.com/group/android-developers/t/d8cede53e6ba3406 - Network error in emulator [2 Updates] http://groups.google.com/group/android-developers/t/4c75da43967b0909 - Layout in a not default package [1 Update] http://groups.google.com/group/android-developers/t/bca765cd65645de5 - Local variable type mismatch [1 Update] http://groups.google.com/group/android-developers/t/4449d88c0cc723c2 - Eclipse Project Error [2 Updates] http://groups.google.com/group/android-developers/t/68124740a7d4c33f - Need Developer to convert POC in App Inventor to Android Native Code. FT paid work. Work remotely to start with, UK Sponsorship to follow [2 Updates] http://groups.google.com/group/android-developers/t/287527c5254a9072 - Can't show AlertDialog [1 Update] http://groups.google.com/group/android-developers/t/76deda31061f87b5 - Question on Broadcast receiver with some prioroty set and category set as Home [1 Update] http://groups.google.com/group/android-developers/t/682be0866b62a77c - HTTP Error Debugging HELP!!!!! [1 Update] http://groups.google.com/group/android-developers/t/2ee3d1950707d30c - When starting two emulators, each Logcat Messages will be printed twice [1 Update] http://groups.google.com/group/android-developers/t/aaea3fb332f4b46b - What are your thoughts on this service - activity communication pattern? [1 Update] http://groups.google.com/group/android-developers/t/3767daafa4e29209 - authentication of an app in facebook [1 Update] http://groups.google.com/group/android-developers/t/cf7f3f1bedff081d - How to immediately dispatch touch events outside of a PopupWindow [2 Updates] http://groups.google.com/group/android-developers/t/d68440ab79320485 - Smart dismissability of ListPopupWindow [1 Update] http://groups.google.com/group/android-developers/t/7a92d9c99c7441b6 ============================================================================= Topic: ACRA reports 7 crashes but Android market does not Url: http://groups.google.com/group/android-developers/t/6043e3a576c3da7a ============================================================================= ---------- 1 of 1 ---------- From: Raghav Sood <raghavs...@gmail.com> Date: Jun 25 08:56PM +0530 Url: http://groups.google.com/group/android-developers/msg/78b078db95e3e4eb Hi all One of my apps, Quaker, has ACRA bug reporting in it. I have received 7 reports from ACRA but the android market shows 0 errors. How can I know whos device was it? ACRA gives me the model and the carrier. Please help Thanks -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ ============================================================================= Topic: Paypal using Webview Url: http://groups.google.com/group/android-developers/t/60ae38295ec8d655 ============================================================================= ---------- 1 of 2 ---------- From: Brill Pappin <bpap...@sixgreen.com> Date: Jun 25 12:00AM -0700 Url: http://groups.google.com/group/android-developers/msg/b51e474245ddb64a That isn't really and Android problem, but a Paypal problem. There are certain tasks in the paypal API that *require* the user to hit a page on the paypal server for authentication. A lot of the Amazon API is the same. ---------- 2 of 2 ---------- From: paulb <paul.beuster...@gmail.com> Date: Jun 25 08:20AM -0700 Url: http://groups.google.com/group/android-developers/msg/2a045d000d35d00e For a PhoneGap plugin see https://github.com/phonegap/phonegap-plugins/tree/master/Android/PayPalPlugin. For a straight WebView integration, see https://github.com/carlst/ppmpl Both of these provide a JavaScript mapping to the PayPal MPL Android library. They do not cover the full API, but do the basics and should be straight-forward to extend for any specific additional capabilities. ============================================================================= Topic: Write and Read CSV File Url: http://groups.google.com/group/android-developers/t/af51bb9b94a06892 ============================================================================= ---------- 1 of 1 ---------- From: spurwa <spu...@gmail.com> Date: Jun 25 08:05AM -0700 Url: http://groups.google.com/group/android-developers/msg/6163711bb1055b3c How to Write and Read csv file on Android ? In this case I want to store data ID, Name of Item and Price in the smartcard and try to read the data with Nexus S using NFC, so How to write data in csv file to smartcard using NFC ? for futher information, now i use Nexus S and Mifare Card for the simulation.... thanks for your help... ============================================================================= Topic: How to configure Bluetooth in android emulator Url: http://groups.google.com/group/android-developers/t/30e4664a36927069 ============================================================================= ---------- 1 of 3 ---------- From: Indicator Veritatis <mej1...@yahoo.com> Date: Jun 25 01:35AM -0700 Url: http://groups.google.com/group/android-developers/msg/82805b00dcdf8738 Yes, you are right, one needs a device. But the G1, unless you root it and put on a custom ROM like CyanogenMod, has only up to SDK 1.6, which as API Level 4 has only very limited Bluetooth support in the API itself. You need 2.0 or later to get classes like BluetoothAdapter. I used 2.2 for my Bluetooth code. On Jun 22, 4:52 pm, Kristopher Micinski <krismicin...@gmail.com> wrote: ---------- 2 of 3 ---------- From: "JAlexoid (Aleksandr Panzin)" <jalex...@gmail.com> Date: Jun 25 02:13AM -0700 Url: http://groups.google.com/group/android-developers/msg/ac9ec357ed845db7 Then get a used N1. And in any case, if you're developing for Android, you have to get N1 or NS. Without a device, it's like trying to develop software without a computer. Indian guys you can pass it on to your superiors* - you can't write software without tools! If you really want to get some cheap equipment, then get ZTE Blade(aka Orange San Francisco). BUT GET EQUIPMENT! *-I know they are freaking cheapskates. ---------- 3 of 3 ---------- From: Kristopher Micinski <krismicin...@gmail.com> Date: Jun 25 09:48AM -0400 Url: http://groups.google.com/group/android-developers/msg/ce23e056e68c1bce Yup, did I not say this? Hrrm... I don't see why this is a problem however, if you're looking for a bt dev environment on the cheap (remember, you have to buy two) I'd say the g1 is the way to go. Of course, if you have more money .... : ) On Jun 25, 2011 4:36 AM, "Indicator Veritatis" <mej1...@yahoo.com> wrote: Yes, you are right, one needs a device. But the G1, unless you root it and put on a custom ROM like CyanogenMod, has only up to SDK 1.6, which as API Level 4 has only very limited Bluetooth support in the API itself. You need 2.0 or later to get classes like BluetoothAdapter. I used 2.2 for my Bluetooth code. On Jun 22, 4:52 pm, Kristopher Micinski <krismicin...@gmail.com> wrote: -- You received this message because you are subscribed to the Google Groups "Android Developers" g... ============================================================================= Topic: App installs on emulator but not on device Url: http://groups.google.com/group/android-developers/t/d8cede53e6ba3406 ============================================================================= ---------- 1 of 1 ---------- From: madlymad <mando7s...@gmail.com> Date: Jun 25 06:25AM -0700 Url: http://groups.google.com/group/android-developers/msg/2bf9dc4ce9a03d08 You could also change the device settings to accept all application even the developer signed files! ============================================================================= Topic: Network error in emulator Url: http://groups.google.com/group/android-developers/t/4c75da43967b0909 ============================================================================= ---------- 1 of 2 ---------- From: suresh achari <sureshmca.sv...@gmail.com> Date: Jun 25 05:25PM +0530 Url: http://groups.google.com/group/android-developers/msg/f35996a91e5b5621 Hi guys, My Emulator cant get connect to internet. Am working under proxy. Please help me out. -- Suresh.K ---------- 2 of 2 ---------- From: Chrystian Vieyra <chrys.vie...@gmail.com> Date: Jun 25 06:00AM -0700 Url: http://groups.google.com/group/android-developers/msg/4fa6d909b9635cd0 > adb shell # sqlite3 /data/data/com.android.providers.settings/databases/settings.db sqlite> INSERT INTO system VALUES(99,’http_proxy', 'proxy:port'); sqlite>.exit ============================================================================= Topic: Layout in a not default package Url: http://groups.google.com/group/android-developers/t/bca765cd65645de5 ============================================================================= ---------- 1 of 1 ---------- From: Alfonso <alfonsocris...@gmail.com> Date: Jun 25 04:39AM -0700 Url: http://groups.google.com/group/android-developers/msg/b23eae6380392190 Hi everybody, I´ve done many tries but I can´t get this working: I´d like isolate the GUI layer from the business one. I´d created a different package for it, but doing so I can´t access the drawables and layouts placed on /res/layout unless I call them using the default package as prefix. I´d like place the layouts, drawables and other resources used by (and only by) the GUI layer in the package of this layer, but I don´t know how. When I copy an xml layout on the GUI package I can´t access it like a resource. Even if I set the id of a layout placed on /res/layout like this "android:id="@+com.android.gui:id/main_window"" the console shows the error: Adding multiple application package resources; only one is allowed. Use -x to create extended resources. Is there any way for adding resources to a different package of the basic one? Thanks you very much. ============================================================================= Topic: Local variable type mismatch Url: http://groups.google.com/group/android-developers/t/4449d88c0cc723c2 ============================================================================= ---------- 1 of 1 ---------- From: pjv <ezelsping...@gmail.com> Date: Jun 25 04:33AM -0700 Url: http://groups.google.com/group/android-developers/msg/f69581416afae970 Are you using ProGuard? ============================================================================= Topic: Eclipse Project Error Url: http://groups.google.com/group/android-developers/t/68124740a7d4c33f ============================================================================= ---------- 1 of 2 ---------- From: Indicator Veritatis <mej1...@yahoo.com> Date: Jun 25 01:48AM -0700 Url: http://groups.google.com/group/android-developers/msg/bf92ce334f3ca13f Turn off automatic build at least temporarily, then do a clean on the project and start the build over. If that doesn't work, repeat the same steps but exit and re-enter Eclipse before starting the build over. If even that doesn't work, you may have a build configuration problem. Check project properties. ---------- 2 of 2 ---------- From: sippy zenma <sze...@gmail.com> Date: Jun 25 04:48PM +0530 Url: http://groups.google.com/group/android-developers/msg/19a3c2958800d8e1 did you put the correct name in run configuration.if yes check your xml file also ============================================================================= Topic: Need Developer to convert POC in App Inventor to Android Native Code. FT paid work. Work remotely to start with, UK Sponsorship to follow Url: http://groups.google.com/group/android-developers/t/287527c5254a9072 ============================================================================= ---------- 1 of 2 ---------- From: FredDeer <mzz...@gmail.com> Date: Jun 25 03:06AM -0700 Url: http://groups.google.com/group/android-developers/msg/ad71207253f657e5 Hi Everyone, I developed a Proof of Concept in App Inventor that has now delivered a 6 figure development grant to turn it to a working prototype. Following on we have secured venture funding worth up to £23 million to launch it as a service. We need a full-time permanent Developer with good Knowledge of Google API and product suite to turn the App Inventor POC into Android native code. Unfortunately we cannot reverse engineer App Inventor to Android so it will mean starting almost from scratch again. The first stage to prototype and field trial start in August and runs for 6 months, followed by the service deployment which we have secured full funding for 3 years. We are happy to have the developer work remotely with regular PC teleconferencing and we will offer UK sponsorship to them after the first 6 months are complete. Good english is essential. If you feel you could do this and you have Android Native code, Google API and developer skills, get in touch. Send me a resume/CV and cover letter to j...@pintrack.com (Jobs @ pintarck) entitled Developer and we will get back in touch. ---------- 2 of 2 ---------- From: Marcin Orlowski <webnet.andr...@gmail.com> Date: Jun 25 12:30PM +0200 Url: http://groups.google.com/group/android-developers/msg/c324d50e68272e08 > a 6 figure development grant to turn it to a working prototype. > Following on we have secured venture funding worth up to £23 million > to launch it as a service. nigerian economy is getting better and better... ============================================================================= Topic: Can't show AlertDialog Url: http://groups.google.com/group/android-developers/t/76deda31061f87b5 ============================================================================= ---------- 1 of 1 ---------- From: andrewg_oz <andrew.greg...@gmail.com> Date: Jun 25 03:19AM -0700 Url: http://groups.google.com/group/android-developers/msg/d84706ba7360fdb8 I must be missing something obvious, but just can't see it. Here's part of my Activity code: public static AlertDialog func(final Activity activity) { AlertDialog.Builder d = new AlertDialog.Builder(activity); d.setTitle("title"); d.setMessage("message"); d.setPositiveButton("yes", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) {} }); d.setNegativeButton("no", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) {} }); return d.show(); // <-- nothing shows! } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle item selection switch (item.getItemId()) { case R.id.dofunc: dlg = func(this); if (dlg != null) { Log.d("App", dlg.toString()); // <-- shows up in log } return true; default: return super.onOptionsItemSelected(item); } } This virtually identical to the example in "Beginning Android 2", except I've put the dialog creation into its own function. There's no exceptions, no relevant log messages apart from my own. Any help greatly appreciated! ============================================================================= Topic: Question on Broadcast receiver with some prioroty set and category set as Home Url: http://groups.google.com/group/android-developers/t/682be0866b62a77c ============================================================================= ---------- 1 of 1 ---------- From: Sudeep Sharma <sudeep.andr...@gmail.com> Date: Jun 25 03:24PM +0530 Url: http://groups.google.com/group/android-developers/msg/e3961b5b4ce06cba Hi, I have an application set as Home category having higher priority than the normal Home app. This is to show my app first as soon as the phone boots up. I have a broadcast receiver also within my manifest which also has same category "home" with priority even more than of my activity. Problem is when the phone is booted i do not see control coming in the Broadcast reciever (xyzReciever) at all although its priority is higher than that of activity. Is <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" /> not applicable for Broadcast recievers????? *Activity Properties* <activity android:name=".ABC" android:launchMode="singleTask" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation" android:excludeFromRecents="true" > <intent-filter android:priority="*101*"> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> *Reciever properties* <receiver android:name=".xyzReciever"> <intent-filter android:priority="*102*"> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </receiver> Please respond ....I shall be thankful. Thanks .... ============================================================================= Topic: HTTP Error Debugging HELP!!!!! Url: http://groups.google.com/group/android-developers/t/2ee3d1950707d30c ============================================================================= ---------- 1 of 1 ---------- From: Indicator Veritatis <mej1...@yahoo.com> Date: Jun 25 01:45AM -0700 Url: http://groups.google.com/group/android-developers/msg/12da6cee89810795 Isn't AMReceiver part of your app? You need to register it, most likely by adding a <receiver> tag to the manifest. On Jun 21, 10:52 am, Abhilash Cherukat <abhi.cheru...@gmail.com> wrote: ============================================================================= Topic: When starting two emulators, each Logcat Messages will be printed twice Url: http://groups.google.com/group/android-developers/t/aaea3fb332f4b46b ============================================================================= ---------- 1 of 1 ---------- From: Indicator Veritatis <mej1...@yahoo.com> Date: Jun 24 05:02PM -0700 Url: http://groups.google.com/group/android-developers/msg/8419fef4e6daa69d You can try not using DDMS perspective to view the Logcat output. Instead, launch two Terminal windows, run adb in each one, and connect specifically to the two distinct emulator instances. Then the two windows should show the logcat output of the two emulators with no mixing. Of course, if you are running Windoze, the OS will call them something else instead of "Terminal windows", but the same thing applies, mutatis mutandis. ============================================================================= Topic: What are your thoughts on this service - activity communication pattern? Url: http://groups.google.com/group/android-developers/t/3767daafa4e29209 ============================================================================= ---------- 1 of 1 ---------- From: TreKing <treking...@gmail.com> Date: Jun 24 06:28PM -0500 Url: http://groups.google.com/group/android-developers/msg/c0b5edd4eccd1d13 > So what do you think of this pattern? Sounds like overkill - check out the Local Service example in the Service documentation. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices ============================================================================= Topic: authentication of an app in facebook Url: http://groups.google.com/group/android-developers/t/cf7f3f1bedff081d ============================================================================= ---------- 1 of 1 ---------- From: TreKing <treking...@gmail.com> Date: Jun 24 06:11PM -0500 Url: http://groups.google.com/group/android-developers/msg/9046958cefe54e6b > TreKing, I repeat everything I said before, I hate playing with words > and I'm not going to continue this discussion further. Do you realize that by posting you have continued the discussion further ... ? But OK, I accept your apology. > Do you know > why? Because it doesn't make sense to generate crappy content in such > a discussion list. Do you realize that you're the one that went off-topic to reprimand my post, thereby generating "crappy content that doesn't help anybody"? > question on a discussion list. Please read those suggestion in more > generic terms to get an idea on how to generate useful content on a > discussion list. The link is "how to ask smart questions" not "how to post smart answers". If you have such a link, please share! > If you wish you reply, you may choose to reply me > privately (replies are not guaranteed). Really it's just waste of time > to generate useless content which doesn't help anybody. Period. Do you realize that if you wished to reply to my original post, off-topic, you could have replied to me privately with your concerns? (replies are not guaranteed though). You sure do have a strange perspective on things. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices ============================================================================= Topic: How to immediately dispatch touch events outside of a PopupWindow Url: http://groups.google.com/group/android-developers/t/d68440ab79320485 ============================================================================= ---------- 1 of 2 ---------- From: Shri <shri.bo...@gmail.com> Date: Jun 24 03:34PM -0700 Url: http://groups.google.com/group/android-developers/msg/59a1b266ccd3aeea Calling #setModal(false) works. It confusing because the PopupWindow seems to be modal by default but ListPopupWindow is not. ---------- 2 of 2 ---------- From: Shri <shri.bo...@gmail.com> Date: Jun 24 04:04PM -0700 Url: http://groups.google.com/group/android-developers/msg/1a56fbf2dae061da I got this mixed up. ListPopupWindow is non-modal by default and so does dispatch events to other widgets as I want. If I do #setModal(true), the touch events do not get dispatched. However, ListPopupWindow is always modal and it does not have a #setModal method on it. Does this just seem like a missing feature? ============================================================================= Topic: Smart dismissability of ListPopupWindow Url: http://groups.google.com/group/android-developers/t/7a92d9c99c7441b6 ============================================================================= ---------- 1 of 1 ---------- From: Shri <shri.bo...@gmail.com> Date: Jun 24 03:57PM -0700 Url: http://groups.google.com/group/android-developers/msg/2e16e7a70380c85b I use the following code to show a popup menu when the user taps an anchor button. final ListPopupWindow popup = new ListPopupWindow(this); anchorButtonView.setOnClickListener(new OnClickListener() { @Override public void onClick(View view) { if (!popup.isShowing()) { // This check is not helping popup.show(); } } }); What I would like is that if the user touches the anchor button, the popup gets dismissed. Currently, the popup gets dismissed but is immediately displayed again. I tried using !popup.isShowing() as shown above, but that does not help as the popup is dismissed by the time #onClick is getting called. I also tried using achorButtonView.setOnTouchListener, but the popup is already dismissed when that method is called also. I can use ListPopupWindow#setModal(true) and get the popup to be dismissed. However, now, none of the touches to widgets outside of the popup get dispatched. They only dismiss the popup. You then have to the widget again. What I want is that touches to widgets other than the anchor get dispatched to those widgets, but touches to the anchor do not result in re-displaying the popup. Is there any way to achieve this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en