« first day (527 days earlier)      last day (3456 days later) » 

12:00 PM
@Shubhank how can i connect my androi web service using localhost
 
hi all
 
5
A: onCreateOptionsMenu is never called

WarpzitIf the phone you test on has a menu button onCreateOptionsMenu wont't be called on start with the theme: android:theme="@android:style/Theme.Black.NoTitleBar" But when you click the menu button the onCreateOptionsMenu will be called. I don't know what happens on phones without hardware buttons...

When you click the menu button the onCreateOptionsMenu will be called
 
kaise ho everyone?
 
@user3233280 simply use the local host url inside the app
 
@user3335951, @user3233280, suggestion .. change your name to something better than the generic "userXXXXXX". it will help people to remember you
 
12:05 PM
@Rufus Actually I have a search view in the child fragment which needs to appear always since it has action defined as SHOW_ALWAYS.
 
ok radical will do
 
If I keep the searchview in parent fragment onCreateOptionsMenu() it does get displayed. But I want it to appear in the child fragment.
since I am doing filtering in child fragment and not in parent
 
ok radical
 
i heard you are good in unity ?
 
lol
 
12:09 PM
you heard correct! Shubhank is excellent with Unity. We are very proud :)
 
gupta ji aap toh yaha most demanding hai
 
thank you
 
WTF shubhank howcome you become good in Unity :P
 
:p
 
chuparustm hai ye toh
 
all
12:20 PM
@Stark not yet, singer?
 
12:34 PM
all ye kaisa name hai?
 
@Rajat he is teaching unity to Abhi
 
good
you also learn with him
 
Hello friends
 
halo
 
anyone here worked with the facebook sdk for android before?
 
12:50 PM
only for ios
 
User1, please don't ask to ask
 
Is That philosophy ?
 
"just ask your doubt instead of doing survey"
 
User1, it means that don't ask survey type questions "has anyone used or done XYZ", based on which you will ask your question. That assumes that you know exactly that the problem can be solved only by somebody who has used "fb sdk for android" specifically.
fb sdk api should be pretty similar in android and ios
 
Hmm ok i'll keep that in mind next time
 
12:55 PM
generally, frameworks try to do that
cool :)
 
ye i want to use actionbar inside fragmentActivity
 
is that your fb sdk issue?
 
radical always say same thing to all new users over here :P
 
My facebook sdk issue is that i want to use Login without Fragments, can i ?
 
I have to repeat it to old users also :/
 
12:57 PM
bhai kuch chnge b kar k boola karo
 
@Rajat I will I will
 
User1, did you try doing that? look at the docs? Explain what you tried and why it fails etc. That will help other people help you
 
@radical basically i extended actionbaractivity because itself extends FragmentActivity in my press button to login layout, and then the button disapeared :)
What i want is to have the ActionBar in my press button to login layout
 
@radical hey i have on eproblem
 
I'm not an android guy, so I can't help you directly. But the fb login etc is not specific to fragments etc. If it disappeared, then what did you try? tried to debug? how? These are not for my sake.. android people here will be able to help you, if you clearly state your issue :)
swap, yeah?
 
1:11 PM
I have one small database which has 2 column skill_name and skill_id
i fetch skill id from internet and i want to display it in listview
 
@User1 you can check in sdk itself there are many examples available to perform your login with activity
 
so in database helper i create new function which accept skillsID and search on database coumn and return skillname
but when i try to populate list it display first item 5 times
 
@user3335951 can you give me a link please for good one.
 
@radical
 
Swap, dunno, does your db have more items? :) try it w/o the listview, do you get more items? try the listview with non-db data, are you able to get more than 5 items? essentially, trying to figure out if there is something else wrong here. I don't know your code, so, I'm suggesting these indirect methods :p
 
Can anyone help me out on this ?stackoverflow.com/questions/25550585/…
 
@andiDeve i already downloaded ? what's the point of this link .
 
Swap, also, I'm not very familiar with the android gui api.. so, can't give very direct solutions! Ask others here
 
check examples in that there are code for that too
 
1:22 PM
@radical yes its okay ..its not about GUI its about something stupid mistek in my code
 
nod. hence, I tried suggesting the debugging stuff
 
@radical i found it...
i was using skill level id for skill level title
 
what was it?
 
see how stupid i am
 
heh silly mistake
 
1:25 PM
hmmm
its because of heavy food
after meal i can't concentrate
 
:)
 
guys my child fragment ' s neither onCreateOptionsMenu nor onPrepareOptionsMenu is getting called
 
@RisingUp use it into fragmentactivity
 
tried putting setHasOptionsMenuEnabled(true) also
@Swap-IOS-Android well since I am using navigation drawer I need a parent fragment which contains the view pager
 
posted on August 29, 2014 by Johann

    Featured iPhone Development Resources,iOS UI Controls,iPad,iPhone,Objective-C     Featured iPhone Development Resources,iOS UI Controls,iPad,iPhone,Objective-C Previously I’ve mentioned a few components that enhance UIWebView with additional features for easier browsing such as DZWebBrowser . Here’s an open source component that takes

 
1:33 PM
@Swap-IOS-Android Parent fragment onCreateOptions get called and not the child one ' s
I put even invalidateOptionsMenu in onActivityCreated to forcibly trigger the menu but that also didnt work
 
if(viewPagerAdapter.getItem(view_pager.getCurrentItem()) instanceof FragmentToFind)
{
FragmentToFind fragment = (FragmentToFind) viewPagerAdapter.getItem(view_pager.getCurrentItem());

fragme
@RisingUp try this
add this
fragment.onCreateOptionsMenu(menu, inflater);
 
@Swap-IOS-Android I tried this. But it gave me null pointer exception inside onQueryTextChanged . I am trying to show the searchview in menu.
in the line adapter.getFilter.filter(newText); . it shows adapter is null eventhough in onCreate I have filled the adapter
 
swapnesh u work where ?
 
@Swap-IOS-Android any ideas bro?
 
i can't help you unless i see the code
 
1:46 PM
@all around?
 
all
yes
 
0
Q: Menu items not displaying in Navigation drawer view pager fragment

RisingUpI have a navigation drawer with 2 fragments , fragment A and fragment B. Fragment B is a fragment with view pager and has fragment tab 1 and fragment tab 2. I am trying to display a search view in fragment tab1 and fragment tab 2 . I tried calling setHasOptionsMenu(true) in fragment tab 1 but onC...

@Swap-IOS-Android can you pls check this?
 
lol
 
its still a truth in some part of the city..:P
 
1:50 PM
some? :D
 
ha ha
 
all
@Stark thanks bro, you make my night :P don't take otherwise :P
 
lol
you are welcome..:P
 
@radical @Shubhank hello. yr tm mese kisi ne storekit use kia hy prime31 ka in unity? ya phr IAP pe work kia ho iOS me?
 
@iAnum please use english, thats good for you and others.
 
1:56 PM
umm ok sorry :\
@radical @Shubhank have anyone of u used storekit of prime31 in unity? Or have any experience in IAP?
 
yes
 
I'm a noob :)
 
experience in what? primekit or IAP @Shubhank?
@radical u mean unity?
I am getting exception above. Any hint?
 
all
bye
 
I am implementing IAP for 1st time using unity plugin
 
2:01 PM
bye all
 
is above exception specific to plugin or storekit? I want to know that
 
see ya soon guys
 
people
 
saphira :P
 
sapera
 
2:12 PM
where is our tekno?
@Rajat rofl
 
@iAnum looks specific to prime31
 
i have a problem.i wanna arrange 3 linear layouts horizontally inside a linear layout. all three should have equal width
@Stark im tekno huh
 
tekno is freek not saphira..:P
 
@Shubhank tell me a thing. I am making first version of app. all IAP products on itunes connect have status of "Waiting for screenshot". Is it mandatory to have screenshots even for sandbox testing? What should be status of products for testing in case I am releasing first time?
 
@Shubhank please listen it..youtube.com/watch?v=ZkucmkjyKhk
lol
 
2:23 PM
Heya All
:D
 
@iAnum simply download a working example of IAP from ray wenderlich
and see if products are retrieved
 
@radical I am trying to push command to .so file. And all I got, this ^^
 
@Stark lol 15 min :D
 
ok yr
 
yes but if you listen for 2 mins its awesome..;)
 
2:48 PM
back
@TheLittleNaruto, um "push command to .so file", I don't know what that means
iAnum, I guess, Shubhank is helping you
 
@Shubhank successful response with no products list in raywendrelich example.
@radical have u seen raywenderlich example for IAP?
 
@radical ffmpeg video encoding commands.
 
how does "push command to .so file" relate to ffmpeg?
 
What do you mean related to ffmpeg ? ffmpeg is having list of commands to encode video/audio and it can be executed only by wrapping up with .so files (NDK built)
 
2:53 PM
what is "push command"?!
are you pushing some command to a .so file? what does that even mean? how do you push something to a file?
you think you are being clear, but you aren't :)
 
headphone is not working
Mac to geyo!
:P
 
@iAnum replaced IDS correctly ?
testing on device ?
 
IDS.. Intrusion Detection System :)
what is the IDS that you are talking about?
 
I dont know , how to explain simpler (Sigh)
 
he means IDs of products radical :)
 
2:59 PM
lol okk
 
shubhank hogaye products receive raywenderlich wale code se
amazing
 
IDS reminded me of something else
 
well mey again try krti hn unity se
hoping for good
:(
oh ok ;)
 
TheLittleNaruto, not simpler.. but clearer :) anyway
 
radical, I am sorry! I cant make it more clear than this. T.T
 
3:01 PM
@Shubhank
7 mins ago, by Saad Chaudhry
headphone is not working
7 mins ago, by Saad Chaudhry
Mac to geyo!
 
naruto, np
 
olx pe bech de
 
radical, Okay :'(
 
office ka ha
 
shubhank bhai kya haal hai?
 
3:24 PM
Hello, does anyone have a minute?
I'm trying to do a unwind but the issue is that I can reach the controller from 2 places but unwind to a specific controller using the unwind feature, the issue is that it only segues from 1 viewController and not the other.
example: Call History > Profile Detail > Calling (works when i press cancel button to unwind)
but if I try Search > Profile Detail > Calling ( Does execute the cancel action but does not perform the segue )
Don't understand why it works for 1 and not for the other.
 
3:39 PM
0
Q: Make a unwind segue from any source to origin of IBAction Unwind

eddwinpazI'm performing a unwind action segue from a View Controller so when it's pressed it will go to Call history example: Call History > Profile Detail > Calling ( this way it works ) Search > Profile Detail > Calling ( This way does execute the cancel action but does not perform the segue) the nam...

 
you can always try popping to the VC yourself
 
????
is that with me?
 
3:55 PM
yes
 
But i dont want a modal.
because Im using Push
Example:
ViewController1 > ViewControler2> ViewControler3
I want viewController 3 to go to viewController 1
I can do that.
But when I do the same but from another navigationController it wont unwind it
thats why I say Call History > Profile Detail > Calling I want to unwind from calling to Call History and this works already
but when I try to unwind it from Search > Profile Detail > Calling it wont unwind.
I must mention that the unWind IBAction is set on Call History
so when I press Cancel Call it should from both ways go to Call History but this happens only from Call History> Profile Detail > Calling and not from Search > profile Detail > calling
 
4:13 PM
I guess there are limitations too in the feature
 
5:01 PM
@Shubhank there?
 
@Shubhank have you heard that audio(which i sent on whatsapp) ?
 
hello @Stark
 
nope
krta hn kuch jugaad
 
tab kya pandit se date nikaloo dekhne ka? :P
@UnityBeginner hi
brb
 
@Shubhank busy?
 
5:17 PM
haha
@UnityBeginner yeah
a lot
 
@Shubhank kerla jugaad kerla, kerla koi jugaad!
 
hey guys!
 
5:36 PM
hey
 
does anyone
have an idea?
1
Q: Make a unwind segue from any source to origin of IBAction Unwind

eddwinpazI'm performing a unwind action segue from a View Controller so when it's pressed it will go to Call history example: Call History > Profile Detail > Calling ( this way it works ) Search > Profile Detail > Calling ( This way does execute the cancel action but does not perform the segue) the nam...

 
nope sorry, I'm too newbie : /
how I can access to a Controller (present in the Storyboard) under a Restoration ID?
 
no idea
 
6:07 PM
@Shubhank bhai need a small help
public class PlayerScript : MonoBehaviour
{
  public Vector2 speed = new Vector2(50, 50);
  private Vector2 movement;

  void Update()
  {
    float inputX = Input.GetAxis("Horizontal");
    float inputY = Input.GetAxis("Vertical");

    // 4 - Movement per direction
    movement = new Vector2(
      speed.x * inputX,
      speed.y * inputY);

  }

  void FixedUpdate()
  {
    // 5 - Move the game object
    rigidbody2D.velocity = movement;
  }
}
 
hahaha
unity : ___ D
 
shubhank bhai ye code smjhadoge
@tehAnswer ?
why are you laughing?
 
posted on August 29, 2014 by Johann

    Featured iPhone Development Resources,iOS UI Controls,iPad,iPhone,Objective-C     Featured iPhone Development Resources,iOS UI Controls,iPad,iPhone,Objective-C I’ve mentioned a number of components that utilize parallax effects, most recently a table view allowing you to create a scrolling view with images displayed with a prallax effect ca

 
cause I remember when I've to use unity.
 
@UnityBeginner what to explain
 
6:35 PM
yr using arrow keys the player is moving
why?
@Shubhank
 
Input.GetHorizontalAxis
for keyboard it is left and right arrow keys
for iOS it will be accelerator
Input class is the wrapper
 
bhai i am moving the player from upward to downward
so i used sprite
i used rigidbody 2d
box collider 2d
n this script
i am trying to make a small game demo i.e ant smasher
the ants will come from upward to downward
but it must not move right n left on acceleration
@Shubhank
 
Then keep x pos in your vector constant
 
i tried vector(0,50)
 
yar I too wana learn unity
Shubhank crack ha unity ka?
 
6:47 PM
public Vector2 speed1 = new Vector2(0,50);
void FixedUpdate()
{
// 5 - Move the game object
rigidbody2D.velocity = speed1;
}
 
Yup. There is
 
but using this code the player is not displaying
 
Hi room
Hi @Shubhank
 
Yup. There is
 
shubhank tell what amendment i must make in this code
 
6:50 PM
@sh
@Shubhank I have another question about cocos2d
 
@UnityBeginner try with other values
yes alex ?
 
its not displaying
 
When i have a large tree of parents with their childern
For example:
root
--> child
----> child
------> child
------>child
Is that a performance break in drawing?
Because i make a time analyse and found that the CCNode visit costs make of performance
 
Yes but all nodes draw. So having huge hierarchy does not change anything
 
So i hope you understand that the root has a child and this child has a child this has a child and this has a child and so on
 
7:04 PM
It's simply recursive call of children visit
 
Yes i know
So should i reduce the number of parents with their children or is the draw method the thing
I shortly away from keyboard
 
the effect will be only marginal i believe
 
Do you know what is a usual value for cpu performance
 
i dont know much about cpu profiling specifically , i usually just try to make fps in the range of 50-60
 
That should be no problem but my cpu value is about 30
 
7:09 PM
cpu gauge ?
 
I mean the current cpu in percentage
 
are you profiling using instruments ?
or simply in the xcode . the gauges
 
Hi
Soemone using swift there ?
 
For the questions above i mean the gauges in xcode nothing with instruments
 
someone*
 
7:14 PM
@AlexStein checking on device ?
 
Maybe you can give me some tips for performance in cocos2d
Yes
 
i will update with my results for some games tomorrow
i dont remember currently
 
Ok maybe i come later then i can chat a little bit
See you @Shubhank
 
7:50 PM
good night
 
 
3 hours later…
10:57 PM
posted on August 29, 2014 by Johann

    Featured iPhone Development Resources,iOS UI Controls,iPad,iPhone,Objective-C     Featured iPhone Development Resources,iOS UI Controls,iPad,iPhone,Objective-C I’ve mentioned a few libraries and components that provide an image cropping interface most recently a photo picker component with image cropping capabilities built in called DZNPhot

 

« first day (527 days earlier)      last day (3456 days later) »