[android-developers] Netbeans for Linux and Android

2012-12-06 Thread SL@maxis
I am thinking of writing C/C++, java for Linux and Android, on desktop of course. Any problem with NetBeans ? Trying to kill 3 birds with one stone. Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message because you are subscribed to

[android-developers] Re: Re: Packing data onto socket stream ?

2011-12-31 Thread SL@maxis
If you're doing web dev and don't know about json, you're probably doing something wrong. Anyway, good luck with your odd approach. OK, OK, I shall look at it. May be it can simplify some of my tasks. You see there are always so many things to look into it that ends up looking a few

[android-developers] Re: Re: Re: Re: Re: Packing data onto socket stream ?

2011-12-31 Thread SL@maxis
If it's a trusted library such as apache (for example, the dynamically linked org.apache harmony system...) that's an entirely irrational fear. If it's a random jar you pull off a forum that's more understandable. If you want one, go find a trusted jar, make sure your download matches the

[android-developers] Re: Re: Packing data onto socket stream ?

2011-12-30 Thread SL@maxis
Well, now it sounds like you're reinventing mime types..., but this isn't a horrible way to do it either I suppose. In either case what's giving you the difficulty? You can send the bytestream by doing a standard read() and write() across the socket, so this shouldn't be too bad.. Thanks.

[android-developers] Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread SL@maxis
These days, it's common to use text-based formats even if it's somewhat less efficient -- to simplify development, debugging and later, maintenance and enhancements. I have not thought about this; anyway I have been more active with PHP, javascript intepreted languages (before C/C++,

[android-developers] Re: Re: Re: Re: Packing data onto socket stream ?

2011-12-30 Thread SL@maxis
If you have a background with php and javascript you should already know about json. What are you trying to do? This sounds like something a simple webservice with a fileserver could easily do. I have heard about 'json' but never bother with it. Those web related things are done with

[android-developers] Packing data onto socket stream ?

2011-12-29 Thread SL@maxis
I am sorry, I think this is not strictly an android question. From an android device, I want to a message to a PC via a socket. I am going to pack my data as follows: xxxThis is a greeting. where: xxx - message type (3 bytes, text) - integer, 4 bytes, length of text 'This is a

[android-developers] Emulator takes 15 minutes to start an app, something wrong ?

2011-12-13 Thread SL@maxis
I am just playing with some sample applications, eg LunarLander. It takes about 10-15 minutes to start when run the application. Have I missed something ? My machine: XP SP2, 1GB RAM, 10GB free space. Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You

[android-developers] Is this template in java

2011-12-01 Thread SL@maxis
Java format: ArrayAdapter(Context context, int textViewResourceId, ListT objects) Is the above template like in C++ ? I have a 15-year Java book; I think there is no such thing in there. I did a little search on net, but did not see documents explaining the above. Thanks. -- Using

[android-developers] Re: Search newsgroup

2011-11-18 Thread SL@maxis
Try the Search This Group button. I am reading from Opera 6.4, no such button. :-( -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Is there Android RS232 sample code ?

2011-11-17 Thread SL@maxis
Why not communicate with Windows via USB? Or WiFi? Or TCP/IP? Wish to hear about communicating with windows via USB, with a windows program I mean (sockets ?). Thanks for any tips. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message

[android-developers] Run PPP over USB

2011-11-17 Thread SL@maxis
1. What is the meaning of the following statement (online Android developer guide) ? 'Note that you should not automatically start a PPP connection.' 2. Once PPP-over-USB is enabled, is an Android device and PC on a LAN-like network ? Meaning if host is 192.168.0.1 and Android device

[android-developers] Search newsgroup

2011-11-17 Thread SL@maxis
Is there any method of limiting my search just to this newsgroup for example, ie without search the whole web ? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: device in sleep mode, service still working ?

2011-11-16 Thread SL@maxis
Depends on your definition of working. It's not terminated, but the entire device may go to sleep, unless something wakes it up. If you have an open network connection (WiFi or mobile, not sure about Bluetooth) and a packet comes in, the device will wake up for a short time. Keeping it

[android-developers] Open Accessory Protocol

2011-11-16 Thread SL@maxis
1. Has anyobe has come across implementation of Open Accessory Protocol on windows XP ? 2. (Not too sure after reading its web pages) Is it feasible to buy a Arduino board and plug it onto a pc running windows xp ? 3. Can I use MicroUSB2-to-ethernet adapter to plug into a pc ? If I am

[android-developers] device in sleep mode, service still working ?

2011-11-15 Thread SL@maxis
Assume I write a service (no interface) that communicates with a PC when an event occurs via WiFi or Bluetooth. When the phone goes into sleep mode, is the service still working ? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message

[android-developers] Re: Android and WinXP: look for some tips

2011-11-08 Thread SL@maxis
Customers will have to start usb debug mode to get the connection to work. But how can a socket connection via usb cable without usb debugging mode be established? Interesting question, but I don't know. But since someone points to DDMS in answering my first post, I post further to ask.

[android-developers] Re: Android and WinXP: look for some tips

2011-11-08 Thread SL@maxis
Customers will have to start usb debug mode to get the connection to work. But how can a socket connection via usb cable without usb debugging mode be established? I think there is a need to clarify since some insinuates there be some ulterior motives, that the programs I mentioned in my

[android-developers] Re: Re: Re: Android and WinXP: look for some tips

2011-11-08 Thread SL@maxis
It is. It enables not only debugging, but also other adb - based features, and does no harm. If you need some of those features to support a PC-side application, just leave it on. Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this

[android-developers] Android and WinXP: look for some tips

2011-11-07 Thread SL@maxis
I want to query an Android phone connected to a winxp PC via an USB cable. 1. Would socketing programming do the work ? Any better method ? 2. When, say an SMS comes in, I want the phone to notify the pc. Do I have to implement socket on Android as well ? Thanks. -- Using Opera's

[android-developers] Re: Android and WinXP: look for some tips

2011-11-07 Thread SL@maxis
Google is my friend http://developer.android.com/guide/developing/debugging/ddms.html I have a brief glimpse at the page, I a bit concerned that Android phoe would be running in the debug mode. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received

[android-developers] HTC SDK for windows XP - any advise ?

2011-11-05 Thread SL@maxis
I am planning to write an app on windows XP to access a smart phone's SMS/MMS messages (for my own use). I am thinking of buying a HTC. Any advise ? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message because you are subscribed to