Answering my own question, for the benefit of others
>
So after a lot of reading of the fragment manager code i came across these
magical lines:
// For fragments that are created from a layout, when restoring from// state we
don't want to allow them to be created until they are// being reload
In the following code, the fragments are being dynamically inflated from a
layout xml. The issue i am facing is that I dont see the fragments when i
rotate the device.
If I look at the fragmentManager, I do see fragments are there. They are
added and attached, but no where on the screen.
M
I am trying to find classes inside a package in Android.
PathClassLoader.getResources(packageName) does return an Enumeration, but
its empty. What am I doing wrong?
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
String path = packagePath.replace('.', '/');
Enumerat
I have a couple of question regarding onRestoreInstanceState and
onSaveInstanceState.
1) where do these methods fit the activity lifecycle? I have read a lot of
documentation but there is no clear idea, except a broad statement that
when the state of the activity is to be saved
2) Are onCrea
Hi!
In my application I have a custom layout containing a linear layout,
relative layout and a list view. The problem that I am facing is that
when I set a onScrollListener on the ListView, I just get onScroll
once. However if I run a similar code part of google's example list 9
i get onScroll cal
Hi!
I figured out the solution. Its just another permission we have to
declare we use android.permission.INTERNET.
Rgds
Nitin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to thi
Hi!
Folks, I have recently upgraded my application to the recent version
of Android SDK and since, the upgrade I am facing a strange problem.
The problem is as follows:
DatagramSocket socket;
int port = 5060;
socket = new DatagramSocket(port);
When the application executes this API, I get a So
Hi!
I am currently involved in development and porting of applications on
Android. While I understand that Android does not have a RTP/RTCP
stack, however, having looked through the brochure published by Packet
Video (supplier of media engine for Android) it appears end to end
voice/video exchang
Hi!
I am working on a Peer to Peer application. When I run this
application in debug mode with emulator attached, the application and
send and receive packets, however, when I run the application in
Standalone mode, by simply launching it from the emulator. Sockets
dont give any error, but they d
Thank You so much!
I think the problem was with Windows. I upgraded to Windows Vista SP1, the
problem is solved.
Anyways, good piece of advise for the future.
Regards
Nitin Khanna
www.hsc.com
On Fri, Apr 18, 2008 at 10:02 AM, Digit <[EMAIL PROTECTED]> wrote:
> you should be able
Hi!
When I try to insert an object into a Hashtable. It is
failing occasionally, but it always executes once successfully. Can
anyone suggest what is it that would be wrong?
Regards
Nitin
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
.
Now, if we have a framework like an intent parser and identifier, the
application, can still invoke the correct activity based on what the
framework returns. I think this is still in-line with your thoughts.
Any comments.
Regards
Nitin Khanna
www.hsc.com
On Apr 8, 12:12 am, hackbod <[EM
have been
allocated by the emulators. This solution is what we usually use in
NAT traveral, a minimalistic version of STUN protocol.
Regards
Nitin Khanna
Hughes Systique Corporation
On Apr 7, 11:13 pm, Amit <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am trying to develop small chat ap
Hi!
Is there a way in android to extend the intent identification logic
for existing applications. Say for example i type in the rss feed url
or an http url in the phone application or something similar. So can I
extend the identification logic such that the application executes a
parser defined
Hi!
How do I extract all the interface address attached to the emulator.
The address which is being retrieved for now is the loopback address.
My application logic requires the IP address to be retrieved, as it
based on P2P communication. Any suggestions.
Regards
Nitin
--~--~-~--~~--
15 matches
Mail list logo