Hi guys,
I am in a tricky situation, hope you can help me with it. I have 4 buttons,
horizontally placed one after another in a linear layout. When I press on
button 1, drag my finger to any other button and release touch, I want to
be able to get the view(button) on which the finger was lifted.
Hi,
I have seen some forums, skimmed through stackoverflow before posting here.
I need to know how I can add a string.xml file for a different language.
Android uses es to refer to english language. How can I use, say
values-XX and a String.xml file in it for reading values in my app? I
want that
Hi
I am somewhat familiar with localization in android. For languages like
English, French, we can put a string.xml resource file in their separate
folder. But for languages that are not supported, like a local language in
some part of my country, how can I make a separate folder for it? How will
Hi all,
I am using a textWatcher on an editText. I am able to limit it's length,
but I am unable to limit the number of lines in it. I want to allow only 4
lines (line breaks or return keys) in the editText. I am using the
following method to count number of lines (line breaks), but it returns
number would be 1. Hope that clears my point.
On Sun, Aug 5, 2012 at 9:46 AM, TreKing treking...@gmail.com wrote:
On Sat, Aug 4, 2012 at 10:57 PM, Farhan Tariq farhan@gmail.comwrote:
Any suggestion/help on how to limit editText to 4 new lines?
http://developer.android.com/reference
I managed to solve it. Apparently, I was using wrong regular expression. I
just needed to check for \n. Thanks though.
On Sun, Aug 5, 2012 at 9:58 AM, Farhan Tariq farhan@gmail.com wrote:
MaxLines won't work. Like I said, I need to count number of line breaks
(equal to \n, return, newlines
How I did such applications is that on ,say a button click, I
setContentView to another (supposedly) activity, and did its
initializations, overrode the onBackPressed method to reflect changes when
back button was pressed. But I am sure my way is one of the bad ways to go
about it. It makes the
I am really stuck at this. Someone please guide me. Thanks
On Tue, May 15, 2012 at 2:47 AM, Farhan Tariq farhan@gmail.com wrote:
Hi all,
I aim to make an app that would store sms messages with certain words
contained in an sms, and stop it from reaching the default messaging app. I
What do you mean check current mode? Wouldn't
AudioManager.isWiredHeadsetOn() do the job?
On Mon, May 14, 2012 at 7:00 AM, lbendlin l...@bendlin.us wrote:
I would check the current audio mode, and then test am.isSpeakerphoneOn()to
be false.
On Sunday, May 13, 2012 8:11:54 PM UTC-4, Farhan
Hi all,
I aim to make an app that would store sms messages with certain words
contained in an sms, and stop it from reaching the default messaging app. I
realize that I need to place a broadcast receiver for sms messages in my
app, but how do I ensure that If a message contains a KEYWORD, the
Hi,
I aim at playing a sound only if the headset is plugged in. How can I use
the sdk to check if headset is plugged in? Thanks
Regards,
Farhan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi developers,
I want to make an app that would download pdf files and keep them in
sdcard in encrypted form, such that the pdf can be opened by my app only
and not even with any pdf reader installed on the device. Is it even
possible? I would appreciate any help. Thanks
Regards,
Farhan
--
Is there a way to create an invisible tab in android, that would show up
only when you press the menu button or something like that. I do not want
it to show a separate tab in the tab bar, but when the menu button is
pressed, I want it to show while the tab bar is also visible. Please guide
me.
Oh, I figured that out. All I had to do was set the visibility to GONE.
On Wed, Apr 25, 2012 at 5:48 AM, Farhan Tariq farhan@gmail.com wrote:
Is there a way to create an invisible tab in android, that would show up
only when you press the menu button or something like that. I do not want
shows this approach the
multipleChoice/android.R.layout.simple_list_item_multiple_choice
scenario, but it could be trivially converted to single choice:
https://github.com/commonsguy/cw-omnibus/tree/master/Selection/Checklist
On Mon, Apr 23, 2012 at 2:08 PM, Farhan Tariq farhan@gmail.com
Hi,
I have a listView to which I am adding a number of rows at run time. Each
row has a radio button in it. I want only one radio button to be selected
at one time, but currently they are all selectable. How can I achieve that?
Thanks in advance
Regards,
Farhan
--
You received this message
I have a question regarding tab bar... posted here
http://stackoverflow.com/questions/10275165/showing-a-non-child-view-in-tabbar-android
I hope someone from here can answer
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Hi,
I am required to make an application that takes picture from camera and
modify the picture. I wanted to know if there are good android-compatible
image processing libraries out there that someone here has used. Also I
would like someone to tell me what KEYWORDS should i look into to be able
I am looking for something like this itunes.apple.com/us/app/*fatbooth*
/id372268904?mt=8
On Mon, Apr 16, 2012 at 6:01 PM, Farhan Tariq farhan@gmail.com wrote:
Hi,
I am required to make an application that takes picture from camera and
modify the picture. I wanted to know
, David Olsson zooklu...@gmail.com wrote:
Take a look at OpenCV for Android:
http://code.opencv.org/projects/opencv/wiki/OpenCV4Android
On Mon, Apr 16, 2012 at 3:02 PM, Farhan Tariq farhan@gmail.comwrote:
I am looking for something like this itunes.apple.com/us/app/*
fatbooth*/id372268904
String string = This is what i want to split;
String[] tokens = string.split( );
for(int i =0;itokens.length;i++){
Log.d(TOKEN : , tokens[i]);
}
I think you are looking for something like this. This has nothing to do
with android SDK, you should first google your questions up before you post
Are you using 'startActivityForResult()' method in your code to start the
new activity?
On Sun, Apr 15, 2012 at 5:27 PM, James Black planiturth...@gmail.comwrote:
The Activity just disappears.
So, if I am on the home page, then I start my application, I get the first
screen, then the second
If anyone here is interested in answering, they may answer at :
http://stackoverflow.com/questions/10120280/http-post-not-going-through-i-dont-think-i-am-missing-a-parameter
On Thu, Apr 12, 2012 at 8:49 AM, Farhan Tariq farhan@gmail.com wrote:
I did, I guess it is the problem
Bibek*
*
http://techdroid.kbeanie.com
http://www.kbeanie.com*
On Thu, Apr 12, 2012 at 9:09 AM, Farhan Tariq farhan@gmail.comwrote:
httpPost.setHeader(Content-Type, application/x-www-form-urlencoded);
Did not have any effect...
On Thu, Apr 12, 2012 at 8:28 AM, Farhan Tariq farhan
In the getView method of the adapter, use the index of the row to set
background to. Suppose every row is a textView, then
textView.setBackgroundColor(Color.BLACK) would do the trick.
For different indices, you could do this...
public View getView(int index, View convertView, ViewGroup parent) {
Hello everyone,
I populate a list of image urls and pass it to a listAdapter. The getView
gets the 3 successive urls (from the list) for the position in list it is
called for, and downloads them, and adds it to a row of the list. The list
works fine. But when I click on a picture to fire an
I have one LinearLayout as child of the scrollView, and that linearLayout
has 3 linear layouts that I am adding images to. Now, I can't figure out
how to handle memory issues.
On Sat, Mar 31, 2012 at 12:12 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
A ScrollView can only contain ONE child view.
in a row, I will get empty spaces in a row, and I want to avoid them. So
listView would not serve the purpose.
On Sat, Mar 31, 2012 at 4:00 PM, Mark Murphy mmur...@commonsware.comwrote:
On Sat, Mar 31, 2012 at 6:54 AM, Farhan Tariq farhan@gmail.com
wrote:
I have one LinearLayout as child
Hello everyone,
In my application, I have custom scrollView to which a lot of images get
added. I get an outOfMemoryException exception. I know why I am getting
it, but I cant think of how to fix it while using a scrollView, not a
listView. Any suggesstions? Hope to get some help soon.
Regards,
I know it can be achieved usiing listViews, but how do I reuse views in
scrollView?? Is that possible at all?
On Sat, Mar 31, 2012 at 3:35 AM, lbendlin l...@bendlin.us wrote:
use a listview and re-use the rows.
On Friday, March 30, 2012 5:06:50 PM UTC-4, Farhan wrote:
Hello everyone,
In
and an appropriate scaling type and you're
done.
On Mar 29, 1:12 am, Farhan Tariq farhan@gmail.com wrote:
Hi everyone,
I need to make an application that would show a number of images on the
screen. The images can vary in height and width. I want to be able to
show
the images
If you are calling location updates from gps in your activity, you can stop
listening to location updates on onPause() method. In onResume(), you can
start listening to it back again.
If you are requesting location updates from a service, you should stop the
service in the onPause() method of the
Hi everyone,
I need to make an application that would show a number of images on the
screen. The images can vary in height and width. I want to be able to show
the images in a scrollView, such that there are no empty spaces between
images. So...
1 - its a scrollable view,
2 - with 3 columns.
CAN YOU PLEASE HAVE THESE DISCUSSIONS SOMEWHERE ELSE! THIS IS NOT THE RIGHT
PLACE FOR JOBS/HIRING, OR I WOULD HAVE BEEN THE FIRST ONE ASKING FOR A JOB!
On Tue, Mar 27, 2012 at 11:57 AM, Tushar Lal tush...@gmail.com wrote:
Yes, Sir I'm also open to remote contract jobs and can you please
It is easy to incorporate google maps in your application, plotting your
location, etc. How would you write a database for the different routes of
different buses, that would be a tricky thing to do.
On Tue, Mar 27, 2012 at 6:51 PM, James Black planiturth...@gmail.comwrote:
You may want to look
Google intents , putExtra and getExtras keywords
On Mon, Mar 26, 2012 at 2:33 PM, vivek elangovan
elangovan.vi...@gmail.comwrote:
hi members,
I am having two activities in my project, In my Ist
activity i m getting two values from my loop (for eg : Violation : WITHOUT
On Sun, Mar 25, 2012 at 6:50 PM, Farhan Tariq farhan@gmail.comwrote:
you can always check if the intent will succeed
by checking to see if there's anyone registered to receive it.
How to go about these?
On Mon, Mar 26, 2012 at 5:32 AM, Kristopher Micinski
krismicin...@gmail.com wrote
Hi all,
I am working on an application that allows user to create mms messages
according to a template, for android 2.2. I am done with most of the work,
but I am stuck with one thing. I want to be able to launch the android's
default messaging application to send the mms. I tried to set package
this
Intent it = new Intent(Intent.ACTION_VIEW);
it.setType(vnd.android-dir/mms-sms);
On Sun, Mar 25, 2012 at 11:27 AM, Farhan Tariq farhan@gmail.comwrote:
Hi all,
I am working on an application that allows user to create mms messages
according to a template, for android 2.2. I am done with most
, in the chooser, applications like evernote, facebook, gmail, etc show
up, that are capable of ACTION_SEND action. To exclude them, what should be
done? I look into intent filters?
On Mon, Mar 26, 2012 at 4:28 AM, Mark Murphy mmur...@commonsware.comwrote:
On Sun, Mar 25, 2012 at 7:21 PM, Farhan
, Mar 25, 2012 at 11:27 AM, Farhan Tariq farhan@gmail.comwrote:
Hi all,
I am working on an application that allows user to create mms messages
according to a template, for android 2.2. I am done with most of the work,
but I am stuck with one thing. I want to be able to launch the android's
The smsto: uri part makes more sense to me. I'll try that. Thanks
On Mon, Mar 26, 2012 at 5:08 AM, Mark Murphy mmur...@commonsware.comwrote:
On Sun, Mar 25, 2012 at 7:57 PM, Farhan Tariq farhan@gmail.com
wrote:
I understand that the user should be given option to choose an
application
. If you want to artificially impose the constraint of using a
specific messenger, you can always check if the intent will succeed
and fall back to a more generic intent otherwise, by checking to see
if there's anyone registered to receive it.
kris
On Sun, Mar 25, 2012 at 8:10 PM, Farhan Tariq
If you are looking for developers to outsource your projects to, you should
check out oDesk.com, elance.com, freelancer.com, rentacoder.com,
liveperson.com... ETC ETC
On Fri, Mar 23, 2012 at 9:43 AM, Anirudh Loya loya.anir...@gmail.comwrote:
If this group is not for those purpose then why did
Hi, I recently ran into online jobs for making mobile phone website and it
got me a little confused. Aren't they just webViews ? Or is there more to
it? To be able to make an android website, do I need to look into anything
other than web View ? Is it just making a webView content? If it is, why
on a site that
works best on mobile devices, peryable to get GPS info, for example.
On Mar 11, 2012 6:31 PM, Farhan Tariq farhan@gmail.com wrote:
Hi, I recently ran into online jobs for making mobile phone website and
it got me a little confused. Aren't they just webViews ? Or is there more
krismicin...@gmail.com
wrote:
On Sun, Mar 11, 2012 at 7:36 PM, Farhan Tariq farhan@gmail.com
wrote:
This has nothing to do with this list
Well, if I started off with saying that I want to develop an android
website, and I am looking for a starting point, then it would have
everything
Hi, I need to show all the messages on a phone in a listView. But I don't
know where to start from. SmsManager class does not have anything like
that. Any guidance please. A few keywords, to look for in the api, would be
nice. Hope to hear from you soon.
Regards,
Farhan
--
You received this
So this cursor would point to a collection of sms messages? What do i need
to extract the sender, receiver, text from the message? Thank you in advance
On Wed, Mar 7, 2012 at 3:42 AM, Ali Chousein ali.chous...@gmail.com wrote:
SmsManager does not do what you are interested in. Android SDK does
I realize that I need to look into multitouch and dragging, just can't
figure out how to get only those values from the listView that the box is
covering. Any suggestions?
On Wed, Feb 29, 2012 at 1:41 PM, Ali Chousein ali.chous...@gmail.comwrote:
You can easily search
I was hoping to hear from the experts out there, anyone for help please?
On Tue, Feb 28, 2012 at 4:10 AM, Farhan Tariq farhan@gmail.com wrote:
Hi guys,
I have come to a requirement of an application that requires the following
view and its associated action:
I want a listView
Hi guys,
I have come to a requirement of an application that requires the following
view and its associated action:
I want a listView that takes up all space on the screen, populated with
numbers, say from 1 to 20. Thats no issue.
The listView should have a dragable semi-transparent box on top
quiet irrelevant though but ... can you please cut out on your 'bye's ...
don't know about others but, i'm sure its irritating to them too
2012/2/20 Kostya Vasilyev kmans...@gmail.com
Ruled out?
Is seems your log output shows the opposite.
IIRC, view focusing is only applied if the
Hi guys,
I am thinking of making an application that would lock the phone unless it
is unlocked with a user's password. I need to know where to begin from,
what part of API's i need to look at, what classes and for what purpose. In
short, I just want some keywords that i should explore to get
are like everywhere on internet! What do i do to become as
knowledgeable as you? :P
On Fri, Feb 17, 2012 at 1:33 AM, Mark Murphy mmur...@commonsware.comwrote:
On Thu, Feb 16, 2012 at 3:27 PM, Farhan Tariq farhan@gmail.com
wrote:
I am thinking of making an application that would lock
Any way you can think of which is NOT the right way? like a hack or
something that would let me achieve this?
On Fri, Feb 17, 2012 at 1:53 AM, Mark Murphy mmur...@commonsware.comwrote:
On Thu, Feb 16, 2012 at 3:45 PM, Farhan Tariq farhan@gmail.com
wrote:
Yes, I know that the OS already
...@gmail.comwrote:
In general at the application level trying to interfere with the
operation of
another application without the other application's cooporation
is not going to be possible for obvious reasons.
On Feb 16, 3:59 pm, Farhan Tariq farhan@gmail.com wrote:
Any way you can think
Hi guys,
I have written a piece of code in an application that uploads a file to a
location, if provided with path of a file. What i am missing is a way to
show the percentage of file uploaded. I am using apache's http library for
this purpose (found it on the internet). The relevant code is
define a layout with image and text, inflate it and replace a grid cell
with it.
On Wed, Feb 8, 2012 at 12:06 PM, vivek elangovan
elangovan.vi...@gmail.comwrote:
Hi Ratheesh,
My point is i want to display image with text and
on clicking the image i want to display the
Hi guys,
I have written a piece of code in an application that uploads a file to a
location, if provided with path of a file. What i am missing is a way to
show the percentage of file uploaded. I am using apache's http library for
this purpose (found it on the internet). The relevant code is
why do you need write a whole new class just to change image on an
imageView? If this is all that you need to do, just set imageView's
background drawable... something like this
while(true){
imageView.setBackgroundDrawable(R.drawable.something);
Thead.sleep(5000);
}
2012/2/4 Salih
http://developer.android.com/sdk/index.html This should help :)
On Sat, Feb 4, 2012 at 12:47 AM, TreKing treking...@gmail.com wrote:
On Wed, Feb 1, 2012 at 7:57 PM, Mark McDonald
mcdonaldphoe...@gmail.comwrote:
I was hoping that I could get some
advice on which software to use for my
explain your requirements please...
from what i can get from your subject, what you could do is have an async
task download images and update an imageView. Call that imageView from a
thread that sleeps for 5 seconds in a while loop... something rughly like
this (it has a Lot of errors, wrote it
Be more specific about the problem you are having.
On Wed, Feb 1, 2012 at 4:05 PM, Sam mailme2s...@gmail.com wrote:
Hi frnz,
I have to submit the timetable app to my Professor as an assignment,
so please can any1 send me the code(java,xml,manifest etc) which
creates the timetable of an
try finding it on stackoverflow.com
On Fri, Feb 3, 2012 at 4:53 PM, raju iloveindia@gmail.com wrote:
i need some help in getting an image with the help of url bhai
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Thank you guys.
I fixed it without using the alarm manager :) . What i was doing wrong is
that i was creating bitmaps and sending them off to be displayed on the
remote widget, thinking that it's memory would be reclaimed when the next
image takes its place. Apparently, this wasn't happening. So
One consideration though, if i am not wrong, AsyncTasks need to be executed
from the UIThread.
Regarding your code, put the part in which the HTTP Request is sent and the
response is got in line in the doInBackground method of the AsyncTask
so that it runs on the background thread and does not
Logcat error trace might get you some help :)
On Wed, Feb 1, 2012 at 12:22 PM, ANKUR GOEL ankur1...@gmail.com wrote:
Hi all ,
sometimes i am getting video cannot be played err (100 , 0)
can some body tell the exact reason and the solution for this problem
thanks
--
You received this
try adding 'padding' to grid cells
2012/1/31 John Davis davi...@gmail.com
Hello
I am still having a problem with gridview and spacing. Would love to talk
to someone regarding the issue. I've considered chaning text orientation
for column headings or using two line text.
Here is more
Between your phone and the phone whose location you want to track, how do
you communicate?
You could have that phone update his location (via a location service) to a
web server, and you can pull that location every few seconds to show it on
your phone
On Tue, Jan 31, 2012 at 1:54 PM, Omollo
Get each child of your tab widget, and see if there is anything you can do
to remove it
for(int i=0; itabWidget.getChildCount(); i++){
tabWidget.getChildAt(i).(ANYTHING YOU WANNA DO)
}
On Tue, Jan 31, 2012 at 11:08 AM, Ratheesh Valamchuzhy android...@gmail.com
wrote:
youtube it for video guides
On Mon, Jan 30, 2012 at 9:41 PM, Mark Murphy mmur...@commonsware.comwrote:
On Mon, Jan 30, 2012 at 12:58 AM, dany varghese gagip...@gmail.com
wrote:
how we can create a new application in android?
please suggest required softwares for this purpose?
Hello guys, I am working on an homescreen widget app that shows images
downloaded from the internet. The flow is widget starts a service and
the service runs a thread every 15 seconds. The thread downloads image and
shows it on the homescreen. The issue is that after showing the images 4 to
6
Pictures taken from camera need not return a URI everytime, unlike videos
taken from camera. If your purpose is to get the bitmap file from the data
intent, just make a temporary bitmap file and extract the data of the
intent to the file. That could possibly make duplicate files on your
device, so
Sounds really cool, but how would you ensure anyone that he would
really get paid? As in, you could just elope with the code and all,
without having to pay a penny to the resource you get along ! If you
got any convincing ideas, i would be more than happy to join in.
On Thu, Nov 10, 2011 at 6:19
ROFLMAO omg hillarious !
On Sat, Jul 9, 2011 at 11:58 AM, Ali Chousein ali.chous...@gmail.comwrote:
Fei, please come and join Google+ (Is this good enougn
invitation? :-) )
--
Ali Chousein
Geo-Filtered Assistant
http://geo-filtered-assistant.blogspot.com/
Cisco Android
Devices on same WiFi-LAN are no different than devices on any LAN. So your
java's server-client program should work fine after a few
adjustments. One suggestion though, inherit your server class from
Service, instead of activity so that you don't run into problems arising
from different phases in
You sure you have specified the right AVD for launch?
On Thu, Jun 23, 2011 at 12:19 AM, TreKing treking...@gmail.com wrote:
On Wed, Jun 22, 2011 at 9:59 AM, Angelina hawaiianfire1...@gmail.comwrote:
However, the main Android project folder still contains a red x, and
Eclipse is not allowing
I think you first need to understand simple java server-client setups. See
http://www.rgagnon.com/javadetails/java-0542.html. Once you understand the
flow of the client-server model, you will be able to think clearly what you
need to code.
On Sat, Jun 25, 2011 at 12:04 PM, Naga K
79 matches
Mail list logo