Re: [android-developers] Re: Android Market Certificate Error

2011-02-12 Thread TreKing
On Fri, Feb 11, 2011 at 7:44 PM, Droider jgrnetsoluti...@gmail.com wrote: Yes I was allowed and not warned at all. Wow, that's a new level of fail, even for the Market. This might be your best bet, if no one has any info for you:

[android-developers] Re: ApiDemos Build Worked w/ 1.5, Fails with 1.6 samples under 2.3 SDK

2011-02-12 Thread Indicator Veritatis
I should clarify: when building under SDK 2.3.1, I found something I did not see while trying to build the 1.6 sample: the wizard allowed building 2.3 samples under 2.3, not 1.6 under 2.3. I really did not see any such forced matching of sample to target when trying to build the 1.6 sample. I

Re: [android-developers] cookie value is null

2011-02-12 Thread vani reddy
anyways i got the cookie value through http connection,can you tell how to send it in the header of a url? On Sat, Feb 12, 2011 at 1:30 AM, TreKing treking...@gmail.com wrote: On Fri, Feb 11, 2011 at 4:34 AM, vani reddy vani.redd...@gmail.comwrote: CookieManager cm=

[android-developers] Re: background service(socket)

2011-02-12 Thread Indicator Veritatis
You not only need to do it in a Service, but you need to launch a separate thread. The class that can do both for you is IntentService. BTW: the Android documentation on both of these is a little misleading: when the Service docs talk about 'background', they mean something a little different

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-12 Thread Indicator Veritatis
You are right, it is a bad idea to do it in the UI thread, but his problem is not the problem one would expect from doing it in a UI thread. That is, given that his failure takes place in his existing code, I would expect the same failure to take place once he has moved it to a worker thread.

[android-developers] Re: Android MVC Framework

2011-02-12 Thread Indicator Veritatis
Unfortunately, the term 'MVC' has suffered some corruption over the years: purists, especially Smalltalk aficionados, insist that unless you do it the Smalltalk way, it is not MVC. Others use the term more loosely, many too loosely. In any case, some of the latter DO say that Android's SDK meets

Re: [android-developers] List view

2011-02-12 Thread TreKing
On Fri, Feb 11, 2011 at 11:25 PM, jubin jubinmeht...@gmail.com wrote: I want to create above type of view and want to dynamic this. Read the documentation and play with some samples. Creating simple, static layouts is Android 101.

[android-developers] Re: Does the Google app store allow apps that target just 1 device?

2011-02-12 Thread Indicator Veritatis
If you can find a shared library that is present only on the device you target, then you can use uses-library in your manifest. See http://developer.android.com/guide/appendix/market-filters.html#manifest-filters for details. Likewise for features (uses-feature) On Feb 8, 7:27 am, Lee Leclair

[android-developers] Re: receiving a vCard via Bluetooth

2011-02-12 Thread Indicator Veritatis
One input: if you tell us what UI or API you used to send the vCard via Bluetooth, you are far more likely to get a useful response. On Feb 11, 12:05 am, Manju manjunath@gmail.com wrote: Any views/inputs on this? Regards, Manjunath On Feb 8, 10:59 am, Manju manjunath@gmail.com

Re: [android-developers] exception while accessing MS SQL 2005 express using JDBC

2011-02-12 Thread Kostya Vasilyev
Looks like the driver wants to use an SSL socket in non-blocking mode, and Android networking code (taken from Apache Harmony) doesn't support it. You could try setting encrypt=false, or, if that's not acceptable, find another way to access the database (e.g. a web service). -- Kostya

Re: [android-developers] Re: In app billing...

2011-02-12 Thread Miguel Morales
I have tried to implement code using the provided example project. Although you can get some work done, the lack of a 2.3 market version really hurts testing. I have tried running the Dungeon app on a 1.6 device with no luck. On Sat, Feb 5, 2011 at 2:14 PM, fooyee reloadingthej...@gmail.com

Re: [android-developers] ApiDemos Build Worked w/ 1.5, Fails with 1.6 samples under 2.3 SDK

2011-02-12 Thread Kostya Vasilyev
Well, have you tried escaping apostrophes with a backslash, as the error messages suggest? 2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk-linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/strings.xml:365: *error: Apostrophe not preceded by \ (in I'm on! :))* --

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-12 Thread Gergely Juhász
yes a iknow, but if he maybe get an ANR, the images could be corrupted if not fully uploads them. of corse he didn't write anything about he would have an ANR. On 12 February 2011 09:35, Indicator Veritatis mej1...@yahoo.com wrote: You are right, it is a bad idea to do it in the UI thread, but

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-12 Thread Kostya Vasilyev
This: HttpResponse resp =*NetworkUtils.sendHttpRequestMultipart*(exportUrl, reqEntity); does not look like an Android SDK fuction. Without seeing the code for it, we can only guess. -- Kostya 12.02.2011 13:11, Gergely Juhász ?: yes a iknow, but if he maybe get an ANR, the images could

[android-developers] Re: StageFright: why are you not using JavaBeans?

2011-02-12 Thread Indicator Veritatis
This is only tangential to the real topic, but I have to comment on Java Beans: I fully agree with Allen Holub. Beans are NOT good examples of object oriented code. So I am glad they are not used in Android. On Feb 10, 8:23 pm, ss mno@gmail.com wrote: Android doesn't use JavaBeans, period.

[android-developers] Re: Honeycomb SDK

2011-02-12 Thread Indicator Veritatis
Unfortunately, Diane, you have not answered the question. Worse yet, you are contributing to the confusion. How so? Because you say on the one hand, Honeycomb/3.0 is specifically for tablets, but you then appear to contradict yourself pretty abruptly by immediately adding, Why would anyone want

[android-developers] Re: Adding a new View causing Force Close

2011-02-12 Thread Indicator Veritatis
Indeed: there is even a pretty good tutorial specifically on using the Eclipse debugger at http://www.ibm.com/developerworks/library/os-ecbug/. A source on more generic Eclipse topics is: http://www.linuxtopia.org/online_books/eclipse_documentation/eclipse_workbench_user_guide/index.html On Feb

[android-developers] What does/does not belong in WidgetProvider

2011-02-12 Thread AndroidDevTime
Widget Provider is a specialized BroadcastReceiver. Assuming there exists an Application, 1-n android service,1-k activities, and potentially additional 0-n broadcast receivers that are not widgets, I would like to verify what belongs and does not belong logically inside the broadcast receiver.

[android-developers] Re: exporting signed apk in Eclipse

2011-02-12 Thread Indicator Veritatis
The emulator is quite good, but you still need to test on a real device. Even if only a simple, cheap one like the original G1. On Feb 10, 12:17 pm, Danielle Murkerson dmurkerso...@gmail.com wrote: Well I don't have my own device and luckily one of my colleagues does so he agreed to test it for

[android-developers] Re: Sliding Drawer question

2011-02-12 Thread Indicator Veritatis
I'm not surprised the visual editors in ADT are so far behind. It really is difficult to code such things. That is why I never use the visual editors. Actually, there are other reasons, too. On Feb 10, 10:59 am, Salsero69 vaillancourt@gmail.com wrote: I'm having the same issue.  Eclipse

[android-developers] Logcat Filter for two or tags in Eclipse?

2011-02-12 Thread AndroidDevTime
Clicked on create filter could not figure out from docs how to create a filter for say two or more tags. If I have two tags com.test.TestClassA and com.test.TestClassB how do I create a filter that shows log for both of these classes? I saw how you can start ADB for only certain tags, but how can

Re: [android-developers] Distinguish between Power button and Screen timeout

2011-02-12 Thread Mark Murphy
In your own activity, you can watch for KEYCODE_POWER in onKeyDown(), apparently: http://stackoverflow.com/questions/3703071/how-to-hook-into-the-power-button-in-android Beyond that, I think you are out of luck. On Fri, Feb 11, 2011 at 9:32 PM, niko001 ebs...@googlemail.com wrote: Hi, in

Re: [android-developers] What does/does not belong in WidgetProvider

2011-02-12 Thread Mark Murphy
Your entire question is phrased around the Widget. There is no the Widget. From the opening sentence of your question, I am interpreting the Widget to mean a subclass of AppWidgetProvider that handles the processing for an app widget or family of app widget instances. On Sat, Feb 12, 2011 at 5:42

Re: [android-developers] Re: Sliding Drawer question

2011-02-12 Thread Cliff Davies
Out of interest, what are the other reasons? I find the visual editor doesn't give an exact idea of the final layout (doesn't auto-scale properly, show custom views sometimes or show sliding drawers at all) but it helps get the basic framework up and running quickly On 12 Feb 2011 10:46, Indicator

[android-developers] debugging services, broadcast messages

2011-02-12 Thread rrd
Hi, My application listens to a broadcast message sent by a service. I would like to test, debug the activity but I do not want to wait for the time when the broadcast message is actually sent by the service. Is there any way to send a particular broadcast message to the emulator? rrd --

Re: [android-developers] Re: Poor relevancy in Android market since yesterday.

2011-02-12 Thread Richard Leggett
Something weird is going on here, for example if you search on the Market website for twitter you get the official app, and also games like Radiant HD, but you don't get TweetDeck which has Twitter in the title and does appear as the 2nd related app for Twitter (official). Very strange. On 12

[android-developers] Re: ListView of CheckedTextView + SQLite, display checked rows ?

2011-02-12 Thread Rutton
If you have done a cursor adapter once, itis really easy. I have put some example code here. It is stripped down to the essentials: public class HistoryCursorAdapter extends CursorAdapter { private Cursor cursor; public HistoryCursorAdapter(Context context, Cursor c) {

[android-developers] Does Android have an ideas submission website like Adobe?

2011-02-12 Thread 95Ghz
Adobe has this: http://ideas.adobe.com/ Does Android have anything similar? My idea proposal is to create a kiosk mode feature on the tablet. This kiosk mode would enable the user to block access to any portion of the menu settings by password protection. This would be great for parents to

[android-developers] Re: Honeycomb SDK

2011-02-12 Thread Streets Of Boston
Dianne said that Android 3.*0* will not be loaded onto any phone. Phones will just skip 3.0 and start with 3.1 (or anything after 3.0). This way you don't need two disjoint branches. There would only be trouble if the api-level of 2.3.3=10, the API level of Android 3.0=11 and a new

Re: [android-developers] Does Android have an ideas submission website like Adobe?

2011-02-12 Thread Marcin Orlowski
On 12 February 2011 14:56, 95Ghz tom...@gmail.com wrote: My idea proposal is to create a kiosk mode feature on the tablet. White a launcher replacement and do what you want there. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Android MVC Framework

2011-02-12 Thread Streets Of Boston
First, welcome to the Android dev community! :-) Whether the Android is MVC framework or not, why are you specifically searching for one? I would just learn the Android SDK, its concepts and start creating my app that fits these concepts, MVC or not. But if your question is a question

[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-12 Thread 捷超 王
Many thanks! On 2月11日, 下午5时17分, Kostya Vasilyev kmans...@gmail.com wrote: Sounds right. That C function, getaddrinfo, is IPv6 aware. If the kernel was compiled without v6 support, it returns an error code, which is then turned into an exception by the Java networking library. -- Kostya

[android-developers] Share some of my work - DragDrop framework

2011-02-12 Thread Oded O.
Hi, I've just finished the first iteration on my dragdrop framework I'm building. http://code.google.com/p/mobile-anarchy-widgets/wiki/Drag_and_Drop?ts=1297527301updated=Drag_and_Drop You can download the full source code from: http://code.google.com/p/mobile-anarchy-widgets/ or the compiled

[android-developers] Re: [ASK] Charting and SVG in android

2011-02-12 Thread Handita Okviyanto
thanks for reply On Feb 9, 8:22 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Feb 9, 2011 at 8:17 AM, Handita Okviyanto viyanatm...@gmail.com wrote: Hello. I need your help. I want to make an application in android that has a charting features and a map. I have a plan to use SVG

Re: [android-developers] Re: Poor relevancy in Android market since yesterday.

2011-02-12 Thread Jon F Hancock
Come to think of it, Radiant HD popped to the top of the list when I searched for Facebook the other day. I think it is because Radiant HD describes itself as being able to share top scores on Facebook. It still shouldn't show up above Facebook though. For a long time, my app, LauncherPro

[android-developers] How should I invoke InstalledAppDetails from a program?

2011-02-12 Thread dipu
I am trying to invoke the InstalledAppDetails with following code. I get error message that says activity not found. How should I invoke InstalledAppDetails? Intent intent = Intent.parseUri(dat=package:com.example.android.jetboy cmp=com.android.settings/.applications.InstalledAppDetails, 0);

Re: [android-developers] How should I invoke InstalledAppDetails from a program?

2011-02-12 Thread Mark Murphy
I would expect more something like this: startActivity(new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(package:com.example.android.jetboy))); After all, that's what the documentation for ACTION_APPLICATION_DETAILS_SETTINGS states:

Re: [android-developers] debugging services, broadcast messages

2011-02-12 Thread Kostya Vasilyev
12.02.2011 15:47, rrd пишет: Hi, My application listens to a broadcast message sent by a service. I would like to test, debug the activity but I do not want to wait for the time when the broadcast message is actually sent by the service. Is there any way to send a particular broadcast

Re: [android-developers] Re: Honeycomb SDK

2011-02-12 Thread Dianne Hackborn
Sorry I thought I was being pretty clear. Do you consider Apple's 3.2 version of iOS to be a fork of their platform in the way you are describing? I mean, you can define fork in various ways, and you could justifiably say such a thing is a fork (though transient). But you seem to be concerned

Re: [android-developers] Re: Poor relevancy in Android market since yesterday.

2011-02-12 Thread Kevin Duffey
Can someone get into google, figure out what sort of algorithm they are using, so we can adjust our apps descriptions to always appear at the top? On Sat, Feb 12, 2011 at 8:34 AM, Jon F Hancock jonfhanc...@gmail.comwrote: Come to think of it, Radiant HD popped to the top of the list when I

Re: [android-developers] debugging services, broadcast messages

2011-02-12 Thread Dianne Hackborn
You can use the am shell command to send a broadcast. Use adb shell am to get a help summary. Don't use it to send a BOOT_COMPLETED broadcast, since if you are allowed to do that you will cause all kinds of chaos as tons of stuff receives it and thinks the system has booted again. Instead use

Re: [android-developers] Re: Android MVC Framework

2011-02-12 Thread Kevin Duffey
I am a little confused about this android MVC. I always associate MVC with a server side architecture, such as Struts, or Spring Web. I thought at first the OP was asking about building a web server on an android device using MVC. So I am not sure I see how MVC is relevant to android apps

Re: [android-developers] Distinguish between Power button and Screen timeout

2011-02-12 Thread Dianne Hackborn
Hm, apps shouldn't see the power key, that is consumed by the system. On Sat, Feb 12, 2011 at 3:51 AM, Mark Murphy mmur...@commonsware.comwrote: In your own activity, you can watch for KEYCODE_POWER in onKeyDown(), apparently:

Re: [android-developers] Re: Does the Google app store allow apps that target just 1 device?

2011-02-12 Thread Dianne Hackborn
In fact, if a device has its own proprietary APIs, those are expected to be expose to apps through a shared library, so you access them through uses-library, so by having this dependency your app will automatically be filtered by Market as described. On Sat, Feb 12, 2011 at 12:45 AM, Indicator

Re: [android-developers] Re: Android MVC Framework

2011-02-12 Thread Mark Murphy
On Sat, Feb 12, 2011 at 1:40 PM, Kevin Duffey andjar...@gmail.com wrote: I am a little confused about this android MVC. I always associate MVC with a server side architecture, such as Struts, or Spring Web. MVC was originally a client-side architecture. In fact, it originated with Smalltalk:

Re: [android-developers] Re: In app billing...

2011-02-12 Thread Kevin Duffey
So one thing I haven't found yet.. is in-app only for 2.3 and later apps? Or is the SDK going to work for 2.0+? Given that 2.1 and 2.2 are the majority market, with 2.3 going to be building up this year, I am fine with it targeting that, but if it's 2.3 and later, that kinda sucks because it will

Re: [android-developers] Re: Sliding Drawer question

2011-02-12 Thread Kevin Duffey
Reminds me of trying to develop a web site with using JSF.. the visual editors suck at providing any sense of the actual layout and look and feel. Always better to do it in code and refresh the changes in the browser. On Sat, Feb 12, 2011 at 4:45 AM, Cliff Davies cliff.dav...@gmail.comwrote:

Re: [android-developers] Re: In app billing...

2011-02-12 Thread Kostya Vasilyev
This: http://developer.android.com/guide/market/billing/billing_about.html says: In-app billing relies on version 2.3.0 (and higher) of the Android Market application, which may not be available yet. and doesn't say anything about the platform version. -- Kostya 12.02.2011 21:56, Kevin

Re: [android-developers] Re: In app billing...

2011-02-12 Thread Miguel Morales
According to the docs, it's going to be for 1.6+ devices. They will be pushing updates to the market app worldwide at some point. It's not really an SDK. It's an aidl file which you use to communicate with the market app. But with no 2.3.0 version of the market app available yet, it's not

[android-developers] Re: Castor unmarshalling with Android's SAX DOM implementation throws: The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled

2011-02-12 Thread Alexey Skor
Same here... My library does not work on Android because of this bug ( https://code.google.com/p/redmine-java-api/issues/detail?id=13). Any updates on this? I'm quite disappointed that Android uses something, which looks like Java, but is not really Java - so many incompatibilities... Sad. --

[android-developers] Re: Account name with spaces throws Exception on Android 2.2

2011-02-12 Thread marten
Hi Dmitri, thanks for your answer. Because my first mail took a few days until it appeared on this list I reported this bug myself: http://code.google.com/p/android/issues/detail?id=14505 You may want to mark it as duplicate. I still have a question regarding this issue: Are other characters

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-12 Thread zenperttu
Hari: this is exactly what I'd like to do. The EditText will be used to input a specific value with only certain units allowed. So I have extended android.inputmethodservice.Keyboard and use it together with android.inputmethodservice.KeyboardView so that the keyboard only shows the characters

[android-developers] Hello

2011-02-12 Thread KEN
I have searched on the network about how to upgrade ADP2 to 2.2 or newer, is there effective way to do that? -- 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] ListView Dyamically selected layout based on Item type in row.

2011-02-12 Thread AndroidDevTime
Could some explain in detail how it is possible to have a ListView where each item in the list is rendered by its type and has different layout. So to clarify if i have ten rows they will all have the same layout if they are each the same type of record like non-fiction book. If have of the

Re: [android-developers] ListView Dyamically selected layout based on Item type in row.

2011-02-12 Thread Kostya Vasilyev
Probably the best write-up I've seen about this: http://android.amberfog.com/?p=296 -- Kostya Vasilyev -- http://kmansoft.wordpress.com 13.02.2011 1:26 пользователь AndroidDevTime androiddevd...@gmail.com написал: Could some explain in detail how it is possible to have a ListView where each

Re: [android-developers] Re: Please give us the samples

2011-02-12 Thread Kostya Vasilyev
I don't have the sdk installed under Program Files, and still got this error when updating some sdk components (outside Eclipse). This is Win 7 64-bit, with administrator rights. In the end, had to remove all Android stuff (keeping Java and Eclipse) and reinstall, then it worked. Didn't take more

[android-developers] Re: Poor relevancy in Android market since yesterday.

2011-02-12 Thread Nathan
On Feb 12, 10:37 am, Kevin Duffey andjar...@gmail.com wrote: Can someone get into google, figure out what sort of algorithm they are using, so we can adjust our apps descriptions to always appear at the top? Traditionally, their algorithm hasn't been that complicated. You could pretty much

[android-developers] Android Market: New country/region pricing - non-US sales drop to zero

2011-02-12 Thread JP
Hard to say from the outside if this is connected, but... After setting a variety of country/region pricing in the Android Market console - GBP, EUR and so forth - I continue to see sales in USD only, at the USD price point of $2.99. I'd expect sales in other currencies, or the exchange rate

[android-developers] Re: Serious problem on Android 2.3 and XmlSerializer

2011-02-12 Thread Bob Kerns
While you are not crazy to think *null* might mean something useful, let me point out the line of reasoning you need to follow: Exactly what namespace did you expect *null* to give you? Why do you hold the opinion that *null* should give you this namespace? And exactly what namespace are you

[android-developers] Emailing Google Publisher Support

2011-02-12 Thread Brill Pappin
Having started developing for android on my own, then publishing under my company, I want to consolidate all the apps into the company account. This is apparently possible, re: https://market.android.com/support/bin/answer.py?hl=enanswer=139626 However I don't see how I contact Google or if I

[android-developers] Re: Default browser comms

2011-02-12 Thread kypriakos
Hi Ganesh, still no solution. It makes no sense to me for the native browser not to be able to handle such responses correctly. I can see the request reaching the remote web server and I can see the responses leaving the web server to come back to the phone but the android browser completely

[android-developers] Re: Serious problem on Android 2.3 and XmlSerializer

2011-02-12 Thread Streets Of Boston
The documentation of the *startTag* method mentions this: ... If namespace is null no namespace prefix is printed but just name... Regardless of the XML starndard, this means that null is a valid and documented input for this method. If this has suddenly become broken in 2.3 (i haven't seen

[android-developers] Re: Android Market: New country/region pricing - non-US sales drop to zero

2011-02-12 Thread Nathan
I don't think it takes yet, although it isn't clear when it does. I have not seen a single non USD value, or any variance from the USD price. -- 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] It's not the browser?

2011-02-12 Thread kypriakos
Hi all, I have tried a number of other browsers (Dolphin, Opera Mini, Opera Mobile) and although the last two falsely advertise that they implement cross-origin resource sharing solutions, Dolphin seems to work exactly the same as the native browser - it sends out the Ajax request to the remote

[android-developers] Re: Does Android have an ideas submission website like Adobe?

2011-02-12 Thread Eric Wong (hdmp4.com)
Try this site.. http://www.appubator.com/ Btw, I think there are existing application on Android market that can do something similar. On Feb 13, 2:23 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 12 February 2011 14:56, 95Ghz tom...@gmail.com wrote: My idea proposal is to create a

Re: [android-developers] Emailing Google Publisher Support

2011-02-12 Thread TreKing
On Sat, Feb 12, 2011 at 11:04 PM, Brill Pappin br...@pappin.ca wrote: Does anyone know if there is a specific support address to use for publishers? http://www.google.com/support/androidmarket/bin/answer.py?answer=136601hl=en

[android-developers] What parameters are needed send C2DM messages?

2011-02-12 Thread Indu
I am writing the third party application server part of the C2DM messages. I've signed up and have the following: sender_id = my...@abc.com application_id = mycompany.test Using the above two pieces of information I can register on the mobile and can send the registration id to my application