[android-developers] Android Studio - Stuck on “Build Gradle” when creating a new project

2016-10-29 Thread Sj P
down votefavorite I have tried different solutions but none of them seem to work for me. I have installed the latest AS on my Windows 7. Everything downloaded fine(I'm not behind any

[android-developers] How to close a single tab in tablayout

2011-09-02 Thread sj
There is a method to add a tab in TabHost as well as clear all tabs, but there are no APIs to remove one single tab. Following the logic in clearAllTabs tried to tabwidget.removeViewAt(index); tabHost.getTabContentView().removeViewAt(index) After this the behaviour is strange. I assume that is be

[android-developers] What happens to the java properties file inside a jar when it is converted to dex?

2011-08-01 Thread sj
DexClassLoader can be used to load the jars which have been convereted to dex format. If there are properties file in the jars. Is there a way to load those properties file from inside the classes which have been converted to dex? -- You received this message because you are subscribed to the Goo

[android-developers] Re: KEYCODE COLON?

2011-05-30 Thread SJ
such as shift-; on a PC keyboard. > > > > > > > > > > On Fri, May 27, 2011 at 2:08 AM, SJ wrote: > > Anyone knows how to send KEYCODE COLON? ":" > > > According to > >http://thecodeartist.blogspot.com/2011/03/simulating-keyevents-on-and

[android-developers] Re: KEYCODE COLON?

2011-05-30 Thread SJ
Thanks! On May 28, 11:12 am, Marcin Orlowski wrote: > On 27 May 2011 22:53, Dianne Hackborn wrote: > > > I don't know of any device that has a colon key (that is why there is no > > keycode for it).  Generally this is generated by shifting with another key, > > such as shift-; on a PC keyboard.

[android-developers] KEYCODE COLON?

2011-05-27 Thread SJ
Anyone knows how to send KEYCODE COLON? ":" According to http://thecodeartist.blogspot.com/2011/03/simulating-keyevents-on-android-device.html (look at table) such keycode not exist Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Unable to install latest Android SDK on Ubuntu 10.10

2011-05-03 Thread SJ
Hi Scott Ubuntu 10.10 is smoothest platform I run so far.(after Windows :) So either you have corrupted Linux - broken files f.e. Or you have broken RAM. Boris On May 2, 6:58 pm, Scott wrote: > Hi folks, > > I've been trying in vein for a few days to get the latest Android SDK > to install on U

[android-developers] android sdk on FreeBSD in Linux emulation mode

2011-05-01 Thread SJ
Hi All I am do android development on FreeBSD8(Gnome). There are linux emulation mode so I'm using Linux version of SDK. To run tools/android I added swt from x11-toolkit/swt. Create env variables: JAVA_HOME=/usr/local/openjdk ANDROID_JAVA_HOME=$JAVA_HOME ANDROID_SWT=/usr/local/share/java/classes

[android-developers] Re: Monkeyrunner not capturing screenshot correctly

2011-04-03 Thread SJ
it this solves the problem. > > On Apr 2, 1:56 pm, SJ wrote: > > > > > > > > > I have also seen not 100% perfect screenshot. > > There is only one function in Monkeyrunner to take Snapshots: > > > com.android.monkeyrunner.MonkeyDevice.takeSnapshot >

[android-developers] Re: Is there any method in Android through which we can add some message secretly in the end of Video clip?

2011-04-03 Thread SJ
MP4 H264 has metadata. Normally this is track info, and even image of covers. Advanced players has metadata parsers. Have a look at http://developer.android.com/reference/android/media/MediaMetadataRetriever.html On Apr 2, 10:26 pm, TreKing wrote: > On Sat, Apr 2, 2011 at 2:56 PM, Nilay wrote:

[android-developers] Re: Monkeyrunner error for device

2011-04-02 Thread SJ
Looks like connection between monkeyrunner script and monkeyrunner daemon on device broken. is it always happen or sparadically? Can u try to remove all extra Apps and repeat? On Apr 1, 9:12 pm, saadhuboy wrote: > I am trying to use monkeyrunner to automate a few tests on the device > but keep ru

[android-developers] Re: C/C++ Integration With Android...

2011-04-02 Thread SJ
Check here: http://smartctl.net/android/ndk-r5.php On Apr 1, 1:59 pm, iliTheFallen wrote: > Hi All, > > I want to integrate C/C++ to Android Platform. Java Virtual Machine > has a native support for calling C/C++ methods or importing dll files. > My question is "Does Dalvik Virtual Machine(DVM)

[android-developers] Re: How can we get handle of GUI controls in Android?

2011-04-02 Thread SJ
I think it requires kernel level monitor. Maybe you should start from getting source code of android. Write driver to enumarate all controls of foreground apps. SJ On Mar 31, 4:57 am, Ella wrote: > The same question from me. > > We know, A GUI automation testing tool -- monkey runner

[android-developers] Re: Monkeyrunner not capturing screenshot correctly

2011-04-02 Thread SJ
I have also seen not 100% perfect screenshot. There is only one function in Monkeyrunner to take Snapshots: com.android.monkeyrunner.MonkeyDevice.takeSnapshot Gets the device's screen buffer, yielding a screen capture of the entire display. Which function have you mention? On Mar 31, 2:31 am, lb

[android-developers] Re: Simulation of user interaction.

2011-03-28 Thread SJ
Thanks! On Mar 28, 9:11 am, Rainbowbreeze wrote: > > I'm interesting if there any way to simulate user activity on Android > > device. > > Application Exerciser Monkey for stress > testshttp://developer.android.com/guide/developing/tools/monkey.html > > MonkeyRunner for sending keystrokes and co

[android-developers] Simulation of user interaction.

2011-03-27 Thread SJ
ork or any special cable? I'm not virus maker I need it for my project. Thanks. SJ -- 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

[android-developers] Re: Devices not detected

2011-03-27 Thread SJ
Is they still detected as USB devices? On Mar 25, 10:34 am, Kunju Vava wrote: > hi > > You just tried to on/off the device > or > plse note > > Version of Android (2.1, 2.2) >  What version of Windows? 32-bit or 64-bit? >  Have you been able to only connect USB, WiFi, both or none of the abov

[android-developers] Hooks on network activity

2011-03-18 Thread SJ
Hallo Is it possible to make hooks to monitor android activity? which program send/receive data? Who send SMS, MMS, issued Call? Whats best way to write such application? Thanks SJ -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Loading and displaying an image from a resource

2010-04-29 Thread sj
Currently I'm successfully loading and displaying an image from a webserver using the code below. URL imgURL = new URL("http://www.xxx.com/myimage.png";); URLConnection conn = aURL.openConnection(); conn.connect(); InputStream is = conn.getInputStream(); BufferedInputStream bis = new BufferedInpu

[android-developers] Re: Android Developer Challenge II Cancelled?

2009-03-20 Thread SJ
Thanks for the clarification. And my $0.02 that it should be focused more towards the features and functionality and how it takes android over and above what it can normally do rather than how it fares in the marketplace. cheers, Sachin On Mar 19, 5:39 pm, Dan Morrill wrote: > Oops.  Looks li