Skip to content

Instantly share code, notes, and snippets.

View MotiurRahman's full-sized avatar

Motiur Rahman MotiurRahman

View GitHub Profile
@MotiurRahman
MotiurRahman / app.js
Last active December 30, 2015 18:29
openPhotoGallery() + Android + Picasa photo = no eventData
/*Here is the code for getting data from Picasa RSS FEED .And i get the image from Picasa album without any error.
Testing Environment: Titanoum sdk:3.1.3
Android SDK:4.1, 4.2.2
Titanium CLi: 3.1.2
Steps to Reproduce:
1. create a simple project
2.paste this code in app.js file
@MotiurRahman
MotiurRahman / app.js
Last active December 30, 2015 18:39
Getting stale location if providers turned off , irrespective of LocationRule.
/*Hi, I have tested this jira ticket. I think its may be bug according to the reporter question.
If we run this code and turned on GPS Network setting and click the userLocation button get the current location.
But if we turned off the GPS Network setting and click the button we also get stale location and That location should have
been filtered by rules but in this case does not happen.
Testing Environment:
Titanium SDK: 3.1.3
Android SDK:4.2.2
@MotiurRahman
MotiurRahman / command
Last active December 30, 2015 19:29
Titanium Code Processor error on Windows
/*Hi, After downloading the reporter project I paste into the D: drive according to reporter question and write
"titanium-code-processor analyze -o android -d D:\SampleUIModule" this command in terminal and get this result.
I don't get any error result
*/
Testing Environment:
OS: win7
Titanium SDK:3.1.3
CLI Version:3.1.2
Android SDK:2.3.3
@MotiurRahman
MotiurRahman / app.js
Last active December 30, 2015 21:39
ActionBar.setActionView() not executed in the UI Thread
/* Hi I have tested this jira ticket. It's not a bug. SetActionView() method execute here successfully just follow
steps to reproduce.
Testing Environment:
Titanium SDK: 3.1.3
Android SDK: 4.2.2
Steps to Reproduce:
1. Create a sample Project.
2. Paste this code in app.js file.
@MotiurRahman
MotiurRahman / app.js
Last active December 30, 2015 21:39
Trying to create an image from thumbnail on Android, crashes the app on some devices.
/*Hi I have tested this jira ticket and it's not a bug. After running this code if you click the Take_Photo button take a picture
and create it thumbnail image successfully.
Testing Environment:
Android SDK: 4.2.2
Titanium SDK: 3.1.3
Steps to Reproduce:
1.Create a simple project
@MotiurRahman
MotiurRahman / app.js
Last active December 31, 2015 00:09
Mobile Web: ImageView doesn't work properly with images assigned as files
/*Hi , I have tested this jira ticket and it's not a bug. It’s image Show properly in Mozilla Firefox Web Browser.
Testing Environment:
Titanium SDK: 3.1.3
Web Browser: Mozila Firefox 25.0.1
Steps to Reproduce:
1. Create a simple project.
2. Paste this sample code in app.js file.
@MotiurRahman
MotiurRahman / App.js
Last active December 31, 2015 00:39
Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40931b58
/*Hi I have tested this jira ticket. It's a bug. When I use "Titanium.Android.currentActivity.finish(); this method in any
Click event its crash or full exit from the application
Testing Environment:
Titanium SDK: 3.1.3
Android SDK: 4.2.2
Steps to Reproduce:
@MotiurRahman
MotiurRahman / app.js
Last active December 31, 2015 08:29
Swipe (horizontal) doesn't work on a ScrollView
/* Hi I have tested this jira issue. It's a valid bug swipe event only work on a label not rest of the window
inside the ScrollView.
Testing Environment:
Android SDK: 4.2.2
Titanium SDK: 3.1.3,
CLI version 3.1.2
Steps to Reproduce:
1. Create a simple Project.
@MotiurRahman
MotiurRahman / app.js
Last active December 31, 2015 08:38
android > small device textfield issue in landscape mode
/* Hi I have tested this jira issue. It's a one kinds of bug when we rotate the device in landscape mode and focus on textField
the textField is get expanded to full screen.
Testing Environment:
Android SDK: 4.2.2
Titanium SDK:3.1.3,
CLI version 3.1.2
Steps to Reproduce:
@MotiurRahman
MotiurRahman / app.js
Created December 15, 2013 04:26
Android: OutOFMemory Errors when using image compression, resizing or thumbnails on select devices like the Galaxy S2
/* Hi I have tested this jira ticket. It's not a bug imageAsResized or imageAsThumbnail works properly on my android device.
OutOFMemory Errors and app crash may be occurred server side coding.
Testing Environment:
Android SDK: 4.2.2
Titanium SDK: 3.1.3
Titanium CLI Version: 3.1.2
Steps To Reproduce: