[android-developers] Re: I would like to ask some qu estions : 【About the process of app's activation】【Abou t the copy protection of Android Market】

2010-05-31 Thread kazumi_umayahara
Thank you for your reply, TreKing. See this thread:http://groups.google.com/group/android-developers/browse_thread/threa... http://groups.google.com/group/android-developers/browse_thread/threa... I see. I will look at the site above soon later. Now I release an app to Android Market

Re: [android-developers] Re: How to refresh sdcard?

2010-05-31 Thread vandana toshniwal
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(file://+ Environment.getExternalStorageDirectory(; On 31 May 2010 11:21, jp backstabber...@hotmail.com wrote: Hi vandana toshniwal thank for the fast reply. Do u have a example how to use ACTION_MEDIA_MOUNTED and specify the

[android-developers] Re: Unlimited Web Hosting

2010-05-31 Thread Ivan Greene
gtfo we don't need your spam On May 30, 11:35 pm, Biswajit biswajitsarka...@gmail.com wrote: FREE DOMAIN NAME UNLIMITED SPACE UNLIMITED EMAILS UNLIMITED SUBDOMAINS UNLIMITED DATABASES PHP,MYSQL,PERL,RUBY SUPPORT FREE SCRIPT LIBRARY 10 GB BANDWIDTH/MONTH FREE SITE BUILDER FREE

[android-developers] Re: SPP bluetooth

2010-05-31 Thread DonFrench
I am not sure how to confirm it without access to another kind of handset and a corresponding development environment. On May 30, 1:34 pm, Robert Armstrong rarmstrong...@googlemail.com wrote: I agree they are not the same. However I can confirm the UUID in my modified BluetoothChat is the HID

[android-developers] How do I programatically push my app to run in background?

2010-05-31 Thread Archana
Hi, How can we programatically push our app to run in background? I am doing one browser app. and when I am directly launching my application and clicking back key . It will show in the list of background running process.At this time Category is CATEGORY_LAUNCHER but at the same time if we try to

[android-developers] Re: How to refresh sdcard?

2010-05-31 Thread jp
hey ty for the fast reply but i tried and it does not work here is my code: btnSave.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { s = tv1.getText().toString(); s2 = ET1.getText().toString();

[android-developers] How to become a featured app in the Android market

2010-05-31 Thread oriharel
Can you provide with good tips on how to become a featured app in the market? my guess is (besides the obvious have tons of unique downloads) 1. Make use of as much as android-only features (multi-tasking, live folders, widgets, QSB, etc). 2. Keep the active user percentage high. let's discuss.

[android-developers] How to become a featured app in the Android market

2010-05-31 Thread oriharel
Can you provide with good tips on how to become a featured app in the market? my guess is (besides the obvious have tons of unique downloads) 1. Make use of as much as android-only features (multi-tasking, live folders, widgets, QSB, etc). 2. Keep the active user percentage high. let's discuss.

[android-developers] Playing audio file through BT headset and file transfer via BT - voice is breaking.

2010-05-31 Thread guru
Hi All While transferring file via BT to other phone, if I try to play audio file via BT head set voice is breaking. when i see the log i am seeing W/AudioFlinger( 1184): write blocked for 335 msecs, 22 delayed writes, thread 0x22578 W/AudioTrack( 1184): obtainBuffer timed out (is the CPU

[android-developers] Re: How do I programatically push my app to run in background?

2010-05-31 Thread NightGospel
Hi Archana, This is simple. Just put your time-consuming tasks to a service and it will run in background and be destroyed until system shutdown or you stop the service programmatically. You can see the link to get more info and it can help you to solve this problem.

Re: [android-developers] Good job Android Team !!

2010-05-31 Thread Chi Kit Leung
But there are still a lot of areas to be improve. On Mon, May 31, 2010 at 5:27 AM, Yahel kaye...@gmail.com wrote: Hey since i'm always pointing out how bad the Android Market is, I thought I would use positive reinforcement when something works well :) Just kidding :) So thank you google,

Re: [android-developers] How to use web camera in android emulator ??

2010-05-31 Thread Chi Kit Leung
http://www.tomgibara.com/android/camera-source http://www.tomgibara.com/android/camera-sourceThis blog post may help you. On Sun, May 30, 2010 at 8:07 PM, pawan nimje pawanni...@gmail.com wrote: Hi All, How can i use web cam with android emulator ?? Thanks -- You received this message

[android-developers] Re: HTTPS to acces my wcf from android appli

2010-05-31 Thread Lamia Hannoun
Well i tried to change my app.config file and it works but i had this issue with the certificate, i have this exception when i try to execute any method Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost'. I foudn some tricks to make it work on C#

[android-developers] Re: How to create a file outside the application?

2010-05-31 Thread pramod.deore
sorry ,Actually I mean GPRS not GPS. -- 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] Market behaving strangely today

2010-05-31 Thread Neilz
Firstly I'm not able to download anything from the markets... the status just shows 'Starting download' and it just sticks there. This has been happening for a day or so, and I have two devices on different networks, so it must be the market and not me. Also, I have some apps installed which the

[android-developers] Android Hooking API

2010-05-31 Thread ikalbeniz
Hi, I want to develop a service that listens what are doing all applications that are runing on my phone (listen phone calls, rewding/ writing on files,..system calls). Is there any kind of hooking api to get this info or is not posible to get it? maby coding on native android? Regards. -- You

[android-developers] AdWhirl - for advertisements

2010-05-31 Thread praj
Hi, Has anyone used Adwhirl for advertisements? I checked on this http://stackoverflow.com/questions/2554386?tab=newest#tab-top and I am facing the same problem. It gives me cannot find AdMobAdapter - also it cannot find the AdListener. Please can anyone let me know if they were successful

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, thanks for your reply. any way i've tried to do what you ask me to do. in the @Override public View newView(Context context, Cursor cursor, ViewGroup parent) { // TODO Auto-generated method stub Cursor c =

[android-developers] Re: CANNOT manage to get ADB working whatever I do.

2010-05-31 Thread HLL
@Dinesh offcurse... @Bob, Well yeah, the stuff you mentioned should work because virtual machines has the right kernel-mode drivers to interact directly with the hardware and transfer the IO to the guest OS, but I was shooting in the air hoping wither google will see this post, or for some other

[android-developers] Downloads Active installs numbers frozen on Developer Console?

2010-05-31 Thread Yorgos X
Hello, For at least 5 days now the number of downloads and active installs have remained the same, surprisingly since it was changing day by day. I still see through my server that new people are registering, so definitely the counters are broken or the numbers dont get refreshed. Has anyone had

[android-developers] how can i pass the values of one activity to another

2010-05-31 Thread Dixit Wadhwani
* one.java: import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class one extends Activity { Button click; Button click1; /** Called when the activity is first created. */ public

[android-developers] Re: Downloads Active installs numbers frozen on Developer Console?

2010-05-31 Thread Tomáš Hubálek
This topic is discussed in Android Market Help forum: http://www.google.com/support/forum/p/Android+Market/thread?fid=62421154b5203024000487b7a0fe93e2hl=en Google Engineers are aware of this issue and are working on it. Tom On 31 kvě, 09:51, Yorgos X yor...@gmail.com wrote: Hello, For at

[android-developers] AlertDialog's good looks for an Activity?

2010-05-31 Thread Mariano Kamp
I like the looks of the Alert Dialog and wonder if there is any official way to use those looks (icon, title, divider, grey gradient background for the button bar) in an Activity? The Activity does the same thing as a dialog, and uses Theme.Dialog, but must be an Activity. Cheers, Mariano --

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, according to my findings the newView method is not needed what should need is bindView method. now i have 600 + contacts this is the exception 05-31 13:39:22.180: ERROR/JavaBinder(564): java.lang.RuntimeException: No memory in memObj as you mention when i surrounded the method using

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, according to my findings the newView method is not needed. only bindView is enough. now i have about 600 + contacts. this is the exception that i'm getting 05-31 13:39:22.180: ERROR/JavaBinder(564): java.lang.RuntimeException: No memory in memObj when i followed your instructions i

[android-developers] Nokia Java ME Networking and Messaging Training Course

2010-05-31 Thread James Baker
Just came across this fantastic Java ME training course intended for experienced and intermediate developers interested in adding connectivity features to an MIDP application. This course includes five lectures with incentive lab exercises. The lectures cover Networking, Wireless Messaging API

[android-developers] How to display xml on webview ?

2010-05-31 Thread Alex Lee
there is a xml file and a xsl file, how can i display transform the xml to html by xsl and display it on browser? -- 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] to open socket connection

2010-05-31 Thread Nand
Hi, I have two applications one running on the emulator is a server and the other application running on device is a client. Phone is connected to PC via USB cable. I want to open a socket connection over USB. Is it possible to do that? If yes then what are the steps I need to follow? Please

[android-developers] Serious Problem with AudioRecord on NexusOne

2010-05-31 Thread Hunter Peress
Hey. I'm running AudioRecord to capture sound. It runs inside a service. But, after the initial run after installing the app (in which I've never seen this bug occur), the sound goes blank about 20% of the time after 0-20 seconds of running. Audio data STILL gets captured from the hardware,

[android-developers] Re: Serious Problem with AudioRecord on NexusOne

2010-05-31 Thread Hunter Peress
FYI, the source code that I linked is a simpler version that is not service based. I was thinking the service was causing the bug, but it still exists without being service based. On May 31, 4:01 pm, Hunter Peress hunt...@gmail.com wrote: Hey. I'm running AudioRecord to capture sound. It runs

[android-developers] Re: Cannot Write file into SDCard

2010-05-31 Thread Vinay S
Hi, Did you try DDMS to copy the file to your PC and open it? -Vinay On May 31, 8:57 am, jp backstabber...@hotmail.com wrote: Thanks all, it finally work However i was not able to view the text file when i mount the phone to the pc It requires me to restart my phone inorder to get the text

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-31 Thread Donal Rafferty
Thanks all for the help. This is just a learning project for myself and wont be released on the Android market. So I am aware that it may not be the best approach but it is something to learn from. I have implemented the widget with the following code: public class WlanWidget extends

[android-developers] Re: How can I increase the memory capacity of my Android emulator?

2010-05-31 Thread Carl H
What if I was able to reduced it to 150MB? Is there away to increase the memory capacity of my Android emulator? Thank you! On May 31, 12:49 am, Mark Murphy mmur...@commonsware.com wrote: Carl H wrote: Thanks for taking the time to answer. I knew I could use the SD card for my audio

[android-developers] Re: Why ADB and DDMS cannot recognize my phone in Ubuntu?

2010-05-31 Thread Ichi
Well, I've tried all the solutions mentioned above, but none of them work for me... Is there any one ever tested Acer Liquid on Ubuntu 10.04? Still thanks for all you guys' help here. On 5月30日, 下午10時51分, Zigurd zigurd.medni...@gmail.com wrote: Gubatron's solution works, but necessarily because

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-31 Thread Donal Rafferty
Argh! Timer was getting created over and over again, still if anyone can see other improvements please let me know. On Mon, May 31, 2010 at 10:18 AM, Donal Rafferty draf...@gmail.com wrote: Thanks all for the help. This is just a learning project for myself and wont be released on the

Re: [android-developers] Re: Cannot Write file into SDCard

2010-05-31 Thread Yuvi
probably you have to somehow explicitly flush the file after you finished writing. I've never worked with the sdcard so maybe I'm wrong hehe. On Mon, May 31, 2010 at 5:57 AM, jp backstabber...@hotmail.com wrote: Thanks all, it finally work However i was not able to view the text file when i

[android-developers] Local Search for SimpleCursorAdapter

2010-05-31 Thread mike
hi guys, i have a application which is a local search. i'm using a SimpleCursorAdapter for this. search result returns a searched results, but when displaying it displays all the contacts. this is my Contact Display class abstract class ContactList extends ListActivity { DisplayCon

[android-developers] Android 2.2 : Quick contact on home screen : missing anchor

2010-05-31 Thread Nicolas Thibaut
Hi, on my own home screen (still in developement), I have a bug with the new Froyo's quick contact feature. When I click on a contact shortcut in 2.2 home I have this intent throwed: 05-31 11:36:10.160: INFO/ActivityManager(85): Starting activity: Intent {

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-31 Thread Kostya Vasilyev
Donal, Your code seems to be monitoring for changes in Wifi singal level. There is a way to get broadcast notifications for RSSI changes and make your code event-driven, that is, efficient. The default minimum update period (30 minutes) only to updates requested in your widget's description

[android-developers] How to develop DIGITAL ZOOM on Camera preview?

2010-05-31 Thread Paolo
I have an activity to take picture with the Camera class provided from Android, and now i'd like to add ZOOM. I have seen that this is quite simple with the SDK 2.2, but now I'm still working on 2.1. do you have any ideas? -- You received this message because you are subscribed to the Google

[android-developers] Does Observer not work in a Android Service?

2010-05-31 Thread draf...@gmail.com
I am using the Observer pattern in my Android application to notify a running service that some data has changed: Here is the code outside the Service: (WifiConnectionManager) --- //Observables @Override public void NotifyQCLevelChange(QCLevel newQoSLevel) {

[android-developers] Re: how can i pass the values of one activity to another

2010-05-31 Thread NightGospel
Hi Dixit, You can put values to the intent by invoking Intent.putExtra() method and retrieve it by invoking Intent.getXXXExtra(). For example, in one.java: Intent myIntent = new Intent(view.getContext(),two.class); myIntent.putExtra(url, http://www.newkerala.com;);

[android-developers] Re: how can i pass the values of one activity to another

2010-05-31 Thread Dixi
hey NightGospel, thnx...for this On May 31, 4:02 pm, NightGospel wutie...@gmail.com wrote: Hi Dixit, You can put values to the intent by invoking Intent.putExtra() method and retrieve it by invoking Intent.getXXXExtra(). For example, in one.java: Intent myIntent = new

[android-developers] How to simulate Incoming Call on device?

2010-05-31 Thread coolbanana
Hallo, is it possible to simulate the Call on the real device for debug as on the emulator (with telnet)? I know, it is no problem via usb cable to debuging on the real devices. But i can't find, how to simulate the Call on the device via usb-cable. (I am working with Motorola MileStone)

[android-developers] Re: Does Observer not work in a Android Service?

2010-05-31 Thread Donal Rafferty
Never mind! Monday Morning coding mistake, sorry! On Mon, May 31, 2010 at 11:44 AM, draf...@gmail.com draf...@gmail.comwrote: I am using the Observer pattern in my Android application to notify a running service that some data has changed: Here is the code outside the Service:

[android-developers] How to listen for changes on Calls.CallLog

2010-05-31 Thread mike
hi guys, is there a way to listen to changes in Calls.CallLog. i have listen to SMS inbox changes using String url = content://sms/; Uri uri = Uri.parse(url); getContentResolver().registerContentObserver(uri, true, new

Re: [android-developers] How to listen for changes on Calls.CallLog

2010-05-31 Thread Donal Rafferty
Have you tried just doing the same with the CallLog content provider? - CallLog.Calls.CONTENT_URI On Mon, May 31, 2010 at 12:46 PM, mike hasitharand...@gmail.com wrote: hi guys, is there a way to listen to changes in Calls.CallLog. i have listen to SMS inbox changes using String url =

[android-developers] [devs] Scrollable widgets in alternative Home applications.

2010-05-31 Thread Koxx
Hi devs, Many people would like to see scrollable widgets on their Home. As you may know, current Android stock Home doesn't support it, and HTC Sense doesn't provide any API. We propose to create an open source standard for an Home extension code allowing devs to create 3rd party widgets which

[android-developers] Re: Market behaving strangely today

2010-05-31 Thread MrChaz
I'm having the same trouble, from a little searching it seems to be related to me choosing the update my mail address from googlemail.com to gmail.com Which is a massive pain. On May 31, 8:30 am, Neilz neilhorn...@gmail.com wrote: Firstly I'm not able to download anything from the markets... the

Re: [android-developers] Retriving a different icon when my app targets minSdkVersion 3 and 4

2010-05-31 Thread TreKing
On Sun, May 30, 2010 at 3:32 PM, Yesmic ngo.ka...@gmail.com wrote: Can someone explain this behavior ? Just a guess - since in API level 4 introduced support for mutliple resolutions, which allow you to specify specific resources to be used for different screen sizes, the dialer probably has a

Re: [android-developers] Re: glGenTextures going crazy on actual device

2010-05-31 Thread Leigh McRae
I suspect that someplace you have a check for the texture ID being 0 and if it is you're treating it as an error and not uploading the texture. While this might seem like a valid check I don't believe it is. What you're seeing from the emulator is likely driver specific. It could be that

[android-developers] SendOrderedBroadcast Help

2010-05-31 Thread draf...@gmail.com
I am trying to use a sendOrderedBroadcast in my Android app. I want to be able to send the Intent from one of my applications to another and I then want to get data back from the Application that recieves the Intent, in this case a boolean true or false. Here is the current code: Intent i

[android-developers] Re: Scrollable widgets in alternative Home applications.

2010-05-31 Thread James W
Fantastic idea. The widgets on HTC Sense are not only great looking but the animation, scroll and gesture support (such as like flicking pictures in the album widget) add genuinely useful functionality. More importantly to Google, Home screen widgets are one of the great advantages of Android

Re: [android-developers] How to decrease the space between checkbox?

2010-05-31 Thread TreKing
On Sun, May 30, 2010 at 10:18 PM, Jiang webs...@yahoo.cn wrote: The space between checkboxes in below UI layout is too much, how to decrease it? Try adjusting the various padding parameters on them.

[android-developers] Android USB Networking.

2010-05-31 Thread Ubuntu Explorer
HI, I am not able to find the device usb0 on my Ubuntu laptop for Android device (Samsung Galaxy Spica i5700). adb devices lists the device but I cannot see the usb0 device in ifconfig/lshw -class network on the Ubuntu PC. I do not have a WiFi AP / WiFi card in my PC and I would like to access

Re: [android-developers] How to become a featured app in the Android market

2010-05-31 Thread TreKing
On Mon, May 31, 2010 at 1:28 AM, oriharel ori.ha...@gmail.com wrote: Can you provide with good tips on how to become a featured app in the market? Become a major company that has a ton of money and resources to do advertising and does not actually need the benefit of being featured, like UPS,

[android-developers] Linear Layout

2010-05-31 Thread Anton Persson
Hello, I have a set of custom views that I would like to add to a LinearLayout object. However, the first object I add to the layout (I do this dynamically, during runtime) has a OnMeasure method that tries to get as much space as possible resulting in that it get's all the space LinearLayout

Re: [android-developers] Market behaving strangely today

2010-05-31 Thread TreKing
On Mon, May 31, 2010 at 2:30 AM, Neilz neilhorn...@gmail.com wrote: Anyone else? What's going on? Search the Android Market Support forum for Starting Download ... you will find hundreds of posts with the same exact problem that flow in on a near-daily basis. This has been going on forever -

Re: [android-developers] Android Hooking API

2010-05-31 Thread TreKing
On Mon, May 31, 2010 at 2:39 AM, ikalbeniz txup...@gmail.com wrote: Is there any kind of hooking api to get this info or is not posible to get it? Probably not, as this would be a massive security hole. maby coding on native android? I don't know what you mean by native android, but

Re: [android-developers] AlertDialog's good looks for an Activity?

2010-05-31 Thread TreKing
On Mon, May 31, 2010 at 3:06 AM, Mariano Kamp mariano.k...@gmail.comwrote: I like the looks of the Alert Dialog and wonder if there is any official way to use those looks (icon, title, divider, grey gradient background for the button bar) in an Activity? No idea if this will work but - you

Re: [android-developers] How to decrease the space between checkbox?

2010-05-31 Thread Kostya Vasilyev
Actually, looking at the sdk sources, the top/bottom margins are in the drawable (the checkbox images). I ran into the same problems with spinners, the fix was to create my own background images with smaller transparent margins.

[android-developers] Re: Good job Android Team !!

2010-05-31 Thread Yahel
Ok Chi, You'll be the bad cop and I'll be the good cop :D Yahel On 31 mai, 08:46, Chi Kit Leung michaelchi...@gmail.com wrote: But there are still a lot of areas to be improve. On Mon, May 31, 2010 at 5:27 AM, Yahel kaye...@gmail.com wrote: Hey since i'm always pointing out how  bad

[android-developers] Re: Tvout with Android Phones

2010-05-31 Thread FrankG
Hello Dileep, I'm not sure whether already in the market, but I assume that the will be soon available, because their is chip from TI ( TI OMAP 4 ) with android support and HDMI. http://focus.ti.com/pr/docs/preldetail.tsp?sectionId=594prelId=sc09021 Good luck ! Frank On 28 Mai, 09:18,

[android-developers] Re: Android 2.2 : Quick contact on home screen : missing anchor

2010-05-31 Thread Nicolas Thibaut
sorry for the dupplicate entry, the same question is here: http://groups.google.com/group/android-developers/browse_thread/thread/87a7a1dfc8990f25 On 31 mai, 12:05, Nicolas Thibaut nthibau...@gmail.com wrote: Hi, on my own home screen (still in developement), I have a bug with the new Froyo's

[android-developers] Re: Why ADB and DDMS cannot recognize my phone in Ubuntu?

2010-05-31 Thread Zigurd
You say you have an Acer device. Have you tried the line below? SUBSYSTEM==usb, ATTR{idVendor}==0502, MODE=0666, GROUP=plugdev Note that the ATTR{idVendor}== uses the id for Acer listed on the dev guide page. My previous example used the ID for Motorola, which works for my Droid. Also: 1.

[android-developers] Google Feedback fo Android

2010-05-31 Thread Krzysztof Wolny
Hi I have some doubts about this feature (Android Application Error Reports), described here http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html I have a Nexus One from ADL 2010, with 2.1-update1 firmware. When a Launcher2 crashes I can send a report about this bug.

[android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Krzysztof Wolny
Oh, You can find this CrashApp here http://www.androlib.com/android.application.com-jaceks-crashapp-xmjz.aspx or via Android Market (com.jaceks.crashapp) On 31 Maj, 18:06, Krzysztof Wolny k.wo...@gmail.com wrote: Hi I have some doubts about this feature (Android Application Error Reports),

[android-developers] Re: Developing Online Android Game

2010-05-31 Thread ravishi
Frank, I plan to use the SDK. I'd like to put whatever I make on the app store so browser based wouldn't work. And I'd like to use the SDK so it will give me access to the android classes and such. I'm just beginning to start with Android so my knowledge of it is limited. I'm just trying to

[android-developers] Re: SendOrderedBroadcast Help

2010-05-31 Thread Donal Rafferty
**UPDATED CODE:** --- sendOrderedBroadcast(i, null, domainBroadcast, null, Activity.RESULT_OK, null, null); --- class DomainBroadcast extends BroadcastReceiver{ @Override public void onReceive(Context arg0, Intent intent) { String action =

[android-developers] Re: automatic app update

2010-05-31 Thread Scott Kennedy
As long as the permissions don't change, and the user has it enabled for your application, the Market will handle it. On May 28, 11:57 am, sdphil phil.pellouch...@gmail.com wrote: is there anything we have to do as developers to enable automatic application update or will the market take care

[android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Krzysztof Wolny
I answer myself: It's the matter of return value from PackageManager.getInstallerPackageName() method. If it's not null then the button is shown. So next question is: how to set up this value. Android Market setup it somehow, but I can get the Android Market source (it's not open sourced, isn't

Re: [android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Mark Murphy
Krzysztof Wolny wrote: I answer myself: It's the matter of return value from PackageManager.getInstallerPackageName() method. If it's not null then the button is shown. So next question is: how to set up this value. Android Market setup it somehow, but I can get the Android Market source

[android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Krzysztof Wolny
Mark, that truism :) Javadoc of PackageManager.getInstallerPackageName() says: Retrieve the package name of the application that installed a package. This identifies which market the package came from. So, how about such case: writing your own market app with error report feature? It could be

Re: [android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Mark Murphy
Krzysztof Wolny wrote: So, how about such case: writing your own market app with error report feature? It could be possible, right? Only if pre-installed in firmware, with a new implementation of the system service providing the brains behind PackageManager, from that I can tell. Note, though,

Re: [android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Mark Murphy
Mark Murphy wrote: Only if pre-installed in firmware, with a new implementation of the system service providing the brains behind PackageManager, from that I can tell. Typo -- the preceding sentence should have ended ...from what I can tell. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Linear Layout

2010-05-31 Thread Brion Emde
Try setting layout_weight=1 on the items following the one that is asking for the full height. That will tell the LinearLayout that those items need some space also. On May 31, 7:43 am, Anton Persson don.juan...@gmail.com wrote: Hello, I have a set of custom views that I would like to add to

[android-developers] Using AudioRecord.

2010-05-31 Thread Fernando Morais
Hey, Can someone point me to some example on how to use AudioRecord with the 2.1 SDK? I've seen many examples and they work fine withe 1.6 but not with 2.1. On 2.1 I can't get anything because the AudioRecord instance never gets initialized so I can't use it. Thanks! -Nando Sent from my

[android-developers] Re: Cannot Write file into SDCard

2010-05-31 Thread Bob Kerns
Your description is a little unclear, but I think what you're seeing is that Android does not support simultaneous access between the PC and the SD card. Once you mount the SD card on the PC, it is not available on the device. To access it on the device again, you must first unmount it from the

[android-developers] Re: Same problem

2010-05-31 Thread Bob Kerns
Same problem as what? I suspect you believed you were replying in a way that people would know what same problem refers to. But no, this post just appears by itself, and everyone is puzzled about what you're talking about. Even if this were a reply to another post (which it isn't), people would

Re: [android-developers] Re: Scrollable widgets in alternative Home applications.

2010-05-31 Thread Romain Guy
Implementing scrollable widgets is not difficult. The reason why we haven't done so until now is because once you add vertical scrollable widgets on the workspace, you take away the ability for Home apps to use vertical swipes/scrolls gestures. Putting this in the framework would be a huge

[android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Krzysztof Wolny
Thanks Mark. I last question I have is Android Market updates themselves in background? How new button can appear in dialogs without any (visible) update. On 31 Maj, 19:32, Mark Murphy mmur...@commonsware.com wrote: Krzysztof Wolny wrote: So, how about such case: writing your own market app

Re: [android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Mark Murphy
Krzysztof Wolny wrote: I last question I have is Android Market updates themselves in background? How new button can appear in dialogs without any (visible) update. I do not know how they turned that on without an obvious update process. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: Downloads Active installs numbers frozen on Developer Console?

2010-05-31 Thread Tomáš Hubálek
BTW: I have a question. Is any developer here who is NOT AFFECTED? I'm curious how big this issue is. Thanks Tom -- 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: Market behaving strangely today

2010-05-31 Thread String
On May 31, 1:12 pm, MrChaz mrchazmob...@gmail.com wrote: I'm having the same trouble, from a little searching it seems to be related to me choosing the update my mail address from googlemail.com to gmail.com That was certainly the issue for me. All downloads stalled until I switched back to

[android-developers] Re: glGenTextures going crazy on actual device

2010-05-31 Thread Borsty
I'm skipping generated id's smaller than 0 now. It indeed feels like it's just a hacky workaround, but it'll do for now. Thanks anyway :) -Borsty On 31 Mai, 14:36, Leigh McRae leigh.mc...@lonedwarfgames.com wrote: I suspect that someplace you have a check for the texture ID being 0 and if it

[android-developers] How to develop faster without the emulator?

2010-05-31 Thread Nando Scheidecker
All, Every time I have to bring the emulator (even on a fast Linux machine) to test an app is quite painful. What would you suggest to speed up the development of an app w/o usinf the emulator? I thought that JUnit for the logical parts would help. Basically, I want to be able to test the app

Re: [android-developers] Re: Developing Online Android Game

2010-05-31 Thread Frank Weiss
Chances are you'll be using HttpClient, which apparently supports persistent connections. http://hc.apache.org/httpclient-3.x/performance.html -- 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: HTTPS to acces my wcf from android appli

2010-05-31 Thread Nando Scheidecker
All you have to do is to specify https. For instance: HTTPRequestHelper helper = new HTTPRequestHelper(myResponseHandler); helper.performPost(https://localhost/service;, user, pass, null, null); On Mon, May 31, 2010 at 12:56 AM, Lamia Hannoun lamia.hann...@gmail.comwrote: Well i tried to

Re: [android-developers] Re: Developing Online Android Game

2010-05-31 Thread Mark Murphy
Frank Weiss wrote: Chances are you'll be using HttpClient, which apparently supports persistent connections. http://hc.apache.org/httpclient-3.x/performance.html Those docs are for HttpClient 3.x, which only sorta resembles HttpClient 4.x. Android has the 4.x edition. -- Mark Murphy (a

Re: [android-developers] How to develop faster without the emulator?

2010-05-31 Thread Mark Murphy
Nando Scheidecker wrote: Every time I have to bring the emulator (even on a fast Linux machine) to test an app is quite painful. Note that you can keep your emulator running for most tests. The main time you really need to stop and restart the emulator is if you are testing things that happen

[android-developers] nullPointerException with custom ArrayAdapter

2010-05-31 Thread Christophe
hello, I have written a custom ArrayAdapter for a ListActivity : private class StepItemAdapter extends ArrayAdapterStep { public StepItemAdapter(Context context, ListStep objects) { super(context, R.layout.step_list_item, R.id.list_item_sb, objects);

Re: [android-developers] nullPointerException with custom ArrayAdapter

2010-05-31 Thread Brad Gies
You need something like this in the getView to create the view if it hasn't been created already.: if (convertView == null) { LayoutInflater inflater = Groups.this.getLayoutInflater(); convertView =

[android-developers] Any other way to point to R.java?

2010-05-31 Thread Moto
I would like to remove the dependency to point to packagename.R since I'm trying to merge free and paid apps into one. The mayor problem is the namespace. I'm able to get Context.getPackageName() but how can I convert that string to be accessible... i.e. Context.getPackageName().R? Thanks!

Re: [android-developers] Any other way to point to R.java?

2010-05-31 Thread Mark Murphy
Moto wrote: I would like to remove the dependency to point to packagename.R since I'm trying to merge free and paid apps into one. The mayor problem is the namespace. I'm able to get Context.getPackageName() but how can I convert that string to be accessible... i.e.

[android-developers] Re: nullPointerException with custom ArrayAdapter

2010-05-31 Thread Christophe
hello Brad, thanks for your reply. Isn't the call to super.getView(...) suppose to do this ?? I already told the adapter which layout to use (see the constructor of my adpater on my first post), so it should know which one to inflate. Anyways I tried something similar to what you suggested : if

[android-developers] Re: nullPointerException with custom ArrayAdapter

2010-05-31 Thread Christophe
ok, I finally have understand what is going on : I have different layout on my list (R.layout.step_list_item, R.layout.step_list_item2 ...) for each type of item in my list. When I insert a new item, android try to re-use the layout which was previously in the list at the same position. And it

Re: [android-developers] Re: nullPointerException with custom ArrayAdapter

2010-05-31 Thread Brad Gies
There are only two choices (off the top of my head) that could cause a nullPointerException. One is the convertView is null, and the other is that the R.id.list_item_sb is not part of the layout of the convertView, so you get the NullPointerException when you try to cast it to EditText. Can

[android-developers] Re: Any other way to point to R.java?

2010-05-31 Thread Moto
Thanks Mark! Library project is actually a much easier way to handle multiple versions of one app :) Thanks again! -Moto! On May 31, 4:21 pm, Mark Murphy mmur...@commonsware.com wrote: Moto wrote: I would like to remove the dependency to point to packagename.R since I'm trying to merge

Re: [android-developers] Re: nullPointerException with custom ArrayAdapter

2010-05-31 Thread Mark Murphy
Christophe wrote: I have different layout on my list (R.layout.step_list_item, R.layout.step_list_item2 ...) for each type of item in my list. Are you overriding getViewTypeCount() and getItemViewType() in your adapter? -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Google Feedback fo Android

2010-05-31 Thread Mark Carter
There was some kind of Market app update a couple of weeks ago which I think happened silently. What if a third party app triggers the PackageManager to install another third party app? I think that's possible isn't it? In so, wouldn't the getInstallerPackageName() be non-null? On May 31, 8:45 

  1   2   >