Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
com.diegocarloslima:byakugallery
Advanced tools
An open source Android library that allows the visualization of large images with gesture capabilities
ByakuGallery is an open source Android library that allows the visualization of large images with gesture capabilities. This lib is based on AOSP Camera2.
The name was inspired by the Byakugan from Naruto series :)
OutOfmemoryError
.GalleryViewPager
).Download the sample app on Google Play. (Soon)
The sample app project code is also included on this repository.
The ByakuGallery was designed to be the simplest possible to use. Also, the two main classes TileBitmapDrawable
and TouchImageView
were designed to be independent. That means you can use them separately if you want to :)
Here are the few steps needed to setup:
Add the TouchImageView
to your xml file:
<com.diegocarloslima.byakugallery.lib.TouchImageView
android:id="@+id/my_image"
android:layout_width="match_parent"
android:layout_height="match_parent" />
Them add these lines to your java code (usually on your Activity.onCreate()
or Fragment.onCreateView()
method):
TouchImageView myImage = (TouchImageView) findViewById(R.id.my_image);
InputStream is = getResources.openRawResource(R.raw.image);
TileBitmapDrawable.attachTileBitmapDrawable(myImage, is, null, null);
And that's all! For a complete implementation, you can take a look at the sample project.
Add the following dependency to your build.gradle
file:
dependencies {
compile 'com.diegocarloslima:byakugallery:0.1.+@aar'
}
Let me know if you are using this lib in your app. I'll be glad to put your app name here :).
Pull requests with bug fixes or new features are always welcome :), but please, send me a separate pull request for each bug fix or feature. Also, you can contact me to discuss a new feature before implementing it.
Diego Carlos Lima: diego@diegocarloslima.com
Copyright 2013 Diego Carlos Lima
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
An open source Android library that allows the visualization of large images with gesture capabilities
We found that com.diegocarloslima:byakugallery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.