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

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

    Alger Lin <addre75@gmail.com> May 31 12:19AM -0700  

    I suggest that, put obfuscated icon resources into your APK file, then
    recovers it at run-time.
     
    You may need to write some tool to obfuscates your icons when create APK
    file, and add some codes in your application to recover those icons.

     

    Mark Murphy <mmurphy@commonsware.com> May 31 06:32AM -0400  

    On Thu, May 31, 2012 at 2:15 AM, Kristopher Micinski
    > with encrypting them, but then even if you display them, the user can
    > still do something like capture the framebuffer, or just grab the raw
    > bytes from the vm (that would, of course, require a rooted device..).
     
    Or decompile the APK, find the encryption algorithm and key, and
    decrypt the images.
     
    --
    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 3.7 Available!

     

    Kristopher Micinski <krismicinski@gmail.com> May 31 07:47AM -0400  

    that's right, as (I forgot) the OP said this would have to be done
    without any user authentication or anything on the internet..
     
    kris
     

     

    giles ian <gilesian.513@gmail.com> May 31 05:08PM +0530  

    Hi Developers,
     
    I have an app developed for 2.2+. This app has menu options. Now on 4.X i
    get a compatibly menu button. Now after including action bar i am not sure
    how the app should behave.
     
    I change my app and set targetSdkVersion to 14 with proper min version and
    include the support jar. Add action bar. Now on 3.0+ i should get an action
    bar but on 2.2 and 2.3 should i get an action bar + menu button working or
    there will be no action bar and only menu button (which basically mean
    there is no change for 2.2 and 2.3 whatsoever)
     
    Thanks

     

    Mark Murphy <mmurphy@commonsware.com> May 31 07:43AM -0400  

    > bar but on 2.2 and 2.3 should i get an action bar + menu button working or
    > there will be no action bar and only menu button (which basically mean there
    > is no change for 2.2 and 2.3 whatsoever)
     
    You will not get an action bar on Android 1.x/2.x devices by setting
    targetSdkVersion to any value.
     
    If you wish to have an action bar on Android 2.1+ devices, consider
    ActionBarSherlock.
     
    --
    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 3.7 Available!

     

    RAJESH RAJARAM <rajeshrajaram7@gmail.com> May 31 04:21AM -0700  

    Hi,
    But actually ur saying that to use the Pull Parser right? I can't use pull
    parser because my responds Xml have change by time by time. So, using DOM
    parser you have any Idea??? That *"Document doc = db.parse(inStream);" *this
    the line i'm getting the error.
     
    Rajesh Rajaram

     

    CharuhasV <vcharuhas@gmail.com> May 31 04:20AM -0700  

    Hi,
     
    I want to access GATT functions in bluez library on android.
    Would I be able to access bluez directly from NDK?
     
    Thanks,
    Charuhas Vidwans.

     

    RAJESH RAJARAM <rajeshrajaram7@gmail.com> May 31 03:46AM -0700  

    Which type of Device have the IMEI id 17 digits?

     

    Narendra Singh Rathore <nsr.curious@gmail.com> May 31 03:38PM +0530  

    Use the following
     
    spinner1.setOnItemSelectedListener(new OnItemSelectedListener()
    {
    public void onItemSelected(AdapterView<?> parentView, View
    selectedItemView, int position, long id)
    {
     
    spinner2.setSelection(position);
    spinner3.setSelection(position);
    spinner4.setSelection(position);
    spinner5.setSelection(position);
    }
     
    public void onNothingSelected(AdapterView<?> arg0)
    {
    }
    });
     
    spinner2.setOnItemSelectedListener(new OnItemSelectedListener() {
    public void onItemSelected(AdapterView<?> parentView, View
    selectedItemView, int position, long id) {
     
    > }
     
    > public void onNothingSelected(AdapterView<?> arg0) {
    > }
     
     
    The position, I put as argument to setSelection method is the position of
    selected item.
     
    Hope this will help you.

     

    jitendra patidar <govajitendra@gmail.com> May 31 03:03AM -0700  

    Hi All,
     
    i am using list view and when i click on particular cell ,just i
    display a popup window for details information of this cell obj. it is ok
    to open to popup window but i want this pop up window comes with animation
    in front of user .....i am unable to animate it ...
    if any idea please guide me....
     
    Thanks

     

    Mek Rama <sreeramakrishna.n@newmeksolutions.com> May 31 02:57AM -0700  

    Fragments seems to be better fit for your requirement.
    Use of hidden layouts is not recommended.
     
     
     
    On Monday, May 28, 2012 4:33:48 PM UTC+5:30, gayathri r wrote:

     

    David Olsson <zooklubba@gmail.com> May 31 11:48AM +0200  

    The VAT stuff is also depending on your country. You should really talk to
    your local tax authorities and perhaps even legal council about this than
    just people guessing on/talking how it is in their country on a mailing
    list.
     

     

    Narendra Singh Rathore <nsr.curious@gmail.com> May 31 03:14PM +0530  

    The problem is with your co-ordinates, you are not specifying them
    correctly.
    Just check them again.

     

    kelum prasad <kelum.prasad@gmail.com> May 31 01:40AM -0700  

    Hi
     
    Thank you for the hint.
    I already tried with this and it did work. But when the app runs for
    the first time, it asks to activate the app as Device administrator.
    Since this is my internal project, in my requirement, there should not
    have any user inputs to run the service. So this solution failed at
    that point.
     
    Thanks
    Kelum.
     
     

     

    kelum prasad <kelum.prasad@gmail.com> May 31 01:49AM -0700  

    Hi.
     
    Really appreciate your tips.
     
    Yes I can leave the screen alone and turn off by itself. But my
    problem is, with the light sensor readings, I want to turn on the
    screen again.
     
    Seems when screen is turned off, sensors are not working. So I had to
    use TimerTask to turn on screen and read the light sensor. If the
    reading is above my defined margin, keep the screen on otherwise allow
    to turn off by itself or by force. But with a Service, screen does
    not turn off until the TimerTask fires to turn on the screen. Once it
    is fired, screen goes off and at the same time it wakes up according
    to my logic.
     
    But with an Activity this worked smoothly. So my problem is, why this
    work in an Activity and not in a Service.
     
    Thanks
    Kelum
     

     

    Fabien R <theedge456@free.fr> May 31 10:29AM +0200  

    On 31/05/12 03:00, Qin Ding wrote:
    > on IOS device, I tried to send the IOS publicKey and signature as byte[] in
    > a hope that I can reconstruct the publicKey from byte[] at the J2EE server.
    > It failed to rebuild the publicKey using X509PublicKeySpec.
     
    Can you see if it is an ordering-byte problem ?

     

    David Olsson <zooklubba@gmail.com> May 31 10:25AM +0200  

    It's not a useless answer. It's the truth. Google usually don't talk about
    upcoming releases, and that's even if you ask one of the engineers
    themselves, something you really shouldn't do.
     

     

    Rob Guinness <iamguinness@gmail.com> May 31 12:54AM -0700  

    I am wondering if any commercial Android devices fuse accelerometer,
    digital compass, and gyroscope sensor data to provide a stable and accurate
    orientation result? Preferably such sensor fusion should be implemented in
    hardware, as explained in the popular video "Sensor Fusion on Android
    Devices: A Revolution in Motion Processing"<http://www.youtube.com/watch?v=C7JQ7Rpwn2k>,
    where a prototype was presented based on a modified Nexus One.
     
    This video, however, is more than 1.5 years old, which is eons in
    smartphone hardware development. Also, the citation (apparently from a
    Google/Android engineer) in this Stackoverflow answer<http://stackoverflow.com/a/8006832/896660>implied that new devices which fuse gyro data with other sensor data are in
    development (original discussion here<?fromgroups#%21topic/android-developers/GOm9yhTFZaM>).
    That information is also more than one year old, so could someone shed some
    light on the current situation?
     
    Thanks,
     
    Rob

     

    mani kandan <mgmanikandan87@gmail.com> May 31 12:26PM +0530  

    After selection of theater u must pass position of the list view through
    intent...
     
     
    --
    *With warm regards,*
    **
    *M.G.Manikandan*
    *9543972414*
    *mgmanikandan87@gmail.com* <mgmanikandan87@gmail.com>* *

     

    Ramya Vegesna <ramyavegesna.08@gmail.com> May 31 01:00PM +0530  

    I didnt get u. Can u say me how to pass position of the list view through
    intent. Please.
     

     

    Ibrahim Sada <ibrahim.in2em@gmail.com> May 31 01:04PM +0530  

    its better you show us how you have intent....
    its intent problm mostly....
     

     

    Miguel Morales <therevoltingx@gmail.com> May 31 12:50AM -0700  

    You need to provide more details and possibly code and screenshots for us
    to be able to help you.
    Most likely when you are doing onItemSelected you are not mapping it to the
    proper data item.
    Again, screenshots would help.
     
     
    --
    ~ Jeremiah:9:23-24
    Android 2D MMORPG: http://solrpg.com/,
    http://www.youtube.com/user/revoltingx

     

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

No comments:

Post a Comment