[android-developers] Re: Secure area inside android

2008-06-12 Thread rayback_2
Thanks alot Justin, it was helpful Sincerely Ray On Jun 11, 7:13 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: Because while a privilege escalation is, as you say, not particularly likely, it wouldn't be necessary if the user could just plug their phone into a PC and do 'adb

[android-developers] Re: 16M Memory Limit

2008-06-12 Thread whitemice
...On top of this, by the time Android is fully loaded on a 64MB device only 10-20MB of RAM will probably remain.* So, essentially your application would use all system resources... 640K ought to be enough for anybody - Bill Gates (apparently)

[android-developers] Re: Porting FreeTTS on Android

2008-06-12 Thread Wesley Sagittarius
did anyone ever get it done??? I mean the TTS that u try to do... wesley. On May 28, 10:27 pm, frankl [EMAIL PROTECTED] wrote: Waqar, There are lots of codes changed when we porting FreeTTs on Android. they are not convenient to post here. for the problem in your project, I think first

[android-developers] Problem making my custom class into a Parcelable

2008-06-12 Thread Gavin Bong
Greetings, I'm getting this error when running ant aidl. [apply] /data/projects2008/android/iteration1/lib/src/org/android/ common/IAdUnitAvailability.aidl:5 parameter 1: 'Advert ad' can be an out parameter, so you must declare it as in, out or inout. In the package, I have: a) Advert.aidl

[android-developers] Re: Problem making my custom class into a Parcelable

2008-06-12 Thread Mark Murphy
Gavin Bong wrote: I'm getting this error when running ant aidl. [apply] /data/projects2008/android/iteration1/lib/src/org/android/ common/IAdUnitAvailability.aidl:5 parameter 1: 'Advert ad' can be an out parameter, so you must declare it as in, out or inout. snip c)

[android-developers] XML Consumption

2008-06-12 Thread Damien
Hi On my blog http://sleepydroid.blogspot.com/ I have posted an article on XML consumption using SAX - the code is also available via an svn repository (details on the blog). I hope you find it useful and/or I hope someone can tell me how to improve it's speed performance ;-) Regards D. ps.

[android-developers] Re: Google PLEASE don't let Android to dye

2008-06-12 Thread [EMAIL PROTECTED]
Do most software folks work for salaries in the enterprise space? Anyway, when I looked at the I-Fund and borrowing money from VCs, after one nights sleep it was clear that I could make no guarantee of timely repayment because there were too many timing aspects I did not control. The same is

[android-developers] Problem with returning result from activity

2008-06-12 Thread Borislav Bonev
Hi all, I'm trying to retrieve a result from sub activity but my method onResultActivity() is called before I set the result or at least the log say that. This is the snipped for starting the sub activity: protected static final int REQUEST_TEXT = 111; .. @Override public void

[android-developers] Re: Need help on supporting IGMP protocol on android

2008-06-12 Thread Rama Moorthy
Hi Thanks for your reply.Do you have any idea when google is going to release the Android source code Thanks in advance Rama On 6/12/08, Justin (Google Employee) [EMAIL PROTECTED] wrote: Disclaimer: I have no experience with IGMP. Possibly you could port it to Java and Android as a

[android-developers] Re: ViewInflate.inflate is VERY SLOW

2008-06-12 Thread Nickname
Thanks, Romain. Your suggestion is valid, because only 5 or so of the 20 views will be on the row at a time and the others will be hidden. Maybe I should not use ViewInflate.inflate() at all but add those view that need to be on the row programmatically. Nick. On Jun 11, 2:44 pm, Romain Guy

[android-developers] Re: Android sniffing application.

2008-06-12 Thread Pinech
On 12 Cze, 02:20, Shane Isbell [EMAIL PROTECTED] wrote: You could hook it up to a proxy/WAP GW and sniff traffic from there. Shane It is not the way in which I can do it. I need to sniff the traffic directly on mobile in my application. You'd need to write a native application to sniff

[android-developers] Re: ViewInflate.inflate is VERY SLOW

2008-06-12 Thread Romain Guy
You can (and should) use ViewInflate but you could separate your XML into several pieces. Another solution that I've used successfully for the Home screen is to write your own layout so as to reduce the number of Views. Note that the next SDK will provide several new XML tags to help reduce the

[android-developers] SharedPreferences vs Database, when to use which?

2008-06-12 Thread Danny
I made a simple login page, I pretty much regurgitated the Forwarding example in the API Demo. In addition, I added a Remember Me check box, which I promptly stored in a SharedPreference as boolean. I did some digging in the File Explorer, and found I could extract that XML file. Would I be

[android-developers] Re: Need help on supporting IGMP protocol onandroid

2008-06-12 Thread Justin (Google Employee)
Do you know much about the data storage on Android? Keep in mind that Android is a software platform that is designed to run on a variety of hardware. That being said, remember that most mobile devices have very limited internal memory by desktop/server standards. Its likely that not all

[android-developers] Re: SharedPreferences vs Database, when to use which?

2008-06-12 Thread Mark Murphy
So now, if rememberMe is set to true, they don't need to enter their username/passwrod anymore. Is this really the best way to go? Or should I have made a UserBean and do that Java stuff, or should I have stored that stuff in the SQLLite? If you already have a database and wanted to keep

[android-developers] Re: Need help on supporting IGMP protocol on android

2008-06-12 Thread Justin (Google Employee)
We expect the source code to be released once the first devices ship. Cheers, Justin Android Team @ Google On Jun 12, 1:15 am, Rama Moorthy [EMAIL PROTECTED] wrote: Hi Thanks for your reply.Do you have any idea when google is going to release the Android source code Thanks in advance Rama

[android-developers] Re: Android sniffing application.

2008-06-12 Thread Dushyanth Inguva
In one word. Nope. On Jun 12, 7:22 am, Pinech [EMAIL PROTECTED] wrote: On 12 Cze, 02:20, Shane Isbell [EMAIL PROTECTED] wrote: You could hook it up to a proxy/WAP GW and sniff traffic from there. Shane It is not the way in which I can do it. I need to sniff the traffic directly on

[android-developers] Re: GSolitaire is released

2008-06-12 Thread Neo
yes, i definitely should do that. a friend suggested me not to move selected card to the bottom. Instead, flashing it might be good. I am thinking to how to implement that. anyway, thank you for the idea! On Jun 11, 3:04 am, eric [EMAIL PROTECTED] wrote: ah, thanks, got it. Maybe you need

[android-developers] Re: GSolitaire is released

2008-06-12 Thread Josh Guilfoyle
You should translate this to a generalized solitaire engine and then program Klondike and other games as components utilizing that engine. In other words, I'd like to see Free Cell as well :) On Jun 12, 10:14 am, Neo [EMAIL PROTECTED] wrote: yes, i definitely should do that. a friend

[android-developers] Re: Problem with returning result from activity

2008-06-12 Thread hackbod
Are you using android:launchMode=singleTask or singleInstance? On Jun 12, 7:28 am, Borislav Bonev [EMAIL PROTECTED] wrote: Hi all, I'm trying to retrieve a result from sub activity but my method onResultActivity() is called before I set the result or at least the log say that. This is the

[android-developers] Re: Need help on supporting IGMP protocolonandroid

2008-06-12 Thread mwmarquez
As a java developer for more than 12 years I understand the need for encryption on certain data, and also understand that some devices will not have sd card hardware available. I was under the impression that any DB created will be assumed under the pre-defined data path by the android

[android-developers] Re: 16M Memory Limit

2008-06-12 Thread hackbod
The 16MB is not a hard limit built in to the APIs, it is a current limit based on the hardware we are actually running on. It is also a little tricky to raise the limit, because it would require making the VM's garbage collector smarter in how it manages memory: right now it mmaps a memory

[android-developers] Re: Storage: sorry about the subject

2008-06-12 Thread JBQ
Have you tried http://code.google.com/android/reference/android/database/sqlite/SQLiteDatabase.html#create(java.io.File,%20int,%20android.database.sqlite.SQLiteDatabase.CursorFactory) ? JBQ On Jun 11, 5:39 pm, [EMAIL PROTECTED] wrote: Justin: Do you know much about the data storage on

[android-developers] Re: Problem making my custom class into a Parcelable

2008-06-12 Thread Gavin Bong
Thanks Mark. On 12 juin, 18:20, Mark Murphy [EMAIL PROTECTED] wrote: This is only needed for non-primitive parameters to AIDL methods. So if the ad parameter were a float instead of an Advert, you wouldn't have received the error. Observe that java.lang.String parameters are not required to

[android-developers] Re: Porting FreeTTS on Android

2008-06-12 Thread Wesley
Any TTS android library available currently??? Any idea how should I start??? Wesley. On Wed, May 28, 2008 at 10:27 PM, frankl [EMAIL PROTECTED] wrote: Waqar, There are lots of codes changed when we porting FreeTTs on Android. they are not convenient to post here. for the problem in your