[android-developers] Re: Cost effectiveness of JSON in Android

2010-12-20 Thread DanH
I don't quite understand what you're asking. By direct connection do you mean on the phone or over the web? JSON is a valid (and pretty good) way to represent data regardless of where it is or how it's being transmitted -- much more efficient to generate and parse than XML, better integration

Re: [android-developers] Prevent an Android Service from getting destroyed after an unbind

2010-12-20 Thread Artak Kalantarian
I assume you are calling Bind with Context.BIND_AUTO_CREATE flag to start the system. Try to explicitly call startService before calling bind. Artak On Mon, Dec 20, 2010 at 4:29 PM, Kalyan Akella kalyan.ake...@gmail.com wrote: Hi, I have a scenario which requires the Android service from

[android-developers] Re: Prevent an Android Service from getting destroyed after an unbind

2010-12-20 Thread jotobjects
What if the user turns off the power between step 5 and step 6 (or between step 4 and step 5)? Or gets a phone call and never returns to the app? Or uses Settings to kill the Service? The point is that that the application should be designed to expect such normal conditions and not rely on a

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread nick
On Dec 21, 8:26 am, Zsolt Vasvari zvasv...@gmail.com wrote: It's still exactly like before.  The orders get updated with the 24hr+ rolling schedule. Thanks for the confirmation. I have some orders that updated in less than 24 hours, but most are updated in about 27 hours. As usual, the ways

[android-developers] How to embed a package in another package

2010-12-20 Thread Jiang
I have 2 packages a.apk and b.apk, is it possible to embed b.apk into a.apk, that when I install a.apk, b.apk is installed automatically, and when a.apk is uninstalled, b.apk is uninstalled as well? Thanks. -Jiang -- You received this message because you are subscribed to the Google

Re: [android-developers] How to embed a package in another package

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 8:09 PM, Jiang webs...@yahoo.cn wrote: I have 2 packages a.apk and b.apk, is it possible to embed b.apk into a.apk, that when I install a.apk, b.apk is installed automatically, and when a.apk is uninstalled, b.apk is uninstalled as well? Doubtful. Why don't you just

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread nick
On Dec 21, 11:09 am, Jiang webs...@yahoo.cn wrote: I have 2 packages a.apk and b.apk, is it possible to embed b.apk into a.apk, that when I install a.apk, b.apk is installed automatically, and when a.apk is uninstalled, b.apk is uninstalled as well? Please don't hijack threads. Start a

Re: [android-developers] How to embed a package in another package

2010-12-20 Thread Jiang
Since the 2 packages are developed by 2 teams, it is more simple to maintain souce code in embeded mode. --- 10年12月21日,周二, TreKing treking...@gmail.com 写道: 发件人: TreKing treking...@gmail.com 主题: Re: [android-developers] How to embed a package in another package 收件人:

[android-developers] Re: Game pretty much like mine

2010-12-20 Thread Adam Hammer
I made a game in 8 days a while ago and there is a similar game with a similar name, so I renamed it and launched anyways. Competition is healthy, do a better job than your competitors to win. The game that I released I titled Drop Bloks then once publishing to market I saw a Drop Blocks with a

Re: [android-developers] Re: Game pretty much like mine

2010-12-20 Thread Miguel Morales
I just released an alpha version of my game which has taken me over a year to make. Checking out the market, it doesn't seem I have much competition. I get a nice niche though, which is multiplayer games. The market is becoming increasingly saturated, I'm guessing to stand out you have to step

[android-developers] Re: Want to write a forum reader

2010-12-20 Thread Mystique
Thanks TreKing, You are right, been doing my research in google now. Thanks for pointing out the light. On Dec 9, 7:27 am, TreKing treking...@gmail.com wrote: On Tue, Dec 7, 2010 at 3:11 AM, Mystique joven.ch...@gmail.com wrote: Can anyone give me some light what is involve and generally how

Re: [android-developers] How to embed a package in another package

2010-12-20 Thread TreKing
2010/12/20 Jiang webs...@yahoo.cn Since the 2 packages are developed by 2 teams, it is more simple to maintain souce code in embeded mode. Then have these two teams give you two jar files or one jar and one apk that uses it.

Re: [android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 8:13 PM, nick nikolay.elen...@gmail.com wrote: On Dec 21, 11:09 am, Jiang webs...@yahoo.cn wrote: I have 2 packages a.apk and b.apk, is it possible to embed b.apk into a.apk, that when I install a.apk, b.apk is installed automatically, and when a.apk is uninstalled,

[android-developers] onClick for ExpandableListAdapter

2010-12-20 Thread Kevin Anthony
I would like to invoke a function when a child is clicked within a ExpandableListAdapter The children are ViewHolders. Below is my getChildView from myExpandableListAdapter class. it reacts to Long clicks, but i can't figure out how to also get it to react to a short click. Thanks Kevin

Re: [android-developers] onClick for ExpandableListAdapter

2010-12-20 Thread TreKing
On Mon, Dec 20, 2010 at 10:07 PM, Kevin Anthony kevin.s.anth...@gmail.comwrote: I would like to invoke a function when a child is clicked within a ExpandableListAdapter

Re: [android-developers] Prevent an Android Service from getting destroyed after an unbind

2010-12-20 Thread Kalyan Akella
Thank you the reply. Yes, I'm using BIND_AUTO_CREATE flag to bind to this service. I'll try doing an explicit startService before bindService. I'll post here how it goes. Sincere Regards, Kalyan -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: KillProcessesWithOpenFiles

2010-12-20 Thread Pink
Hi, I have a small doubt. I have one file handler, which is created by opening a file on SD card. If i listen to SD card unmount broad cast. Can i close the file handler without my appliaction is being closed by android system ? Is there any grace period of time when we receive

[android-developers] Re: Illegal continuation byte in NewStringUTF

2010-12-20 Thread Bob Kerns
Just as a matter of practice, ALL of your source files (and data files over which you have any control), should be stored exclusively as UTF-8. This will avoid this problem, and many, many others. Think how much time you'd saved, just by making sure that you toolset is set to use UTF-8 before you

[android-developers] about the market 15 minutes refund window

2010-12-20 Thread metal mikey
@Jiang: To solve your problem, first you need to make your own thread and stop being so rude as to hijack pre-existing threads. ...2nd warning, facepalm On Dec 21, 1:28 pm, Jiang webs...@yahoo.cn wrote: Since the 2 packages are developed by 2 teams, it is more simple to maintain souce code in

[android-developers] Re: Prevent an Android Service from getting destroyed after an unbind

2010-12-20 Thread Kalyan Akella
Thank you for the reply. I should have made it more explicit in my question earlier. The delivery of the message (with the best possible geo-location) in Step 5 is of paramount importance in my application. In fact the very reason why the service S is a location listener is because I want to

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread metal mikey
@TreKing: because the subject was changed, gmail lists it as a 2nd conversation, however it remains bound to the same thread in Google Groups because it continues to use the docid from the original thread (that had its subject changed). Try emailing yourself an email with a certain subject, then

[android-developers] Re: Cost effectiveness of JSON in Android

2010-12-20 Thread metal mikey
You'd likely sooner run into a bottleneck caused by the finite number of DB connections allowed than you would run into a bottleneck in performance of a webserver serving JSON. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Android, HTTP and XML

2010-12-20 Thread kypriakos
Hi all, I asked the question regarding the issues of using Ajax/XMLHttpRequest with Android's browsers a while back but didn't get many responses back. I got the pt that Ajax is not necessarily the technology of choice in Android - so the next question is, what do others use to accomplish

[android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-20 Thread Morrison Chang
Look at http://code.google.com/p/apps-for-android/ Specifically the code for BTClickLinkCompete for a sample of Bluetooth connectivity. http://code.google.com/p/apps-for-android/source/browse/#svn%2Ftrunk%2FBTClickLinkCompete I think the air hockey sample supports 4 other devices along with the

[android-developers] Re: Cost effectiveness of JSON in Android

2010-12-20 Thread Brill Pappin
I wouldn't be too hasty about removing the JSON. XML will cost you more in terms of resources and connecting directly to a database is likely also going to be more costly (although without seeing the actual implementation, I can't be sure of that). JSON is actually about as perfect as it gets

Re: [android-developers] How to embed a package in another package

2010-12-20 Thread Jiang
Thanks, Both a.apk and b.apk contains UI and resources, so if I export a.apk as a.jar, and import a.jar to the project of b.apk, during building, the following message display: Error generating final archive: duplicate entry res/drawable/icon.png would you please tell me how to implement as

[android-developers] Re: Game pretty much like mine

2010-12-20 Thread Brill Pappin
If you put the time in and your ready to go, just deploy it. Never mind what the rest are doing, you'll never get the market experience you need without deploying it. So... just deploy it already. The worst that can happen is that you only even get a few hundred downloads. What's the best

Re: [android-developers] Ticker issue....

2010-12-20 Thread Abhilash baddam
Hi thanks for your reply, can anyone send me the code snippet regarding this issue. Regards, Abhilash On Mon, Dec 20, 2010 at 11:21 AM, TreKing treking...@gmail.com wrote: On Sun, Dec 19, 2010 at 11:48 PM, Abhilash baddam

Re: [android-developers] Re: Android 2.3 SDK Emulator is very slow

2010-12-20 Thread lv
Yes, Android 2.3 SDK Emulator is very slow, and I got a reboot when test my app. On Thu, Dec 16, 2010 at 1:33 PM, Doug C. zif...@gmail.com wrote: I noticed the same thing. I'm simply running the Notepad tutorials. Previously I was running the 2.2 emulator, but after upgrading to 2.3 it seems

[android-developers] TextView bug or feature?

2010-12-20 Thread Brill Pappin
Ok, I might be mistaken about this, and I can't image nobody else has noticed... so before I put in a bug report: The TextView seems to be doing something odd with HTML input. the *strong* tag is renders as the *em* tag and the *em* tag is ignored. This is on a Galaxy Tab so it could be

[android-developers] Re: Android:: Service::OnDestroy being called late..

2010-12-20 Thread JC
Thanks Mark, Yes i realize that too. that Service::OnCreate and OnDestroy is called after Activity::OnCreate and OnDestroy always. Then what/how can we get resultant data from service ? Thanks in advance. JRC On Dec 20, 12:55 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Dec 20,

Re: [android-developers] Re: KillProcessesWithOpenFiles

2010-12-20 Thread Dianne Hackborn
You have a little time to close it. Just have your app sitting there with the file open and not listening for the event, and go through the UI to unmount it. You can watch what happens; you'll see a number of logs about what is going on. On Mon, Dec 20, 2010 at 8:14 PM, Pink

[android-developers] Doubts

2010-12-20 Thread Chirayu Dalwadi
I have few doubts 1. Can we answer the android phone using a program? 2. How sound file is recorded and stored in android? 3. How sensors work? 4. How to control the back-light by program? -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-20 Thread 苗鹏
I will have a try! Thanks ! 2010/12/21 Morrison Chang morrison.ch...@gmail.com Look at http://code.google.com/p/apps-for-android/ Specifically the code for BTClickLinkCompete for a sample of Bluetooth connectivity.

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread Zsolt Vasvari
Changing subject back. On Dec 21, 1:05 pm, metal mikey coref...@gmail.com wrote: @TreKing: because the subject was changed, gmail lists it as a 2nd conversation, however it remains bound to the same thread in Google Groups because it continues to use the docid from the original thread (that

[android-developers] Re: What is the structure of the Android PackageManagerService?

2010-12-20 Thread Geet
Hi, I am not sure if its a porting/framework question.Let me repeat the question I just need to give message to the user when he clicks on the downloaded .apk files, the message would be like Right now the installation is blocked. And the same time if he tries to uninstall certain apps, he should

Re: [android-developers] I am getting keyDispatchingTImeout

2010-12-20 Thread Ravindra Chavan
Respacted Sir, Could u send me solution for, i am sending my code herewith which is written in java /*..To Extract specific data from web page..*/ import java.net.URL; import java.net.URLConnection; //import

[android-developers] Re: Do new threads inherit the priority of the creating thread in native code?

2010-12-20 Thread Bytes
fadden fadden at android.com writes: On Dec 15, 4:03 pm, Doug beafd...@gmail.com wrote: Does anyone know in Android/Linux if new threads inherit the priority of the creating thread?  I'm setting the priority of a thread using android.os.Process.setThreadPriority, which calls

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2010-12-20 Thread Brill Pappin
Haha. by making sure the unfair competition advantage stays at home :) I love free trade... On Dec 18, 7:08 pm, Dianne Hackborn hack...@android.com wrote: On Sat, Dec 18, 2010 at 3:48 PM, r...@thelogicbox richlarco...@gmail.comwrote: Valid point, or maybe it's intentional for non-US

[android-developers] Re: Anyone know where I can buy NFC tags?

2010-12-20 Thread Brill Pappin
Most tags will already be written, thats kind of what they are supposed to be. They are static-unique identifiers. I think you can get writable ones, but that's not usually the kind of application you would be writing unless you have a very specific niche. For tags to test with, you can get a

[android-developers] Re: Anyone know where I can buy NFC tags?

2010-12-20 Thread Brill Pappin
As mentioned, you usually don't write to tags like that. They come preset with a ~UUID. Each one would be different. - Brill Pappin On Dec 18, 9:41 am, Ted tedpo...@gmail.com wrote: I'd like to buy some NFC tags for use with the Nexus S / Android 2.3.  Anyone know where I can fin such things?  

[android-developers] what is the meaning of FSL?

2010-12-20 Thread 袁堂夫
Who can tell me? Thank you very much~ -- 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] Regarding KeyDispatchingTImeOut

2010-12-20 Thread Ravindra Chavan
Respacted Sir, Could u send me solution for, i am sending my code herewith which is written in java /*..To Extract specific data from web page..*/ import java.net.URL; import java.net.URLConnection; //import

[android-developers] Re: Doubts

2010-12-20 Thread Brill Pappin
Although I can see that English is not your first language and I think you deserve a pat on the back for attempting to communicate in a mostly English forum. However... Every question you just asked, you should have tried to look up first. Start here: http://developer.android.com/ Then search

[android-developers] Re: about the market 15 minutes refund window

2010-12-20 Thread Brill Pappin
Actually that kind of fits with the processor industry and banking in general. Typically transactions are batch processed daily. This is similar to a retail setting were the registers are closed out daily. It's a legacy of when we used paper for all this stuff, but the banks still run the same

[android-developers] where is my data?

2010-12-20 Thread Stephan Wiesner
Hi, after updateing my Samsung Galaxy i9000 to the latest patch (still running Android 2.1) I can not find the data of my apps anymore. They used to be in /data/data/package name Now there is no such directory anymore. /data is empty. I tried to find it using DDMS in Eclipse and ASTRO app on the

<    1   2