We can set orientation in our activity onCreate() method
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
On Nov 28, 5:36 am, XdebugX xdeb...@gmail.com wrote:
I want my app to set the orientation to portrait
The error message
03-25 10:33:36.821: WARN/System.err(301): java.io.IOException: Unable
to connect to server: The operation timed out
This indicates there should be some problem with server address
Once check this address in any browser
On Mar 25, 10:52 am, snehalal gangadharam
at application level. How to catch this event
Please any help
On Feb 16, 3:06 pm, Karteek N kartee...@gmail.com wrote:
I am sending wap push using now sms software.I have a android development
phone.
The following is my code to receive wap push
Android Manifest file
receiver android:enabled=true
I am sending wap push using now sms software.I have a android development
phone.
The following is my code to receive wap push
Android Manifest file
receiver android:enabled=true android:name=.PushMsgReceiver
intent-filter
action android:name=android.provider.Telephony.WAP_PUSH_RECEIVED /
action
Hi
I implemented an application which will add contacts .
It is working in emulator perfectly. I have android 2.0.1 device
I am checking in that device but it is not adding contacts to contact list.
I have given necessary permissions like write contacts .
Any help
karteek
--
You received
Yes i registered receiver in the code instead of manifest file.
But problem is whenever if my activity is closed i need to unregister
it.
But my requirement is it needs to be listen for that event.
Why it not working if we are declared in AndroidManifest file.
Any help.
Regards,
Karteek
On Nov 3
Hi
I want to show some notification when android phone is connected to system.
I implemented BroadcastReceiver for listening to event
android.intent.action.ACTION_UMS_CONNECTED in my application
But it is not working.
Is it possible to capture this event
Please help
Regards,
Karteek
--
You
Thank u i understand
On Oct 28, 8:53 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
You'd have to register your broadcaster in your
code:http://groups.google.com/group/android-developers/browse_frm/thread/c...
On Oct 28, 4:53 am, Karteek N kartee...@gmail.com wrote:
How to cath
=android.intent.action.MEDIA_MOUNTED/action
/intent-filter
/receiver
/application
Any help please
karteek
--
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
You first declare a special layout file with all your
ImageView,TextView and checkbox.
and use that layout file while setting array adapter
On Oct 12, 3:41 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com
wrote:
hi all ,
the first Question :
---
i tried to make
3. Instead of localhost , i used ipaddress of the machine
means are you running any apache server.
Is your apache server is running?. I did some application with apache
server which is running on my machine and able to access without port
number
example http://myip/sample.xml
Check your server
Inorder to pass data using http post we need to set content-Type
field in http header.
Otherwise the server won't recognize your data which have been sent by
parms.
Try with the following
Example
httppost.setHeader(Content-Type,your content type supported
by u r server);
On Oct 11, 4:11
width in spinner.xml to some 60px instead of wrap_content
The string is cut into two are three rows but the background display
is still as the device screen width
Any help,
Thanks,
Karteek
On Sep 16, 10:01 am, Shashidhar shashi.zep...@gmail.com wrote:
Yes, You can do it. While setting
You can use File apis as follows
File f=new File(/sdcard);
if(f.isDirectory()){
String files[]= f.list();
for(int i=0;ifiles.length;i++){
Log.d(,files[i]);
}
And identify your file and construct file path and delete
On Sep 16, 11:56 am, cindy
When we select spinner it shows a display of items which almost the device
screen size
Can we minimize its width or height, I think this question was already
posted by some one. But i am unable to find solution
Thanks,
Karteek
--
You received this message because you are subscribed
If you want to give your desired string go and edit the following
res-values-strings.xml hello
On Jul 19, 12:24 pm, xuxu shlomitmay...@gmail.com wrote:
Hi all,
I'm newbie with android and eclipse and I got this strange
thing...when ever I'm running little program that I write on the
emulator
use the methode remove with position of the row
mAdapter.remove(2);
On Jul 9, 2:32 am, Albert albert8...@googlemail.com wrote:
Hi all,
Does someone know how to remove a row from a Listview?
I have an Adapter that takes care of the List and when I try
mAdapter.remove(Object) it does not
I started a sample application and called finish() method when user clicks
the button.
Then it is showing the android home screen and called the onDistroy() method
also.
But if i am executing the 'ps' command in android shell still it is showing
the pid of my application.
What is the meaning of
I started a sample application and called finish() method when user clicks
the button.
Then it is showing the android home screen and called the onDistroy() method
also.
But if i am executing the 'ps' command in android shell still it is showing
the pid of my application.
What is the meaning of
:25.792: INFO/dalvikvm(261): Unable to
dlopen(/data/data/sct.widget/lib/libmylib.so): Cannot load library:
link_image[1721]:30 could not load needed library 'libc.so.6' for
'libmylib.so' (load_library[1051]: Library 'libc.so.6' not found)
Please anyone can help me
Regards,
karteek
--
You received
we need to link it with our shared library
How can i do this please help me
Regards,
karteek.
On Jun 1, 8:01 pm, karteek kartee...@gmail.com wrote:
mah thanks for your reply
1 I checked in /data/data/mypackage/libs
my library is present in the above folder
Second aproach you suggested me
Hi,
I have one service in one application. In my second application i am binding
to that service
using aidl tool .
Now i want to send some data from my service to activity which is running in
second application.
How can i achieve this.
Any help please,
--
You received this message because you
:
That would likely mean you've compiled your library using an x86
compiler. That will not run on an ARM processor.
You do not have to use the Android makefile or build system to build
your library, but you do need to use the compiler that comes with the
NDK.
On May 27, 3:05 am, karteek kartee
unwind_phase2_forced
Regards,
karteek
On Jun 1, 4:32 pm, mah m...@heilpern.com wrote:
From what I've seen, the library not found error doesn't only occur
if the library cannot be found, however your first step now should
probably be to see if it should be found... open an adb shell to
your
i am working with eclips with the new SDK2.2.
while creating u r avd(emulator) there is option called sdcard size
you need to mention size
and in the below there is option called property
there include sdcard support option
On May 28, 2:37 pm, coolbanana ralf...@web.de wrote:
yes, i did it,
:
On May 25, 6:31 am, Karteek N kartee...@gmail.com wrote:
In above two cases it is throwing same exception
What exception? What does the logcat output show? If it's a dlopen()
failure you'll see the error message from that function in the log.
--
You received this message because you
didn't use the NDK?. There are great
chances that what you generated is not a valid ARM ELF binary that can be
loaded on Android.
On Tue, May 25, 2010 at 6:31 AM, Karteek N kartee...@gmail.com wrote:
Hi all,
I have gone through android ndk tutorials.
But i am little confusing in Android.mk file
In Music application there is a service class called
MediaPlayBackService,java
It is having a telephonestate listener.
This will monitor the telephone state and stops when any change in the
phone state.
If you remove that listener it won't stop song even you answer call .
But i didn't try ever
Hi all,
I have gone through android ndk tutorials.
But i am little confusing in Android.mk file as well as Application.mk file
so instead of that i used the following approach
I created a Test.java file which is having one native method.
i added the static{
System.loadLibrary(mylib);
}
By using
Hi,
When we going for ring tone settings
ie Home-Settings-SoundDisplaySettings/Phone Ringtone
it is displaying the
ring tones which are added from media player.
If we want to change we can select from the list and press ok.
I want to know the source code of it how it is collecting the data of
Hi,
I have a an application which is having some UI items like Buttons Radio
Buttons etc.
I want to change through code from landscape to portrait mode.
I did by calling the method
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
But my UI items totally disturbed some of the i
Hi,
In android manifest file there is a tag to include libraries called
uses-library.
Suppose if i have some java files in the package hierarchy called
com.my.lib
i used the following tag in my manifest file
uses-library android:name=com.my.lib /
Now it is compiled successfully.
But if i want to
it as pure Java
application but here it is also using some android api's.
what is the way to achieve this.
On May 10, 4:45 pm, Mark Murphy mmur...@commonsware.com wrote:
Karteek N wrote:
In android manifest file there is a tag to include libraries called
uses-library.
This is for SDK add-ons
Log cat is
05-11 11:02:12.062: ERROR/PackageManager(52): Package com.my.lib
requires unavailable shared library com.my.lib; failing!
On May 10, 3:46 pm, Vinay S s.vinay@gmail.com wrote:
Can post the LogCat Output..
-Vinay
On May 10, 12:21 pm, Karteek N kartee...@gmail.com wrote:
Hi
. Please fix project
properties.*
Why it is giving the above error. where iam wrong.
Please any one help me
Regards,
Karteek
--
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
to tv variable.
folder.show();
}
Any suggestions please
Regards,
Karteek
--
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
:
The maximum heap memory an process (app) gets in Android is 16M. That's not
that much,
a basic app takes already several MBs after you've only just started it.
- Anurag Singh
On Mon, Apr 26, 2010 at 9:34 AM, Karteek N kartee...@gmail.com wrote:
Hi all,
If i have implemented a database
Hi all,
Can we send sms using adb tool.
If possible can u provide any document or link
Regards,
Karteek
--
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
@Rogerio
My OS is ubuntu.And I already used these commands.But the device is
not getting displayed under ./adb devices.
@AJ
I have the Driver CD that came with the phone.But,it is for
Windows,the driver installer is in .exe.
How do I make it work for linux?
On Apr 26, 5:35 pm, Rogério de Souza
will it depends.
Please help
Regards,
Karteek
--
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+unsubscr
code like
process=rt.exec(cd sdcard);
process=rt.exec(ls);
Its throws exception
Any help please
Regards,
Karteek
--
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
the Java facilities for accessing the filesystem
and avoid all kinds of bugs you'd probably introduce -- like, for
example, handling spaces in filenames, etc.
On Apr 22, 5:50 am, Karteek N kartee...@gmail.com wrote:
Hi ,
I want to display what are the files and contents in sdcard through
If you declared EditText in xml file you can change by
EditText android:layout_width=50px
android:layout_height=50px
/EditText
where you can use any nuber instead of 50
On Apr 22, 12:32 am, dillipk codersnet2...@gmail.com wrote:
Hi,
How do I change the size of the controls placed
and 2.0 with google API also.
Any one can help me.
Regards,
Karteek
--
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
here is sample code
PackageManager appInfo = context.getPackageManager();
ListPackageInfo packageList=appInfo.getInstalledPackages(0);
packageList holds the all the packages in your android device/
emulator
check with ur application package
then you will get u r application information
to import above things.
Any help
Regards,
Karteek
--
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+unsubscr
46 matches
Mail list logo