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

Comments: (0)

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

 Topic: AVD Emulator
    Perry168 <perrypkk@netvigator.com> Aug 31 11:01PM -0700 ^
     
    Hi!
    When the AVD emulator can emulate over 1024M memory!

     

    Pratik Prajapati <pratik.prajapati@gmail.com> Aug 31 09:57PM -0700 ^
     
    Can any one provide some inputs?
     
    On Wed, Aug 31, 2011 at 9:15 AM, Pratik Prajapati <
     
    --
    Kind Regards,
    Pratik Prajapati

     

    "C++ Narayanan" <cnarayan12ster@gmail.com> Aug 31 10:50PM -0700 ^
     
    Pratik,
    well signing your application is only for the purpose of security
    while uploading it on android market!
    once you have genrate ur "private keystore" , u have to signed ur
    application with that "private keystore" to publish it on android
    market
    once publish that apk and later if u redesigned or made change in
    your app source code and want replace the app in the market u have to
    use the same "private keystore" without that same keystore u cannt
    change or modify the application thats the only purpose of it! as far
    as i know

     

    Akhilesh Mani <coffeewithakhi@gmail.com> Sep 01 01:45AM -0400 ^
     
    I am looking for an efficient way to find out if a resource (mostly a
    drawable) is used in java or in an XML file.The problem is, that on my
    current project the drawables are changed often and now I have some
    drawables, which might never be used.Is there a tool/way to find those
    unused drawables without search each filename in the whole project?
     
    Best Regards.
     
    Mani.

     

    Sudha <sudha007@gmail.com> Aug 31 09:44PM -0700 ^
     
    But,
    When you install and press "done" instead of "open"
    and repeat this testing, the activity will resume form the place you
    pressed menu button.
    only when you press "open" and repeat it wont resume,it will restart.
     
    So its not as per design I guess.else teh application should have
    behaved the same way in both the scenarios.

     

    pawpaw17 <georgefrazier@yahoo.com> Aug 31 08:39PM -0700 ^
     
    Hi Guys,
     
    I have an app that has been in the Market since June 2009. I had been
    seeing a steady build of users and pageviews for many months, but in
    July the trend reversed and I'm down almost 20% both for visitors and
    pageviews since then. Some of my users told me the app seemed the
    "disappear" from the market - I think google twiddled with the default
    maturity filter for some versions of the market, and users - without
    knowing it - all of a sudden were filtering for "Everyone" rather than
    'All Apps". This might have been fixed now, but I'm not sure.
     
    Anyway, my app might be just sucking wind right now, but I wonder if
    any of you have noticed a similar trend since early July.
     
    Thanks!
     
    pawpaw17

     

    photon <satish.vkr@gmail.com> Aug 31 08:10PM -0700 ^
     
    Hello,
     
    I have a weird problem with listview, while using simplecursor
    adapter. Here is the error
     
    08-31 21:50:14.540: INFO/dalvikvm(12195): Uncaught exception thrown by
    finalizer (will be discarded):
    08-31 21:50:14.540: INFO/dalvikvm(12195):
    java.lang.IllegalStateException: Binder has been finalized!
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    android.os.BinderProxy.transact(Native Method)
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    android.database.BulkCursorProxy.close(BulkCursorNative.java:289)
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    android.database.BulkCursorToCursorAdaptor.close(BulkCursorToCursorAdaptor.java:
    141)
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    android.database.CursorWrapper.close(CursorWrapper.java:43)
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    android.content.ContentResolver
    $CursorWrapperInner.close(ContentResolver.java:1575)
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    android.content.ContentResolver
    $CursorWrapperInner.finalize(ContentResolver.java:1586)
    08-31 21:50:14.540: INFO/dalvikvm(12195): at
    dalvik.system.NativeStart.run(Native Method)
     
    I have runQueryOnBackgroundThread implemented in my cursorAdapter,
    which is invoked by the Filter.filter method call from the activity.
    So I dont have any reference of the cursor in my activity. Everytime I
    query I understand I get cursor changed callback in my cursor adapter,
    which extends SimpleCursorAdapter
     
    Here is how it looks
     
    public void changeCursor(Cursor cursor) {
    Log.d(TAG, "Cursor changed ... **************** "+ cursor);
    if (cursor != null) {
    setLoading(false);
    }
    super.changeCursor(cursor);
    initSectionHeaders(cursor);
    notifyDataSetChanged();
    }
     
    runQueryOnBackgroundThread just returns a cursor from a query.
     
    Am I missing something, should the cursor be closed or managed
    anywhere? Any help on the leads would greatly help. Thanks in advance.

     

    Kavekkb <lineageno15magic@gmail.com> Aug 31 07:52PM -0700 ^
     
    public class Tab1Activity<Listview> extends Activity implements
    OnClickListener{
     
    private Button get;
    private TextView tv;
    private DefaultHttpClient client;
    private HttpPost request2;
    private HttpResponse response;
    private ListView listview1;
     
    public void onCreate(Bundle savedInstanceState) {
     
    super.onCreate(savedInstanceState);
    setContentView(R.layout.tab1main);
     
    tv = (TextView)findViewById(R.id.tv);
    client = new DefaultHttpClient();
    request2 = new HttpPost();
     
    try {
     
    List<NameValuePair> nameValuePairs = new
    ArrayList<NameValuePair>(2);
    request2.setEntity(new UrlEncodedFormEntity(nameValuePairs));
    request2.setURI(new URI("http://172.16.152.152:8081/dking/
    not_returnt.php"));
     
    response = client.execute(request2);
     
    HttpEntity entity = response.getEntity();
     
    byte[] buf = new byte[5000];
    BufferedInputStream bin = new
    BufferedInputStream(entity.getContent());
    bin.read(buf);
    bin.close();
     
    String result = new String(buf);
     
    tv.append(result);
     
    } catch (URISyntaxException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (ClientProtocolException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    }
     
     
     
     
    this is my source code
    data don't put in listview......

     

    Kavekkb <lineageno15magic@gmail.com> Aug 31 07:55PM -0700 ^
     
    public class Tab1Activity<Listview> extends Activity implements
    OnClickListener{
     
    private Button get;
    private TextView tv;
    private DefaultHttpClient client;
    private HttpPost request2;
    private HttpResponse response;
    private ListView listview1;
     
    public void onCreate(Bundle savedInstanceState) {
     
    super.onCreate(savedInstanceState);
    setContentView(R.layout.tab1main);
     
     
     
    tv = (TextView)findViewById(R.id.tv);
    client = new DefaultHttpClient();
    request2 = new HttpPost();
     
     
     
    try {
     
    List<NameValuePair> nameValuePairs = new
    ArrayList<NameValuePair>(2);
    request2.setEntity(new UrlEncodedFormEntity(nameValuePairs));
    request2.setURI(new URI("http://172.16.152.152:8081/dking/
    not_returnt.php"));
     
    response = client.execute(request2);
     
    HttpEntity entity = response.getEntity();
     
    byte[] buf = new byte[5000];
    BufferedInputStream bin = new
    BufferedInputStream(entity.getContent());
    bin.read(buf);
    bin.close();
     
    String result = new String(buf);
     
     
    tv.append(result);
     
     
     
    } catch (URISyntaxException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (ClientProtocolException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    }
     
     
    public void onClick(View v) {
    }
    }
     
     
    this is my source code
    but I don't know how to put data in listview

     

    eagle <eagle.liyi@gmail.com> Aug 31 06:03PM -0700 ^
     
    Sorry for my English... What i mean is that, when i switch to
    customized platform and are not using the private functions, the
    program doesn't work (Even a "Hello" app widget program doesn't work).
    The app widget with a configuration activity won't be added, while the
    app widget without configuration activity works.
     
     

     

    gjs <garyjamessilva@gmail.com> Aug 31 05:51PM -0700 ^
     
    Hi,
     
    If the gps is blinking it is waiting for a first fix, go outside in
    clear sky and wait for a few minutes for a fix. It also helps if the
    device has a working internet connection to reduce time to first fix.
     
    Regards
     

     

    nadam <adam@anyro.se> Aug 31 04:19PM -0700 ^
     
    Once you publish the app on the Android Market you will get complaints
    from people who have devices with other screen resolutions. Then you
    can go back to Eclipse and see exactly where the problems are since
    those classes are crossed out.
     
    To prevent these complaints read http://developer.android.com/guide/practices/screens_support.html
     

     

    "Dalton Cézane" <daltoncezane@gmail.com> Aug 31 07:43PM -0300 ^
     
    Hello again. I want to thank the helping... with ListView it worked... I do
    not know why, in the same way, my app did not work with GridView. But, in
    future I think it will be easier for understand...
     
    Thank you.
     
     
    --
    =======================================================
    Dalton Cézane - Smarteju Tecnologia
    Especialista em Ciência da Computação (UFCG)
    Bacharel em Ciência da Computação (UFCG)
    Técnico em Informática (ETER)

     

    blake <blake.meike@gmail.com> Aug 31 08:20AM -0700 ^
     
    A fragment can't be referenced outside it's Activity/APK. It's just
    like any other class: it is local to its application.
     
    The only way to publish behavior between applications is to use
    Intents.
     
    -blake
     
     
     

     

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

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

Comments: (0)

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

    john brown <johnbrowngreybeard@gmail.com> Aug 31 02:58PM -0700 ^
     
    I have an application that I "install" via the Eclipse IDE toolbar
    icon "run package.name.app". My phone shows two icons for this app.
    (only one icon until recently) The icons look identical but the name
    is long and I cannot see the end of either icon labels. Even if I
    uninstall the app via Settings > Applications > Manage Applications,
    the next time I run it from Eclipse, the two icons are both there
    again. The app is only listed one time under Manage Applications. The
    first time I noticed the second icon was after I included a second
    activity that displays a WebView. Everything seems to work OK. I can
    launch the second activity and close it just fine.
     
    Why do I have two icons? (I did not include code because I do not know
    which code might be relevant.)
     
    Thanks, John Brown

     

    TreKing <trekingapp@gmail.com> Aug 31 05:11PM -0500 ^
     

    > The first time I noticed the second icon was after I included a
    > second activity that displays a WebView.
     
    Did you mark this Activity to have the "LAUNCHER" flag?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Streets Of Boston <flyingdutchie@gmail.com> Aug 31 03:13PM -0700 ^
     
    Look at your AndroidManifest.xml file.
    If you have *two *<activity ...> items whose intent filters look like this:
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="*android.intent.category.LAUNCHER*" />
    </intent-filter>
     
    then that's one too many (if you don't want two of them).
     
    If you have only one activity with that intent-filter, then i'm not sure
    what is causing your problem.

     

    Jack Harvard <jack.harvard@gmail.com> Aug 31 08:08PM +0100 ^
     
    I want to understand how many threads Gingerbread generates in order to understand how the browser performance scale with multicores? For example, if "a few " means 2, that means 4 cores wouldn't scale the browser performance by anywhere close to 4 times. I understand that Gingerbread doesn't officially support SMP, sometimes browser does crash on multicore platforms, it's not a problem for me though.
     
    On 31 Aug 2011, at 18:57, Dianne Hackborn wrote:
     

     

    Dianne Hackborn <hackbod@android.com> Aug 31 01:00PM -0700 ^
     
    Gingerbread isn't designed for multi-core CPUs. The browser doesn't try to
    create threads to use multiple CPUs, it creates threads to have multiple
    network connections.
     
    Besides networking, browsers are pretty intrinsically single-threaded
    anyway. The complicated stuff all needs to run in one thread: DOM
    rendering, JavaScript, etc.
     
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    Jack Harvard <jack.harvard@gmail.com> Aug 31 10:09PM +0100 ^
     
    Thanks for your reply, Dianne. If I run the Android browser as my only application in Gingerbread on a quad-core smartphone, and the page to be loaded is stored locally in memory (no network delay etc, in this case, the browser is single-threaded only as no network connection?), I wouldn't see any performance scaling (or worse, as the OS may move the threads to another core less busy in a circle) from a single-core smartphone, everything else being the same?
     
    On 31 Aug 2011, at 21:00, Dianne Hackborn wrote:
     

     

    Dianne Hackborn <hackbod@android.com> Aug 31 02:58PM -0700 ^
     
    I really don't know what you are trying to get at. As I said, as far as I
    know browser CPU use is generally pretty single-threaded -- the DOM
    rendering and JavaScript interpreter all need to run in the same thread.
    Just creating more threads doesn't magically allow this work to be spread
    across them.
     
    And again, Gingerbread was not written for multi-core CPUs. In fact if you
    try to run stock GB on a multi-core CPU you will be extremely unstable
    because there are many things not working correctly for SMP, especially ARM
    SMP. So it doesn't make sense to ask questions about how stock GB runs on
    multi-core, because it just doesn't.
     
    If you are wondering about a particular phone someone has released with GB,
    you will need to talk with that manufacturer, because they will have needed
    to do some work to have GB run on a multi-core CPU.
     
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    "Dalton Cézane" <daltoncezane@gmail.com> Aug 31 03:37PM -0300 ^
     

    > Which is it you need help with: the reading of a table or the populating
    > the gridview?
    > Also: what have you already tried?
     
     
    My problem is to populate the gridview. I already saw through the debugger
    that my code is reading the data correctly from the table, but when the
    activity is started, the gridview do not display nothing.
     
    My getView() method is:
     
    public View getView(int position, View convertView, ViewGroup parent) {
    // TODO Auto-generated method stub
     
    TextView label = (TextView)convertView;
    if (convertView == null) {
    convertView = new TextView(this.context);
    label = (TextView) convertView;
    }
    label.setText((getDataFromTable().get(position)).toString()); //the
    geDataFromTable() returns a list with the data from the table (tested
    observing the debugger)
     
    return(convertView);
    }
     
    In my activity I have:
     
    ...
    ColetaDatabaseAdapter adapter = new ColetaDatabaseAdapter(this,
    R.layout.data_display);
     
    GridView g = (GridView) findViewById(R.id.grid);
    g.setAdapter(adapter);
    ...
     
    But I can not see the gridview on the display...
     
    Thanks.
     
     
     
    --
    =======================================================
    Dalton Cézane - Smarteju Tecnologia
    Especialista em Ciência da Computação (UFCG)
    Bacharel em Ciência da Computação (UFCG)
    Técnico em Informática (ETER)

     

    TreKing <trekingapp@gmail.com> Aug 31 01:45PM -0500 ^
     

    > But I can not see the gridview on the display...
     
     
    Is your getView() even called?
    Have you confirmed it's actually on the screen and sized to be visible? (Put
    some funky colors on it or something)
    Have you tried simplifying your getView() to just return a TextView with
    some hard coded values, to make sure that part works?
     
    P.S. - there's no reason to be setting the convertView if it's null ....
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    "Dalton Cézane" <daltoncezane@gmail.com> Aug 31 05:11PM -0300 ^
     

    > On Wed, Aug 31, 2011 at 1:37 PM, Dalton Cézane <daltoncezane@gmail.com>wrote:
     
    >> But I can not see the gridview on the display...
     
    > Is your getView() even called?
     
     
    I do not know where to call it, because all samples I've seen do not call it
    explicitly... Can you help with this?
     
     
    > Have you confirmed it's actually on the screen and sized to be visible?
    > (Put some funky colors on it or something)
     
    I modified the height to 150dp and now I can see the space between the other
    components... but without data in the grid...
     
     
    > Have you tried simplifying your getView() to just return a TextView with
    > some hard coded values, to make sure that part works?
     
    Not yet... I will try too...
     
     
     
    --
    =======================================================
    Dalton Cézane - Smarteju Tecnologia
    Especialista em Ciência da Computação (UFCG)
    Bacharel em Ciência da Computação (UFCG)
    Técnico em Informática (ETER)

     

    Mark Murphy <mmurphy@commonsware.com> Aug 31 04:15PM -0400 ^
     
    > I do not know where to call it, because all samples I've seen do not call it
    > explicitly...
     
    You don't call it. GridView does.
     
    >> Have you tried simplifying your getView() to just return a TextView with
    >> some hard coded values, to make sure that part works?
     
    > Not yet... I will try too...
     
    You might consider starting with a ListView. GridView is not
    significantly different from ListView in terms of how it interacts
    with adapters, and there are many more samples demonstrating ListView.
    Once you have a custom Adapter working with a ListView,
    convert it to a GridView.
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    Android Training in Oslo: http://bit.ly/fjBo24

     

    "Dalton Cézane" <daltoncezane@gmail.com> Aug 31 05:18PM -0300 ^
     
    > it
    > > explicitly...
     
    > You don't call it. GridView does.
     
    It was what I understood about the samples. But I do not know how the
    GridView does that and why it is not happening in my app.
     
     
    > with adapters, and there are many more samples demonstrating ListView.
    > Once you have a custom Adapter working with a ListView,
    > convert it to a GridView.
     
    I will try now with a ListView...
     
     
     
    --
    =======================================================
    Dalton Cézane - Smarteju Tecnologia
    Especialista em Ciência da Computação (UFCG)
    Bacharel em Ciência da Computação (UFCG)
    Técnico em Informática (ETER)

     

    TreKing <trekingapp@gmail.com> Aug 31 03:19PM -0500 ^
     

    > Is your getView() even called?
     
    > I do not know where to call it, because all samples I've seen do not call
    > it explicitly... Can you help with this?
     
    Right, the system calls it for you when it needs to. I mean confirm that
    this is happening. A break point or log message would do it.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Michael Banzon <michael@banzon.dk> Aug 31 10:23PM +0200 ^
     

    >>> Is your getView() even called?
     
    >> I do not know where to call it, because all samples I've seen do not call
    >> it explicitly... Can you help with this?
     
    When using ListView you need to set the adapter on the view.
     
    --
    Michael Banzon
    http://michaelbanzon.com/

     

    Jake Wharton <jakewharton@gmail.com> Aug 31 01:14PM -0700 ^
     
    Excellent. I'm looking forward to it. Thanks for your reply!

     

    blake <blake.meike@gmail.com> Aug 31 11:58AM -0700 ^
     
    Maybe you could try a "HEAD" request for a well known page?
     
     
    -blake
    Programming Android, FTW!
    http://oreilly.com/catalog/0636920010364
     
     

     

    blake <blake.meike@gmail.com> Aug 31 08:36AM -0700 ^
     
    I think what Damien is trying to tell you is that you are asking the
    wrong question. There is no way, in Java, to force the "deallocation"
    of a specific object. If you remove all references to it, it is, as
    far as your program is concerned, gone. Is there a reason that you
    would care whether about whether it exists or not?
     
    -blake
    Programming Android, FTW!
    http://oreilly.com/catalog/0636920010364
     
     

     

    Nick Risaro <nrisaro@gmail.com> Aug 31 03:15PM -0300 ^
     
    > In this case,
    > the variable 'a' still allocated? Am I right? As long as I keep
    > original variable?
     
    Yes

     

    Streets Of Boston <flyingdutchie@gmail.com> Aug 31 11:38AM -0700 ^
     
    As other have stated, Java Objects are garbage collected:
     
    If an Object cannot be reached (from any of the current threads'
    stack-frames or from the heap), directly or indirectly, i.e. there is no
    path to the Object, then this Object can be garbage collected.
    It is impossible to 'delete' an Object in Java.
     
    You can help (just 'help', not force) the garbage collector along a little,
    by setting references to null ("b = null;" in the above examples). However,
    this hardly helps the garbage collector at all. It's not of much use.
     
    You can call System.gc() to indicate that the garbage collector should run
    a.s.a.p. Again, this may or may not work, since calling 'gc()' is only a
    hint. The actual behavior may vary.
     
    If you're dealing with bitmaps, calling bitmap.recycle() may work for you to
    free up memory. Be careful doing this. Make sure other parts of your code
    don't still have a reference to this and use the now recycled bitmap,.
     
    My answer is another question to you:
    *Why do you want to know this?*

     

    "Igor Nesralla Ribeiro" <nesralla@gmail.com> Aug 31 03:30PM -0300 ^
     
    Hi,
     

     
    I'm looking for something article or any information about best way to
    implement UI design pattern for login screens on tablets(honeycomb) !!
     

     
    Thanks in advance !
     

     
    Igor Nesralla Ribeiro

     

    TreKing <trekingapp@gmail.com> Aug 31 11:00AM -0500 ^
     

    > So han can I listen to the onTap Event in the MapActivity-Class?
     
     
    Create your own callback.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Roger Heim <roger.heim@gmail.com> Aug 31 08:51AM -0700 ^
     
    Every once in a while an emulator image would hang while booting and
    simply repeat the following in the logcat:
    08-31 11:47:51.839: DEBUG/AndroidRuntime(1134): >>>>>>>>>>>>>>
    AndroidRuntime START <<<<<<<<<<<<<<
    08-31 11:47:51.850: DEBUG/AndroidRuntime(1134): CheckJNI is ON
    08-31 11:47:51.960: DEBUG/AndroidRuntime(1134): --- registering native
    functions ---
    08-31 11:47:52.050: ERROR/JNIHelp(1134): Native registration unable to
    find class 'android/util/FloatMath'
    08-31 11:47:52.050: ERROR/AndroidRuntime(1134): Unable to register all
    android natives
    08-31 11:47:52.070: INFO/ServiceManager(28): service
    'media.audio_flinger' died
    08-31 11:47:52.070: INFO/ServiceManager(28): service 'media.player'
    died
    08-31 11:47:52.070: INFO/ServiceManager(28): service 'media.camera'
    died
    08-31 11:47:52.070: INFO/ServiceManager(28): service
    'media.audio_policy' died
    08-31 11:47:52.509: INFO/(1135): ServiceManager: 0xacd0
    08-31 11:47:52.509: DEBUG/AudioHardwareInterface(1135):
    setMode(NORMAL)
    08-31 11:47:52.509: INFO/CameraService(1135): CameraService started:
    pid=1135
    08-31 11:47:52.519: INFO/AudioFlinger(1135): AudioFlinger's thread
    0xb3f0 ready to run
     
     
    The class mentioned by 'Native registration unable to find class '...'
    is always different but always seems to be a core part of Android.
    When one avd goes bad like this, other avd's based on the same
    platform version still work fine. Restarting the avd with wipe data
    does no good. The only way to deal with it is to delete the avd and
    recreate it.
     
    Does anyone else see this? It's very annoying to have to stop and
    recreate the avd.
     
    Roger

     

    rich friedel <rich.friedel@gmail.com> Aug 31 08:42AM -0700 ^
     
    uh please unsubscribe me from this group
     
    This is awesome check it out...

     
    >> android-develop...@googlegroups.com
    >> For more options, visit this group at
    >> http://groups.google.com/group/android-developers?hl=en
     
    As for your original question
    Using the standard SDK you cannot directly control the enabling and
    disabling of WiFi.
     
    I don't know what you are talking about with the 3G stuff.

     

    Sam <jain.smt@gmail.com> Aug 31 08:36AM -0700 ^
     
    Hello ,
     
    I've written an app to connect an USB Device and read data from
    external usb device to my android USB Host 3.1 root tab device.
    i used http://developer.android.com/guide/topics/usb/host.html android
    USB Host Api. But every time read data value got
    zero value in every byte from external device.
     
    can anyone send me demo or proper documentation how to read data from
    external device ?
    any encoding require for reading data ?
     
    Thanks

     

    rich friedel <rich.friedel@gmail.com> Aug 31 08:35AM -0700 ^
     
    Am I a naughty boy for wanting to use AbsoluteLayout?
     
    Not if you need it... do you *really* need it or will RelativeLayout work
    better?
    Here is a good article discussing this topic...
    http://developer.android.com/resources/articles/layout-tricks-efficiency.html
     
    Also, is there a way to make Eclipse stop crossing out my layout code?
     
    Don't use depreciated classes, methods, etc...
     
    Also, understand that ALL iPhones have, more or less, a fixed screen
    size/density. With Android you might have one device where the screen
    density is small and one where it is huge. Imagine what you app will look
    like on not only a very low end device (MetroPcs Huwai Ascend) or on a 10+"
    tablet. Will it look the same, or as 'the same' as you can get?

     

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

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

Comments: (0)

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

 Topic: hi
    Luis Ramirez <luisangelramirez7@gmail.com> Aug 31 11:07AM -0700 ^
     
    If nothing else works try a factory reset.

     

    Alexey Zakharov <alexey.v.zaharov@gmail.com> Aug 31 11:02AM -0700 ^
     
    Is there any oauth2 lib that implemnt client side flow for both facebook and
    google?

     

    Dmitry Golubovsky <golubovsky@gmail.com> Aug 31 09:16AM -0700 ^
     
    Hi,
     
    Q1: Is post(action) equivalent to postDelayed(action, 0)?
     
    Q2: If a view implements a never stopping cycle like this, depending
    on two time parameters, N and T:
     
    public void timerEvent() {
    final class Timer implements Runnable {
    public void run() {
    timerEvent();
    }
    }
    native_code(); // guaranteed to run no
    longer than N msecs
    postDelayed(new Timer(), T);
    }
     
    what combinations of N and T ranges (including T = 0) are acceptable
    to make sure the view remains responsive to touch and other user-
    generated events, and "force close/wait" dialog does not appear?
     
    I currently set N to 200msec max. Any lower bound on T?
     
    In other words, if T = 0 and a touch event arrived while in native
    code, will it be processed by the view at all, or is it necessary to
    have T > 0 to guarantee that touch event will be processed?
     
    Thanks.

     

    Dianne Hackborn <hackbod@android.com> Aug 31 09:28AM -0700 ^
     

    > Q1: Is post(action) equivalent to postDelayed(action, 0)?
     
    Yes.
     
     
     
    > what combinations of N and T ranges (including T = 0) are acceptable
    > to make sure the view remains responsive to touch and other user-
    > generated events, and "force close/wait" dialog does not appear?
     
    It will remain responsive because older messages are processes before newer
    messages, so you can't starve other messages from the queue by re-posting a
    message when you handle it, even with no delay.
     
    More important is balancing CPU use with what you are trying to do.
     
    At 60fps one frame is 20ms, so it generally isn't useful to have a delay
    smaller than that. At the same time, if this is going on the entire time
    the user is in your app, if using a delay of 20ms means you are keeping the
    CPU running at near 100%, are going to much more quickly drain the battery
    (and the user will see this in the battery use report).
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    Dmitry Golubovsky <golubovsky@gmail.com> Aug 31 10:18AM -0700 ^
     
    Dianne,
     
    Thanks for your quick reply.
     
    > On Wed, Aug 31, 2011 at 9:16 AM, Dmitry Golubovsky <golubov...@gmail.com>wrote:
     
    > > Q1: Is post(action) equivalent to postDelayed(action, 0)?
     
    > Yes.
     
    OK, may I suggest that this be reflected in the reference?
     
     
     
    > It will remain responsive because older messages are processes before newer
    > messages, so you can't starve other messages from the queue by re-posting a
    > message when you handle it, even with no delay.
     
    OK, so there are no specific priorities on user-generated vs. posted
    events.
     
    > the user is in your app, if using a delay of 20ms means you are keeping the
    > CPU running at near 100%, are going to much more quickly drain the battery
    > (and the user will see this in the battery use report).
     
    I posted much simplified code. This is the same Smalltalk VM port that
    I mentioned several times in the NDK group.
     
    The VM has an interval timer (which is N in my example), and when it
    expires inside the native code, the VM saves its state and returns to
    the Java UI code. Or otherwise it may return if there is nothing to
    process (no input events). If return happened by timer, the VM will be
    reentered ASAP (that is, after T in my example). Otherwise it may not
    be reentered until another user event is registered. That is, zero-or-
    near-delays between entering native code do not happen 100% of the
    time.
     
    All I am concerned about is not to have the "non-responding" dialog
    and buffer pending events within the application.
     
    Your explanation is very helpful.
     
    Thanks again.

     

    Jack Harvard <jack.harvard@gmail.com> Aug 31 06:40PM +0100 ^
     
    Wondering how many threads does android browser generate? Suppose it's Gingerbread running on a dual-core or quad-core ARM processor.

     

    Dianne Hackborn <hackbod@android.com> Aug 31 10:57AM -0700 ^
     
    A few. Why? :)
     
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    Dianne Hackborn <hackbod@android.com> Aug 31 10:57AM -0700 ^
     
    Oh and Gingerbread wasn't designed to run on anything but single CPU
    systems, so that's irrelevant to the question of the base platform. Of
    course people shipping Android modify it in various ways, and the browser is
    often one of the things they modify.
     
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    Dianne Hackborn <hackbod@android.com> Aug 31 11:00AM -0700 ^
     
    You should be concerned with much more than having the ANR dialog. The ANR
    dialog happens after *5 seconds*. That is an insanely long amount of time,
    well into the broken range. 200ms is a very long time for normal things on
    the UI thread -- that is well into the territory of causing obvious glitches
    and laggy response in the UI.
     
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    dillipk <codersnet2010@gmail.com> Aug 31 10:53AM -0700 ^
     
    Hello,
    My app makes frequent HTTP request to a server. How do I check
    whether server is up and running or available?
     
     
    Thanks in advance..
     
    -DK

     

    TreKing <trekingapp@gmail.com> Aug 31 12:59PM -0500 ^
     

    > How do I check whether server is up and running or available?
     
    If your request succeeds, it's available. If it doesn't, it's probably not.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    TreKing <trekingapp@gmail.com> Aug 31 01:00PM -0500 ^
     

    > If it doesn't, it's probably not.
     
     
    Also, there are error codes servers respond with you can check.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Bipin Sutariya <bipin.sutariya@gmail.com> Aug 31 09:43AM -0700 ^
     
    HI All,
     
    I am developing one app which have google map to show.
     
    My issue is it is showing fine on Samsung Galaxy mobile but map is not
    showing on HTC mobile.
     
    Can any one point it our what probebly issue can be?
     
    On HTC mobile it is jut showing blank page with grid. While on Samsung
    mobile it is showing as expected.
     
    Regards,
    Bipin

     

    TreKing <trekingapp@gmail.com> Aug 31 11:59AM -0500 ^
     
    On Wed, Aug 31, 2011 at 11:43 AM, Bipin Sutariya
     
    > Can any one point it our what probebly issue can be?
     
     
    You either installed different version of the app OR one has internet
    connection and the other doesn't.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    TreKing <trekingapp@gmail.com> Aug 31 11:49AM -0500 ^
     

    > How can I align them to the right side (make it RTL)...
     
    Check the properties in Eclipse - somewhere there should be an alignment
    property.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    TreKing <trekingapp@gmail.com> Aug 31 11:37AM -0500 ^
     

    > But the problem is that, even I didn't use these private functions, it
    > didn't work.
     
    I think you need to clarify your issue, because originally you said: "But
    when i switched to the standard platform, it worked
    perfectly."
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Dianne Hackborn <hackbod@android.com> Aug 31 09:51AM -0700 ^
     

    > But the problem is that, even I didn't use these private functions,
    > it didn't work.
     
    The article you linked is purely and solely about using internal functions.
    If you are not using it and still having your problem, why did you mention
    it?
     
    Also it is going to help a lot if you post more about what your actual
    problem is. What is the stack crawl of the crash? What are you trying to
    do, and what is the undesired behavior you are getting?
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@android.com
     
    Note: please don't send private questions to me, as I don't have time to
    provide private support, and so won't reply to such e-mails. All such
    questions should be posted on public forums, where I and others can see and
    answer them.

     

    TreKing <trekingapp@gmail.com> Aug 31 11:50AM -0500 ^
     
    On Wed, Aug 31, 2011 at 5:03 AM, Tawisak Ruksuwan <
     
    > this page can run but i want call public class MyCustomAdapter
    > extends BaseAdapter for show data from layout item
    > How can i do?
     
    Your question makes little sense.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    ag <ajitkamlesh@gmail.com> Aug 31 09:50AM -0700 ^
     
    Need a help on Android .Hope you can help us on this .
     
    From our application we are opening the browser using intent.
     
    Here is the code
     
     
    Uri uri = Uri
    .parse("http://
    www.google.com");
     
    Intent internetIntent
    = new Intent(Intent.ACTION_VIEW, uri);

    internetIntent.setComponent(new ComponentName(

    "com.android.browser",

    "com.android.browser.BrowserActivity"));
     

    internetIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
     

    startActivity(internetIntent);
     
     
    We are setting the flag FLAG_ACTIVITY_BROUGHT_TO_FRONT in the Intent
    so that next time if we open the browser from our application then it
    should bring the same tab in front instead of creating another
    instance as the application id is the same and it is working fine
     
    Issue is we need to call the JavaScript function defined in the
    webpage .How can we call the javascript function using the intent
    browser
    From webview you can do that but we are not able to use the webview as
    it doesn't fully support the html 5
     
    Thanks
    -ag

     

    TreKing <trekingapp@gmail.com> Aug 31 11:43AM -0500 ^
     
    On Wed, Aug 31, 2011 at 2:03 AM, Dipak Keshariya
    > Imageview1 is displayed on the Imageview2 I am Using Bring to Front
    > Method but This is Not Working.Sorry for bad English
    > Communication.Please Help Me.
     
    That was a bit hard to follow - maybe if you post your layout someone can
    determine your issue.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    TreKing <trekingapp@gmail.com> Aug 31 10:59AM -0500 ^
     
    > the result from the spinner needs to get to the edit text on the preference
    > screen and the value from the edit text needs to then get back to the main
    > activity.
     
    I didn't look over your giant blob of foreign, unformatted code, but you
    should not neither either a spinner or edit text in a preference actiivty,
    unless you have your terms mixed up.
     
    All you should really need is a list preference.
    http://developer.android.com/reference/android/preference/ListPreference.html
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    erik wagner <erik.j.wagner@gmail.com> Aug 31 09:19AM -0700 ^
     
    I apologize that the code appeared to be/was unformatted, it looked
    fine on my end.
     
    Thanks for the tip. That is exactly what I was trying to hodgepodge
    together. Much appreciated.
     
    Erik Wagner
     

     

    TP <tony.p.lee@gmail.com> Aug 31 09:18AM -0700 ^
     
    Agree. Love to see Google+ API download option from SDK addon too. I am
    sure it is in the plan and just take time, to develop, test, etc.
     
    I certainly don't mind seeing the Facebook, twitter as part of SDK addon
    options also.
    Not sure if it is limit to "partner" only or open to competitors.
     
    -Tony

     

    Pratik Prajapati <pratik.prajapati@gmail.com> Aug 31 09:15AM -0700 ^
     
    Dear All,
     
    For production of the device, android APKs needs to be signed. I have
    created keystore as explained in
    http://developer.android.com/guide/publishing/app-signing.html and signed my
    APKs with that keystore.
     
    I am doing it for eclair.
     
    I need to know following things.
     
    (1) Do I need to sign the andoird framework build as well, apart from APKs
    that I'll provide in my production device? the older guidelines say it.
    http://www.kandroid.org/online-pdk/guide/release_keys.html
     
    (2) Is there any difference between APK signing and APK certificate?
     
    (3) Any thing else I need to do for signing and certificate?
     
    Thanks in advance.
     
    Regards,
    Pratik

     

    TreKing <trekingapp@gmail.com> Aug 31 11:11AM -0500 ^
     

    > a.HttpURLConnection ( package java.net)
    > b.HttpClient ( package org.apache)
     
    > Please suggest me which option i take and why.
     
    http://tinyurl.com/3dd75se
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

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

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

Comments: (1)

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

    Dubler <lromanowicz1@gmail.com> Aug 31 07:48AM -0700 ^
     
    there was error in main.xml :) thx all

     

    "s.rawat" <imsaurabhrawat@gmail.com> Aug 31 08:11PM +0530 ^
     
    Oopss soory....its me Saurabh...my sis was using the same account..
    Well you pasted teh gogole link..thanks any ways ..have tried it enough
    ..but will surely look with your keywords.
    Rgds,
    Saurabh
     
    "..pain is temporary.....quitting lasts forever......"
     
     
     

     

    rich friedel <rich.friedel@gmail.com> Aug 31 07:45AM -0700 ^
     

    > Oopss soory....its me Saurabh...my sis was using the same account..
     
    lol

     
    > Well you pasted teh gogole link..thanks any ways ..have tried it enough
    > ..but will surely look with your keywords.
     
    Yeah try that first Adobe link. I read through it and it looked like what
    you needed.

     

    Stanley Orlenko aka Smith <orlenko.stas@gmail.com> Aug 31 07:35AM -0700 ^
     
    hi
    FrameLayout contains 2 views.
    frameLayout.add(view1);
    frameLayout.add(view2);
     
    view2 extends GLSurfaceView. view2 is curling page (like a page in a
    book), when user is curling page view2 view1 should appears under
    view2 (like next page in a book). view2 - current page, view1 - next
    page.
    There is problem. Sometimes view1 appears on the screen before view2
    on a very short period of time and then view2 appears, it looks like a
    blink. Sometimes when user is curling view2 view1 has not yet been
    drawn and appears after some period of time, it looks like delay.
    If I understand correctly sometimes firstly android draws view1, and
    sometimes firstly android draws view2. How can I solve this problem?
    Layout should appears only when view2 has been drawn and view1 should
    appears immediately after user starts curling view2
     
    Also I have a suspicious that android starts drawing view1 only when
    user starts curling view2 because of view1 appears on the screen. but
    if view1 is complex view with a lot of custom elements it will take a
    time to draw it, as result delay...
    Thanks in advance

     

    "s.rawat" <imsaurabhrawat@gmail.com> Aug 31 01:30PM +0530 ^
     
    Hi,
    How can I make a text clickable(hyperlinked) in the dialogue box.
    Folowing is the code ----->
     
     
    public class Custom_Dialog extends Dialog implements OnClickListener {
    public Custom_Dialog(Context context) {
    super(context);
     
    setContentView(R.layout.my_dlgbox);
    setTitle("About");
    setCancelable(true);
     
    //set up text
    TextView text = (TextView) findViewById(R.id.myDlgTxtView);
    text.setText(R.string.about_text);
     
    //set up image view
    ImageView img = (ImageView) findViewById(R.id.myDlgImgView);
    img.setImageResource(R.drawable.logo_72px);
     
    //set up button
    Button okButton;
    okButton = (Button) findViewById(R.id.DlgButton);
    okButton.setOnClickListener(this);
    }
     
    public void onClick(View v) {
    dismiss();
    }
    }
     
    about_text --> contains the text to be displayed , there is
    www.google.comas one of the texts, and I want it to be clickable.
     
    I thnk I have to insert some *attributes* inside the my_dlgbox.xml.But dont
    know what are they , goooling it will give it for the alertbox and not for
    dialogue or message box.box.plz assit
     
     
     
    Rgds,
    Saurabh

     

    Chris <crehbein@gmail.com> Aug 31 06:41AM -0700 ^
     
    On Wednesday, August 31, 2011 4:00:48 AM UTC-4, softy wrote:
     
    > Hi,
    > How can I make a text clickable(hyperlinked) in the dialogue box.
     
    Something like:
     
    StringBuilder msg = new StringBuilder();
    msg.append("http://www.google.com");
    final SpannableString string = new SpannableString(msg);
    Linkify.addLinks(string, Linkify.WEB_URLS);
    myTextView.setText(string);

     

    "s.rawat" <imsaurabhrawat@gmail.com> Aug 31 07:42PM +0530 ^
     
    Thankx it worked , also i have to add this line -->
     
    *text.setMovementMethod(LinkMovementMethod.getInstance());*
     
    Rgds*,*
    saurabh
     
    "..pain is temporary.....quitting lasts forever......"
     
     
     

     

    rich friedel <rich.friedel@gmail.com> Aug 31 07:08AM -0700 ^
     
    Hello, and I hope you are having fun learning! :)
     
    I took your code and quickly cleaned it up for you. I didn't test it so I
    don't know if anything i've done helped. BUT you had a lot of stuff in there
    that I would be surprised if it even compiled. I wrote comments explaining
    my changes...
     
    Hope it helps
     
    private AudioManager mAudioManager;
     
    private boolean mPhoneIsSilent;
     
     
    // Use something else besides a reserved word for naming your fields,
    methods, classes, etc...
     
    // Also you don't need this boolean. You can simply use 'false' or
    'true'
     
    // private boolean False;
     
     
    /** Called when the activity is first created. */
     
    @Override
     
    public void onCreate( Bundle savedInstanceState ) {
     
    super.onCreate( savedInstanceState );
     
    setContentView( R.layout.main );
     
     
    mAudioManager = (AudioManager)getSystemService( AUDIO_SERVICE );
     
    checkIfPhoneIsSilent();
     
     
    // You can wrap your listener with a method however, I find it is
    better to init my
     
    // listeners in the onStart method. See the Activity lifecycle
     
    // Example below in the onStart() method...
     
    // setButtonClickListner();
     
     
    Log.d( "SilentModeApp", "This is a test" );
     
    }
     
     
    @Override
     
    public void onStart() {
     
    Button toggleButton = (Button)findViewById( R.id.toggleButton );
     
     
    toggleButton.setOnClickListener( new View.OnClickListener() {
     
     
    public void onClick( View v ) {
     
    // Do some click stuff here...
     
    }
     
    } );
     
    }
     
     
    // I have no idea why this is here??? You perform the check in your
    checkIfPhoneIsSilent()
     
    // {if (mPhoneIsSilent)
     
    // {
     
    // mAudioManager
     
    // .setRingerMode(AudioManager.RINGER_MODE_NORMAL);
     
    //
     
    // mPhoneIsSilent = False;
     
    // }
     
    // else
     
    // {
     
    // mAudioManager
     
    // .setRingerMode(AudioManager.RINGER_MODE_SILENT);
     
    // boolean True = false;
     
    // mPhoneIsSilent = True;
     
    // }
     
     
    /**
     
    * Toggles the UI images from silent to normal and vice versa.
     
    */
     
    void toggleUi() {
     
    ImageView imageView = (ImageView)findViewById( R.id.phone_icon );
     
    Drawable newPhoneImage;
     
     
    if( mPhoneIsSilent ) {
     
    newPhoneImage = getResources().getDrawable(
    R.drawable.phone_silent );
     
    } else {
     
    newPhoneImage = getResources().getDrawable( R.drawable.phone_on
    );
     
    }
     
    imageView.setImageDrawable( newPhoneImage );
     
    }
     
     
    /**
     
    * Checks to see if your phone is currently in silent mode
     
    *
     
    */
     
    private void checkIfPhoneIsSilent() {
     
    int ringerMode = mAudioManager.getRingerMode();
     
    if( ringerMode == AudioManager.RINGER_MODE_SILENT ) {
     
    mPhoneIsSilent = true;
     
    } else {
     
    mPhoneIsSilent = false;
     
    }
     
    }
     
     
    protected void onResume() {
     
    super.onResume();
     
    checkIfPhoneIsSilent();
     
    toggleUi();
     
    }

     

    rich friedel <rich.friedel@gmail.com> Aug 31 07:10AM -0700 ^
     
    btw I forgot to put the super call in the onStart() method... so it should
    look like this instead:
     
    @Override
     
    public void onStart() {
     
    super.onStart();
     
    Button toggleButton = (Button)findViewById( R.id.toggleButton );
     
     
    toggleButton.setOnClickListener( new View.OnClickListener() {
     
     
    public void onClick( View v ) {
     
    // Do some click stuff here...
     
    }
     
    } );
     
    }

     

    Harald <harald.kroning@gmail.com> Aug 31 06:18AM -0700 ^
     
    I am trying to run the sample "Fragment Pager Support" but I get the
    error:
    "The import com.example.android.supportv4.R cannot be resolved"
    at this line:
    import com.example.android.supportv4.R;
     
    any ideas?

     

    Heiko Witte <heiko.witte@gmail.com> Aug 31 05:41AM -0700 ^
     
    Hi,
     
    I have been working on a small project that involved using a Nexus S and
    ACR122 for P2P NFC communication. I wrote a small blog post about how to get
    everything running:
     
    http://hwit.bitstacks.com/2011/08/31/nfc-with-the-nexus-s-and-acr122-reader
     
    Please leave a comment if you have corrections or suggestions.
     
    Regards
    Heiko

     

    cellurl <gpscruise@gmail.com> Aug 31 05:24AM -0700 ^
     
    I mean, is there any more logging info available other than Eclipse/
    Logcat? Is there a way to get more verbose logging? Perhaps Amazon has
    their own test/plugin/whoknows??
     
    Any guidance appreciated.
    -cellurl

     

    Munkhbayar G <freemonhuul@gmail.com> Aug 31 05:11AM -0700 ^
     
    uh please unsubscribe me from this group
     

     

    mohana priya <gpriyaraj14@gmail.com> Aug 31 04:59AM -0700 ^
     
    I am new to android.I need to know how to code for rtmp client in
    android for video live streaming.Any one tell me the idea how to do..

     

    Hadas <hadas.mobile@gmail.com> Aug 31 04:35AM -0700 ^
     
    Bc"d
    Hi,
    How I can to change this popup window Example to View pop up Without
    TextView?
     
    final FrameLayout fl = new FrameLayout(this);
    final EditText input = new EditText(this);
     
    AlertDialog.Builder builder = new AlertDialog.Builder(this);
    builder.setMessage("Pleace press on START TEST with this
    parameters");
     
    //("Pressure: " + testParams[1] + " " + "Touch Object: " +
    testParams[4]);
    input.setGravity(Gravity.CENTER);
     
    fl.addView(input, new
    FrameLayout.LayoutParams(FrameLayout.LayoutParams.FILL_PARENT,
    FrameLayout.LayoutParams.WRAP_CONTENT));
     
    input.setText("Parameters");
    new AlertDialog.Builder(this)
    .setView(fl)
    .setTitle("Please press on test with this parameters")
    .setPositiveButton("OK", new DialogInterface.OnClickListener(){
    @Override
    public void onClick(DialogInterface d, int which) {
    d.dismiss();
    Toast.makeText(AutomaticTestActivity.this, "Value: " +
    input.getText().toString(), Toast.LENGTH_LONG).show();
    }
    })
    .setNegativeButton("Cancel", new DialogInterface.OnClickListener()
    {
    @Override
    public void onClick(DialogInterface d, int which) {
    d.dismiss();
    }
    }).create().show();
     
    Thanks
    Hadas Mobile

     

    Bipin Sutariya <bipin.sutariya@gmail.com> Aug 31 12:32AM -0700 ^
     
    Has any one have any solution for this? Its bit urgent.
     

     

 Topic: hi
    Appaholics <raghavsood@appaholics.in> Aug 31 12:54PM +0530 ^
     
    Unless you are trying to debug your own app and are getting this type of
    error this is not an appropriate question for this list. If you are doing
    the aforementioned then please provide some more details.
     
    Also "hi" is not a very descriptive subject.
     
    Thanks
     
     
    --
    ------------------
    Raghav Sood
    CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
    required to have complete control)
    http://www.raghavsood.com/
    https://market.android.com/developer?pub=Appaholics
    http://www.appaholics.in/

     

    Nikolay Elenkov <nikolay.elenkov@gmail.com> Aug 31 04:08PM +0900 ^
     

    > So I understand there is no way -neither in release or developer
    > build- to put our own applet to secure element. Do you have an idea
    > about who owns the required keys ? Google or Samsung or Sprint?
     
    Sorry, no idea. I guess the carrier should have access to the keys,
    since they customize the device, and might want to have there own
    applet(s).

     

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