[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 7 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Seshu <s.seshu143@gmail.com> Feb 28 09:50PM -0800  

    Hi All,
    I want to show some students information i.e. id, name,
    address and contact number in listview. Which Adapter should i use
    here i.e, ArrayAdapter or BaseAdapter. What's the major difference
    between them.
     
    Thanks and Regards,
    S.Seshu.

     

    Parthi K <parthisoft13@gmail.com> Mar 01 11:34AM +0530  

    http://www.catb.org/esr/faqs/smart-questions.html#before
     
     
    should know this .....
    Thanks & Regards,
    Parthiban.k
    Software Engineer
    Mode FinServer Pvt. Ltd.
    Cell: +7204205850
    Email: parthisoft13@gmail.com <shoaibjdev@gmail.com> |parthiban.k
    @modefinserver.com <shoaib.k@modefinserver.com>
     
     

     

    John Coryat <coryat@gmail.com> Feb 28 07:32PM -0800  

    Just from a technical standpoint, a smartphone held in your hand, is never
    going to be a satisfactory hearing aid. The original hearing aids were
    pretty much exactly what you're describing. A box, usually held in one's
    shirt pocket, that transmitted sound through a wire to a small speaker in
    the user's ear. Those things were terrible for many reasons.
     
    The simplest form of hearing aid, an amp that boosts across all frequencies
    evenly, at least takes the sound as it would be heard at the ear. A
    regular, prescribed hearing instrument uses the loss curve from the patient
    to customize the responses of and boost each frequency band differently.
     
    In order to make a reasonable hearing aid out of a smart phone, it would
    require stereo mikes at each ear, transmitting the sound levels to the
    Android device, which would boost each band according to the loss of the
    user and transmit it back to be broadcast to the user.
     
    For this complexity, you might as well take a look at the modern, digital
    hearing instrument. They are a marvel of technology and would be far
    superior to anything that can be cobbled together out of a smart phone,
    regardless of which one.
     
    You should have looked at the wiki:
     
    http://en.wikipedia.org/wiki/History_of_hearing_aids
     
    -John Coryat, USNaviguide LLC
     
    p.s. I've been working in and for the hearing instrument community for over
    25 years.
     
     
    On Thursday, February 28, 2013 4:17:47 AM UTC-6, Shaik Shabana wrote:

     

    Shaik Shabana <shabana.shaik@gmail.com> Mar 01 10:53AM +0530  

    Thanks John for your reply.
    Can you pls let me know how can I proceed now?
     
    Thanks!
    Shabana
    9701055536

     

    Parthi K <parthisoft13@gmail.com> Mar 01 11:05AM +0530  

    Wt hearing Aid?
    Thanks & Regards,
    Parthiban.k
    Software Engineer
    Mode FinServer Pvt. Ltd.
    Cell: +7204205850
    Email: parthisoft13@gmail.com <shoaibjdev@gmail.com> |parthiban.k
    @modefinserver.com <shoaib.k@modefinserver.com>
     
     

     

    Lew <lewbloch@gmail.com> Feb 28 09:55PM -0800  

    Shaik Shabana wrote:
     
    > Thanks John for your reply.
    > Can you pls let me know how can I proceed now?
     
    Didn't he just?
     
    He described the shortcomings of the smartphone as a hearing aid and
    suggested that you proceed
    to investigate the history and state of the art of hearing aids.
     
    If I read his advice correctly, he advised you not to make a hearing aid
    out of a smartphone.
     
    --
    Lew

     

    Milind <milind.wakale@discoverit.co.in> Feb 28 09:18PM -0800  

    Hello,
     
    I am creating application which uses users credential to communicate with
    web servers. What I want to do is retrieve logged in users username and
    password from accounts settings or use authority of this account to
    communicate with my server. How can I take such authorization or it will
    also good if I get username and password.
     
    Thanks you.
     
    --
    Milind

     

    futurexiong <futurexiong@gmail.com> Feb 28 07:02PM -0800  

    I develope a lockscreen app which installed in system/app,the app has
    permission:android.permission.BIND_APPWIDGET and android:sharedUserId =
    "android.uid.system". In my app I would bind system music appwidget as
    default.And if I run it just as a system app,it runs properly and binds
    widget successfully.But I want to use reflection to reflec the lockscreen
    view when lockscreen should be actived(this is what I exactly want to
    do).So I just modified createLockScreen method in LockPatternKeyguardView
    as before.But when it runs to bind appwidget code, error happens with no
    android.permission.BIND_APPWIDGET permission,says uid of my app > 1000 or
    something like that. And I also notice that AppWidgetPickerActivity in
    system Settings app use bindAppWidgetId() either and it even doesn't
    declare android.permission.BIND_APPWIDGET and it still works properly. I
    wonder why my app runs properly as a normal system app and it can bind
    widget successfully but when it ran by reflection in system_server
    process,things goes wrong,and why AppWidgetPickerActivity does not declare
    the permission it still binds widgets successfully with no security
    exception?

     

    Lindsey Simon <elsigh@gmail.com> Feb 28 06:14PM -0800  

    I've got an app where we want to have dynamic values for minTime and
    minDistance depending on someone's proximity to their destination.
     
    To accomplish this I'm just calling removeUpdates and then
    requestLocationUpdates after a period with different values. We pause
    anywhere from 15seconds to 3 minutes between these start/stops.
     
    The problem is that on some devices we're seeing a situation where we just
    stop getting location updates. On a Galaxy S3 for instance, the GPS
    completely stops working - no app can get a location in fact. Only
    rebooting the phone seems to fix the problem.
     
    Maybe I'm start/stopping the watches too aggressively and hitting some sort
    of bug?
     
    Any insights would be extremely helpful.
     
    I've found a few similar reports of this situation:
    http://stackoverflow.com/questions/13594932/network-provider-not-providing-updated-locations
    http://stackoverflow.com/questions/12630413/has-network-provider-behavior-changed-in-android-4-1-1

     

    Lindsey Simon <elsigh@gmail.com> Feb 28 06:49PM -0800  

    I should add that while no other app can get a location, it seems like
    Google Maps is working aok.
     
    On Thursday, February 28, 2013 6:14:33 PM UTC-8, Lindsey Simon wrote:

     

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 28 01:27PM -0800  

    I added the screenshots. As you can see, there is nothing on the android
    tab, mas it detects the device on the Linux tab. The sensor is the one
    described in one of the screenshots, is a microstrain 3DM-GX3-36. I connect
    a RS232-USB A cable to the microstrain RS232 interface, and connect the
    cable to a samsung galaxy S III (4.1.1) with a usb B/micro B cable.
     
    Do you have any idea what the issue might be? I appreciate all the help.
     
    On Thursday, February 28, 2013 7:25:45 PM UTC, Tux wrote:

     

    Tux Leonard <tuxleon@gmail.com> Feb 28 11:02PM +0100  

    I am a little confused that you can see your sensor device in the device
    info.
    When I look at the data sheet I see that your sensor has a RS232 interface.
     
    In the device info you should see something about the USB-RS232 converter
    (for example FTDIxxx) and not the sensor info.
     
    In my case I get the following output (USB-RS232 converter):
    [image: Screenshot_2013-02-28-22-51-33.png]
     
    Not all USB-RS232 are supported out of the box by android. If I remember
    right the FTDIxxx devices are supported well.
    A good app to get started is "Sick USB 2 Serial Terminal". Try to open a
    serial connection with this app first.
     
     
    [image: Screenshot_2013-02-28-22-53-21.png]
     
     
    2013/2/28 Marta Ribeiro <martacunharibeiro90@gmail.com>
     

     

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 28 02:26PM -0800  

    I can´t, with this app i get no device is connected. What would be the
    difference between this app and the last one?
     
    On Thursday, February 28, 2013 10:02:41 PM UTC, Tux wrote:

     

    Tux Leonard <tuxleon@gmail.com> Feb 28 11:46PM +0100  

    This app can open a serial connection if a working USB-RS232 device is
    detected. The other app only shows the infos.
     
    Do you have an other USB-RS232 converter? This one is not supported by
    android/Linux.
    Just to make shure that your OTG cable is ok. Can you connect a USB mouse
    or keyboard to your S3?
     
    2013/2/28 Marta Ribeiro <martacunharibeiro90@gmail.com>
     

     

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 28 02:59PM -0800  

    Yes I have tried and it works perfectly. The mouse and keyboard are
    instantaneously operational.
     
    I'll try to find another USB-RS232 converter. But apart from experimenting
    with them, which other way can I know if a cable is supported
    by android/Linux?
     
    Thank you for your help!
     
    On Thursday, February 28, 2013 10:46:14 PM UTC, Tux wrote:

     

    Tux Leonard <tuxleon@gmail.com> Mar 01 12:16AM +0100  

    Look for a device with a FTDI chip.
    You also could write your own Linux driver that supports your USB-RS232
    chip and then get it working in your phone. So a little try and error is
    much faster.
    When you've done this, you need to implement the serial protocol of your
    sensor.
     
    Is this sensor expensive?
     
    Roy
     
    2013/2/28 Marta Ribeiro <martacunharibeiro90@gmail.com>
     

     

    Tux Leonard <tuxleon@gmail.com> Mar 01 12:19AM +0100  

    The IOIO device works in any case. And you can connect it via Bluetooth
    (with a little try and error for the right BT dongle :-))
     
    2013/3/1 Tux Leonard <tuxleon@gmail.com>
     

     

    Rahul Shukla <rahul12.shukla@gmail.com> Feb 28 01:16PM -0800  

    Hi,
    I am about to develop an Android app in which requires the data and
    graphics of my app has to be layered on top of Google Maps.
    Is it possible ? ( I don't know the what all is possible with Google maps)
    What are the best sources from where i can see the best practices for using
    Google Maps for development.

     

    TreKing <trekingapp@gmail.com> Feb 28 03:36PM -0600  


    > What are the best sources from where i can see the best practices for
    > using Google Maps for development.
     
     
    Have you considered reading the documentation for Google Maps?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Rahul Shukla <rahul12.shukla@gmail.com> Mar 01 03:15AM +0530  

    yes I know about the documentation but the practices while implementing
    keep changing over time so i wanted to know the latest stuff that is being
    followed or is apt.
     
     
     
    --
    Rahul Shukla
    Jaypee Institute of Information Technology
    B.Tech. Computer Science and Engineering '13

     

    TreKing <trekingapp@gmail.com> Feb 28 03:58PM -0600  


    > yes I know about the documentation but the practices while implementing
    > keep changing over time
     
    There was the old Google Maps API and (about 3 or 4 years later) there is
    the latest one. It's not really "changing over time".
     
     
    > so i wanted to know the latest stuff that is being followed or is apt.
     
    I don't know what "is apt." means, but unless you have a more specific
    question, the documentation and Google should suffice to get you
    information on how to use the APIs.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    bob <bob@coolfone.comze.com> Feb 28 02:02PM -0800  

    I think you can create a MapView. Then maybe you can layer a View on top
    of that?
     
     
     
    On Thursday, February 28, 2013 3:16:25 PM UTC-6, Rahul Shukla wrote:

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 13 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    bob <bob@coolfone.comze.com> Feb 28 12:18PM -0800  

    When I'm scrolling my white ListView, for some reason, the background turns
    black.
     
     
    Any ideas what could cause this?
     
     
    Thanks.

     

    Darren McEntee <darren.mcentee@gmail.com> Feb 28 12:11PM -0800  

    Hi everyone, I'll cut right to the chase...
    I have an app live in the Google Play store that supports Android 2.1+
    I'm seriously thinking about adopting an Android 4.0+ ONLY app development
    policy. Fragmentation is doing my head in trying to support legacy devices,
    i just don't think its worth the pain any more.
     
    My question is: if my current live Google Play app currently supports 2.1+,
    and if i go and re-write it to support 4.0+ only policy. When i upload the
    APK, will (1) the current users of the app just not get the updates from
    that point until they update their Android OS version, and (2) will only
    4.0+ users have access to the app in Google play?
     
    I'm not sure how this works with an app currently supporting 2.1+ wanting
    to move away 4.0+. I just cant find the information i need.
    Any info appreciated.
    Many thanks,
    Darren.

     

    Jonathan S <xfsunoles@gmail.com> Feb 28 12:14PM -0800  

    If this is for ActionBar, you could use Actionbarsherlock
    https://github.com/JakeWharton/ActionBarSherlock
     
    On Thursday, February 28, 2013 3:11:05 PM UTC-5, Darren McEntee wrote:

     

    dashman <erjdriver@gmail.com> Feb 28 04:46AM -0800  

    Any system launcher is fine.
     
    What I'm trying to solve is the piracy issue.
     
    i.e. someone just wrapping my app and launching it.
     
    i want to disable that.

     

    Mark Murphy <mmurphy@commonsware.com> Feb 28 09:35AM -0500  

    > Any system launcher is fine.
     
    What about users who download their own home screen app?
     
    What about users who click on an entry in the recent-tasks list? Or
    click on one of your notifications? Or click on one of your app
    widgets?
     
    > i.e. someone just wrapping my app and launching it.
     
    > i want to disable that.
     
    First, anyone who can wrap your app can disable your check.
     
    Second, wrapping is sometimes done intentionally (e.g., by Amazon for
    their AppStore DRM, IIRC).
     
    Third, the way to check for wrappers is to confirm that your app's
    package name is what you expect and that your app's signing key
    matches what you expect. See http://stackoverflow.com/a/6203440/115145
    for the latter. Again, all of these checks can be deactivated if
    somebody puts their mind to them.
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    _The Busy Coder's Guide to Android Development_ Version 4.6 Available!

     

    Kristopher Micinski <krismicinski@gmail.com> Feb 28 11:25AM -0500  

    Mark's right, this is a complete nonsolution to the piracy issue.
     
    Kris
     

     

    dashman <erjdriver@gmail.com> Feb 28 11:37AM -0800  

    ok - message received.
     
    on to other things...
     
    On Thursday, February 28, 2013 11:25:47 AM UTC-5, Kristopher Micinski wrote:

     

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 28 01:26AM -0800  

    I am connecting the OTG micro B/USB B cable to an USB A/RS232 cable.
     
    Any help you can provide I would appreciate!
     
    On Wednesday, February 27, 2013 7:03:51 PM UTC, Tux wrote:

     

    al <achim.leubner@googlemail.com> Feb 28 02:34AM -0800  

    I would first check the hardware/cable etc. e.g. with the app "USB Device
    Info"
    https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
     
    If you can see your device in the android tab, then you are right and it's
    a software issue.
     
    I'm not sure about the device_filter.xml. Do you have to specifiy the
    values in hex or decimal? The docu uses e.g. class="255" and does not use a
    hex-only digit. That looks to me like it could be decimal?
     
     
    Am Donnerstag, 28. Februar 2013 10:26:01 UTC+1 schrieb Marta Ribeiro:

     

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 28 05:40AM -0800  

    Yes I can see my device.
     
    regarding the device file, it is in decimal, which I've head is the correct
    way. I've check the values with the output of the application and after a
    conversion hexadecimal to decimal it's a match.
     
    Right now,I'm starting to thing the issue may be the usb.host permission.
    Do you now if i'm missing something?

    On Thursday, February 28, 2013 10:34:54 AM UTC, al wrote:

     

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 28 06:05AM -0800  

    Additionally, I just noticed something, the application presents two tabs:
    Android plus Linux. According to android i have no devices connected.
    Whereas in the linux tab i find my device. Is this indicative of something?
     
    On Thursday, February 28, 2013 1:40:35 PM UTC, Marta Ribeiro wrote:

     

    Tux Leonard <tuxleon@gmail.com> Feb 28 08:25PM +0100  

    Could you tell us what sensor and what RS232-USB device you are using?
    A scrennshot of the output of your app could also help.
     
    Roy
     
    2013/2/28 Marta Ribeiro <martacunharibeiro90@gmail.com>
     

     

    Lindley <lindleyf@gmail.com> Feb 28 10:17AM -0800  

    I want to create a new AVD on the command line based off of an existing
    AVD. It doesn't necessarily need the exactly same user data etc but at
    least the same target settings and display resolution etc.
     
    Previously, I had just done a cp -r on the source AVD and this worked fine.
    After some recent updates, I have discovered that doing this now causes a
    NullPointerException in a lot of operations such as "android list avds".
     
    I see there is an "android create avd" command but it requires a target ID.
    I'm not sure how I can get that information out of the existing avd in
    order to format the command correctly. Any advice?

     

    bob <bob@coolfone.comze.com> Feb 28 07:14AM -0800  

    I like to use *java.net.Socket* (for http)
     
    It might be too low-level for some folks though.
     
     
     
     
    On Wednesday, February 27, 2013 8:17:50 PM UTC-6, dashman wrote:

     

    Kristopher Micinski <krismicinski@gmail.com> Feb 28 12:17PM -0500  

    That doesn't really make sense if you want to send well formed
    requests to web services. If you do choose to do this, you'll be
    duplicating the effort of a well tested performance tuned http
    clients...
     
    Kris
     

     

    "G. Blake Meike" <blake.meike@gmail.com> Feb 28 09:49AM -0800  

    oh bob. how very butch.
     
    The last para of the posting that TreKing cites gives the answer: in old
    versions of Android, the Apache libs worked better. In post HC, the Java
    ones work better. If you happen to be using Android Spring, it chooses the
    correct implementation based on runtime version.
     
    -blake
     
     
    On Thursday, February 28, 2013 9:17:25 AM UTC-8, Kristopher Micinski wrote:

     

    "gary@deanblakely.com" <gary@deanblakely.com> Feb 28 07:53AM -0800  

    I have an app with a main activity that has no visible interface
    (android:theme="@android:style/Theme.NoDisplay). The app is started by
    receipt of an SMS message in a BroadCast activity which kicks off another
    activity (also no GUI) that does work and then sends an SMS message. It
    works very well; actually better than I had expected because it runs even
    if other apps are running a foreground activity.

    Now I'm familiar with the Android Activity Lifecycle but I guess this means
    that Android (I'm using 2.33) can run "many" activities "at once." Even
    when I'm running a very active GPS tracking application that is writing
    layers on a mapview, my "no-display" app starts does his work and sends the
    results out on an SMS message. The tracking app that was running never
    even blinked.

    I don't have any problem (at least not programming related), I'm just
    curious why this works.
    Regards,
    Gary

     

    skink <pskink@gmail.com> Feb 28 12:45AM -0800  

    Arun Kumar K wrote:
    > Hi Guys,
     
    > I want to show only year and month in datepicker how can i do that one
     
    you can't do that unless you write your own picker
     
    pskink

     

    bob <bob@coolfone.comze.com> Feb 28 07:10AM -0800  

    I would say there are two viable options:
     
     
    1. Subclass DatePicker
     
     
    2. Take the source of DatePicker and rename the class MyDatePicker and
    modify it as needed.
     
     
     
    On Thursday, February 28, 2013 12:27:35 AM UTC-6, Arun Kumar K wrote:

     

    bob <bob@coolfone.comze.com> Feb 28 07:04AM -0800  

    It is done like this:
     
    public class CountriesActivity extends Activity {
    protected void onCreate(Bundle icicle) {
    super.onCreate(icicle);
    setContentView(R.layout.countries);
     
    ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
    android.R.layout.simple_dropdown_item_1line, COUNTRIES);
    AutoCompleteTextView textView = (AutoCompleteTextView)
    findViewById(R.id.countries_list);
    textView.setAdapter(adapter);
    }
     
    private static final String[] COUNTRIES = new String[] {
    "Belgium", "France", "Italy", "Germany", "Spain"
    };
    }
     
    *[sic]*
     
     
     
    On Wednesday, February 27, 2013 3:30:57 AM UTC-6, djhacktor wrote:

     

    sree android <android.sreenivas@gmail.com> Feb 28 06:42PM +0530  

    i wrote code for animation from bottom to top.when i run these app in
    different mobiles, displayed image alignment are wrong.
    screen shots are attached using samsung and Nexus.
     
    Please give me suggession where i did a mistake.
    i need to run these animation in all mob
    code is below.iles.
    Thank you in advance.
    logo=(ImageView)findViewById(R.id.logoIV);
     
    login = (ImageView) findViewById(R.id.loginimage);
    location = (ImageView) findViewById(R.id.locationsimage);
    offers = (ImageView) findViewById(R.id.offersimage);
    services = (ImageView) findViewById(R.id.serviceimage);
    contactus = (ImageView) findViewById(R.id.contactusimage);
    arabic = (ImageView) findViewById(R.id.arabicimage);
    sofa = (ImageView) findViewById(R.id.sofaimage);
    ll=(LinearLayout)findViewById(R.id.mainlayout);
    rl=(RelativeLayout)findViewById(R.id.RelativeLayout1);
     
    ObjectAnimator hideLayout = ObjectAnimator.ofFloat(ll, "alpha", 0f,
    0f);
    hideLayout.setDuration(3000);
     
    ObjectAnimator hideSofa = ObjectAnimator.ofFloat(sofa, "alpha", 0f,
    0f);
    hideSofa.setDuration(3000);
     
    ObjectAnimator showLayout = ObjectAnimator.ofFloat(ll, "alpha", 0f,
    1f);
    showLayout.setDuration(3000);
     
    ObjectAnimator showSofa = ObjectAnimator.ofFloat(sofa, "alpha", 0f,
    1f);
    showSofa.setDuration(3000);
     
    ObjectAnimator stillLogo = ObjectAnimator.ofFloat(logo, "y",
    convertDpToPixel(167, this), convertDpToPixel(167, this));
    stillLogo.setDuration(3000);
     
    ObjectAnimator
    logoAnim=ObjectAnimator.ofFloat(logo,"y",convertDpToPixel(167, this),25f);
    logoAnim.setDuration(2500);
     
    ObjectAnimator homeIcons = ObjectAnimator.ofFloat(ll,
    "y",convertDpToPixel(380,this), convertDpToPixel(167, this));
    homeIcons.setDuration(2500);
     
    ObjectAnimator sofaAnim = ObjectAnimator.ofFloat(sofa,
    "y",convertDpToPixel(533, this), convertDpToPixel(400, this));
    sofaAnim.setDuration(2500);
     
    AnimatorSet anim=new AnimatorSet();
     
     
    anim.play(sofaAnim).with(logoAnim).after(stillLogo).after(hideLayout).after(hideSofa).with(showSofa).with(showLayout);
     
     
    anim.play(homeIcons).with(logoAnim).after(stillLogo).after(hideLayout).after(hideSofa).with(showSofa).with(showLayout);
     
    anim.start();
     
     
    public static float convertDpToPixel(float dp,Context context){
    Resources resources = context.getResources();
    DisplayMetrics metrics = resources.getDisplayMetrics();
    float px = dp * (metrics.densityDpi/155f);
    Log.i("","Pixel Size:"+px);
    return px;
    }

     

    Numair Qadir <numair.qadir@gmail.com> Feb 28 04:31AM -0800  

    I want to create a application in android which can put a lock(password) on
    Home Screen, Application, Gallery and Files.
     
    For home screen, I can make a home screen widget that will launch on device
    boot.
     
    For Apps I can use following solution, Android Lock Apps<http://stackoverflow.com/questions/7248080/android-lock-apps>
     
    For Files I can do following things,
    1 - Encrypt the files.
    2 - Make use of FileObserver.
    3 - Move files to application directory.(Which is not visible to other apps
    if device is not rooted)
     
    Locking image files will left Gallery with no images to display. (Thus
    locked logically)
     
    My question is:
    What should I be doing exactly?

     

    Shaik Shabana <shabana.shaik@gmail.com> Feb 28 02:17AM -0800  

    Hi,
     
    I want to work on Smart Hearing aid, wherein I can use the mobile as my
    hearing aid.
    Pls let me know how to start this.
     
    Thanks!!

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

[android-developers] Digest for android-developers@googlegroups.com - 18 Messages in 11 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Numair Qadir <numair.qadir@gmail.com> Feb 28 12:02PM +0500  

    Yeah.. Thanks. I did it.. I was wondering how to do it..
     
     
     

     

    LostDev <byron.kidd@gmail.com> Feb 27 08:34PM -0800  

    We've developed a library to hide the finer details of In App Billing in
    Version 2 from client applications. Now we're planning to upgrade to
    Version 3 and I've hit a snag.
     
    Currently the application (Activity) using the library creates an instance
    of the library object and calls methods to get products available for sale,
    and purchase products etc. When purchasing products the library handles
    verifying receipts via a secure server and provisioning the purchased
    products etc., there is quite a bit going on behind the scenes. The library
    has no UI, instead it returns data to the calling application which handles
    all the UI operations such as listing products and displaying dialogs using
    response coded from our library.
     
    There is a clear line between the application, and the library.
     
    Now looking at Version 3 I discover this comment in iabHelper for
    launchPurchaseFlow:
     
    Initiate the UI flow for an in-app purchase. Call this method to initiate
    an in-app purchase,
    which will involve bringing up the Google Play screen. The calling activity
    will be paused while
    the user interacts with Google Play, and the *result will be delivered via
    the activity's*
    *{@link android.app.Activity#onActivityResult}* method, at which point you
    must call
    this object's {@link #handleActivityResult} method to continue the purchase
    flow. *This method*
    *MUST be called from the UI thread of the Activity.*
     
    Does this mean the calling activity MUST implement the onActivityResult
    method?
     
    Also can we launchPurchaseFlow from the library object (which is not an
    activity)?
     
    Is there any easy way to maintain separation between the application and
    our billing library?
     
    Any tips or ideas greatly appreciated.
     
    Thanks,
     
    Lost

     

    Nikolay Elenkov <nikolay.elenkov@gmail.com> Feb 28 02:18PM +0900  


    > Is there any easy way to maintain separation between the application and our
    > billing library?
     
    Require the client activity to implement some interface and pass it as a
    parameter to your library's method's as needed. It doesn't really matter
    where you launch stuff from as long as it is using the right thread
    (UI thread) and context (the activity's).
     
    Additionally, you don't really need to use IabHelper at all, you can see
    what it does (basically connect to a remote service and call its methods,
    sometimes in a worker thread) and implement something similar. You
    can't skip the onActivityResult() part though.

     

    Nikolay Elenkov <nikolay.elenkov@gmail.com> Feb 28 03:31PM +0900  


    > Rather than change the architecture of the library, is it possible to run
    > launchPurchaseFlow on the UI thread (from the library thread)? I recently
    > discovered runOnUiThread() but am unsure if it is appropriate in this case.
     
    I haven't tried it, but probably. You can also use a Handler created on the
    UI thread to achieve the same thing.

     

    Arun Kumar K <arunkumar.k@npcompete.net> Feb 28 11:57AM +0530  

    Hi Guys,
     
    I want to show only year and month in datepicker how can i do that one
     
    --
    *Thanks & Regards*
    *K.Arun Kumar*

     

    Aman <aman624@gmail.com> Feb 27 10:25PM -0800  

    Hi,
     
    I have a tablet running Android 4.2 with multiple users. I want to install
    certificates which can be accessed by the secondary user (basically I want
    to configure an Email account in the secondary user which requires
    certificates). I installed certificates in the primary user. But, when I
    try to access them in the secondary user, the dialog doesn't display the
    installed certificates.
     
    I also tried modifying the Settings application to show the "Install
    certificates" option in the secondary user. But, clicking that option shows
    a toast that "Only owner can install certificates". I went a step further
    and changed CertInstaller to allow secondary users to install certificates.
    But, it fails when Android attempts to write the certificates to
    /data/misc/keychain directory.
     
    My question is that, is /data/misc/keychain directory only accessible
    (read/write access) to applications running inside the primary user
    (owner). If yes, the how the access control is enforced?
     
    Regards
    Aman

     

    dashman <erjdriver@gmail.com> Feb 27 06:17PM -0800  

    What's the recommended api for doing http/https in Android.
     
    I think there's 2-3 of them.

     

    Kristopher Micinski <krismicinski@gmail.com> Feb 27 09:29PM -0500  

    Just the org.apache ones...?
     
    Kris
     

     

    bob <bob@coolfone.comze.com> Feb 27 03:29PM -0800  

    Here's the code for it:
     
    /**
    * Return whether the state matches the desired stateSpec.
    *
    * @param stateSpec an array of required (if positive) or
    * prohibited (if negative) {@link android.view.View} states.
    * @param state a {@link android.view.View} state
    */
    public static boolean stateSetMatches(int[] stateSpec, int state) {
    int stateSpecSize = stateSpec.length;
    for (int i = 0; i < stateSpecSize; i++) {
    int stateSpecState = stateSpec[i];
    if (stateSpecState == 0) {
    // We've reached the end of the cases to match against.
    return true;
    }
    if (stateSpecState > 0) {
    if (state != stateSpecState) {
    return false;
    }
    } else {
    // We use negative values to indicate must-NOT-match states.
    if (state == -stateSpecState) {
    // We matched a must-not-match case.
    return false;
    }
    }
    }
    return true;
    }
     
     
     
    On Wednesday, February 27, 2013 4:05:39 AM UTC-6, skink wrote:

     

    Boyd Speer <bspeer@shaw.ca> Feb 27 04:42PM -0700  

    How can I schedule a daily popup dialog box (that appears to remind the user to do something) that remains visible until it is manually closed by the user?
     
    Would a service be utilized? If so how? Or would an alarm be the best solution. If the app is killed or restarted can the popup still be scheduled to happen?
     
    Thanks for your suggestions.
     
    - Boyd

     

    TreKing <trekingapp@gmail.com> Feb 27 10:29PM -0600  

    > solution. If the app is killed or restarted can the popup still be
    > scheduled to happen?
     
    > Thanks for your suggestions.
     
    Use AlarmManager to schedule a PendingIntent that starts an Activity that
    has a dialog theme.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    dashman <erjdriver@gmail.com> Feb 27 06:15PM -0800  

    Is there any way to detect whether an activity was started by the
    Android os launcher as opposed to another activity.
     
    Or put another way - is there wa way to force an activity not
    be launchable (sp?) by another activity.

     

    Kristopher Micinski <krismicinski@gmail.com> Feb 27 10:57PM -0500  

    What happens when users install a different launcher...?
     
    Kris
     

     

    niksbin <niksbin@gmail.com> Feb 27 06:56PM -0800  

    Hi Everyone,

    I wanted to let you know that I have created 3 discussion groups for using
    and developing for the Samsung Galaxy Note series of devices. The new
    discussion groups are created specifically for utilizing and developing
    apps using Samsung's S-Pen functionality.

    Please feel free to join the groups. The groups are:

    - S-Pen App Discussion
    - S-Pen App Development - Beginners
    - S-Pen App Development-Advanced

    Happy Coding!

    - Nikhil Kulkarni

     

    Jonathan S <xfsunoles@gmail.com> Feb 27 02:16PM -0800  

    android.support.v13 is for API Level 13+ only
     
    If you are doing Minimum API Level 8, you have to remove
    android.support.v13
     
    On Wednesday, February 27, 2013 10:43:48 AM UTC-5, Manas wrote:

     

    bob <bob@coolfone.comze.com> Feb 27 01:00PM -0800  

    Make sure you are sending the variables via the POST method and not the GET
    method.
     
    On Wednesday, February 27, 2013 7:28:51 AM UTC-6, Ines wrote:

     

    RichardC <richard.critten@googlemail.com> Feb 27 11:34AM -0800  

    That thread is all the information we have - the ability to reply to users
    is by invitation only for the moment.
     
    It would be better to continue this discussion in the above thread
    (discussion group) rather than in this the SDK group.
     
     
    On Wednesday, February 27, 2013 6:59:20 PM UTC, Tolriq wrote:

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 15 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Marta Ribeiro <martacunharibeiro90@gmail.com> Feb 27 01:17AM -0800  

    I have the cables needed. I even installed an usb host app and it worked
    correctly. now i'm trying to make my own application and it's not working,
    so it must be because of the code. Although i am writing it exactly as it
    advised in tutorials.
     
    On Wednesday, February 27, 2013 5:35:44 AM UTC, softy wrote:

     

    Tux Leonard <tuxleon@gmail.com> Feb 27 08:03PM +0100  

    Hi,
     
    what kind of sensor are you using and what protocol (RS232, HID or plain
    USB) is used?
    I played around with some RS232 devices. Perhaps I could find the example
    again.
    Later I switched to a IOIO divice.
     
    Roy
     
    2013/2/27 Marta Ribeiro <martacunharibeiro90@gmail.com>
     

     

    Tolriq <tolriq@gmail.com> Feb 27 10:11AM -0800  

    I read that Google is opening this function to new developers but what are
    the requirement to get access to that ?
     
    My app has passed the 100k daily users and have a 4.9 rating with more than
    4500 rating, but there's still some users that thinks bad rating are a way
    to get support even if I have no way to contact them back :(
     
    Any one got more news on this ?
     
    Regards,
    Tolriq.

     

    Tolriq <tolriq@gmail.com> Feb 27 10:59AM -0800  

    Thanks but this link does not really gives more information :)
     
    If you refer to the need to give users a mail I have :
    - A mail in description
    - A website with issue tracker / forum
    - A big red text in all changelog telling users to contact me
    - An help button in the app
    - An about in app with multiple links
    - I'm on Twitter / Facebook / 6 forums where users usually goes.
     
    But I still have users giving 2 star because they can't find an option that
    is in front of them, so don't ask them to do anything more :)
     
    Regards,
    Tolriq.
     
     
    Le mercredi 27 février 2013 19:45:58 UTC+1, RichardC a écrit :

     

    Manas Shah <shahmanas.e@gmail.com> Feb 27 09:13PM +0530  

    Greeting,
     
    I am using android.support.v13 and android.support.v4 external JAR files.
    I have done necessary typecasting in the code so it will always refer above
    mention JAR files but not the android.app.Fragment .
    But still its gives below error :
     
    The type android.app.Fragment cannot be resolved. It is indirectly
    referenced from required .class files
     
    I have also checked build path. Build sequence is android.support.v4 --
    android.support.v13 -- Android 2.2 -- Android dependence.
     
    Any idea what I`m missing here. I am attaching the code for reference.
     
    Thank you in advance !
    -Manas

     

    Nobu Games <dev.nobu.games@gmail.com> Feb 27 07:53AM -0800  

    If you compile the app with API level 8 (Android 2.2) then the class
    Fragment cannot be found because it does not exist there. It has been
    introduced with API level 11. Make sure to set the target API level to the
    highest your app can support and minSdkLevel to 8.
     
    On Wednesday, February 27, 2013 9:43:48 AM UTC-6, Manas wrote:

     

    Manas Shah <shahmanas.e@gmail.com> Feb 27 10:17PM +0530  

    Thanks Nobu for reply....
     
    Yes, I have set minSdkLevel = 8 and targetSdkVersion =15 but still no
    luck...
     
    I am not able to understand why code is referring to android.app.Fragment
    class as I am no where using it.
     
    Thanks again,
    Manas
     
     
    --
    Thanks,
    Manas Shah.

     

    bob <bob@coolfone.comze.com> Feb 27 07:39AM -0800  

    Is there any type of widget that is similar to the HR HTML tag?
     
     
    <hr>
     
     
    Thanks.

     

    Nobu Games <dev.nobu.games@gmail.com> Feb 27 07:59AM -0800  

    You could use a plain "View", set a background image or color on that, set
    its height to a few DPs and width to MATCH_PARENT.
     
    On Wednesday, February 27, 2013 9:39:39 AM UTC-6, bob wrote:

     

    Numair Qadir <numair.qadir@gmail.com> Feb 26 11:44PM -0800  

    Greetings,
     
    Can nested onTouch method be implemented? I'm working on an app in which
    user is drawing some components onTouch. I want to restrict user to draw a
    point, line and circle respectively. Is it possible that one event run only
    once and goto next event until and unless I restart the app. Or something
    like parent onTouch() and child onTouch(). Help needed!

     

    "G. Blake Meike" <blake.meike@gmail.com> Feb 27 06:44AM -0800  

    I think you need a state machine. The behavior of your onTouch will be
    determined by what the user does and the current state. That will, in
    turn, change the state.
     
    -blake
     
    On Tuesday, February 26, 2013 11:44:39 PM UTC-8, Numair Qadir wrote:

     

    Ines <belhouchet.ines@gmail.com> Feb 27 05:28AM -0800  

    Hello,
    I have three variables that i try to send them from android to my local web
    server,the point *I succeed to add them into a mysql table* but i failed to
    print them on the browser
    here's a part of my php script:
     
    <?php
     

    $var01 = $_POST['myvar1'];
    $var02 = $_POST['myvar2'];
    $var03 = $_POST['myvar3'];

    echo $var01;
    echo $var02;
    echo $var03;
     
     
    ?>
     
     
    please help me

     

    Larry Meadors <larry.meadors@gmail.com> Feb 27 07:10AM -0700  

    Uh. This is a php problem that has almost nothing to do with Android.
     
    Larry

     

    Belhouchet Ines <belhouchet.ines@gmail.com> Feb 27 03:16PM +0100  

    okey thanks anyways .
     
     
    --
    Ines Belhouchet
    UNIX Addicted

     

    Milind <milind.wakale@discoverit.co.in> Feb 27 04:26AM -0800  

    I don't expect that it will help to Arthur but it can help to other people.
     
    I had same problem that the PicasawebService class was not found. I gone
    from right click of project (in Android), then to properties and selected
    list of JAR file etc. even though problem was there. I posted question and
    got reply that keep jar files in lib. Even still problem was there.
     
    I create new application and instead of pulling jars from properties -->
    add external jar (kept it as it was default), and bring jar files in 'libs'
    directory and it works. Bingo!
     
    Solution is that put jar files in 'libs' directory instead of
    in referenced libraries.
     
    On Wednesday, August 12, 2009 12:13:30 PM UTC+5:30, arthur wrote:

     

    weslinkr <weslinkr@gmail.com> Feb 27 02:41AM -0800  

    Hi all.
     
     
    It seems there is a problem with a shortcut created by Play store during
    installing new app.
     
    (As you know, If user turns on the option 'Auto add widget' in the settings
    for play store,
     
    shortcut for executing new app is automatically created on home screen.)

    - Reproduce step is as below :
     
     
    1). Download and install "Google Play Music" from market.
    2). Check the newly added shortcut for "Google Play Music" on home screen.
    3). Click shortcut for 'Google Play Music' at home screen (or application
    screen).
    4). In the screen of Google play music, just press the menu button and then
    go into settings.
    5). In the 'Music settings', press home key to go to home screen
    6). Click shortcut for "Google Play Music" on home screen
     
     
    - Problem occurs here :
    Showing initial screen for 'Google music'. if you press back-key, 'Music
    Settings' screen will be showed and then press back-key, you will see the
    initial screen for 'Google music' again.
     
    - Expected result :
    Showing 'Music Settings' screen (activity).


     
    And I found that the shortcut has an intent which contains not only
    component name but also 'package'.
     
     
    1.
     

    #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;package=<package
    name>;component=<component name>;end
     
    But this 'package' value is needless and causing side-effect
     
    because It doesn't guarantee the result for keeping current activity stack
    which comes to foreground from background.
     
    (It seems a bug with Activity manager.)
     
     
    As long as there is no particular flag settings for activity,
     
    the curren running app should keep its TaskRecord (activity stack for
    process)
     
    after restart from home screen when user clicks a shorcut again.
     
     
    To solve this problem with PlayStore, Above intent value should be changed
    to 2 or 3 as below :
     
     
    2.
     

    #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=<component
    name>;end
     
     
    3.

    #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=<component
    name>;end


    Is there any different idea of this?
     
    Regards,
    Wonsuk.

     

    weslin <weslinkr@gmail.com> Feb 27 02:35AM -0800  

    Hi all.

    It seems there is a problem with a shortcut created by Play store during
    installing new app.
    (As you know, If user turns on the option 'Auto add widget' in the settings
    for play store,
    shortcut for executing new app is automatically created on home screen.)


    - Reproduce step is as below :

    1). Download and install "Google Play Music" from market.
    2). Check the newly added shortcut for "Google Play Music" on home screen.
    3). Click shortcut for 'Google Play Music' at home screen (or application
    screen).
    4). In the screen of Google play music, just press the menu button and then
    go into settings.
    5). In the 'Music settings', press home key to go to home screen
    6). Click shortcut for "Google Play Music" on home screen

    - Problem occurs here :
    Showing initial screen for 'Google music'. if you press back-key, 'Music
    Settings' screen will be showed
    and then press back-key, you will see the initial screen for 'Google music'
    again.

    - Expected result :
    Showing 'Music Settings' screen (activity).

     
    And I found that the shortcut has an intent which contains not only
    component name but also 'package'.

    1).
     

    #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;package=<package
    name>;component=<component name>;end
    But this 'package' value is needless and causing side-effect
    because It doesn't guarantee the result for keeping current activity stack
    which comes to foreground from background.
    (It seems a bug with Activity manager.)

    As long as there is no particular flag settings for activity,
    the curren running app should keep its TaskRecord (activity stack for
    process)
    after restart from home screen when user clicks a shorcut again.

    To solve this problem with PlayStore, Above intent value should be changed
    to 1 or 2 as below :

    2.

    #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=<component
    name>;end

    3.

    #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=<component
    name>;end


    Is there any different idea of this?

    Regards,
    Wonsuk.

     

    weslin <weslinkr@gmail.com> Feb 27 02:38AM -0800  

    2013년 2월 27일 수요일 오후 7시 35분 35초 UTC+9, weslin 님의 말:

     

    "动作改变情绪(凤凰座" <254904252@qq.com> Feb 27 06:15PM +0800  

    run the sub thread
    ------ 原始邮件 ------
    From:"bob"<bob@coolfone.comze.com>;
    Date:2013年2月26日(星期二) 晚上11:34
    To:"android-developers"<android-developers@googlegroups.com>;
    Subject:[android-developers] networking off the UI thread
     

    So, I have an app.

    When you press a button, it makes a TCP connection to a server and tells it to play a movie.

    It may have 10 buttons and 10 movies.

    Obviously, the TCP connection should not be done on the UI thread.

    But how should it be done?

    One difficulty is that there will only be one TCP connection thru the lifetime of the app - it will not reconnect.

    I would think AsyncTask maybe… But the problem there is what happens if the user monkeys with the buttons and just starts pressing buttons really fast. Should I maybe store up AsyncTasks on a queue so that there is not the potential for really weird behavior in the face of monkeying?

    I'm not sure how to put AsyncTasks on a queue.

     
     

     
    --
    --
    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+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en
    ---
    You received this message because you are subscribed to the Google Groups "Android Developers" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

     

    skink <pskink@gmail.com> Feb 27 02:05AM -0800  

    i have tried to use StateSet.stateSetMatches(int[], int) and frankly
    have no idea what is it for. consider the following:
     
    int[] stateSpec = {1, 1, 1};
    int state = 1;
    // stateSpec == {1, 1, 1}
    Log.d(TAG, "onCreate " + testStateSetMatches(stateSpec, state));
     
    stateSpec[2] = 2;
    // stateSpec == {1, 1, 2}
    Log.d(TAG, "onCreate " + testStateSetMatches(stateSpec, state));
     
    stateSpec[2] = 0;
    // stateSpec == {1, 1, 0}
    Log.d(TAG, "onCreate " + testStateSetMatches(stateSpec, state));
     
    and the testStateSetMatches method:
    private String testStateSetMatches(int[] stateSpec, int state) {
    StringBuilder sb = new StringBuilder("{");
    for (int i = 0; i < stateSpec.length; i++) {
    int item = stateSpec[i];
    sb.append(item);
    if (i + 1 < stateSpec.length) {
    sb.append(", ");
    }
    }
    boolean match = StateSet.stateSetMatches(stateSpec, state);
    sb.append("} vs ").append(state).append(" == ").append(match);
    return sb.toString();
    }
     
    the logcat says:
    D/TestTag ( 1069): onCreate {1, 1, 1} vs 1 == true
    D/TestTag ( 1069): onCreate {1, 1, 2} vs 1 == false
    D/TestTag ( 1069): onCreate {1, 1, 0} vs 1 == true
     
    so it seems that it returns true if every element in stateSpec is
    equal to state *or* there is 0 somewhere in between
     
    i don't really get it, i thought it should match if there is at least
    one state in stateSet but it's not the case, so what is the point of
    this method?
     
    btw StateSet.stateSetMatches(int[], int[]) works as expected but int
    variant gets me crazy, can anyone explain what is it for?
     
    pskink

     

    djhacktor <deepanshcristo@gmail.com> Feb 27 01:30AM -0800  

    How to send specific value as filter form whole text enter ?

     

    Android2ee <mathias.seguy.it@gmail.com> Feb 27 01:07AM -0800  

    Hello,
    What Your manifest look line?
     
     
    Le mercredi 27 février 2013 00:10:26 UTC+1, saex a écrit :

     

    Tamilarasi Sivaraj <javaposts@gmail.com> Feb 27 12:15AM -0800  

    Hi bob,
     
    I don't know what you want exactly.
     
    But you will create the layout which you post the image.Use *Table layout*.
     
    Table layout is best and you will create *three TableRows* inside the
    TableLayout.
     
    Then you create the relative or linear layouts inside top and bottom
    tablerows.
     
    Finally you create the listview in centre tablerow and set height.
     
    Regards
    Android developer
    Trinay Technology Solutions
    www.trinaytech.com
    5705750475
     
    On Wednesday, February 27, 2013 1:28:38 AM UTC+5:30, bob wrote:

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.