[android-developers] Digest for android-developers@googlegroups.com - 10 Messages in 6 Topics

Comments: (0)

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

    Piren <gpiren@gmail.com> Jun 29 11:51PM -0700  

    Ironically, your own reply also answers your question... obviously, others
    have missed it as well.
     
    On Saturday, June 29, 2013 10:52:54 AM UTC+3, Charx wrote:

     

    "Παύλος-Πέτρος Τουρνάρης" <p.tournaris@gmail.com> Jun 30 10:20AM +0300  

    If you are so smartass then Google before asking here!
     
     
     
     
    --
    *Παύλος-Πέτρος Τουρνάρης*
    *Android & Software Developer*
     
    - *http://goo.gl/TsJ8u*
    - *http://acschedule.org*

     

    Piren <gpiren@gmail.com> Jun 29 11:54PM -0700  

    Part of what 9patches do is define padding... if you define them on your
    own you'll overwrite the settings provided by the 9patch.
     
    On Saturday, June 29, 2013 2:10:36 AM UTC+3, Shri wrote:
     

     

    kadmos <kadmos13@gmail.com> Jun 29 02:29PM -0700  

    Hi,
     
    We have been having serious problems with an app of ours since an update in
    May - many reports/complaints of failure at in-app purchase point of sale -
    something which had preciously been working fine. While attempting to
    resolve the issue it was discovered that the app update, which was a major
    code overhaul, was published with the wrong Public Key - the Public Key
    from another of our apps from which code was ported. After updating again
    with the correct Public Key, there were still problems with in-app
    purchases working correctly on some devices. When a new account/new credit
    card was used however, in-app purchases worked flawlessly on a 'problem'
    device, which has me now thinking that the swapped Public Key has caused
    problems with peoples' Play accounts who attempted to make purchases with
    the build installed that had the incorrect Public Key - one used in another
    published app.
     
    Trying to get feedback to see if I am on the right track with this and how
    the issue could possibly be resolved (i.e. removing current in-app purchase
    items and creating new ones perhaps?) or if I am wrong and need to be
    examining my code more throughly against different brand devices/OS
    versions.
     
    Any advice appreciated.

     

    kadmos <kadmos13@gmail.com> Jun 29 11:22PM -0700  

    It had *previously been working fine, not 'preciously' ...

     

    "Ali S. Rangwala" <aliwork79@gmail.com> Jun 30 06:42AM +0300  

    Dear All,
     
    We have our shopping cart application in android and want to integrate with
    Knet payment gateway.
     
    Can someone share some pointers or references on how to achieve this.
    Looked around for php based solution but could not find specific to
    android. Would like to hear your experience if in similar requirement.
     
    Thanks for your time.
     
    BR,
    Ali

     

    raj <rajankz@gmail.com> Jun 29 05:58PM -0700  

    Hi gjs,
     
    Thanks for the response.
    I am exactly using the same method, as in using shapes(gradient circles) .
    And I know that zooming the map will auto zoom the images as well, but that
    will be against the kind of heatmap I need. My heatmap's density is based
    on the number of adjoining points, and so if a cluster was initially
    red(high density), then zooming in will move the markers farther, reducing
    the density and so will have to redraw based on the current zoom layout.
     
    I am okay with redrawing when the zoom changes(i don't see any other way
    either, unless we create and store all images), but my main problem is that
    the overlayed layer is restricted based on the screen size(match-parent,
    and parent's size is fixed based on map container size), and so the image
    created on the overlayed layer is only for the markers currently visible on
    screen. Drawing circles directly on map will not work, as I don't think we
    can change the colors by pixel(the way we can do on a bitmap)
     
    R
     
     
    On Friday, 28 June 2013 07:16:52 UTC-4, gjs wrote:

     

    vani reddy <vani.reddy.blore@gmail.com> Jun 29 01:27PM +0530  

    Hi All,
     
    When i touch the Home button and open my app , my app doesn't open the
    screen where it closed.How to get this ?
     
    For all the actiivties I have given android:noHistory="true"
     
    and HomeScreen to be android:noHistory="true"
    android:launchMode="singleTask"
     
    in the manifest.
    --
    Regards,
    Vani Reddy

     

    RichardC <richard.critten@googlemail.com> Jun 29 05:19AM -0700  

    Remove android:noHistory="true" see:
    http://developer.android.com/guide/topics/manifest/activity-element.html#nohist
     
    My emphasis below
     
    android:noHistoryWhether or not the activity should be removed from the
    activity stack and finished (its finish()<http://developer.android.com/reference/android/app/Activity.html#finish()>method
    called) when the user navigates away from it and it's no longer visible on
    screen — "true" if it should be finished, and "false" if not. The default
    value is "false".
     
    *A value of "true" means that the activity will not leave a historical
    trace. It will not remain in the activity stack for the task, so the user
    will not be able to return to it*.
     
    On Saturday, June 29, 2013 8:57:46 AM UTC+1, vani 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 - 21 Messages in 13 Topics

Comments: (0)

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

    Harshad <harshad.rj@gmail.com> Jun 29 12:01AM -0700  

    Hi,
     
    Is it possible to extend SurfaceFlinger/Layer in an app built with the NDK?
    I want to do something like this:
    http://jsharkey.org/blog/2010/07/01/android-surfaceflinger-tricks-for-fun-and-profit/
     
    By looking at the surfaceflinger code it seems conceptually possible.
    However I have not used the NDK much and haven't seen an example of this on
    the internet.
     
    Hence, would like to know if there are any known gotchas, before I dive
    deep into this rabbit hole.
     
    thanks,
    Harshad

     

    Andrew <a0j84fbz@frontier.com> Jun 28 05:06PM -0700  

    I am going through the steps for Alpha testing an app on GooglePlay for the
    first time. This morning, I uploaded an APK to the Alpha Test tab of the
    Developer Console and "Published" the app. (My understanding is that
    because I have not uploaded any APK to the Production tab, the App is still
    hidden from the general public. IMO, Google over-uses the word "publish" in
    ways that can create confusion. So please correct me if I'm wrong about
    this.)
     
    I added an Alpha Test Google Group, and sent them the app Url. One tester
    went there right away. One or two steps after starting the process, she got
    a dialog asking to choose 'Browser' or 'Play Store'. After choosing 'Play
    Store,' She got an accurate Store Front page, and was able to look it over
    for several minutes. The app wasn't available for download, but I was
    warned it could take a few hours, so this was expected.
     
    Now, a few hours later, she goes through the same steps, but when she gets
    to the Store Front page, it only stays up for a few seconds, then vanishes.
    This happens every time. I've followed all the steps carefully, but now
    Alpha testing seems completely blocked. Can anyone help with this, or tell
    me what is going on?

     

    Andrew <a0j84fbz@frontier.com> Jun 28 10:31PM -0700  

    It appears that com.android.vending is causing a SIGSEGV (SEGV_ACCERR).
     
    Perhaps this is the wrong forum since this appears to be a Google service
    issue. Can someone suggest where I should go?

     

    Aadi Rockzz <sakzk007@gmail.com> Jun 28 05:15AM -0700  

    Hi,
     
    I want to get a notification on my android device if i made a entry on
    Server side. I got to know after searching about this using gcm and c2dm we
    can do this. But the problem is i saw something like using gcm we can send
    only 100 notification per day. But my requirement is i want to send more
    than 100. Please help me to find a solution.
     
    Regards,
    Anees

     

    Kristopher Micinski <krismicinski@gmail.com> Jun 28 11:20AM -0400  

    That's right: there are tons of apps handling way more than 100
    messages per day..
     
    Kris
     
    On Fri, Jun 28, 2013 at 8:33 AM, RichardC

     

    Michael Banzon <michael@banzon.dk> Jun 28 05:28PM +0200  

    Confirmed.
     
    When developing my latest app I sent a lot more than 100 messages per
    hour during "extended" work hours.
     
    On Fri, Jun 28, 2013 at 5:20 PM, Kristopher Micinski
     
    --
    Michael Banzon
    http://michaelbanzon.com/

     

    Anees Thyrantakath <sakzk007@gmail.com> Jun 29 10:06AM +0530  

    Thanks everyone for the clarification.
     
     

     

    Android Noob <degamer106@gmail.com> Jun 28 06:10PM -0700  

    I was able to successfully compile an AOSP build with the GMS apps
    included, but when I tried running my MonkeyRunner script on the device,
    the script crashed because it could not find uiautomator. If I do
    adb shell uiautomator,
     
    the shell prompt responds with
     
    /system/bin/sh: uiautomator not found
     
    I checked the /frameworks/testing/ folder and there was a sub-folder for
    uiautomator. I'm not entirely sure why this is happening as this is the
    first time I've attempted to compile a custom ROM for the Nexus 10.
     
    I've flashed a stock Nexus 10 image onto my device before and I had no
    problems running the script so I can verify that it works.

     

    Shri <shri.borde@gmail.com> Jun 28 04:10PM -0700  

    I have the following layout file which uses the attached 9.png. It results
    in the attached screenshot where the red background from the 9.png does not
    extend all the way behind the button. If I remove the
    android:paddingBottom="1dp" attribute below, things work as I expect. Is
    this behavior expected (if so, why), or is this a bug?
     
    Thanks,
    Shri
     
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/container"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#0000ff" >
    <LinearLayout
    android:id="@+id/view_with_drop_shadow"
    android:orientation="vertical"
    android:paddingBottom="1dp"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/red_background_with_drop_shadow" >

    <Button
    android:text="Hello"
    android:layout_width="wrap_content"
    android:layout_height="48dip" />

    </LinearLayout>
    </LinearLayout>

     

    Tiago Braga <tbragamachado@gmail.com> Jun 28 01:14PM -0300  

    Hi,
     
    I have a picture of "cover" with the play button in the middle. In this
    image has several elements "objects" at the top of the page, at the bottom of
    the page, etc..
     
    I have two options to develop the image in existing resolutions:
     
    1 - Having a single image and place as background, we will have the right to
    view all the elements regardless of the resolution. But it will cut the
    sides in small resolutions, and also the small elements will be very small and
    may be bad for viewing. This item, the development is simple and fast.
     
    2 - The image elements would be dismembered, and depending on the resolution
    , remove items that have a good quality and good viewing. This item would
    take longer to develop, because I have to develop layout for each resolution
    and would also have to lose image elements. On the other hand, the quality
    was excellent!
     
    Do you think it's worth taking some elements of the page to give good
    quality at all resolutions or just take all the elements of all resolutions
    regardless of display quality?
     
    Excuse me if I could not explain well, if they have questions, let me know
    that I try to explain better.
     
    --
    Atenciosamente,
    Tiago Braga Machado

     

    Charx <evertvdbraak@gmail.com> Jun 28 08:49AM -0700  

    Am i the only one that is missing a horizontal ListView adapter that has
    the ability to recycle views?

     

    "Παύλος-Πέτρος Τουρνάρης" <p.tournaris@gmail.com> Jun 28 06:56PM +0300  

    What do you mean by horizontal?
     
     
     
     
    --
    *Παύλος-Πέτρος Τουρνάρης*
    *Android & Software Developer*
     
    - *http://goo.gl/TsJ8u*
    - *http://acschedule.org*

     

    "jrichards1408@googlemail.com" <jrichards1408@gmail.com> Jun 28 04:22AM -0700  

    Hi all.
     
    is it possible to create a mini HTTP server that acts as a proxy where i
    can recieve any requests from a webview and it will pass that request to my
    http proxy server running inside the app that can then view the raw
    contents of that request(http headers, bodies etc) and handle it from my
    own proxy?
     
    I can see that the apahce libraries only contain objects that allow you to
    create requests and handle responses but not how i can create a mini http
    server.
     
    Thanks

     

    Michael Banzon <michael@banzon.dk> Jun 28 05:16PM +0200  

    It is quite possible - but:
     
    Another alternative is to set up a local wireless network containing a
    proxy - this can by done by most laptops/desktops with wireless
    networking and the right software. By doing this you can connect
    through the proxy running on the computer and debug communication in a
    bit more (IMHO) convenient way.
     
    On Fri, Jun 28, 2013 at 1:22 PM, jrichards1408@googlemail.com
     
    --
    Michael Banzon
    http://michaelbanzon.com/

     

    "jrichards1408@googlemail.com" <jrichards1408@gmail.com> Jun 28 09:10AM -0700  

    i have setup my webview's proxy using this snippet of code below:
     
    * ProxySettings.setProxy(mContext, "http://127.0.0.1", PORT);*
     
    Here is my socket server listener
     
     
    * serverSocket = new ServerSocket(PORT);*
    * thread = new Thread(runnable, this.getClass().getSimpleName());*
    * *
    * *
    * public void startlistener() {*
    * listening = true;*
    * thread.start();*
    * *
    * }*
    * *
    * private Runnable runnable = new Runnable() {*
    * *
    * @Override*
    * public void run() {*
    * while (listening) {*
    * try {*
    * Socket accept = serverSocket.accept();*
    * *
    * String data = getData(accept);*
    * *
    * httpHandler.handleRequest(data);*
    * *
    * } catch (IOException e) {*
    * // TODO Auto-generated catch block*
    * e.printStackTrace();*
    * }*
    * }*
    * *
    * }*
    * };*
     
    i have put a breakpoint on String data = getData(accept); and it never hits
    it
     
    Below is the proxy class taken from https://gist.github.com/madeye/2297083
     
    * public class ProxySettings {*
    * *
    * private static final String TAG = "GAEProxy.ProxySettings";*
    * *
    * static final int PROXY_CHANGED = 193;*
    * *
    * private static Object getDeclaredField(Object obj, String name)*
    * throws SecurityException, NoSuchFieldException,*
    * IllegalArgumentException, IllegalAccessException {*
    * Field f = obj.getClass().getDeclaredField(name);*
    * f.setAccessible(true);*
    * Object out = f.get(obj);*
    * // System.out.println(obj.getClass().getName() + "." + name + " = "+*
    * // out);*
    * return out;*
    * }*
    * *
    * public static Object getRequestQueue(Context ctx) throws Exception {*
    * Object ret = null;*
    * Class networkClass = Class.forName("android.webkit.Network");*
    * if (networkClass != null) {*
    * Object networkObj = invokeMethod(networkClass, "getInstance",*
    * new Object[] { ctx }, Context.class);*
    * if (networkObj != null) {*
    * ret = getDeclaredField(networkObj, "mRequestQueue");*
    * }*
    * }*
    * return ret;*
    * }*
    * *
    * private static Object invokeMethod(Object object, String methodName,*
    * Object[] params, Class... types) throws Exception {*
    * Object out = null;*
    * Class c = object instanceof Class ? (Class) object : object.getClass();
    *
    * if (types != null) {*
    * Method method = c.getMethod(methodName, types);*
    * out = method.invoke(object, params);*
    * } else {*
    * Method method = c.getMethod(methodName);*
    * out = method.invoke(object);*
    * }*
    * // System.out.println(object.getClass().getName() + "." + methodName +*
    * // "() = "+ out);*
    * return out;*
    * }*
    * *
    * public static void resetProxy(Context ctx) throws Exception {*
    * Object requestQueueObject = getRequestQueue(ctx);*
    * if (requestQueueObject != null) {*
    * setDeclaredField(requestQueueObject, "mProxyHost", null);*
    * }*
    * }*
    * *
    * private static void setDeclaredField(Object obj, String name, Object
    value)*
    * throws SecurityException, NoSuchFieldException,*
    * IllegalArgumentException, IllegalAccessException {*
    * Field f = obj.getClass().getDeclaredField(name);*
    * f.setAccessible(true);*
    * f.set(obj, value);*
    * }*
    * *
    * /***
    * * Override WebKit Proxy settings*
    * * *
    * * @param ctx*
    * * Android ApplicationContext*
    * * @param host*
    * * @param port*
    * * @return true if Proxy was successfully set*
    * */*
    * public static boolean setProxy(Context ctx, String host, int port) {*
    * boolean ret = false;*
    * setSystemProperties(host, port);*
    * *
    * try {*
    * if (Build.VERSION.SDK_INT < 14) {*
    * *
    * Object requestQueueObject = getRequestQueue(ctx);*
    * if (requestQueueObject != null) {*
    * // Create Proxy config object and set it into request Q*
    * HttpHost httpHost = new HttpHost(host, port, "http");*
    * *
    * setDeclaredField(requestQueueObject, "mProxyHost", httpHost);*
    * ret = true;*
    * }*
    * *
    * } else {*
    * ret = setICSProxy(host, port);*
    * }*
    * } catch (Exception e) {*
    * Log.e(TAG, "error setting up webkit proxying", e);*
    * }*
    * return ret;*
    * }*
    * *
    * private static boolean setICSProxy(String host, int port)*
    * throws ClassNotFoundException, NoSuchMethodException,*
    * IllegalArgumentException, InstantiationException,*
    * IllegalAccessException, InvocationTargetException {*
    * Class webViewCoreClass = Class.forName("android.webkit.WebViewCore");*
    * Class proxyPropertiesClass = Class*
    * .forName("android.net.ProxyProperties");*
    * if (webViewCoreClass != null && proxyPropertiesClass != null) {*
    * Method m = webViewCoreClass.getDeclaredMethod("sendStaticMessage",*
    * Integer.TYPE, Object.class);*
    * Constructor c = proxyPropertiesClass.getConstructor(String.class,*
    * Integer.TYPE, String.class);*
    * m.setAccessible(true);*
    * c.setAccessible(true);*
    * Object properties = c.newInstance(host, port, null);*
    * m.invoke(null, PROXY_CHANGED, properties);*
    * return true;*
    * }*
    * return false;*
    * *
    * }*
    * *
    * private static void setSystemProperties(String host, int port) {*
    * *
    * System.setProperty("http.proxyHost", host);*
    * System.setProperty("http.proxyPort", port + "");*
    * *
    * System.setProperty("https.proxyHost", host);*
    * System.setProperty("https.proxyPort", port + "");*
    * *
    * }*
    * }*
     
     
     
    Am i missing something?
     
    The ServerSocket runs in the same android app that the webview is running
    and the idea is to redirect all http requests to go through my socket
    server proxy.
     
    Thanks
     
    On Friday, June 28, 2013 4:16:31 PM UTC+1, mbanzon wrote:

     

 hi.
    Ibrahim Sada <ibrahim.in2em@gmail.com> Jun 28 08:13PM +0530  

    Hi Friends...
    I Want To Make Android Device As A Server..
    Can Any One Help Me Please....
    I Got Strucked in My Work Yaar..
    Thanks In Advance...

     

    Ben Lee <leefurong@gmail.com> Jun 28 09:49PM +0800  

    Hi,
    We have a simple note app, it save each note as a single file.
    It works locally, doesn't even require network permission.
    I am thinking about allowing user to sync their files with their cloud
    storage account, like Dropbox, Google Drive, SkyDrive, etc.
    My first guess is this is a general requirement, so there must be some
    working solution(An app, or a library) out there.
    I spent several weeks to investigate. Here is what I found.
    The nearest app is FolderSync. The user can create "folder pair"(pair of
    local folder and remote folder), then FolderSync will handle all other work
    to keep these two folders in sync. However, it don't have an api to allow
    third party app(like our note app) to create a "folder pair".
    Regarding to libraries, some of the cloud provide library for Android.
    Those libraries just do downloading/uploading, they don't do folder
    syncing. One exception is DropBox, they provide a sync api. This is the
    nearest library that I expect.
    The reasons stopping me from using dropbox sync api to implement sync for
    my app are:
    1. I need to change my File related codes. But what I want is JUST a folder
    that syncs. So why can't I just do normal File reading/writing and the
    library do the work of syncing?
    2. What about a user who don't use dropbox?
    3. It cache the files in Internal Storage, which is often precious.
     
    After finding out there isn't a ideal solution, I spent several days to
    learn how to create one. It turns out to be a non-trivial task.
    My target is to create a sync app that allow user and third party apps to
    create "folder pair", the sync app deals with all other things to make sure
    the folder is synced.
    It should be able to connect to different cloud providers.
    It should be easy to use, both for the end user and for third party
    developer.
    It should work.
     
    Before I start, I have some questions.
    1. Did I missed anything? Is there a good solution out there?
    2. If there isn't any solution, why? Is it because it's NOT a general
    requirement, or because it's technically impossible?
    3. Why companies like dropbox provide sync for Windows and Mac and Linux,
    but NOT for Android? Is it technically impossible, or because no one need
    to sync in Android?
    4. If I create such an app, are you interested in using(invoke via intent)
    it?
     
    Thanks in advance!
     
     
    --
    Best Regards,
    Ben Lee

     

    gjs <garyjamessilva@gmail.com> Jun 28 04:16AM -0700  

    Hi,
     
    I am actually doing similar stuff to most things you mentioned, using a
    custom View (overlayed) onto top of the Map and drawing bitmaps to the
    canvas but not needing to rescale the bitmaps for zoom, using TileOverlay,
    using GroundOverlay and also drawing Polylines, filled Polygons & Circles.
     
    I'm not needing heatmaps as yet myself, but I thought if your heatmaps are
    fairly simple you could also try experimenting with drawing overlapping
    filled Circles with different colors & also varying levels of transparency
    to achieve a reasonable heatmap effect. If you do it this way I don't think
    you will need to be resizing these when zooming.
     
    See https://developers.google.com/maps/documentation/android/shapes for
    details.
     
    And no I can't post any code either.
     
    Good luck !
     
    Regards
     
    On Friday, June 28, 2013 5:54:07 AM UTC+10, raj wrote:

     

    "Huang, Habzy(Shan)" <habzyhs@gmail.com> Jun 28 03:48AM -0700  

    Hi, I try to develop a android application with front camera. But I can not
    find the reason for this random crash.
    Is there any one meet the same issue? Or can some one help me to find the
    reason? Thanks.
     
    1. I'm sure I've released the camera after the last used.
    2. The crash main log is "Fail to connect to camera service"
    3. Here is the detail log.
     
    After call camera.open(1).
    D/SecCameraHardware( 1904): LSIHAL int android::HAL_getCameraInfo(int,
    camera_info*)
    D/SecCameraCoreManager( 1904): SecCameraCoreManager created: pid=1904,
    cameraId=1
    I/SecCameraCoreManager( 1904): Opening camera 1
    D/SecCameraHardware( 1904): LSIHAL int
    android::HAL_camera_device_open(const hw_module_t*, char const*,
    hw_device_t**)
    D/SecCameraHardware( 1904): LSIHAL int android::HAL_getNumberOfCameras()
    D/SecCameraHardware( 1904): LSIHAL int
    android::HAL_camera_device_open(const hw_module_t*, char const*,
    hw_device_t**): open camera 1
    D/SecCameraHardware( 1904): init E
    V/SecCameraHardware( 1904): FimcV4l2 init: /dev/video0, fd(37)
    V/SecCameraHardware( 1904): FimcV4l2 init: camera[1] ISP Camera
    ===================================================
    After a long while log.... And here are many logs about audio device
    ===================================================
    E/SecCameraHardware( 1904): FimcV4l2 init: error -1, open /dev/video1
    (error : Out of memory)
    E/SecCameraHardware( 1904): initCamera X: error, /dev/video1
    V/SecCameraHardware( 1904): FimcV4l2 deinit EX
    D/SecCameraHardware( 1904): nativeGetDebugAddr paddr = 0x7084b000
    D/IS_FW_DEBUG( 1904): [0x0000:0x00000000]
    D/IS_FW_DEBUG( 1904): +++Init()
    D/IS_FW_DEBUG( 1904): [0x0001:0x00000000][MAIN] +++CMCUControl(E0180000)
    D/IS_FW_DEBUG( 1904): [0x0002:0x00000000][MAIN] ---CMCUControl()
    D/IS_FW_DEBUG( 1904): [0x0003:0x00000000][MAIN] MessageID(Start : 1, Number
    50)
    D/IS_FW_DEBUG( 1904): [0x0004:0x00000000][MAIN] +++CMainControl()
    D/IS_FW_DEBUG( 1904): [0x0005:0x00000000][MAIN] IS Remap Addr : 0x00000000
    D/IS_FW_DEBUG( 1904): [0x0006:0x00000000][MAIN] IS Region Size : 9540, 48
    D/IS_FW_DEBUG( 1904): [0x0007:0x00000000][MAIN] 2256 12720 2032 2256 3088
    D/IS_FW_DEBUG( 1904): [0x0008:0x00000000][MAIN] Parameter Region :
    0x009FB000
    D/IS_FW_DEBUG( 1904): [0x0009:0x00000000][MAIN] Header Region[0] :
    0x009FC674
    D/IS_FW_DEBUG( 1904): [0x000a:0x00000000][MAIN] Header Region[1] :
    0x009FC6A4
    D/IS_FW_DEBUG( 1904): [0x000b:0x00000000][MAIN] Header Region[2] :
    0x009FC6D4
    D/IS_FW_DEBUG( 1904): [0x000c:0x00000000][MAIN] Header Region[3] :
    0x009FC704
    D/IS_FW_DEBUG( 1904): [0x000d:0x00000000][MAIN] Face Region : 0x009FC7F4
    D/IS_FW_DEBUG( 1904): [0x000e:0x00000000][MAIN] Create Task : MainTask
    D/IS_FW_DEBUG( 1904): [0x000f:0x00000000][MAIN] ---CMainControl(1)
    D/IS_FW_DEBUG( 1904): [0x0010:0x00000000]---Init()
    D/IS_FW_DEBUG( 1904): [0x0011:0x00000000][MAIN] +++MainTaskLoop()
    D/IS_FW_DEBUG( 1904): [0x0012:0x00000000][MAIN] Sending
    IHC_GET_SENSOR_NUMBER
    D/IS_FW_DEBUG( 1904):
    [0x0013:0x00000000](0x00001000)[0x0014:0x00000000][MAIN] IS SET : UNKNOWN
    D/IS_FW_DEBUG( 1904): [0x0015:0x00000000][MAIN] Get Sensor Number : 2
    D/IS_FW_DEBUG( 1904): [0x0016:0x00000000][MAIN] Create Structures
    D/IS_FW_DEBUG( 1904): [0x0017:0x00000000][MAIN] +++CMainContext()
    D/IS_FW_DEBUG( 1904): [0x0018:0x00000000][MAIN] Base of 0 ScenarioInfo :
    0x00206A7C
    D/IS_FW_DEBUG( 1904): [0x0019:0x00000000][MAIN] Base of 1 ScenarioInfo :
    0x002078C8
    D/IS_FW_DEBUG( 1904): [0x001a:0x00000000][MAIN] Base of 2 ScenarioInfo :
    0x00208714
    D/IS_FW_DEBUG( 1904): [0x001b:0x00000000][MAIN] Base of 3 ScenarioInfo :
    0x00209560
    D/IS_FW_DEBUG( 1904): [0x001c:0x00000000][MAIN] ---CMainContext()
    D/IS_FW_DEBUG( 1904): [0x001d:0x00000000][MAIN] +++CMainContext()
    D/IS_FW_DEBUG( 1904): [0x001e:0x00000000][MAIN] Base of 0 ScenarioInfo :
    0x0020A418
    D/IS_FW_DEBUG( 1904): [0x001f:0x00000000][MAIN] Base of 1 ScenarioInfo :
    0x0020B264
    D/IS_FW_DEBUG( 1904): [0x0020:0x00000000][MAIN] Base of 2 ScenarioInfo :
    0x0020C0B0
    D/IS_FW_DEBUG( 1904): [0x0021:0x00000000][MAIN] Base of 3 ScenarioInfo :
    0x0020CEFC
    D/IS_FW_DEBUG( 1904): [0x0022:0x00000000][MAIN] ---CMainContext()
    D/IS_FW_DEBUG( 1904): [0x0023:0x00000000][MAIN] +++Open()
    D/IS_FW_DEBUG( 1904): [0x0024:0x00000000][MAIN] 0. OpenSensor
    D/IS_FW_DEBUG( 1904): [0x0025:0x00000000][MAIN] Base of 0 ScenarioInfo :
    0x00206A7C
    D/IS_FW_DEBUG( 1904): [0x0026:0x00000000][MAIN] Base of 1 ScenarioInfo :
    0x002078C8
    D/IS_FW_DEBUG( 1904): [0x0027:0x00000000][MAIN] Base of 2 ScenarioInfo :
    0x00208714
    D/IS_FW_DEBUG( 1904): [0x0028:0x00000000][MAIN] Base of 3 ScenarioInfo :
    0x00209560
    D/IS_FW_DEBUG( 1904): [0x0029:0x00000000]
    D/IS_FW_DEBUG( 1904): [DRC] Entry: [DrcEntry] called.[0x002a:0x00000000]
    D/IS_FW_DEBUG( 1904): [FD] Entry: [FdEntry] called.[0x002b:0x00000000]
    D/IS_FW_DEBUG( 1904): [SENSOR]OpenSensor called.[0x002c:0x00000000]
    D/IS_FW_DEBUG( 1904): [S5K6A3_Init][0x002d:0x00000000]
    D/IS_FW_DEBUG( 1904): [DRC] Entry: [DrcTaskNormal]
    called.[0x002e:0x00000000]
    D/IS_FW_DEBUG( 1904): [FD] Entry: [FdTaskEntry] called.[0x002f:0x00000000]
    D/IS_FW_DEBUG( 1904): [FD] LIB: [FdTaskLib] called[0x0030:0x00000000]
    D/IS_FW_DEBUG( 1904): [S5K6A3]Version : 2[0x0031:0x00000000]
    D/IS_FW_DEBUG( 1904): [Fps : 30.14 ][0x0032:0x00000000]
    D/IS_FW_DEBUG( 1904): [SE]Mbps/lane : 740 Mbps[0x0033:0x00000000]
    D/IS_FW_DEBUG( 1904): [Entering Self Calibration mode][0x0034:0x00000000]
    D/IS_FW_DEBUG( 1904): [Processing OTP calibration....][0x0035:0x00000000]
    D/IS_FW_DEBUG( 1904): [ISP_ENTRY] [Created EntryTask]
    .....[0x0036:0x00000000]
    D/IS_FW_DEBUG( 1904): [ISP_ENTRY] *[Reset] .....[0x0037:0x00000000]
    D/IS_FW_DEBUG( 1904): [ISP_ENTRY] *[Init] .....[0x0038:0x00000000]
    D/IS_FW_DEBUG( 1904): [SIRC] Logger Starts[0x0039:0x00000000]
    D/IS_FW_DEBUG( 1904): [ISP_ENTRY]Created
    SIRCQueueTask....[0x003a:0x00000000][MAIN] ---Open()
    D/IS_FW_DEBUG( 1904): [0x003b:0x00000000][MAIN] +++GetSetFileAddr()
    D/IS_FW_DEBUG( 1904): [0x003c:0x00000000][MAIN] 1. Get SetFile Address from
    A5
    D/IS_FW_DEBUG( 1904): [0x003d:0x00000000][MAIN] ---GetSetFileAddr()
    D/IS_FW_DEBUG( 1904): [0x003e:0x00000000][MAIN] +++LoadSetFile()
    D/IS_FW_DEBUG( 1904): [0x003f:0x00000000][MAIN] Scenario Count : 7
    D/IS_FW_DEBUG( 1904): [0x0040:0x00000000][MAIN] Entry Count : 3
    D/IS_FW_DEBUG( 1904): [0x0041:0x00000000][MAIN] Scenario Setfile Table Base
    : 0x0080001C
    D/IS_FW_DEBUG( 1904): [0x0042:0x00000000][MAIN] Setfiles Table Base :
    0x00800070
    D/IS_FW_DEBUG( 1904): [0x0043:0x00000000][MAIN] Setfile Index Table Base :
    0x0080007C
    D/IS_FW_DEBUG( 1904): [0x0044:0x00000000][MAIN] Setfile Base : 0x008000B4
    D/IS_FW_DEBUG( 1904): [0x0045:0x00000000][MAIN] LoadSetfile of entry(3)
    D/IS_FW_DEBUG( 1904): [0x0046:0x00000000][MAIN] 0 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0047:0x00000000][MAIN] 1 Scenario : 1 setfile
    D/IS_FW_DEBUG( 1904): [0x0048:0x00000000][MAIN] 2 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0049:0x00000000][MAIN] 3 Scenario : 1 setfile
    D/IS_FW_DEBUG( 1904): [0x004a:0x00000000][MAIN] 4 Scenario : 2 setfile
    D/IS_FW_DEBUG( 1904): [0x004b:0x00000000][MAIN] 5 Scenario : 3 setfile
    D/IS_FW_DEBUG( 1904): [0x004c:0x00000000][MAIN] 6 Scenario : 4 setfile
    D/IS_FW_DEBUG( 1904): [0x004d:0x00000000][MAIN] Setfiles of entry : 5
    D/IS_FW_DEBUG( 1904): [0x004e:0x00000000][MAIN] Base : 0x008000B4, Size :
    13360
    D/IS_FW_DEBUG( 1904): [0x004f:0x00000000][ISP_ENTRY]SETFILE V3
    D/IS_FW_DEBUG( 1904): [0x0050:0x00000000][ISP_ENTRY]LoadSetFile: index:0,
    size=0x3430, tunesethandler=0x003c216c
    D/IS_FW_DEBUG( 1904): [0x0051:0x00000000][MAIN] Base : 0x008034E4, Size :
    13360
    D/IS_FW_DEBUG( 1904): [0x0052:0x00000000][ISP_ENTRY]SETFILE V3
    D/IS_FW_DEBUG( 1904): [0x0053:0x00000000][ISP_ENTRY]LoadSetFile: index:1,
    size=0x3430, tunesethandler=0x003c55a8
    D/IS_FW_DEBUG( 1904): [0x0054:0x00000000][MAIN] Base : 0x00806914, Size :
    13360
    D/IS_FW_DEBUG( 1904): [0x0055:0x00000000][ISP_ENTRY]SETFILE V3
    D/IS_FW_DEBUG( 1904): [0x0056:0x00000000][ISP_ENTRY]LoadSetFile: index:2,
    size=0x3430, tunesethandler=0x003c89e4
    D/IS_FW_DEBUG( 1904): [0x0057:0x00000000][MAIN] Base : 0x00809D44, Size :
    13360
    D/IS_FW_DEBUG( 1904): [0x0058:0x00000000][ISP_ENTRY]SETFILE V3
    D/IS_FW_DEBUG( 1904): [0x0059:0x00000000][ISP_ENTRY]LoadSetFile: index:3,
    size=0x3430, tunesethandler=0x003cbe20
    D/IS_FW_DEBUG( 1904): [0x005a:0x00000000][MAIN] Base : 0x0080D174, Size :
    13360
    D/IS_FW_DEBUG( 1904): [0x005b:0x00000000][ISP_ENTRY]SETFILE V3
    D/IS_FW_DEBUG( 1904): [0x005c:0x00000000][ISP_ENTRY]LoadSetFile: index:4,
    size=0x3430, tunesethandler=0x003cf25c
    D/IS_FW_DEBUG( 1904): [0x005d:0x00000000][MAIN] LoadSetfile of entry(4)
    D/IS_FW_DEBUG( 1904): [0x005e:0x00000000][MAIN] 0 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x005f:0x00000000][MAIN] 1 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0060:0x00000000][MAIN] 2 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0061:0x00000000][MAIN] 3 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0062:0x00000000][MAIN] 4 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0063:0x00000000][MAIN] 5 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0064:0x00000000][MAIN] 6 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0065:0x00000000][MAIN] Setfiles of entry : 1
    D/IS_FW_DEBUG( 1904): [0x0066:0x00000000][MAIN] Base : 0x008105A4, Size :
    320
    D/IS_FW_DEBUG( 1904): [0x0067:0x00000000][MAIN] LoadSetfile of entry(10)
    D/IS_FW_DEBUG( 1904): [0x0068:0x00000000][MAIN] 0 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x0069:0x00000000][MAIN] 1 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x006a:0x00000000][MAIN] 2 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x006b:0x00000000][MAIN] 3 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x006c:0x00000000][MAIN] 4 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x006d:0x00000000][MAIN] 5 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x006e:0x00000000][MAIN] 6 Scenario : 0 setfile
    D/IS_FW_DEBUG( 1904): [0x006f:0x00000000][MAIN] Setfiles of entry : 1
    D/IS_FW_DEBUG( 1904): [0x0070:0x00000000][MAIN] Base : 0x008106E4, Size :
    272
    D/IS_FW_DEBUG( 1904): [0x0071:0x00000000][MAIN] SETFILE VERSION :
    D/IS_FW_DEBUG( 1904): [0x0072:0x00000000][MAIN] SensorID 0 is ready
    D/IS_FW_DEBUG( 1904): [0x0073:0x00000000][MAIN] ---LoadSetFile()
    D/IS_FW_DEBUG( 1904): [0x0074:0x00000000][MAIN] SET :
    D/IS_FW_DEBUG( 1904): [0x0075:0x00000000][MAIN] ---Message
    -------------------------------
    D/IS_FW_DEBUG( 1904): [0x0076:0x00000000][MAIN] STREAM_OFF
    D/IS_FW_DEBUG( 1904): [0x0077:0x00000000][MAIN] ID : 2
    D/IS_FW_DEBUG( 1904): [0x0078:0x00000000][MAIN]
    ------------------------------------------
    D/IS_FW_DEBUG( 1904): [0x0079:0x00000000][ENTRY] <---------Frame
    #0----------------
    D/IS_FW_DEBUG( 1904): [0x007a:0x00000000][ENTRY] ID From MC : 2
    D/IS_FW_DEBUG( 1904): [0x007b:0x00000000][ENTRY] Msg From MC :
    MSG_STREAM_OFF
    D/IS_FW_DEBUG( 1904): [0x007c:0x00000000]
    D/IS_FW_DEBUG( 1904): [SMIA_StreamOff][0x007d:0x00000000][ENTRY] StreamOFF
    popped
    D/IS_FW_DEBUG( 1904): [0x007e:0x00000000][ENTRY] StreamOFF popped done
    V/SecCameraHardware( 1904): FimcV4l2 deinit EX
    E/SecCameraHardware( 1904): createInstance: error, camera cannot be
    initialiezed
    E/SecCameraHardware( 1904): Instance is not created
    E/SecCameraCoreManager( 1904): Could not open camera 1: -38
    D/SecCameraCoreManager( 1904): SecCameraCoreManager destroyed: pid=1904
    I/SecCameraCoreManager( 1904): Destroying camera 1
    W/dalvikvm( 3808): threadid=19: thread exiting with uncaught exception
    (group=0x418212a0)
    E/AndroidRuntime( 3808): FATAL EXCEPTION:
    com.xx.ui.main.views.CameraPreview@429198e8
    E/AndroidRuntime( 3808): java.lang.RuntimeException: Fail to connect to
    camera service
    E/AndroidRuntime( 3808): at android.hardware.Camera.native_setup(Native
    Method)
    E/AndroidRuntime( 3808): at android.hardware.Camera.<init>(Camera.java:348)
    E/AndroidRuntime( 3808): at android.hardware.Camera.open(Camera.java:307)

     

    Davy <ddewaele@gmail.com> Jun 28 02:40AM -0700  

    Assuming my application uses a PendingIntent to request background location
    updates from the new Google Location APIs (Google Play Services) like this :
     
    locationclient = new LocationClient(this,this,this);
    > locationrequest = LocationRequest.create();
    > locationrequest.setInterval(100);
    > locationclient.requestLocationUpdates(locationrequest, pendingIntent);
     
     
    And imagine a scenario where the user started the app and clicked a button
    to start the background location updates, exits the app and comes back at a
    later point in time.
     
    Is it possible for my application to query the Location APIs or the Android
    Intent mechanism to know if it has in fact already requested location
    updates using this PendingIntent (detecting if this pending intent is
    "active") ?
     
    Or should that be part of my application state (storing the "start" action
    somewhere in sharedprefs or another mechanism). But in that case, if the
    user decides to clear the cache/data associated with my app, this state
    would be lost, while the pending intent might still be active) ?
     
    What would be a good way of dealing with that ?
     
    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 - 7 Messages in 6 Topics

Comments: (0)

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

    amey523@googlemail.com Jun 26 08:39AM -0700  

    okButton.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN |
    KeyEvent.FLAG_VIRTUAL_HARD_KEY
    |KeyEvent.FLAG_KEEP_TOUCH_MODE,KeyEvent.KEYCODE_POWER));
     
    doesn't work so I guess the API's are built to accept the Power key events
    from 3rd party Applications
     
    On Tuesday, June 25, 2013 12:42:46 PM UTC+1, reaktor24 wrote:

     

    amey523@googlemail.com Jun 26 08:30AM -0700  

    Thanks. Tried it, I won't be able to do it on my Handset since its not
    rooted
     
    On Wednesday, June 26, 2013 12:58:04 AM UTC+1, TreKing wrote:

     

    dani maoz <maoz.dani@gmail.com> Jun 26 03:09PM +0300  

    Hi
    I have created a virtual multi touch virtual driver,
    I see that Event hub Detect the device but when i transmit events , no
    movement occurred on the screen (No X or Y changed) I tried to use protocol
    A pr Protocol B same result. why the events not transmitted to
    framework Any Idea
     
     
    See below the logs
    (Pandaboard Linaro 4.1.2)
     
    EventHub
     
    /EventHub( 1775): New device: id=7, fd=195, path='/dev/input/event3',
    name='test_mt_touch', classes=0x14, configuration='', keyLayout='',
    keyCharacterMap='', builtinKeyboard=false, usingSuspendBlockIoctl=false,
    usingClockIoctl=false
    I/InputReader( 1775): Device reconfigured: id=7, name='test_mt_touch', size
    1280x720, orientation 0, mode 3, display id 0
    I/InputReader( 1775): Device added: id=7, name='test_mt_touch',
    sources=0x00002002
     
    Event transmitted from driver using getevent -lt /dev/input/event3
    [ 3859.719026] EV_ABS ABS_MT_POSITION_X 000000c8
    [ 3859.719056] EV_ABS ABS_MT_POSITION_Y 000000c8
    [ 3859.719056] EV_ABS ABS_MT_WIDTH_MAJOR 0000002c
    [ 3859.719056] EV_ABS ABS_MT_TOUCH_MAJOR 00000000
    [ 3859.719056] EV_SYN SYN_MT_REPORT 00000000
    [ 3859.722932] EV_SYN SYN_REPORT 00000000
    [ 3863.303383] EV_ABS ABS_MT_POSITION_X 000000c8
    [ 3863.303383] EV_ABS ABS_MT_POSITION_Y 000000c8
    [ 3863.303414] EV_ABS ABS_MT_WIDTH_MAJOR 0000002c
    [ 3863.303414] EV_ABS ABS_MT_TOUCH_MAJOR 00000028
    [ 3863.303414] EV_SYN SYN_MT_REPORT 00000000
    [ 3863.303475] EV_SYN SYN_REPORT 00000000

     

    Iroid <irfan.f.khan@gmail.com> Jun 26 12:50AM -0700  

    Hi,
    I have set/configure some additional DHCP options like 120, 60
    and some more.
    Could anyone help me if it is possible in Android using SDK? OR
    Do I need to write a system application and change in dhcpcd?
     
     
    Thanks in advance

     

    crosis99 <quantass@gmail.com> Jun 25 11:51PM -0700  

    Is it possible to have horizontal or vertical accordion animated effect
    that when i touch swipe it slides open / close images? Are there any
    libraries i can plug into my source code?
     
    For example:
     
    http://office.microsoft.com/en-us/images/
     
    Under "Clip art, photos, and animation" you will see a horizontal display
    of 3 photos. One photo is revealed in full while the other 2 are collapsed
    partially. I must click it to reveal that one and collapse the other
     
     
    Another horizontal accordion:
     
    http://nicolahibbert.com/demo/liteAccordion/
     
     
    Thanks

     

    Lew <lewbloch@gmail.com> Jun 25 11:00PM -0700  

    Ibrahim wrote:
     
    > Friends I Am trying to connect server on pc and client on android device..
     
    Warning: I am not your friend.

     
    > Here is my sever and client code...
     
    > Server Code...
     
    > public class Server_tcp {
     
    Please follow the Java naming conventions.

     
    > void run(){
     
    Why is this method not public?

     
    > try {
    > System.out.println("Hi Im In 2nd try ");
    > Boolean end = false;
     
    Why did you declare this 'Boolean' and not 'boolean'?

     
    > //Server is waiting for client here, if needed
    > Socket s = ss.accept();
    > System.out.println("socket accepted");
     
    Calls to 'System.out.println()' are the worst of the available logging
    options.

     
    > client: "+st);
     
    > output.println("I got the Message:)");
    > output.flush();
     
    Why do you flush an auto-flushed stream?

     
    > } catch (UnknownHostException e) {
    > // TODO Auto-generated catch block
    > e.printStackTrace();
     
    Handle errors, don't ignore them.

     
    > Server_tcp server = new Server_tcp();
    > while(true){
    > server.run();
     
    So you restart the server every time you choose to close it. Hmm.

     
    > setContentView(R.layout.main);
    > System.out.println("Before try net");
    > Run();
     
    Please follow the Java naming conventions.

     
    > }
    > }
     
    > My Client is not working properly my friends....
     
    What does that mean?
     
    In other words, what did you expect, and what happened instead?
     
    Copy and paste messages; do not paraphrase them.

     
    > Can Any One help me ???
     
    You only need one question mark at the end of an interrogative sentence.
     
    And no, not without sufficient information.
     
    --
    Lew

     

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 17 Topics

Comments: (0)

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

    raj <rajankz@gmail.com> Jun 27 12:54PM -0700  

    Just wanted to update the thread with latest developments:
     
    I created a feature request on the Google Android Forum, and while the
    status is still marked 'New', I did get a reply. Hopefully, this will be
    available in future.
    But, as I cannot wait till that happens, I have planned to go ahead with my
    implementation(using the above mentioned algorithm).
    I am using a View to draw the heatmap, and then pass one the bitmap to a
    ground overlay.
    Unfortunately, both TileOverlay and GroundOverlay are final classes, and so
    I cannot do extend them to do it my way.
     
    Here is a link to the request:
    https://code.google.com/p/gmaps-api-issues/issues/detail?id=5534&q=apitype%3DAndroid2&sort=-id%20-status%20project&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Stars%20Internal%20Project%20Apitype
     
    As you see, I was told to prefer TileOverlay over GroundOverlay, but am not
    sure how to do that, because the the transparent view I create is over the
    map-view, and its dimension is controlled by the screen size(match-parent),
    from where i get the screen location for each latlng point, and not the map
    itself. So if a point is not visible, then it will not be drawn by the
    algorithm(this was not intended, i am not able to find a workaround right
    now).
    I feel, I will have the same issue with TileOverlay, as the image
    generated, will be only for the part visible on screen, and so I decided to
    go with GroundOverlay, which was much simpler.
     
    I would really appreciate if anyone is willing to share ideas to make this
    better.
     
    [Unfortunately I cannot post code online.]
     
     
     
    On Friday, 21 June 2013 14:20:56 UTC-4, raj wrote:

     

    Justin Anderson <magouyaware@gmail.com> Jun 27 11:52AM -0600  

    Here is how I have done this in the past:
     
    1. Create the animations you want in XML
    2. Create a new style in XML for your dialog that inherits an already
    existing Android dialog style
    3. Override android:windowEnterAnimation and android:windowExitAnimation
    with the animations you created in step 1
    4. Create your dialog in code and specify the style you want it to use.
     
    A couple things to note:
     
    1. You can't do this with AlertDialog. To get around this, I had to
    create my own subclass of Dialog that behaved like AlertDialog.
    2. I did this before DialogFragment was part of the API. However, the
    steps should be more or less the same. Your dialog will just be created
    inside your DialogFragment class and that is where you will call the
    constructor and specify the style.
     
     
    Thanks,
    Justin Anderson
    MagouyaWare Developer
    http://sites.google.com/site/magouyaware
     
     
    On Mon, Jun 17, 2013 at 11:55 PM, Sadhna Upadhyay <sadhna.braahmam@gmail.com

     

    Justin Anderson <magouyaware@gmail.com> Jun 27 11:54AM -0600  

    Are you running on a rooted device?
     
    Thanks,
    Justin Anderson
    MagouyaWare Developer
    http://sites.google.com/site/magouyaware
     
     
    On Mon, Jun 17, 2013 at 8:51 AM, Marta Ribeiro <

     

    Kapil Rijhwani <kapil.rijhwani@gmail.com> Jun 27 10:07AM -0700  

    I have budget of rs. 10000
    what should i buy for android development ?
    1. Micromax canvas2 plus(jelly bean)
    2. Upgrade my pc (currently p4, 1gb ram) to core2duo/i3 ??

     

    ram <rambabu.mareedu@gmail.com> Jun 27 10:44PM +0530  

    Hi Kapil i will suggest second one
    2. Upgrade my pc (currently p4, 1gb ram) to core2duo/i3 ??
     
     
    On Thu, Jun 27, 2013 at 10:37 PM, Kapil Rijhwani
     
    --
    Regards
    Rambabu Mareedu
    9581411199

     

    vani reddy <vani.reddy.blore@gmail.com> Jun 27 05:24PM +0530  

    Dear All,
     
    What is the best and optimistic way to test Android applications,My android
    application is too big.How to find a way to get minute bugs in the
    application.??
    --
    Regards,
    Vani Reddy

     

    Piren <gpiren@gmail.com> Jun 27 05:19AM -0700  

    release it to the public :)
     
    On Thursday, June 27, 2013 2:54:50 PM UTC+3, vani wrote:

     

    Larry Meadors <larry.meadors@gmail.com> Jun 27 06:36AM -0600  

    Best testing strategy ever...and it's not even Friday.
     
     

     

    amey523@googlemail.com Jun 27 09:13AM -0700  

    Best way is giving it away to Users to test. That way they will try and
    break the Application and give you the appropriate feedback
     
    Thanks.
     
    Ameya
     
    On Thursday, June 27, 2013 12:54:50 PM UTC+1, vani wrote:

     

    Larry Meadors <larry.meadors@gmail.com> Jun 27 11:13AM -0600  

    All joking aside - there is a pretty slick alpha / beta release
    process in the store for getting your app in the hands of pre-release
    testers.
     
    IMO, it kicks the snot out of junk like downloading and running an app
    installer, or tools like testflight.
     
    Larry

     

    Justin Anderson <magouyaware@gmail.com> Jun 27 11:24AM -0600  

    Are you writing your own SAX parser or are you using a library?
     
    Thanks,
    Justin Anderson
    MagouyaWare Developer
    http://sites.google.com/site/magouyaware
     
     

     

    Justin Anderson <magouyaware@gmail.com> Jun 27 11:11AM -0600  

    We could help you better if you shared the relevant code...
     
    Thanks,
    Justin Anderson
    MagouyaWare Developer
    http://sites.google.com/site/magouyaware
     
     

     

    amey523@googlemail.com Jun 27 09:29AM -0700  

    Try installing a File Manager from the Play Store. I haven't developed on
    HTC devices for a while now. The last one I used was the HTC Desire HD. It
    didn't come with a built-in File Manager like on the Samsung phones. I
    installed a free File Manager from the Play Store and used it to debug my
    Applications on the Desire HD and the Desire.
     
    Thanks
     
    Amey
     
    On Saturday, June 22, 2013 9:43:04 PM UTC+1, Tamás Kovács wrote:

     

    Gary Blakely <gdeanblakely@gmail.com> Jun 27 09:21AM -0700  

    On 6/26/2013 I put up version code 10 version Name 2.0 of my app
    (PhoneStalker) onto google play. Now anyone who runs itgets a dialog box
    saying "Version Obsoleted" - "A newer version should be available at google
    play". And they are not allowed to run the program (causing a major
    problem for some). If the user then goes to google play to and downloads
    the latest version, they get the same dialog box again! So, no one can run
    my app.
     
    What could cause this?
    Thanks, Gary

     

    StevenHu <stevehusting@gmail.com> Jun 26 07:41AM -0700  

    I am clicking on "+ Add New Application". There is no longer an option to
    upload an APK otherwise. If it is the same signing and com.comname.appname,
    then it is automatically seen as the same app; if the version number is
    changed, it is seen as an update to an existing app. I've clicked through
    all the sections; there is no other way to upload an apk.
     
    Thanks.
     
    On Tuesday, June 25, 2013 4:42:27 PM UTC-7, TreKing wrote:

     

    Justin Anderson <magouyaware@gmail.com> Jun 27 10:11AM -0600  

    *> I am clicking on "+ Add New Application".
    *
     
    That is your problem...
    *
    *
    *> There is no longer an option to upload an APK otherwise.
    *
     
    Yes there is, it is just in a different location.
     
    1. Log into the developer site
    2. Go to "All Applications"
    3. Click on the App you want to update
    4. Click on "APK"
    5. Voila! You now have an "Upload new APK" button...
     
    *
    > If it is the same signing and com.comname.appname, then it is
    automatically seen as the same app; if the version number is changed, it is
    seen as an update to an existing app. I've clicked through all the
    sections; there is no other way to upload an apk.
     
    *
    Where, exactly, did you get this information from?* *
     
    Thanks,
    Justin Anderson
    MagouyaWare Developer
    http://sites.google.com/site/magouyaware
     
     
    On Wed, Jun 26, 2013 at 8:41 AM, StevenHu <stevehusting@gmail.com> wrote:
     

     

    amey523@googlemail.com Jun 27 09:10AM -0700  

    have an Application that starts running as soon as it is installed, i.e.
    the BroadcastReceivers and Services are register as soon as the Application
    is installed on the handset. I've removed the action MAIN and category
    LAUNCHER from the main Activity class. This used to work in the Android OS
    systems prior to 4.0. But on the Operating Systems 4.0 and above, I'm
    having to open the main UI/Activity screen at least once after the
    Application is installed on the handset. Is there something Google changed
    with regards to their policies?
     
    Thanks
     
    Ameya

     

    Justin Anderson <magouyaware@gmail.com> Jun 27 10:19AM -0600  

    Yes... your application is not allowed to do anything until the user has
    launched it at least once. I believe that started with Android 4.0...
    There is nothing you can do about that.
     
    Thanks,
    Justin Anderson
    MagouyaWare Developer
    http://sites.google.com/site/magouyaware
     
     

     

    a1 <arcone1@gmail.com> Jun 25 11:27PM -0700  

    > in many of those cases, as a developer I'd like to see what happened; there
    > may be an underlying flaw in our code or an unforeseen incompatibility with
    > the user's device.
     
    That was *exactly *my point - I never catch that kind of exceptions/singals
    - if there is a bug in my code chances that app will recover are slim and I
    application may end in even worse state, and with framework bugs it's even
    worse: in one of my applications I used catch + retry to suppress bugs in
    GL, and I ended with code that caused handset hard freeze.
     
    To make it perfectly clear: I simply prefer letting app crash in that
    situation, collect report and send it ("remove catch clauses" as you put
    it).
     
    That being said, I use ACRA like reporting + custom logging lib (I had a
    lot of problem with making log collecting reliable on 4.2) + breakpad
    minidump collector (my application has large native part), I'd also suggest
    you take a look at crittercism, it's paid service (but has free tier).
     
    --
    Bart

     

    Piren <gpiren@gmail.com> Jun 26 11:58PM -0700  

    you can also use services like BugSense (http://www.bugsense.com/) if you
    dont feel like running your own server to collect/manage crash reports
     
     
     
    On Wednesday, June 26, 2013 2:27:52 AM UTC+3, Ted Hopp wrote:

     

    "Παύλος-Πέτρος Τουρνάρης" <p.tournaris@gmail.com> Jun 27 08:17AM +0300  

    You will get the currentItem position from the View Pager and not from your
    Custom Adapter.
     
     
     
    --
    *Παύλος-Πέτρος Τουρνάρης*
    *Android & Software Developer*
     
    - *http://goo.gl/TsJ8u*
    - *http://acschedule.org*

     

    Shri <shri.borde@gmail.com> Jun 26 09:55PM -0700  

    I have a trivial HelloWorld example. The activity
    has android:theme="@android:style/Theme" in AndroidManifest.xml and
    displays as a full-screen activity. If I change the style
    to "@android:style/Theme.Dialog", it launches as a dialog and I can see the
    Home screen as the background. Both of these are as expected.
     
    The problem arises if the manifest has "@android:style/Theme", but I do
    setTheme(android.R.Theme_Dialog) in onCreate() before the call to
    setContentView. In this case, the activity shows as a dialog box, but the
    background is all black. Shouldn't this be exactly the same as
    using "@android:style/Theme.Dialog" in the manifest?
     
    I want to be able to choose between themes conditionally, and so am trying
    to call setTheme(android.R.Theme_Dialog) in onCreate().
     
    Thanks,
    Shri

     

    julia <kyawswaaung87@gmail.com> Jun 26 07:22PM -0700  

    Hello,
     
    I tried to use infinite view pager from this link<https://github.com/antonyt/InfiniteViewPager>.
    Is there anyone to know that how to get the current item from the infinite
    view pager? I have tried a lot of way.
     
    Thanks.
    julia

     

    Ankita Kashyap <ankita.kashyap.dce@gmail.com> Jun 26 10:56PM +0530  

    Hi all,
     
    I tried to search the issue of any possible backward compatibility problems
    with respect to old facebook 2.2 apk while using facebook sdk 3.0 in an
    app. But, I could not find anything worthwhile. Hence, I am posting here.
     
    One of the problematic thing is facebook 2.2 apk is not available from
    google playstore so testing as a developer is kind of difficult. But, the
    signed apk of my app is not able to get user's mail id for the facebook 2.2
    apk version as reported by a beta test user. Hence, it is crashing. (This
    is what I am assuming due to the lack of log messages.)
     
    So, I just wanted to know that if this is even possible that email id is
    not accessible due to old facebook apk version or there could be any other
    possible issue because logically thinking, I thought that facebook sdk 3.0
    should be able to handle such a scenario.
     
    Any insight, relevant link, experience, idea would help.
     
    Thanks!
     
    --
    Warm Regards,
    Ankita Kashyap

     

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.