Hi,
I am looking at way of connecting over rfcomm socket insecurely. I was
able to find the way mentioned below
Method m = device.getClass().getMethod(createInsecureRfcommSocket,
new Class[] {int.class});
tmp = (BluetoothSocket) m.invoke(device, 1);
This for the time being is doing what I want.
Hi,
I do not know what is the reason of this but I just installed one
Android app in Samsung Galaxy S - GT I9000 device and its displaying
Version code in App info screen. Whereas the Nexus One is displaying
the proper Version Name and not Version code.
Has anyone faced a similar issue and is
Hi,
Can you let me know how can one return two different views from
getView method?
I am able to return the row from the getView method but have no idea
about how to return the listview height.
Let me know how to do that in case you know it.
Thanks Regards
Sunil
--
You received this
Hi,
I will like to develop an App which modifies LockScreen of Android. I
have read in some forums that it is not supported as yet in the SDK
but there are some applications available that does exactly that.
One can surf http://www.androidzoom.com/android_applications/tools/
Hi,
I will like to know how can one port MAME on Android?
MAME is a Multi Arcade Machine Emulator and it does support ROM based
games. There is already one application called Android Arcade similar
to this one.
Can someone tell me how to go about porting it to Android?
Thanks Regards
Sunil
Hi,
I have a listview in my Android Application. Now, when the user
presses Next Button other contents will be loaded into the listview.
What I want is that if there are no more contents available then there
should be a toast displayed indicating that there are no more data
available.
Say, for
Hi,
I have a listview in which there should be different divider height
between different rows. So, how can we set the divider height
dynamically?
Suppose, I have 10 rows and there should be a divider height of 5
between first 2 rows and then there should be a divider height of 1
between next 5
Hi,
How do I implement it?
Is it actually possible?
Please let me know if you know the way of implementing it in an
Adapter.
Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I am developing an android application where I need to manipulate the
background image of the rows in listview on certain conditions.
Initially when the listview is loaded all works properly. But when I
scroll down to the listview and come up again the background image
changes. Can someone
Hi,
Did you signed your application?
MapView won't even display in another simulator on other system if its
not signed in the release mode.
I am not sure but please make sure that it is signed and check whether
it helps.
Regards
Sunil
--
You received this message because you are subscribed
Hi,
The reason for this type of behavior is probably the conditions that
have been put up to display the listview. Since, I need to change the
background image on certain conditions. Now, after scrolling those
conditions are not satisfied as it should be.
I think this will need to be checked by
Hi,
I am developing an application in which there will be a search screen
where user can search for specific keywords and that keyword should be
highlighted. I have found Html.fromHtml method.
But I will like to know whether its the proper way of doing it or
not.
Please let me know your views
Hi,
I am loading a listview dynamically. It is kind of a thread view in a
social networking application. Now there can be reply of reply. So, I
want to show reply of reply all together. So, for this purpose can we
load listview inside a listview. And how can this be done.
If anyone have any idea
Hi,
I don't think it is actually possible. If I understand your question
properly then you want option menu where 2 menu option are displayed
at the top and the one below it.
But as far as I know option menu has default nature of keeping all 3
in one row and if it has more than 3 then it will be
Hi,
I am loading a listview dynamically. I have set a .9.png image as row
background image. The main purpose of using .9.png image was to extend
the height of the image dynamically according to the contents of the
listview.
But, the image is not getting extended. The contents which can be
Hi,
Just to make it more clear, I want to have some text displayed at the
bottom of the image. An example of the view that I want is as below.
---
| Certain content goes here |
|
|
|
|
| some text
Hi,
I am trying to laod the listview dynamically. There are three
textviews inside a listview. The text to be set in the textview is
fetched from the server. All this is working fine. I am able to fetch
the text and am able to display it inside the listview.
The only problem is the position of
Hi,
It is solved now.
I was inflating the row.xml in a wrong way.
Regards
Sunil
--
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
Hi,
I have multiple listviews and would like to add those to Gallery View.
I tried by using addView method but that is not supported in Gallery
since its AdapterView.
Can someone suggest me how to add views to Gallery?
Regards
Sunil
--
You received this message because you are subscribed
Hi,
I am developing an application where I am using setDrawingCache and
then once I get the Bitmap I destroy the cache by using
destroyDrawingCache().
The application has been developed with Android SDK 1.6. When testing
the application in emulator with Android 1.5 the application throws
Hi,
Android is a Mobile operating System and Symbian is also Mobile
Operating System.
I don't think you will be able to install Android in Symbian. Android
is completely linux based.
I hope this helps you out.
Regards
Sunil
--
You received this message because you are subscribed to the
Hi,
I have a horizontal scroll view and there are four images in it. Now
what I want is the way to detect which image is focused currently. I
mean, is there any way that we can distinguish between the image that
is focused and other images. Currently all the images look quite
similar.
One more
Hi,
Android has Dalvik Virtual Machine and not Java Virtual Machine. So, I
don't think you will be able to use this class in Android.
In case, you want to try adding external jar to Android project you
can definitely do that. For that, keep the jar in the assets folder
and then add that jar to
Hi,
Avoid using getLastKnownLocation and try to use requestLocationUpdates
instead.
I think it is not finding any last known location and so its returning
null. This method will behave differently in different methods. So,
its better to use requestLocationUpdates.
Regards
Sunil
--
You
Hi,
I have two Activities A and B. I want to have the shrink Animation
when Activity A calls B and maximize animation when Activity B calls
A. I don't need the animation xml files for this.
When we call another Activity in Android it gives its default
animation and then it calls shrink
Hi All,
I have four images in the Gallery View. When we do swipe from left to
right or right to left the Gallery View moves all the images i.e if I
swipe from left to right from the first image then it will move to all
the four images.
What I want is that when I swipe it should only move to
Hi,
I have a RelativeLayout defined in xml and I call the
setContentView(R.layout.relativeLAyout) for displaying in Activity.
Now, if I want to resize this RelativeLayout then can it be done and
if yes, then can someone let me know how?
The inner components can be resized relatively to the
HI,
I know it can be done by giving height and width in xml layout file.
But, I want it to be done by the Java Code.
For example, I have a Layout file A.xml. In this, I have
RelativeLayout with layout_width = fill_parent and
layout_height=fill_parent. Now this layout should be resized to
Hi,
Thanks a lot.
It worked out.
But the inner views are not resized with this. Do we need to resize
each and every component. I mean RelativeLayout has TextViews or
Buttons as its child. Now, on button click event the view is resized
but then TextView and Buttons just disappears.
How can we
Hi,
You will need to purchase either the Android developer phone or you
will need some other device by HTC or some other manufacturer. If you
still think that its way too expensive then you can with Remote Device
testing from sites such as http://www.deviceanywhere.com
Hope this helps youp out.
Hi,
As Android supports multiple devices from different manufacturers
there are different screen resolutions supported.
The table that is available at
http://developer.android.com/intl/fr/guide/practices/screens_support.html#screen-independence
is not very clear to me.
It shows WVGA and FWVGA
Hi,
Can we set Title for a Menu Item in Android if it has an icon from
drawable?
I have a icon for a Menu Item and if I set the icon then the title
that is set for that Menu item is not visible.
Is this possible or not?
Hope to get a reply soon.
Regards
Sunil
--
You received this message
Hi,
I have looked into that tutorial.
I have four menu items and each having an icon of 320*68.
The problem is that the icon is 320*68 so it occupies all the space of
a menu item and the text is not displayed. If I remove the icon then
the text is displayed. Probably I am not able to write on
Hi,
Thanks for replying fast.
Can we change the background color of Menu items and then write on top
of it?
Thanks Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
In one of my Android Application I need to keep the title bar same but
the view that is shown in the rest of the screen changes. So, I have
taken different Activity for all the views that I need to show and set
the title bar in every Activities onCreate method.
Now, the problem is that I
Hi,
Thanks for your fast response.
I am just a bit confused by what you said.
Suppose I have a Class A that has my button logic, then according to
what I understood I need to
1. Create a subclass of A such as Class B extends A
2. Other activities subclass B such as Class C extends B
If
Hi,
One more thing then when I need to display this subclasses, will they
be displayed as we normally display one activity from another activity
i.e. startActivity(intentObj).
Please reply if anyone knows the solutions.
Thanks regards
Sunil
--
You received this message because you are
Hi,
I have been able to extend the class and get the button click event in
the same Activity.
But now there is another issue. I want to display images in Gallery
from that button click but its not happening so if I click on that
button from another activity. The onclick method is being called
Hi,
Well, I never knew so many people have replied to this post.
The issue has been solved.
Someone pointed out that the code had no context, Can I know what is
it and where should it be?
Thanks Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups
Hi,
solved it by setting the visibility of all the views to visible.
Regards
Sunil
--
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,
Hi,
I would like to do certain action on the Broadcast Receiver for
ACTION_POWER_CONNECTED. Can someone let me know the way of testing
this on emulator.
Thanks Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi,
Thanks a lot for your quick response Mark.
Well, this broadcast will let me know when the Power Adapter is
attached to it. Correct me if I am wrong?
Moreover, Can we start Bluetooth automatically?
Thanks Regards
Sunil
On Apr 7, 4:13 pm, Mark Murphy mmur...@commonsware.com wrote:
I
Hi,
I need to take the Bitmap of all the Views in ViewFlipper. But it
gives me the Bitmap of only the current content on the screen. Is
there any way of getting Bitmap of all the Views in the ViewFlipper.
Or is there any other way around to get the Bitmap of all the Views. I
have four views and
Hi,
I have used mostly the same way of showing multiple listviews as you
suggested i.e. using setvisibility.
But now what I want is to have the Bitmap image of all the four
listviews. Suppose, my activity starts and the data are loaded into
all the four listviews by binding them to their
Hi,
In case someone needs the reference of xml layout file, I have posted
that below too.
?xml version=1.0 encoding=utf-8?
LinearLayout
xmlns:android=http://schemas.android.com/apk/res/android;
android:orientation = vertical
android:layout_width=fill_parent
Hi,
Is there anyone who can let me know whats the issue with the code
above?
Thanks Regards
Sunil
--
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
Hi,
I want to have multiple listviews in single activity. But only one
listview should be displayed at one time. The listviews will be loaded
dynamically. So, how can I fill all the four listviews at the same
time and display only one.
If anyone knows the solution then please share it over here.
Hello Everyone,
Thanks a lot to everyone who tried to understand this question and
took the time to reply.
I have managed to do this by using View.draw and View.getDrawingCache
methods.
It returns the Bitmap of the View and then I can pass those bitmaps to
Gallery so that it can be displayed as
Hi,
Just to join you guys and let you know that even I am receiving this
mails.
Its really annoying that we cannot do anything in this regard.
Hope it gets sorted out quickly.
Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups Android Developers
Hi,
I have already asked this question regarding Payment Gateway
Integration into Android, but didn't got any satisfactory answers.
Can someone let me know is it actually possible to integrate any of
the above mentioned Payment Gateways into Android?
Mostly I think we can call their Web
Hi,
I have been able to minimize the View using animation. I have set the
animation for 500 duration, so the animation disappear after that
period.
Can someone let me know is it possible to have that shrunken view
permanently till someone clicks on it?
Please reply so that I can sort this User
Hi,
I am trying to mimic the view of IPhone Safari. And also, if you have
looked at the TweetDeck Application in IPhone.
It is quite similar to Anrdoid Browser, since it has minimized window.
What I have been able to do is minimize the view using Animation as
below :
?xml version=1.0
hi,
Can anyone let me know of doing this?
Or
Can someone tell me the way of adding Listview in Gallery?
I need to add multiple Listview in Gallery.
Hope to get a reply soon.
Thanks Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups Android
Hi,
Thanks for replying.
I appreciate your idea of using Webview but the problem is that
Webview will give me the image of on the Listview that is displayed on
the screen. There will be other listviews too which needs to
minimized. It is similar to TweetDeck application UI for Iphone.
The main
Hi All,
I want to implement IPhone safari like view in Android. The scrolling
can be done using Gallery I think. But how to minimize the views as
done in the IPhone Safari.
The Android Browser also have minimized view, can anyone tell me how
to implement it?
Any help in this regard would be
Hi,
Thanks a lot Mark.
That was really helpful.
Thanks Regards
Sunil
--
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
Hi,
Whenever I start any Android Application, initially a black screen
comes to the foreground for a split of a second and then the splash
screen comes up of the Application.
Can anyone let me know the way of avoiding it?
Hope to get a reply soon.
Thanks Regards
Sunil
--
You received this
Hi,
Below is the code that I am using in onCreate() method.
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
/* New Handler to
Hi,
Is there anyone who has developed such an application before? I just
want to make a Quiz Application where Questions will be fetched from
the database. So, I don't want to have a separate Activity for each
question, just to replace the questions and answers which will be in
checkbox. Can
Hi,
I am trying to develop a simple application where users need to answer
certain questions. I want that the textview should be changed
dynamically in the same activity with sliding to left or right
animation.
Can someone let me know how to do this?
Regards
Sunil
--
You received this
Hi,
Thanks a lot for replying.
I will look into TextSwitcher. Can we use ViewSwitcher to switch
between entire views. Actually I am developing a Quiz like game. And I
don't want to have another views for every question. So, what could we
do for just replacing the question that will be in
Hi,
I am trying to use Resource Qualifier for layout as layout-large. But
when the application is starting in the emulator its reading the same
file from default layout folder. The res folder structure is as
below :
res/
layout/login.xml
layout-large/login.xml
What I want is when there
Hi,
Yes, obviously I have read that.
The problem is currently being solved by using different layout for
different screen. I have created layout-hdpi folder under res and
specified the layout file over there for high resolution screen.
But I still think there can be a better solution for this
Hi,
I am using BaseAdapter for displaying the list. This list is fetched
by calling a Web Service. At a time only 20 records are returned. Now,
when the scroll of the BaseAdapter reaches the last record then the
application should fetch more records from the server.
So, what I want to know is
Hi,
I want to support most of the Android Devices for the application. The
problem that I am facing is the positioning of the EditText fields.
The User Interface gets displayed properly in HVGA Emulator but not in
WVGA emulator. The HVGA emulator is 320 * 480 screen resolution and
the WVGA is 480
Hi,
By using dip it should get displayed properly on all the screens. But
its not happening, so I think there may be some problem or may be I am
doing something wrong. It would be nice if someone can point out that.
Do we need to create a separate layout file for each screen type? This
will
Hi,
I want to develop UI of the application which looks similar on all
screen sizes. I have gone through the Android developer article
regarding this. I am using supports-screen tag but then also the
screen is displayed not displayed properly in the larger screens. The
screen is displayed
Hi,
I forgot to say that the issue is only the top margin. I am specifying
RelativeLayout and in that I am using EditText to which I have
assigned layout_marginTop=220dip. This edittext needs to displayed
inside an image. Its getting displayed properly in HVGA but not in
WVGA which has resolution
Hi,
I am facing a problem in designing LinearLayout. What I want is the
Textbox at the top and button bar at the bottom. But the top Textbox
just don't appear.
The xml file looks like this :
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
Hi Sreehari,
I already tried that, but now the button bar doesn't come at the
bottom of the screen. It stays at the top of the screen below the the
edittext. I want the EditText to be at the top of the screen and the
button bar at the bottom of the screen.
Thanks for replying though.
Can you
Hi,
Atlast I managed to solve it. The issue was the LinearLayout's
layout_height attribute. I was specifying the height to be 50dip and
the image was also of the same height. Just specifying the height as
fill_parent solved the issue for me.
Thanks anyways.
Thanks Regards
Sunil
--
You
Hi,
I want to display the Search Box in an activity. But I am not able to
get it implemented it properly.
Can anyone provide me with a simple demo of implementing it. I have
tried using API Demos example but the Search box just dont appear. I
don't know what is the problem. What I want is the
Hi,
I have been successful in implementing Search box. But this search box
comes when Search button is pressed. Is it possible to make this
Search visible on the screen whether button pressed or not. Currently,
whenever I press the Search button on the device the Search pops-up
and the back
Hello,
Is there anyone who can let me know how to achieve this?
I want that once the login button is clicked a ProgressDialog is
displayed and it should be dismissed only when the data from the
server has been completely loaded.
Can anyone guide how to accomplish this?
Thanks Regards
Sunil
Hi Everybody,
Can someone let me know the way of utilising the pinwheel or progress
indicator while loading the screen?
Hope to get a reply soon.
Regards
Sunil
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hi,
I have seen ProgressDialog for this and seems it is what I require.
But now what I want is that ProgressDialog should be visible till the
next screen is loaded it means while loading the next screen.
The application involves user authentication. Once, the user enters
username and password
Hi,
I will like to know how to integrate Payment Gateway like Paypal and
Google Checkout with Android Application? Is there any particular API
for Android or we can use API provided by Paypal or Google Checkout
directly.
Is there any code sample or link where there is information is
provided
Hi,
I want to implement chart in Android. I have gone through Achartengine
and deployed it in Android Emulator. Now can someone let me know
whether we can manipulate that Chart on touchevent.
I don't have much experience in Android chart so any help would be
appreciated.
Hope to get a reply
Hi,
I have signed an application with a private key.
Everything works fine, just when I verify .apk file with jarsigner -
verify filename.apk. But that results in jar is unsigned (signature
missing or not parceable).
Thanks Regards
Sunil
--
You received this message because you are
Hi,
Can someone tell me if there's any reason behind application developed
in Android SDK 1.5 r 3 is not working in Motorola Droid which has
Android 2.0. While installing the application it gives error as
Package parser error.
Are Android applications forward compatible? Will application
Hi,
I have kept the minimum SDK version to 3. Doesn't it mean that
application will work in any handset with Android 1.5 r 3 or higher.
Or will I have to upgrade to Android 2.0 and then again compile the
application.
Thanks Regards
Sunil
--
You received this message because you are
are doing or what the error you are getting (or
even where it is happening), though, so we can't give you much help.
On Thu, Dec 10, 2009 at 9:11 PM, javame_android su...@saltriver.com wrote:
Hi,
Can someone tell me if there's any reason behind application developed
in Android SDK 1.5 r 3
Hi,
I would like to know how to use Traffic View or how to get the traffic
details from GPS. Have I to use Traffic View only or is their any
other way that can let me know about Traffic in my route.
Thanks Regards
Sunil
--
You received this message because you are subscribed to the Google
Hi,
I want to play sound data which would be streamed from the site.
Actually the data would be embeded in zip file which would be .q3z
which is our own format for embedding 3d data with sound. Now
everything is working fine. I am able to parse the sound data from
that file and write it to file.
Hi,
I want to fetch the IMSI number so that I could keep it in memory and
detect whenever SIM card changes. Is it actually possible? Is there
anyone who can guide me a bit?
Hope to get a positive reply soon.
Regards
Sunil
--~--~-~--~~~---~--~~
You received
Hi,
I want to use Javascript engine in Android Application but that
application is not Browser based. Can we use javascript in
application? The function of javascript would be to execute certain
methods and pass on the values to Android Applications and then that
application will perform certain
Hi,
Is there anyone who can reply to this?
Regards
Sunil
On Sep 23, 6:37 pm, javame_android su...@saltriver.com wrote:
Hi,
I have developed an application and want to sign it. After signing the
application when I try to Align the final package with zipalign. But
there's no file called
Hi All,
I have developed an application which listens for the incoming
message. When the message arrives, I am reading that message then
invoking the service to delete that message. But when invoking the
service I get an error as unhandled exception InstantiationException:
Cannot instantiate the
Hi,
The API that you pointed out has not been included in Android SDK
1.5_r3. Will the current handsets be able to use this API if I include
this in my project.
Anyways thanx a lot for replying.
Regards
Sunil
--~--~-~--~~~---~--~~
You received this message
Hi,
Will the GsmCellLocation give me the proper result in CDMA network. If
my application uses GsmCellLocation, then will I be able to get CellId
and Lac value? If not then how to get those values on CDMA network.
Regards
Sunil
--~--~-~--~~~---~--~~
You received
Hi,
I really didn't get you what you want to say. Please be specific and
let us know what error do you get and when actually does it occur.
What are you trying to do? If you want to listen for the message then
you can do that using Broadcast Receiver and registering that receiver
in
Hi,
I would like to know whether Android handsets support CDMA network
also. Are there any handset which currently supports CDMA or every
handset has support for that. Actually I want to retrieve the location
information such as Cellid, LAC, MCC, MNC. But if the network is of
CDMA type then will
Hi,
I want to continuously listen for incoming messages in background. So
what would be the best way of doing it? Shall I make that application
as Service or just registering it as BroadCast Receiver would do. If I
register the listener then will it keep on running continuously. This
receiver
Hi,
I am currently just registering Broadcast Receiver for reading
incoming messages. And this also works in Background which is what I
required. Now is that Broadcast Receiver unregistered by Android
Application Manager automatically or will it be able to process every
incoming message.
I just
Hi,
I want the application to run in background. This application should
run continuously and should never get killed. Will running application
as Service solve this issue? The application should get started
automatically on start up. I don't need any GUI for this application.
The main issue is
Hi,
For synching with the server you can either use Web Services or have a
look at the Funambol Server. It is SyncML Server and is open source.
Hope this helps you out.
Regards
Sunil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi,
Can we use onDraw(Canvas canvas) method for drawing opengl es
application? Will rendering take place on Canvas object?
Hope to get a quick reply soon.
Regards
Sunil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
I want to implement OpenGL ES application on WebView. Can the
application be ported that way? I have an Applet Player which uses
JOGL for rendering purpose and JavaScript for event handling. Now to
port that application on Android I have completed rendering on
GLSurfaceView. For event
Hi,
I want to port Java Application to Android. The application is based
on JOGL. For implementing Texture part I need to find out an
alternative to ImageIO class. I have read about Bitmap class.
Moreover, can someone let me know how to load texture from Inputstream
which is not in the resource
Hi,
Can anyone let me know when this problems comes. I am trying to
download a file and then render it on the screen. I am able to
download the file this problem occurs when parsing and rendering of
that file should be started.
Hope to get a quick reply.
Thanks Regards
Sunil
1 - 100 of 110 matches
Mail list logo