Oh, and if it isn't obvious from my other post at about the same time, I
currently have Android Studio version 1.5.1.
On Saturday, August 6, 2016 at 9:54:25 AM UTC-7, David Karr wrote:
>
> I occasionally bring up Studio to work on a personal project. It was
> basically working at
I occasionally bring up Studio to work on a personal project. It was
basically working at one point, at least it appears to be built in Studio.
I decided I wanted to try to build it from the command line. From what I
understand, this just requires "./gradlew assemble".
This produced the
My platform (right now) is CentOS Linux.
I occasionally work on a personal project in Studio. I still find much of
it pretty baffling after years being used to Eclipse. In any case, when I
brought up Studio today, it prompted me to update the version of studio. I
had version 1.5.1
Never mind, I figured out how to attach the other branch.
On Thursday, August 4, 2016 at 8:26:40 PM UTC-7, David Karr wrote:
>
> I have a project on github, and my recent work is on a branch, and it's
> all pushed to github. I installed studio on a new box and checked out from
> g
I have a project on github, and my recent work is on a branch, and it's all
pushed to github. I installed studio on a new box and checked out from
github. What I got appears to be the master branch. When I went to a
shell to look closer at the git configuration (as I can't figure out how to
ting, setting the parameter in the activity seemed to do
the trick by itself. Thanks.
>
> Regards
>
> On Friday, April 15, 2016 at 12:07:03 PM UTC+10, David Karr wrote:
>>
>> I've assembled a custom video recorder app based on a common sample from
>> Google.
I've assembled a custom video recorder app based on a common sample from
Google. You can see the entire source at
https://github.com/davidmichaelkarr/android-Camera2Video/tree/refinements .
Except for an annoyance I recently posted about here (writes zero length
file in addition to valid
I managed to find a good video app sample at
https://github.com/googlesamples/android-Camera2Video . I forked this to
make some simple utilitarian changes. The result is functional, but not
pretty at all. For what I'm using it for, pretty isn't important.
My fork of this is at
I mostly use Eclipse, so there may be conventions in Android Studio that
I'm not familiar with.
I was editing some Android code in Android Studio, and I wanted to read the
javadoc detail for a method that's being called. After I managed to pin
the tooltip (is there a convenient function key
rror.
> - you could verify that by examining the metadata / properties of the video
> you have already recorded.
>
>
> Regards
>
>
> On Friday, March 25, 2016 at 11:58:15 AM UTC+11, David Karr wrote:
>>
>>
>>
>> On Thursday, March 24, 2016 at 3:49:
orded videos with that. It shows a
"Properties" list, along with a "View Atom Structure" function. How can I
tell from this whether it's "high quality" or not?
>
> Regards
>
>
> On Friday, March 25, 2016 at 11:58:15 AM UTC+11, David Karr wrote:
>&g
On Thursday, March 24, 2016 at 3:49:52 PM UTC-7, gjs wrote:
>
> Hi,
>
> Re - I imagine I'm doing something horribly wrong,
>
> Well yes, particularly for this code, calling methods on a null object ???
> -
>
> if (mCamera == null) {
> mCamera.setPreviewDisplay(holder); ...
>
>
>
ead
> final Handler mHandler = new Handler();
>
>
> mHandler.postDelayed(new Runnable()
> {
>@Override
>public void run()
>{
> doAutoFocus(..
>}
>
> }, 500 );
>
>
> Regards
>
>
Ok. I'll give that a try.
>
>
gt; vs when you use the default Camera App. (NOTE also that Nexus 5X has some
> wrong camera preview orientation issues...)
>
> Regards
>
>
>
> On Wednesday, March 23, 2016 at 3:41:02 PM UTC+11, David Karr wrote:
>
> I've assembled a relatively small camcorder app. It on
e device then you need to provide you own viewer activity
> of some sort as previously suggest, or else be willing to help your users
> get the (Google) Photos app configured to find photos, video created with
> your app and be ready to do that all over again with next the (Google)
&
tion I get that the process did anything. Despite the "completed"
callback being called, the recorded videos are never visible in the
"Photos" or "Gallery" app.
On Saturday, December 19, 2015 at 9:58:02 AM UTC-8, David Karr wrote:
>
> Because I can't brin
On Tuesday, December 22, 2015 at 10:33:17 AM UTC-8, David Karr wrote:
>
> On Tuesday, December 22, 2015 at 12:49:55 AM UTC-8, gjs wrote:
>>
>> Hi,
>>
>> MediaScannerConnection scanFile() (& the equivalent Intent), is just a
>> request to the OS, it does
videos.
>
> Regards
>
>
> On Tuesday, December 22, 2015 at 5:29:36 AM UTC+11, David Karr wrote:
>>
>> On Monday, December 21, 2015 at 12:08:57 AM UTC-8, gjs wrote:
>>>
>>> Hi,
>>>
>>> If your phone is not a Google Nexus var
if ( frequency < 1000 )
> {
> sleep = 250;
> }
> }
>
> sleep = 500;
>
> for ( int frequency = 3000; frequency >= 300; frequency -= 300 )
> {
>
CAN_FILE,
Uri.parse("file://" + outputFilePath)));
The problem is, it's not clear to me that this is doing anything. After
storing one of these and calling this, I exit my app and run the Photos
app, and the new video is not shown there. I've verified that the video is
stored and viewab
On Sunday, December 20, 2015 at 11:27:14 PM UTC-8, gjs wrote:
>
> Hi,
>
> Here's some examples of using AudioTrack
> http://www.programcreek.com/java-api-examples/index.php?api=android.media.AudioTrack
>
> Just be sure to run in a separate thread.
>
> Regards
>
Note that I did already say that
I'm attempting to implement the conventional countdown shutter delay
strategy for a custom camcorder app, just like the stock camera app. I've
implemented the visual and functional part of the countdown, but now I have
to implement the audio part. This emits a tone every second and multiple
returns "Camera"
as the base directory name.
>
> Regards
>
> On Sunday, December 20, 2015 at 4:58:02 AM UTC+11, David Karr wrote:
>>
>> Because I can't bring up the stock camera app with just a video
>> record/stop button (I'm using a remote bluetooth b
stants in the component? I started with "bottom"
and wanted to make it "bottom | center_horizontal", but it barfs on that.
> Regards
>
> On Saturday, December 19, 2015 at 5:20:35 AM UTC+11, David Karr wrote:
>>
>> I'm working with a sample video capture
When I start to record a video, I have to call
"mediaRecorder.setOutputFile(filepath)". When I later stop recording, I can
report that the video is recorded, but it would be nice to know at the
point of stopping the recording what the output file path was. As I have
the "mediaRecorder" there,
Because I can't bring up the stock camera app with just a video record/stop
button (I'm using a remote bluetooth button to start/stop recording), I've
written a custom app that just displays the camera preview and a video
record/stop button.
Despite the fact that this is a custom app, as much
all right, and I'm fairly certain it isn't
bulletproof yet), but it's basically working as advertised. Now I have to
make several adjustments to get it closer to what I need.
> Regards
>
> On Friday, December 18, 2015 at 6:07:13 AM UTC+11, David Karr wrote:
>>
>> I'm a ver
I'm working with a sample video capture app
(http://examples.javacodegeeks.com/android/core/android-video-capture-example/).
I've made some changes to it, but the basic structure is the same. The
layout used displays the preview in a pane on the left side of the screen,
with a layout
On Thursday, December 17, 2015 at 11:47:52 AM UTC-8, David Karr wrote:
>
> I recently installed Android Studio on my CentOS7.2 laptop. It basically
> works, but while stepping through a simple "HelloWorld" exercise, it
> displayed some "Rendering Problems" in
On Thursday, December 17, 2015 at 11:49:47 AM UTC-8, David Karr wrote:
>
>
>
> On Thursday, December 17, 2015 at 11:47:52 AM UTC-8, David Karr wrote:
>>
>> I recently installed Android Studio on my CentOS7.2 laptop. It basically
>> works, but while steppin
I'm a very experienced Java dev, but an Android dev newbie (although I went
through a lot of Eclipse-based Android dev tutorials years ago).
I'm starting with a simple open-source app that runs the camcorder
(probably mostly based on a tutorial itself).
Using a remote bluetooth button device,
I recently installed Android Studio on my CentOS7.2 laptop. It basically
works, but while stepping through a simple "HelloWorld" exercise, it
displayed some "Rendering Problems" information over the "Design" view of
the layout file. I wanted to copy the text of that to post a question
If I have an unrooted Android device, a USB cable, and a laptop, can I run
a web or application server on my laptop and test a site running on that
server on the Android device?
I know I can do some testing with the Android emulator, but I'd like other
options.
--
You received this message
I'm stepping through Professional Android 4 Application
Development. I'm attempting to enter most of the code samples by
hand, but I'm deploying the provided downloaded apps if what I've
entered doesn't match what I expect.
I'm on chapter 14, the 3rd iteration of the Earthquake example,
which
, David Karr wrote:
0 down vote favorite
share [g+] share [fb] share [tw]
I've installed the SDK on Ubuntu 12.0.4. I started up the SDK manager
and updated several packages.
I ran the avd manager and tried to create an avd, but it just failed
with no information.
I then tried to create
0 down vote favorite
share [g+] share [fb] share [tw]
I've installed the SDK on Ubuntu 12.0.4. I started up the SDK manager
and updated several packages.
I ran the avd manager and tried to create an avd, but it just failed
with no information.
I then tried to create the avd from the command
I found a StackOverflow post that showed me how I can use adb to set
the clipboard in the emulator:
http://stackoverflow.com/questions/7283446/pasting-text-into-android-emulator-clipboard-using-adb-shell
.
I'm finding that this only works for Gingerbread, both reading and
writing. When I try the
Today I installed the SDK and created a Phone_IceCreamSandwich AVD. I
started it up and ran the browser in the emulator. I noticed that it
wasn't completing the request for the home page. I'm inside a corporate
firewall, so that's not surprising. I then restarted the AVD with a
command-line
server.
What are the GUI device settings?
On Apr 17, 3:39 pm, David Karr davidmichaelk...@gmail.com wrote:
I can't test this right now, but if I start up an emulator instance on
my desktop, if I bring up the browser on the emulator, will that use
my desktop network connection for DNS
I can't test this right now, but if I start up an emulator instance on
my desktop, if I bring up the browser on the emulator, will that use
my desktop network connection for DNS and resolving urls? If my
desktop is connected to VPN, I want the browser on the phone to be
able to view a page inside
On Wednesday, March 28, 2012 1:44:44 PM UTC-7, Mark Phillips wrote:
I forgot to include a subject line.
On Wed, Mar 28, 2012 at 11:38 AM, Mark Phillips
m...@phillipsmarketing.biz wrote:
My android app needs to talk to a MySQL database on a server. I have been
googling for solutions
I'm just curious about the background on this, but I was wondering why the
style attribute in a view definition isn't in the android namespace.
For instance, in the following sample:
TextView android:id=@+id/errorText
style=@style/ErrorText
android:text=No errors at this time
I'm just reading about dimension resources (Pro Android 4), and it seems
curious how dimension resources are referenced in Java code (at least as
specified in this book).
The resource value consists of the value and the dimension, like 5px or
5dp or 5sp.
You could reference this in a layout
I know that an Android app can get the phone model and phone number, but
what has to be in place for Javascript in a webapp, running in the Android
browser, to get the same information. I know that I could have an Android
app that creates a WebView, but is it possible for a webapp running in
On Wed, Mar 14, 2012 at 10:54 AM, Mark Murphy mmur...@commonsware.comwrote:
On Wed, Mar 14, 2012 at 1:46 PM, David Karr davidmichaelk...@gmail.com
wrote:
I know that an Android app can get the phone model and phone number, but
what has to be in place for Javascript in a webapp, running
This may be completely Eclipse-specific, but perhaps not.
I find it's very inconsistent whether I can get Eclipse to show me the
Javadoc for an Android class or method, even when I appear to have valid
javadoc attached to the android.jar file.
For instance, right now I'm viewing a class in a
I was looking at the new Android Training section on the Android
Developer's site. One of the first required steps is installing the
Android Support package.
In the Downloading the Support Package section, it first says to Launch
the SDK and AVD Manager. This is curious, as my Eclipse has two
I noticed the mention of the layoutopt tool in the Android Training
pages. I see that I don't have that in my sdk distro anywhere. I've kept
the SDK installed from the ADT pretty up to date, but perhaps that's
separate from this.
Why might it be missing?
--
You received this message because
I'm looking at the 3.2 API for android.widget.Spinner. The documentation
for public void setOnItemClickListener (AdapterView.OnItemClickListener
l) says this:
A spinner does not support item click events. Calling this method will
raise an exception.
I'm also looking at the sample code
I would think that changing the layout_height of the LinearLayout to
wrap_content would help. With what you have, both children of the
RelativeLayout are set to fill_parent, so they'll have the same height.
Also, I would recommend you make up your mind whether you're going to use
fill_parent
Oh, duh. That was actually the one I was using. I didn't notice the
difference.
--
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
When someone says Oh, duh, that's an idiom for I understand now.
I was using Selected, but I read the advice on Click, and I didn't
notice the difference in method names. I don't have an issue anymore.
Thanks.
--
You received this message because you are subscribed to the Google
Groups
Is this the best place to ask about the Android Eclipse plugin?
I just noticed that when I changed the background property of my main layout
in the wysiwyg mode (Graphical Layout), it looks fine in the graphical
mode, but it doesn't appear to have changed the actual layout file. The
display
Just so it's clear, I then manually added the property setting to the XML
view and then ran on the emulator, and the background was changed.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
, and this time it
worked.
On Dec 19, 5:24 am, Mark Murphy mmur...@commonsware.com wrote:
On Sun, Dec 19, 2010 at 1:29 AM, David Karr davidmichaelk...@gmail.com
wrote:
Sorry, I need more information.
?
You're saying that because I had the phone connected to my computer
with the USB
On Dec 19, 8:48 am, Kostya Vasilyev kmans...@gmail.com wrote:
19.12.2010 19:36, David Karr пишет:
After finally figuring out how to do this (Windows doesn't make it
easy), I found it didn't make any difference. I went through the
Safely remove hardware steps, and that removed the drive
I've deployed an app to my device that calls Log.v(String, String).
I'm using the ADT. I have the LogCat view showing.
I step over the line of code that calls Log.v(). Nothing appears in
the LogCat view.
I haven't added any filters. I've tried clicking the V toggle
button in the LogCat view,
On Dec 19, 2:29 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You could try running adb logcat from your computer's command line. That
would tell you if it's the device or Eclipse that is the problem. If the
device's logcat works, you will see lots of output, not just your
application's. All
On Dec 19, 4:20 pm, David Karr davidmichaelk...@gmail.com wrote:
On Dec 19, 2:29 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You could try running adb logcat from your computer's command line. That
would tell you if it's the device or Eclipse that is the problem. If the
device's logcat
I have a droid2. I can take pictures with the camera. I can browse
the pictures I've taken on the phone.
I can connect the phone to my WinXP box and browse the SD card through
File Explorer.
I'm now trying a sample tutorial (SizedCameraIntent) from the Pro
Android Media book. When I deploy to
, Dec 18, 2010 at 5:00 PM, David Karr davidmichaelk...@gmail.com
wrote:
I have a droid2. I can take pictures with the camera. I can browse
the pictures I've taken on the phone.
I can connect the phone to my WinXP box and browse the SD card through
File Explorer.
I'm now trying a sample
I've always thought it was strange that the Date/Time controls have
the increment and decrement buttons in the order that seems opposite
to the natural order. Experience in user interfaces tells you that
numbers increase down and decrease up, just like the entries in a
list.
If you had a
I don't necessarily have a need for this, but I noticed while reading
through some of the Menu features that there wasn't an obvious way to
populate a menu (context menu, for instance) just before drawing it. I
believe this is a typical feature of other menu systems. Is it
possible to do this in
I'm experimenting with android development on my work XP laptop. I
installed the SDK and the ADT in my Eclipse 3.5.2 environment. I then
connected my device to my laptop with the USB cable. Although my
computer appeared to recognize that a device had been connected, it
didn't bring up the
As this appears to be the only place to report issues with the
articles and the pages linking to them:
On the Technical Articles page, the link for Using the Contacts
API actually goes to the article for the previous link, to the Using
Text-to-Speech article.
--
You received this message
I'm trying to install the USB driver for Windows, with the information
provided at http://developer.android.com/sdk/win-usb.html. I've
connected my device with the cable. I can now see files on my device
from Windows. After I connected, the Hardware Update Wizard came
up.
I followed the
66 matches
Mail list logo